diff --git a/README.md b/README.md index 8ad1ba7..08972e3 100644 --- a/README.md +++ b/README.md @@ -103,7 +103,9 @@ By default, queued tasks use the currently loaded checkpoint. However, changing All the functionality of this extension can be accessed through HTTP APIs. You can access the API documentation via `http://127.0.0.1:7860/docs`. Remember to include `--api` in your startup arguments. -![API docs](https://github.com/ArtVentureX/sd-webui-agent-scheduler/assets/133728487/a1b1f2a6-b631-4a59-b904-d6eb3aa90b7d) +![API docs](https://github.com/ArtVentureX/sd-webui-agent-scheduler/assets/133728487/012ab2cc-b41f-4c68-8fa5-7ab4e49aa91d) + +#### Queue Task The two apis `/agent-scheduler/v1/queue/txt2img` and `/agent-scheduler/v1/queue/img2img` support all the parameters of the original webui apis. These apis response the task id, which can be used to perform updates later. @@ -113,6 +115,30 @@ The two apis `/agent-scheduler/v1/queue/txt2img` and `/agent-scheduler/v1/queue/ } ``` +#### Download Results + +Use api `/agent-scheduler/v1/results/{id}` to get the generated images. The api supports two response format: + +- json with base64 encoded + +```json +{ + "success": true, + "data": [ + { + "image": "data:image/png;base64,iVBORw0KGgoAAAAN...", + "infotext": "1girl\nNegative prompt: EasyNegative, badhandv4..." + }, + { + "image": "data:image/png;base64,iVBORw0KGgoAAAAN...", + "infotext": "1girl\nNegative prompt: EasyNegative, badhandv4..." + } + ] +} +``` + +- zip file with querystring `zip=true` + ## Road Map To list possible feature upgrades for this extension diff --git a/agent_scheduler/api.py b/agent_scheduler/api.py index 1f89a81..47f01f2 100644 --- a/agent_scheduler/api.py +++ b/agent_scheduler/api.py @@ -1,6 +1,12 @@ +import io +import json import threading from uuid import uuid4 +from zipfile import ZipFile +from pathlib import Path +from typing import Optional from gradio.routes import App +from fastapi.responses import StreamingResponse from modules import shared, progress @@ -15,7 +21,7 @@ from .models import ( ) from .task_runner import TaskRunner from .helpers import log -from .task_helpers import serialize_api_task_args +from .task_helpers import encode_image_to_base64 def regsiter_apis(app: App, task_runner: TaskRunner): @@ -23,16 +29,15 @@ def regsiter_apis(app: App, task_runner: TaskRunner): @app.post("/agent-scheduler/v1/queue/txt2img", response_model=QueueTaskResponse) def queue_txt2img(body: Txt2ImgApiTaskArgs): - params = body.dict() task_id = str(uuid4()) - checkpoint = params.pop("model_hash", None) - task_args = serialize_api_task_args( - params, - is_img2img=False, - checkpoint=checkpoint, - ) + args = body.dict() + checkpoint = args.pop("model_hash", None) task_runner.register_api_task( - task_id, api_task_id=False, is_img2img=False, args=task_args + task_id, + api_task_id=None, + is_img2img=False, + args=args, + checkpoint=checkpoint, ) task_runner.execute_pending_tasks_threading() @@ -40,21 +45,30 @@ def regsiter_apis(app: App, task_runner: TaskRunner): @app.post("/agent-scheduler/v1/queue/img2img", response_model=QueueTaskResponse) def queue_img2img(body: Img2ImgApiTaskArgs): - params = body.dict() task_id = str(uuid4()) - checkpoint = params.pop("model_hash", None) - task_args = serialize_api_task_args( - params, - is_img2img=True, - checkpoint=checkpoint, - ) + args = body.dict() + checkpoint = args.pop("model_hash", None) task_runner.register_api_task( - task_id, api_task_id=False, is_img2img=True, args=task_args + task_id, + api_task_id=None, + is_img2img=True, + args=args, + checkpoint=checkpoint, ) task_runner.execute_pending_tasks_threading() return QueueTaskResponse(task_id=task_id) + def format_task_args(task): + task_args = TaskRunner.instance.parse_task_args(task, deserialization=False) + named_args = task_args.named_args + named_args["checkpoint"] = task_args.checkpoint + # remove unused args to reduce payload size + named_args.pop("alwayson_scripts", None) + named_args.pop("script_args", None) + named_args.pop("init_images", None) + return named_args + @app.get("/agent-scheduler/v1/queue", response_model=QueueStatusResponse) def queue_status_api(limit: int = 20, offset: int = 0): current_task_id = progress.current_task @@ -64,14 +78,9 @@ def regsiter_apis(app: App, task_runner: TaskRunner): ) parsed_tasks = [] for task in pending_tasks: - task_args = TaskRunner.instance.parse_task_args( - task.params, task.script_params, deserialization=False - ) - named_args = task_args.named_args - named_args["checkpoint"] = task_args.checkpoint - + params = format_task_args(task) task_data = task.dict() - task_data["params"] = named_args + task_data["params"] = params if task.id == current_task_id: task_data["status"] = "running" @@ -104,14 +113,9 @@ def regsiter_apis(app: App, task_runner: TaskRunner): ) parsed_tasks = [] for task in tasks: - task_args = TaskRunner.instance.parse_task_args( - task.params, task.script_params, deserialization=False - ) - named_args = task_args.named_args - named_args["checkpoint"] = task_args.checkpoint - + params = format_task_args(task) task_data = task.dict() - task_data["params"] = named_args + task_data["params"] = params parsed_tasks.append(TaskModel(**task_data)) return HistoryResponse( @@ -220,6 +224,50 @@ def regsiter_apis(app: App, task_runner: TaskRunner): task_manager.update_task(id, name=name) return {"success": True, "message": f"Task {id} is renamed"} + @app.get("/agent-scheduler/v1/results/{id}") + def get_task_results(id: str, zip: Optional[bool] = False): + task = task_manager.get_task(id) + if task is None: + return {"success": False, "message": f"Task not found"} + + if task.status != TaskStatus.DONE: + return {"success": False, "message": f"Task is {task.status.value}"} + + if task.result is None: + return {"success": False, "message": f"Task result is not available"} + + result: dict = json.loads(task.result) + infotexts = result["infotexts"] + + if zip: + zip_buffer = io.BytesIO() + + # Create a new zip file in the in-memory buffer + with ZipFile(zip_buffer, "w") as zip_file: + # Loop through the files in the directory and add them to the zip file + for image in result["images"]: + if Path(image).is_file(): + zip_file.write(Path(image), Path(image).name) + + # Reset the buffer position to the beginning to avoid truncation issues + zip_buffer.seek(0) + + # Return the in-memory buffer as a streaming response with the appropriate headers + return StreamingResponse( + zip_buffer, + media_type="application/zip", + headers={ + "Content-Disposition": f"attachment; filename=results-{id}.zip" + }, + ) + else: + data = [ + {"image": encode_image_to_base64(image), "infotext": infotexts[i]} + for i, image in enumerate(result["images"]) + ] + + return {"success": True, "data": data} + @app.post("/agent-scheduler/v1/pause") def pause_queue(): shared.opts.queue_paused = True diff --git a/agent_scheduler/db/task.py b/agent_scheduler/db/task.py index 416ce94..05301b3 100644 --- a/agent_scheduler/db/task.py +++ b/agent_scheduler/db/task.py @@ -31,35 +31,8 @@ class Task(TaskModel): script_params: bytes = None params: str - def __init__( - self, - id: str = "", - api_task_id: str = None, - name: str = None, - type: str = "unknown", - params: str = "", - priority: int = None, - status: str = TaskStatus.PENDING.value, - result: str = None, - bookmarked: bool = False, - created_at: Optional[datetime] = None, - updated_at: Optional[datetime] = None, - ): - priority = priority if priority else int(datetime.utcnow().timestamp() * 1000) - - super().__init__( - id=id, - api_task_id=api_task_id, - name=name, - type=type, - params=params, - status=status, - priority=priority, - result=result, - bookmarked=bookmarked, - created_at=created_at, - updated_at=updated_at, - ) + def __init__(self, priority=int(datetime.utcnow().timestamp() * 1000), **kwargs): + super().__init__(priority=priority, **kwargs) class Config(TaskModel.__config__): exclude = ["script_params"] @@ -104,7 +77,7 @@ class TaskTable(Base): type = Column(String(20), nullable=False) # txt2img or img2txt params = Column(Text, nullable=False) # task args script_params = Column(LargeBinary, nullable=False) # script args - priority = Column(Integer, nullable=False, default=datetime.now) + priority = Column(Integer, nullable=False) status = Column( String(20), nullable=False, default="pending" ) # pending, running, done, failed @@ -144,6 +117,7 @@ class TaskManager(BaseTableManager): type: str = None, status: Union[str, list[str]] = None, bookmarked: bool = None, + api_task_id: str = None, limit: int = None, offset: int = None, order: str = "asc", @@ -160,6 +134,9 @@ class TaskManager(BaseTableManager): else: query = query.filter(TaskTable.status == status) + if api_task_id: + query = query.filter(TaskTable.api_task_id == api_task_id) + if bookmarked == True: query = query.filter(TaskTable.bookmarked == bookmarked) else: @@ -189,6 +166,7 @@ class TaskManager(BaseTableManager): self, type: str = None, status: Union[str, list[str]] = None, + api_task_id: str = None, ) -> int: session = Session(self.engine) try: @@ -202,6 +180,9 @@ class TaskManager(BaseTableManager): else: query = query.filter(TaskTable.status == status) + if api_task_id: + query = query.filter(TaskTable.api_task_id == api_task_id) + return query.count() except Exception as e: print(f"Exception counting tasks from database: {e}") @@ -262,7 +243,7 @@ class TaskManager(BaseTableManager): result = session.get(TaskTable, id) if result: if priority == 0: - result.priority = self.__get_min_priority() - 1 + result.priority = self.__get_min_priority(status=TaskStatus.PENDING) - 1 elif priority == -1: result.priority = int(datetime.utcnow().timestamp() * 1000) else: @@ -316,10 +297,14 @@ class TaskManager(BaseTableManager): finally: session.close() - def __get_min_priority(self) -> int: + def __get_min_priority(self, status: str = None) -> int: session = Session(self.engine) try: - min_priority = session.query(func.min(TaskTable.priority)).scalar() + query = session.query(func.min(TaskTable.priority)) + if status is not None: + query = query.filter(TaskTable.status == status) + + min_priority = query.scalar() return min_priority if min_priority else 0 except Exception as e: print(f"Exception getting min priority from database: {e}") diff --git a/agent_scheduler/helpers.py b/agent_scheduler/helpers.py index be62351..c5e31ab 100644 --- a/agent_scheduler/helpers.py +++ b/agent_scheduler/helpers.py @@ -6,7 +6,7 @@ from gradio.blocks import Block, BlockContext if not logging.getLogger().hasHandlers(): # Logging is not set up - logging.basicConfig(level=logging.INFO, format='%(message)s') + logging.basicConfig(level=logging.INFO, format="%(message)s") log = logging.getLogger("sd") @@ -78,3 +78,43 @@ def detect_control_net(root: gr.Blocks, submit: gr.Button): UiControlNetUnit = type(output.value) return UiControlNetUnit + + +def get_dict_attribute(dict_inst: dict, name_string: str, default=None): + nested_keys = name_string.split(".") + value = dict_inst + + for key in nested_keys: + value = value.get(key, None) + + if value is None: + return default + + return value + + +def set_dict_attribute(dict_inst: dict, name_string: str, value): + """ + Set an attribute to a dictionary using dot notation. + If the attribute does not already exist, it will create a nested dictionary. + + Parameters: + - dict_inst: the dictionary instance to set the attribute + - name_string: the attribute name in dot notation (ex: 'attribute.name') + - value: the value to set for the attribute + + Returns: + None + """ + # Split the attribute names by dot + name_list = name_string.split(".") + + # Traverse the dictionary and create a nested dictionary if necessary + current_dict = dict_inst + for name in name_list[:-1]: + if name not in current_dict: + current_dict[name] = {} + current_dict = current_dict[name] + + # Set the final attribute to its value + current_dict[name_list[-1]] = value diff --git a/agent_scheduler/models.py b/agent_scheduler/models.py index 7e0ab93..253f326 100644 --- a/agent_scheduler/models.py +++ b/agent_scheduler/models.py @@ -32,12 +32,14 @@ class TaskModel(BaseModel): name: Optional[str] = Field(title="Task Name") type: str = Field(title="Task Type", description="Either txt2img or img2img") status: str = Field( - title="Task Status", description="Either pending, running, done or failed" + "pending", + title="Task Status", + description="Either pending, running, done or failed", ) params: dict[str, Any] = Field( title="Task Parameters", description="The parameters of the task in JSON format" ) - priority: int = Field(title="Task Priority") + priority: Optional[int] = Field(title="Task Priority") result: Optional[str] = Field( title="Task Result", description="The result of the task in JSON format" ) @@ -53,12 +55,6 @@ class TaskModel(BaseModel): default=None, ) - class Config: - json_encoders = { - # custom output conversion for datetime - datetime: convert_datetime_to_iso_8601_with_z_suffix - } - class Txt2ImgApiTaskArgs(StableDiffusionTxt2ImgProcessingAPI): checkpoint: Optional[str] = Field( @@ -67,9 +63,7 @@ class Txt2ImgApiTaskArgs(StableDiffusionTxt2ImgProcessingAPI): description="Custom checkpoint hash. If not specified, the latest checkpoint will be used.", ) sampler_index: Optional[str] = Field( - sd_samplers.samplers[0].name, - title="Sampler name", - alias="sampler_name" + sd_samplers.samplers[0].name, title="Sampler name", alias="sampler_name" ) class Config(StableDiffusionTxt2ImgProcessingAPI.__config__): @@ -87,9 +81,7 @@ class Img2ImgApiTaskArgs(StableDiffusionImg2ImgProcessingAPI): description="Custom checkpoint hash. If not specified, the latest checkpoint will be used.", ) sampler_index: Optional[str] = Field( - sd_samplers.samplers[0].name, - title="Sampler name", - alias="sampler_name" + sd_samplers.samplers[0].name, title="Sampler name", alias="sampler_name" ) class Config(StableDiffusionImg2ImgProcessingAPI.__config__): @@ -116,7 +108,13 @@ class QueueStatusResponse(BaseModel): ) paused: bool = Field(title="Paused", description="Whether the queue is paused") + class Config: + json_encoders = {datetime: lambda dt: int(dt.timestamp() * 1e3)} + class HistoryResponse(BaseModel): tasks: List[TaskModel] = Field(title="Tasks") total: int = Field(title="Task count") + + class Config: + json_encoders = {datetime: lambda dt: int(dt.timestamp() * 1e3)} diff --git a/agent_scheduler/task_helpers.py b/agent_scheduler/task_helpers.py index 8d475dc..875506b 100644 --- a/agent_scheduler/task_helpers.py +++ b/agent_scheduler/task_helpers.py @@ -5,6 +5,7 @@ import base64 import inspect import requests import numpy as np +from typing import Union from enum import Enum from PIL import Image, ImageOps, ImageChops, ImageEnhance, ImageFilter @@ -18,7 +19,7 @@ from modules.api.models import ( StableDiffusionImg2ImgProcessingAPI, ) -from .helpers import log +from .helpers import log, get_dict_attribute img2img_image_args_by_mode: dict[int, list[list[str]]] = { 0: [["init_img"]], @@ -29,6 +30,22 @@ img2img_image_args_by_mode: dict[int, list[list[str]]] = { } +def get_script_by_name( + script_name: str, is_img2img: bool = False, is_always_on: bool = False +) -> scripts.Script: + script_runner = scripts.scripts_img2img if is_img2img else scripts.scripts_txt2img + available_scripts = ( + script_runner.alwayson_scripts + if is_always_on + else script_runner.selectable_scripts + ) + + return next( + (s for s in available_scripts if s.title().lower() == script_name.lower()), + None, + ) + + def load_image_from_url(url: str): try: response = requests.get(url) @@ -39,43 +56,20 @@ def load_image_from_url(url: str): return None -def load_image(image: str): - if not isinstance(image, str): +def encode_image_to_base64(image): + if isinstance(image, np.ndarray): + image = Image.fromarray(image.astype("uint8")) + elif isinstance(image, str): + if image.startswith("http://") or image.startswith("https://"): + image = load_image_from_url(image) + + if not isinstance(image, Image.Image): return image - pil_image = None - if os.path.exists(image): - pil_image = Image.open(image) - elif image.startswith(("http://", "https://")): - pil_image = load_image_from_url(image) - - return pil_image - - -def load_image_to_nparray(image: str): - pil_image = load_image(image) - - return ( - np.array(pil_image).astype("uint8") - if isinstance(pil_image, Image.Image) - else None - ) - - -def encode_pil_to_base64(image: Image.Image): with io.BytesIO() as output_bytes: image.save(output_bytes, format="PNG") bytes_data = output_bytes.getvalue() - return base64.b64encode(bytes_data).decode("utf-8") - - -def load_image_to_base64(image: str): - pil_image = load_image(image) - - if not isinstance(pil_image, Image.Image): - return image - - return encode_pil_to_base64(pil_image) + return "data:image/png;base64," + base64.b64encode(bytes_data).decode("utf-8") def __serialize_image(image): @@ -164,7 +158,6 @@ def serialize_controlnet_args(cnet_unit): def deserialize_controlnet_args(args: dict): - # args.pop("is_cnet", None) for k, v in args.items(): if k == "image" and v is not None: args[k] = { @@ -177,6 +170,24 @@ def deserialize_controlnet_args(args: dict): return args +def map_controlnet_args_to_api_task_args(args: dict): + if type(args).__name__ == "UiControlNetUnit": + args = args.__dict__ + + for k, v in args.items(): + if k == "image" and v is not None: + args[k] = { + "image": encode_image_to_base64(v["image"]), + "mask": encode_image_to_base64(v["mask"]) + if v.get("mask", None) is not None + else None, + } + if isinstance(v, Enum): + args[k] = v.value + + return args + + def map_ui_task_args_list_to_named_args( args: list, is_img2img: bool, checkpoint: str = None ): @@ -195,7 +206,10 @@ def map_ui_task_args_list_to_named_args( sampler_index = named_args.get("sampler_index", None) if sampler_index is not None: - sampler_name = sd_samplers.samplers[named_args["sampler_index"]].name + available_samplers = ( + sd_samplers.samplers_for_img2img if is_img2img else sd_samplers.samplers + ) + sampler_name = available_samplers[named_args["sampler_index"]].name named_args["sampler_name"] = sampler_name log.debug(f"serialize sampler index: {str(sampler_index)} as {sampler_name}") @@ -230,6 +244,49 @@ def map_named_args_to_ui_task_args_list( return args +def map_script_args_list_to_named(script: scripts.Script, args: list): + script_name = script.title().lower() + print("script", script_name, "is alwayson", script.alwayson) + + if script_name == "controlnet": + for i, cnet_args in enumerate(args): + args[i] = map_controlnet_args_to_api_task_args(cnet_args) + + return args + + fn = script.process if script.alwayson else script.run + inspection = inspect.getfullargspec(fn) + arg_names = inspection.args[2:] + named_script_args = dict(zip(arg_names, args[: len(arg_names)])) + if inspection.varargs is not None: + named_script_args[inspection.varargs] = args[len(arg_names) :] + + return named_script_args + + +def map_named_script_args_to_list( + script: scripts.Script, named_args: Union[dict, list] +): + script_name = script.title().lower() + + if isinstance(named_args, dict): + fn = script.process if script.alwayson else script.run + inspection = inspect.getfullargspec(fn) + arg_names = inspection.args[2:] + args = [named_args.get(name, None) for name in arg_names] + if inspection.varargs is not None: + args.extend(named_args.get(inspection.varargs, [])) + + return args + + if isinstance(named_args, list): + if script_name == "controlnet": + for i, cnet_args in enumerate(named_args): + named_args[i] = map_controlnet_args_to_api_task_args(cnet_args) + + return named_args + + def map_ui_task_args_to_api_task_args( named_args: dict, script_args: list, is_img2img: bool ): @@ -255,45 +312,50 @@ def map_ui_task_args_to_api_task_args( # the logic below is copied from modules/img2img.py if mode == 0: - image = api_task_args.pop("init_img").convert("RGB") + image = api_task_args.pop("init_img") + image = image.convert("RGB") if image else None mask = None elif mode == 1: - image = api_task_args.pop("sketch").convert("RGB") + image = api_task_args.pop("sketch") + image = image.convert("RGB") if image else None mask = None elif mode == 2: - init_img_with_mask: dict = api_task_args.pop("init_img_with_mask") - image = init_img_with_mask.get("image").convert("RGB") - mask = init_img_with_mask.get("mask") - alpha_mask = ( - ImageOps.invert(image.split()[-1]) - .convert("L") - .point(lambda x: 255 if x > 0 else 0, mode="1") - ) - mask = ImageChops.lighter(alpha_mask, mask.convert("L")).convert("L") + init_img_with_mask: dict = api_task_args.pop("init_img_with_mask") or {} + image = init_img_with_mask.get("image", None) + image = image.convert("RGB") if image else None + mask = init_img_with_mask.get("mask", None) + if mask: + alpha_mask = ( + ImageOps.invert(image.split()[-1]) + .convert("L") + .point(lambda x: 255 if x > 0 else 0, mode="1") + ) + mask = ImageChops.lighter(alpha_mask, mask.convert("L")).convert("L") elif mode == 3: image = api_task_args.pop("inpaint_color_sketch") orig = api_task_args.pop("inpaint_color_sketch_orig") or image - mask_alpha = api_task_args.pop("mask_alpha", 0) - mask_blur = api_task_args.get("mask_blur", 4) - pred = np.any(np.array(image) != np.array(orig), axis=-1) - mask = Image.fromarray(pred.astype(np.uint8) * 255, "L") - mask = ImageEnhance.Brightness(mask).enhance(1 - mask_alpha / 100) - blur = ImageFilter.GaussianBlur(mask_blur) - image = Image.composite(image.filter(blur), orig, mask.filter(blur)) - image = image.convert("RGB") + if image is not None: + mask_alpha = api_task_args.pop("mask_alpha", 0) + mask_blur = api_task_args.get("mask_blur", 4) + pred = np.any(np.array(image) != np.array(orig), axis=-1) + mask = Image.fromarray(pred.astype(np.uint8) * 255, "L") + mask = ImageEnhance.Brightness(mask).enhance(1 - mask_alpha / 100) + blur = ImageFilter.GaussianBlur(mask_blur) + image = Image.composite(image.filter(blur), orig, mask.filter(blur)) + image = image.convert("RGB") elif mode == 4: image = api_task_args.pop("init_img_inpaint") mask = api_task_args.pop("init_mask_inpaint") else: raise Exception(f"Batch mode is not supported yet") - image = ImageOps.exif_transpose(image) - api_task_args["init_images"] = [encode_pil_to_base64(image)] - api_task_args["mask"] = encode_pil_to_base64(mask) if mask is not None else None + image = ImageOps.exif_transpose(image) if image else None + api_task_args["init_images"] = [encode_image_to_base64(image)] if image else [] + api_task_args["mask"] = encode_image_to_base64(mask) if mask else None selected_scale_tab = api_task_args.pop("selected_scale_tab", 0) - scale_by = api_task_args.pop("scale_by", 1) - if selected_scale_tab == 1: + scale_by = api_task_args.get("scale_by", 1) + if selected_scale_tab == 1 and image: api_task_args["width"] = int(image.width * scale_by) api_task_args["height"] = int(image.height * scale_by) else: @@ -311,23 +373,27 @@ def map_ui_task_args_to_api_task_args( api_task_args["script_name"] = None api_task_args["script_args"] = [] else: - script = script_runner.selectable_scripts[script_id - 1] - api_task_args["script_name"] = script.title.lower() - api_task_args["script_args"] = script_args[script.args_from : script.args_to] + script: scripts.Script = script_runner.selectable_scripts[script_id - 1] + api_task_args["script_name"] = script.title().lower() + current_script_args = script_args[script.args_from : script.args_to] + api_task_args["script_args"] = map_script_args_list_to_named( + script, current_script_args + ) # alwayson scripts alwayson_scripts = api_task_args.get("alwayson_scripts", None) - if not alwayson_scripts or not isinstance(alwayson_scripts, dict): - alwayson_scripts = {} - api_task_args["alwayson_scripts"] = alwayson_scripts + if not alwayson_scripts: + api_task_args["alwayson_scripts"] = {} + alwayson_scripts = api_task_args["alwayson_scripts"] for script in script_runner.alwayson_scripts: alwayson_script_args = script_args[script.args_from : script.args_to] - if script.title.lower() == "controlnet": - for i, cnet_args in enumerate(alwayson_script_args): - alwayson_script_args[i] = serialize_controlnet_args(cnet_args) - - alwayson_scripts[script.title.lower()] = {"args": alwayson_script_args} + script_name = script.title().lower() + if script_name != "agent scheduler": + named_script_args = map_script_args_list_to_named( + script, alwayson_script_args + ) + alwayson_scripts[script_name] = {"args": named_script_args} return api_task_args @@ -336,8 +402,33 @@ def serialize_api_task_args( params: dict, is_img2img: bool, checkpoint: str = None, - controlnet_args: list[dict] = None, ): + # handle named script args + script_name = params.get("script_name", None) + if script_name is not None: + script = get_script_by_name(script_name, is_img2img) + if script is None: + raise Exception(f"Not found script {script_name}") + + script_args = params.get("script_args", {}) + params["script_args"] = map_named_script_args_to_list(script, script_args) + + # handle named alwayson script args + alwayson_scripts = get_dict_attribute(params, "alwayson_scripts", {}) + valid_alwayson_scripts = {} + script_runner = scripts.scripts_img2img if is_img2img else scripts.scripts_txt2img + for script in script_runner.alwayson_scripts: + script_name = script.title().lower() + if script_name == "agent scheduler": + continue + + script_args = get_dict_attribute(alwayson_scripts, f"{script_name}.args", None) + if script_args: + arg_list = map_named_script_args_to_list(script, script_args) + valid_alwayson_scripts[script_name] = {"args": arg_list} + + params["alwayson_scripts"] = valid_alwayson_scripts + args = ( StableDiffusionImg2ImgProcessingAPI(**params) if is_img2img @@ -350,48 +441,19 @@ def serialize_api_task_args( if checkpoint is not None: checkpoint_info: CheckpointInfo = get_closet_checkpoint_match(checkpoint) if not checkpoint_info: - log.warn( - f"[AgentScheduler] No checkpoint found for model hash {checkpoint}" - ) - return + raise Exception(f"No checkpoint found for model hash {checkpoint}") args.override_settings["sd_model_checkpoint"] = checkpoint_info.title # load images from url or file if needed if is_img2img: init_images = args.init_images + if len(init_images) == 0: + raise Exception("At least one init image is required") + for i, image in enumerate(init_images): - init_images[i] = load_image_to_base64(image) + init_images[i] = encode_image_to_base64(image) - args.mask = load_image_to_base64(args.mask) - - # handle custom controlnet args - if controlnet_args is not None: - if args.alwayson_scripts is None: - args.alwayson_scripts = {} - - controlnets = [] - for cnet in controlnet_args: - enabled = cnet.get("enabled", True) - cnet_image = cnet.get("image", None) - - if not enabled: - continue - if not isinstance(cnet_image, dict): - log.error(f"[AgentScheduler] Controlnet image is required") - continue - - image = cnet_image.get("image", None) - mask = cnet_image.get("mask", None) - if image is None: - log.error(f"[AgentScheduler] Controlnet image is required") - continue - - # load controlnet images from url or file if needed - cnet_image["image"] = load_image_to_base64(image) - cnet_image["mask"] = load_image_to_base64(mask) - controlnets.append(cnet) - - if len(controlnets) > 0: - args.alwayson_scripts["controlnet"] = {"args": controlnets} + args.mask = encode_image_to_base64(args.mask) + args.batch_size = len(init_images) return args.dict() diff --git a/agent_scheduler/task_runner.py b/agent_scheduler/task_runner.py index eb93dd8..6d1c2fe 100644 --- a/agent_scheduler/task_runner.py +++ b/agent_scheduler/task_runner.py @@ -1,3 +1,4 @@ +import os import json import time import traceback @@ -7,6 +8,7 @@ from pydantic import BaseModel from datetime import datetime, timedelta from typing import Any, Callable, Union, Optional from fastapi import FastAPI +from PIL import Image from modules import progress, shared, script_callbacks from modules.call_queue import queue_lock, wrap_gradio_call @@ -19,12 +21,19 @@ from modules.api.models import ( ) from .db import TaskStatus, Task, task_manager -from .helpers import log, detect_control_net, get_component_by_elem_id +from .helpers import ( + log, + detect_control_net, + get_component_by_elem_id, + get_dict_attribute, +) from .task_helpers import ( + encode_image_to_base64, serialize_img2img_image_args, deserialize_img2img_image_args, serialize_controlnet_args, deserialize_controlnet_args, + serialize_api_task_args, map_ui_task_args_list_to_named_args, map_named_args_to_ui_task_args_list, ) @@ -119,11 +128,18 @@ class TaskRunner: ) def __serialize_api_task_args( - self, is_img2img: bool, script_args: list = [], **named_args + self, + is_img2img: bool, + script_args: list = [], + checkpoint: str = None, + **api_args, ): - # serialization steps are done in task_helpers.register_api_task - override_settings = named_args.get("override_settings", {}) - checkpoint = override_settings.get("sd_model_checkpoint", None) + named_args = serialize_api_task_args( + api_args, is_img2img, checkpoint=checkpoint + ) + checkpoint = get_dict_attribute( + named_args, "override_settings.sd_model_checkpoint", None + ) return json.dumps( { @@ -149,13 +165,19 @@ class TaskRunner: script_args[i] = deserialize_controlnet_args(arg) def __deserialize_api_task_args(self, is_img2img: bool, named_args: dict): - # API task use base64 images as input, no need to deserialize - pass + # load images from disk + if is_img2img: + init_images = named_args.get("init_images") + for i, img in enumerate(init_images): + if isinstance(img, str) and os.path.isfile(img): + print("loading image", img) + image = Image.open(img) + init_images[i] = encode_image_to_base64(image) - def parse_task_args( - self, params: str, script_params: bytes = None, deserialization: bool = True - ): - parsed: dict[str, Any] = json.loads(params) + named_args.update({"save_images": True, "send_images": False}) + + def parse_task_args(self, task: Task, deserialization: bool = True): + parsed: dict[str, Any] = json.loads(task.params) is_ui = parsed.get("is_ui", True) is_img2img = parsed.get("is_img2img", None) @@ -198,13 +220,18 @@ class TaskRunner: self.__total_pending_tasks += 1 def register_api_task( - self, task_id: str, api_task_id: str, is_img2img: bool, args: dict + self, + task_id: str, + api_task_id: str, + is_img2img: bool, + args: dict, + checkpoint: str = None, ): progress.add_task_to_queue(task_id) - args = args.copy() - args.update({"save_images": True, "send_images": False}) - params = self.__serialize_api_task_args(is_img2img, **args) + params = self.__serialize_api_task_args( + is_img2img, checkpoint=checkpoint, **args + ) task_type = "img2img" if is_img2img else "txt2img" task_manager.add_task( @@ -216,7 +243,7 @@ class TaskRunner: ) self.__total_pending_tasks += 1 - def execute_task(self, task: Task, get_next_task: Callable): + def execute_task(self, task: Task, get_next_task: Callable[[], Task]): while True: if self.dispose: break @@ -226,10 +253,7 @@ class TaskRunner: is_img2img = task.type == "img2img" log.info(f"[AgentScheduler] Executing task {task_id}") - task_args = self.parse_task_args( - task.params, - task.script_params, - ) + task_args = self.parse_task_args(task) task_meta = { "is_img2img": is_img2img, "is_ui": task_args.is_ui, @@ -439,7 +463,9 @@ class TaskRunner: self.__run_callbacks("task_cleared") def __on_image_saved(self, data: script_callbacks.ImageSaveParams): - self.__saved_images_path.append((data.filename, data.pnginfo.get("parameters", ""))) + self.__saved_images_path.append( + (data.filename, data.pnginfo.get("parameters", "")) + ) def on_task_registered(self, callback: Callable): """Callback when a task is registered diff --git a/javascript/extension.mjs b/javascript/extension.mjs index 788ec6f..14b3cfc 100644 --- a/javascript/extension.mjs +++ b/javascript/extension.mjs @@ -9,7 +9,7 @@ * @link https://www.ag-grid.com/ * @license MIT */ -function Ct(n) { +function mt(n) { return n == null || n === "" ? null : n; } function O(n, t) { @@ -38,18 +38,18 @@ function qe(n) { if (n !== void 0) return n === null || n === "" ? !1 : typeof n == "boolean" ? n : /true/i.test(n); } -function Ql(n) { +function Xl(n) { if (!(n == null || n === "")) return n; } -function Xl(n, t) { +function Jl(n, t) { return n == null && t == null ? !0 : n == null && t != null || n != null && t == null ? !1 : n === t; } -function Jl(n, t) { +function Zl(n, t) { var e = n ? JSON.stringify(n) : null, r = t ? JSON.stringify(t) : null; return e === r; } -function Zl(n, t, e) { +function eu(n, t, e) { e === void 0 && (e = !1); var r = n == null, o = t == null; if (n && n.toNumber && (n = n.toNumber()), t && t.toNumber && (t = t.toNumber()), r && o) @@ -69,7 +69,7 @@ function Zl(n, t, e) { return i(n, t); } } -function Hr(n) { +function Br(n) { if (n instanceof Set || n instanceof Map) { var t = []; return n.forEach(function(e) { @@ -78,20 +78,20 @@ function Hr(n) { } return Object.values(n); } -var eu = /* @__PURE__ */ Object.freeze({ +var tu = /* @__PURE__ */ Object.freeze({ __proto__: null, - makeNull: Ct, + makeNull: mt, exists: O, missing: x, missingOrEmpty: Pe, toStringOrNull: Tn, attrToNumber: Ge, attrToBoolean: qe, - attrToString: Ql, - referenceCompare: Xl, - jsonEquals: Jl, - defaultComparator: Zl, - values: Hr + attrToString: Xl, + referenceCompare: Jl, + jsonEquals: Zl, + defaultComparator: eu, + values: Br }); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue @@ -99,7 +99,7 @@ var eu = /* @__PURE__ */ Object.freeze({ * @link https://www.ag-grid.com/ * @license MIT */ -var tu = ( +var ru = ( /** @class */ function() { function n() { @@ -139,38 +139,38 @@ function bn(n) { } return t; } -function ru(n) { +function ou(n) { return JSON.parse(JSON.stringify(n)); } -function Oo(n, t) { +function bo(n, t) { if (n) { var e = n, r = {}; return Object.keys(e).forEach(function(o) { if (!(t && t.indexOf(o) >= 0)) { - var i = e[o], s = bo(i) && i.constructor === Object; - s ? r[o] = Oo(i) : r[o] = i; + var i = e[o], s = Do(i) && i.constructor === Object; + s ? r[o] = bo(i) : r[o] = i; } }), r; } } -function ha(n, t) { +function fa(n, t) { return n[t]; } -function fa(n, t, e) { +function va(n, t, e) { n[t] = e; } -function ou(n, t) { +function iu(n, t) { for (var e = [], r = 2; r < arguments.length; r++) e[r - 2] = arguments[r]; e.forEach(function(o) { - return va(n, t, o); + return ga(n, t, o); }); } -function va(n, t, e, r) { - var o = ha(n, e); - o !== void 0 && fa(t, e, r ? r(o) : o); +function ga(n, t, e, r) { + var o = fa(n, e); + o !== void 0 && va(t, e, r ? r(o) : o); } -function ga(n) { +function ya(n) { var t = {}; return n.filter(function(e) { return e != null; @@ -202,14 +202,14 @@ function Re(n, t, e, r) { u && (s = {}, n[o] = s); } } - bo(i) && bo(s) && !Array.isArray(s) ? Re(s, i, e, r) : (e || i !== void 0) && (n[o] = i); + Do(i) && Do(s) && !Array.isArray(s) ? Re(s, i, e, r) : (e || i !== void 0) && (n[o] = i); } }); } -function iu(n) { +function nu(n) { return x(n) || Object.keys(n).length === 0; } -function nu(n, t, e) { +function su(n, t, e) { if (n == null) return e; for (var r = t.split("."), o = n; r.length > 1; ) @@ -218,7 +218,7 @@ function nu(n, t, e) { var i = o[r[0]]; return i ?? e; } -function su(n, t, e) { +function au(n, t, e) { if (n != null) { var r = t.split("."), o = n; r.forEach(function(i, s) { @@ -226,7 +226,7 @@ function su(n, t, e) { }), o[r[r.length - 1]] = e; } } -function To(n, t, e) { +function Po(n, t, e) { if (!(!t || !n)) { if (!e) return n[t]; @@ -238,7 +238,7 @@ function To(n, t, e) { return o; } } -function ya(n, t) { +function Ca(n, t) { Object.keys(n).forEach(function(o) { var i = n[o]; typeof i == "object" && (n[o] = void 0); @@ -257,28 +257,28 @@ function ya(n, t) { } }), Object.defineProperties(n, r); } -function bo(n) { +function Do(n) { return typeof n == "object" && n !== null; } -var au = /* @__PURE__ */ Object.freeze({ +var lu = /* @__PURE__ */ Object.freeze({ __proto__: null, iterateObject: J, cloneObject: bn, - deepCloneObject: ru, - deepCloneDefinition: Oo, - getProperty: ha, - setProperty: fa, - copyPropertiesIfPresent: ou, - copyPropertyIfPresent: va, - getAllKeysInObjects: ga, + deepCloneObject: ou, + deepCloneDefinition: bo, + getProperty: fa, + setProperty: va, + copyPropertiesIfPresent: iu, + copyPropertyIfPresent: ga, + getAllKeysInObjects: ya, getAllValuesInObject: et, mergeDeep: Re, - missingOrEmptyObject: iu, - get: nu, - set: su, - getValueUsingField: To, - removeAllReferences: ya, - isNonNullObject: bo + missingOrEmptyObject: nu, + get: su, + set: au, + getValueUsingField: Po, + removeAllReferences: Ca, + isNonNullObject: Do }); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue @@ -290,28 +290,28 @@ var ps = {}; function K(n, t) { ps[t] || (n(), ps[t] = !0); } -function Xo(n) { +function Jo(n) { if (n.name) return n.name; var t = /function\s+([^\(]+)/.exec(n.toString()); return t && t.length === 2 ? t[1].trim() : null; } -function Jo(n) { +function Zo(n) { return !!(n && n.constructor && n.call && n.apply); } -function Ca(n) { - ma(n, 400); +function ma(n) { + wa(n, 400); } -var si = [], ai = !1; +var ai = [], li = !1; function sn(n) { - si.push(n), !ai && (ai = !0, window.setTimeout(function() { - var t = si.slice(); - si.length = 0, ai = !1, t.forEach(function(e) { + ai.push(n), !li && (li = !0, window.setTimeout(function() { + var t = ai.slice(); + ai.length = 0, li = !1, t.forEach(function(e) { return e(); }); }, 0)); } -function ma(n, t) { +function wa(n, t) { t === void 0 && (t = 0), n.length > 0 && window.setTimeout(function() { return n.forEach(function(e) { return e(); @@ -338,7 +338,7 @@ function an(n, t) { s - e < t || (e = s, n.apply(i, r)); }; } -function wa(n, t, e, r) { +function Sa(n, t, e, r) { e === void 0 && (e = 100); var o = (/* @__PURE__ */ new Date()).getTime(), i = null, s = !1, a = function() { var l = (/* @__PURE__ */ new Date()).getTime() - o > e; @@ -346,7 +346,7 @@ function wa(n, t, e, r) { }; a(), s || (i = window.setInterval(a, 10)); } -function lu() { +function uu() { for (var n = [], t = 0; t < arguments.length; t++) n[t] = arguments[t]; return function(e) { @@ -355,24 +355,24 @@ function lu() { }, e); }; } -function Sa(n) { +function Ea(n) { n && n(); } -var uu = function() { -}, cu = /* @__PURE__ */ Object.freeze({ +var cu = function() { +}, pu = /* @__PURE__ */ Object.freeze({ __proto__: null, doOnce: K, - getFunctionName: Xo, - isFunction: Jo, - executeInAWhile: Ca, + getFunctionName: Jo, + isFunction: Zo, + executeInAWhile: ma, executeNextVMTurn: sn, - executeAfter: ma, + executeAfter: wa, debounce: Je, throttle: an, - waitUntil: wa, - compose: lu, - callIfPresent: Sa, - noop: uu + waitUntil: Sa, + compose: uu, + callIfPresent: Ea, + noop: cu }); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue @@ -380,7 +380,7 @@ var uu = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var pu = function(n, t) { +var du = function(n, t) { var e = typeof Symbol == "function" && n[Symbol.iterator]; if (!e) return n; @@ -399,11 +399,11 @@ var pu = function(n, t) { } } return i; -}, du = function() { +}, hu = function() { for (var n = [], t = 0; t < arguments.length; t++) - n = n.concat(pu(arguments[t])); + n = n.concat(du(arguments[t])); return n; -}, hu = ( +}, fu = ( /** @class */ function() { function n(t, e) { @@ -414,7 +414,7 @@ var pu = function(n, t) { } } return n.prototype.getBeanInstances = function() { - return Hr(this.beanWrappers).map(function(t) { + return Br(this.beanWrappers).map(function(t) { return t.beanInstance; }); }, n.prototype.createBean = function(t, e) { @@ -428,7 +428,7 @@ var pu = function(n, t) { this.contextParams.beanClasses.forEach(this.createBeanWrapper.bind(this)), J(this.beanWrappers, function(r, o) { var i; o.bean.__agBeanMetaData && o.bean.__agBeanMetaData.autowireMethods && o.bean.__agBeanMetaData.autowireMethods.agConstructor && (i = o.bean.__agBeanMetaData.autowireMethods.agConstructor); - var s = t.getBeansForParameters(i, o.bean.name), a = new (o.bean.bind.apply(o.bean, du([null], s)))(); + var s = t.getBeansForParameters(i, o.bean.name), a = new (o.bean.bind.apply(o.bean, hu([null], s)))(); o.beanInstance = a; }); var e = Object.keys(this.beanWrappers).join(", "); @@ -437,7 +437,7 @@ var pu = function(n, t) { var e = t.__agBeanMetaData; if (!e) { var r = void 0; - t.prototype.constructor ? r = Xo(t.prototype.constructor) : r = "" + t, console.error("Context item " + r + " is not a bean"); + t.prototype.constructor ? r = Jo(t.prototype.constructor) : r = "" + t, console.error("Context item " + r + " is not a bean"); return; } var o = { @@ -534,34 +534,34 @@ var pu = function(n, t) { }() ); function ds(n, t, e) { - var r = It(n.constructor); + var r = xt(n.constructor); r.preConstructMethods || (r.preConstructMethods = []), r.preConstructMethods.push(t); } function b(n, t, e) { - var r = It(n.constructor); + var r = xt(n.constructor); r.postConstructMethods || (r.postConstructMethods = []), r.postConstructMethods.push(t); } function fe(n, t, e) { - var r = It(n.constructor); + var r = xt(n.constructor); r.preDestroyMethods || (r.preDestroyMethods = []), r.preDestroyMethods.push(t); } function A(n) { return function(t) { - var e = It(t); + var e = xt(t); e.beanName = n; }; } function h(n) { return function(t, e, r) { - Ea(t, n, !1, t, e, null); + _a(t, n, !1, t, e, null); }; } function Y(n) { return function(t, e, r) { - Ea(t, n, !0, t, e, null); + _a(t, n, !0, t, e, null); }; } -function Ea(n, t, e, r, o, i) { +function _a(n, t, e, r, o, i) { if (t === null) { console.error("AG Grid: Autowired name should not be null"); return; @@ -570,7 +570,7 @@ function Ea(n, t, e, r, o, i) { console.error("AG Grid: Autowired should be on an attribute"); return; } - var s = It(n.constructor); + var s = xt(n.constructor); s.agClassAttributes || (s.agClassAttributes = []), s.agClassAttributes.push({ attributeName: o, beanName: t, @@ -582,11 +582,11 @@ function Ce(n) { var o = typeof t == "function" ? t : t.constructor, i; if (typeof r == "number") { var s = void 0; - e ? (i = It(o), s = e) : (i = It(o), s = "agConstructor"), i.autowireMethods || (i.autowireMethods = {}), i.autowireMethods[s] || (i.autowireMethods[s] = {}), i.autowireMethods[s][r] = n; + e ? (i = xt(o), s = e) : (i = xt(o), s = "agConstructor"), i.autowireMethods || (i.autowireMethods = {}), i.autowireMethods[s] || (i.autowireMethods[s] = {}), i.autowireMethods[s][r] = n; } }; } -function It(n) { +function xt(n) { return n.hasOwnProperty("__agBeanMetaData") || (n.__agBeanMetaData = {}), n.__agBeanMetaData; } /** @@ -603,11 +603,11 @@ var hs = function(n, t, e, r) { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, zr = function(n, t) { +}, $r = function(n, t) { return function(e, r) { t(e, r, n); }; -}, wt = ( +}, Et = ( /** @class */ function() { function n() { @@ -678,10 +678,10 @@ var hs = function(n, t, e, r) { return e(); }); }, hs([ - zr(0, Ce("loggerFactory")), - zr(1, Ce("gridOptionsService")), - zr(2, Ce("frameworkOverrides")), - zr(3, Ce("globalEventListener")) + $r(0, Ce("loggerFactory")), + $r(1, Ce("gridOptionsService")), + $r(2, Ce("frameworkOverrides")), + $r(3, Ce("globalEventListener")) ], n.prototype, "setBeans", null), n = hs([ A("eventService") ], n), n; @@ -703,7 +703,7 @@ var F; * @link https://www.ag-grid.com/ * @license MIT */ -var fu = function(n, t) { +var vu = function(n, t) { var e = typeof Symbol == "function" && n[Symbol.iterator]; if (!e) return n; @@ -760,7 +760,7 @@ var fu = function(n, t) { For more info see: https://ag-grid.com/javascript-data-grid/getting-started/#getting-started-with-ag-grid-enterprise`; else if (n.moduleBased || n.moduleBased === void 0) { var s = (r = Object.entries(F).find(function(a) { - var l = fu(a, 2); + var l = vu(a, 2); l[0]; var u = l[1]; return u === t; @@ -785,7 +785,7 @@ For more info see: https://www.ag-grid.com/javascript-grid/packages/`; }, n.isRegistered = function(t) { return !!n.modulesMap[t]; }, n.getRegisteredModules = function() { - return Hr(n.modulesMap); + return Br(n.modulesMap); }, n.isPackageBased = function() { return !n.moduleBased; }, n.modulesMap = {}, n; @@ -797,7 +797,7 @@ For more info see: https://www.ag-grid.com/javascript-grid/packages/`; * @link https://www.ag-grid.com/ * @license MIT */ -var Kr = function(n, t, e, r) { +var Yr = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -805,7 +805,7 @@ var Kr = function(n, t, e, r) { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, vu = function(n, t) { +}, gu = function(n, t) { var e = typeof Symbol == "function" && n[Symbol.iterator]; if (!e) return n; @@ -824,19 +824,19 @@ var Kr = function(n, t, e, r) { } } return i; -}, gu = function() { +}, yu = function() { for (var n = [], t = 0; t < arguments.length; t++) - n = n.concat(vu(arguments[t])); + n = n.concat(gu(arguments[t])); return n; -}, yu = 0; -function _a() { - return yu++; +}, Cu = 0; +function Ra() { + return Cu++; } var Z = ( /** @class */ function() { function n(t, e, r, o) { - this.instanceId = _a(), this.autoHeaderHeight = null, this.moving = !1, this.menuVisible = !1, this.filterActive = !1, this.eventService = new wt(), this.tooltipEnabled = !1, this.rowGroupActive = !1, this.pivotActive = !1, this.aggregationActive = !1, this.colDef = t, this.userProvidedColDef = e, this.colId = r, this.primary = o, this.setState(t); + this.instanceId = Ra(), this.autoHeaderHeight = null, this.moving = !1, this.menuVisible = !1, this.filterActive = !1, this.eventService = new Et(), this.tooltipEnabled = !1, this.rowGroupActive = !1, this.pivotActive = !1, this.aggregationActive = !1, this.colDef = t, this.userProvidedColDef = e, this.colId = r, this.primary = o, this.setState(t); } return n.prototype.getInstanceId = function() { return this.instanceId; @@ -924,7 +924,7 @@ var Z = ( i.length > 0 && N.assertRegistered(F.MenuModule, "menuTab(s): " + i.map(function(c) { return "'" + c + "'"; }).join()), t.menuTabs.forEach(function(c) { - !l.includes(c) && !a.includes(c) && e("AG Grid: '" + c + "' is not valid for 'colDef.menuTabs'. Valid values are: " + gu(a, l).map(function(p) { + !l.includes(c) && !a.includes(c) && e("AG Grid: '" + c + "' is not valid for 'colDef.menuTabs'. Valid values are: " + yu(a, l).map(function(p) { return "'" + p + "'"; }).join() + ".", "wrongValue_menuTabs_" + c); }); @@ -1140,13 +1140,13 @@ var Z = ( }, n.prototype.getMenuTabs = function(t) { var e = this.getColDef().menuTabs; return e == null && (e = t), e; - }, n.EVENT_MOVING_CHANGED = "movingChanged", n.EVENT_LEFT_CHANGED = "leftChanged", n.EVENT_WIDTH_CHANGED = "widthChanged", n.EVENT_LAST_LEFT_PINNED_CHANGED = "lastLeftPinnedChanged", n.EVENT_FIRST_RIGHT_PINNED_CHANGED = "firstRightPinnedChanged", n.EVENT_VISIBLE_CHANGED = "visibleChanged", n.EVENT_FILTER_CHANGED = "filterChanged", n.EVENT_FILTER_ACTIVE_CHANGED = "filterActiveChanged", n.EVENT_SORT_CHANGED = "sortChanged", n.EVENT_COL_DEF_CHANGED = "colDefChanged", n.EVENT_MENU_VISIBLE_CHANGED = "menuVisibleChanged", n.EVENT_ROW_GROUP_CHANGED = "columnRowGroupChanged", n.EVENT_PIVOT_CHANGED = "columnPivotChanged", n.EVENT_VALUE_CHANGED = "columnValueChanged", Kr([ + }, n.EVENT_MOVING_CHANGED = "movingChanged", n.EVENT_LEFT_CHANGED = "leftChanged", n.EVENT_WIDTH_CHANGED = "widthChanged", n.EVENT_LAST_LEFT_PINNED_CHANGED = "lastLeftPinnedChanged", n.EVENT_FIRST_RIGHT_PINNED_CHANGED = "firstRightPinnedChanged", n.EVENT_VISIBLE_CHANGED = "visibleChanged", n.EVENT_FILTER_CHANGED = "filterChanged", n.EVENT_FILTER_ACTIVE_CHANGED = "filterActiveChanged", n.EVENT_SORT_CHANGED = "sortChanged", n.EVENT_COL_DEF_CHANGED = "colDefChanged", n.EVENT_MENU_VISIBLE_CHANGED = "menuVisibleChanged", n.EVENT_ROW_GROUP_CHANGED = "columnRowGroupChanged", n.EVENT_PIVOT_CHANGED = "columnPivotChanged", n.EVENT_VALUE_CHANGED = "columnValueChanged", Yr([ h("gridOptionsService") - ], n.prototype, "gridOptionsService", void 0), Kr([ + ], n.prototype, "gridOptionsService", void 0), Yr([ h("columnUtils") - ], n.prototype, "columnUtils", void 0), Kr([ + ], n.prototype, "columnUtils", void 0), Yr([ h("columnHoverService") - ], n.prototype, "columnHoverService", void 0), Kr([ + ], n.prototype, "columnHoverService", void 0), Yr([ b ], n.prototype, "initialise", null), n; }() @@ -1157,7 +1157,7 @@ var Z = ( * @link https://www.ag-grid.com/ * @license MIT */ -var Cu = function(n, t, e, r) { +var mu = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -1169,7 +1169,7 @@ var Cu = function(n, t, e, r) { /** @class */ function() { function n(t, e, r, o) { - this.localEventService = new wt(), this.expandable = !1, this.instanceId = _a(), this.expandableListenerRemoveCallback = null, this.colGroupDef = t, this.groupId = e, this.expanded = !!t && !!t.openByDefault, this.padding = r, this.level = o; + this.localEventService = new Et(), this.expandable = !1, this.instanceId = Ra(), this.expandableListenerRemoveCallback = null, this.colGroupDef = t, this.groupId = e, this.expanded = !!t && !!t.openByDefault, this.padding = r, this.level = o; } return n.prototype.destroy = function() { this.expandableListenerRemoveCallback && this.reset(null, void 0); @@ -1263,7 +1263,7 @@ var Cu = function(n, t, e, r) { this.localEventService.addEventListener(t, e); }, n.prototype.removeEventListener = function(t, e) { this.localEventService.removeEventListener(t, e); - }, n.EVENT_EXPANDED_CHANGED = "expandedChanged", n.EVENT_EXPANDABLE_CHANGED = "expandableChanged", Cu([ + }, n.EVENT_EXPANDED_CHANGED = "expandedChanged", n.EVENT_EXPANDABLE_CHANGED = "expandableChanged", mu([ fe ], n.prototype, "destroy", null), n; }() @@ -1274,7 +1274,7 @@ var Cu = function(n, t, e, r) { * @link https://www.ag-grid.com/ * @license MIT */ -var mu = { +var wu = { numericColumn: { headerClass: "ag-right-aligned-header", cellClass: "ag-right-aligned-cell" @@ -1290,7 +1290,7 @@ var mu = { * @link https://www.ag-grid.com/ * @license MIT */ -function Ra() { +function Oa() { for (var n = [], t = 0; t < arguments.length; t++) n[t] = arguments[t]; for (var e = 0; e < n.length; e++) { @@ -1300,27 +1300,27 @@ function Ra() { } return null; } -function wu(n) { +function Su(n) { return n != null && n.length > 0; } function q(n) { if (!(!n || !n.length)) return n[n.length - 1]; } -function gt(n, t, e) { +function yt(n, t, e) { return n == null && t == null ? !0 : n != null && t != null && n.length === t.length && n.every(function(r, o) { return e ? e(r, t[o]) : t[o] === r; }); } -function Su(n, t) { - return gt(n, t); +function Eu(n, t) { + return yt(n, t); } -function Oa(n) { +function Ta(n) { return n.sort(function(t, e) { return t - e; }); } -function Eu(n, t) { +function _u(n, t) { if (n) for (var e = n.length - 2; e >= 0; e--) { var r = n[e] === t, o = n[e + 1] === t; @@ -1336,25 +1336,25 @@ function Pn(n, t) { return ge(n, e); }); } -function Lr(n, t, e) { +function Ir(n, t, e) { n.splice(e, 0, t); } -function _u(n, t, e) { +function Ru(n, t, e) { if (!(n == null || t == null)) for (var r = t.length - 1; r >= 0; r--) { var o = t[r]; - Lr(n, o, e); + Ir(n, o, e); } } function ln(n, t, e) { Pn(n, t), t.slice().reverse().forEach(function(r) { - return Lr(n, r, e); + return Ir(n, r, e); }); } function He(n, t) { return n.indexOf(t) > -1; } -function Ta(n) { +function ba(n) { return [].concat.apply([], n); } function un(n, t) { @@ -1362,33 +1362,33 @@ function un(n, t) { return n.push(e); }); } -function Ru(n) { +function Ou(n) { return n.map(Tn); } -function Ou(n, t) { +function Tu(n, t) { if (n != null) for (var e = n.length - 1; e >= 0; e--) t(n[e], e); } -var Tu = /* @__PURE__ */ Object.freeze({ +var bu = /* @__PURE__ */ Object.freeze({ __proto__: null, - firstExistingValue: Ra, - existsAndNotEmpty: wu, + firstExistingValue: Oa, + existsAndNotEmpty: Su, last: q, - areEqual: gt, - shallowCompare: Su, - sortNumerically: Oa, - removeRepeatsFromArray: Eu, + areEqual: yt, + shallowCompare: Eu, + sortNumerically: Ta, + removeRepeatsFromArray: _u, removeFromArray: ge, removeAllFromArray: Pn, - insertIntoArray: Lr, - insertArrayIntoArray: _u, + insertIntoArray: Ir, + insertArrayIntoArray: Ru, moveInArray: ln, includes: He, - flatten: Ta, + flatten: ba, pushAll: un, - toStrings: Ru, - forEachReverse: Ou + toStrings: Ou, + forEachReverse: Tu }); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue @@ -1396,12 +1396,12 @@ var Tu = /* @__PURE__ */ Object.freeze({ * @link https://www.ag-grid.com/ * @license MIT */ -var ba = "__ag_Grid_Stop_Propagation", bu = ["touchstart", "touchend", "touchmove", "touchcancel", "scroll"], li = {}; -function Xt(n) { - n[ba] = !0; +var Pa = "__ag_Grid_Stop_Propagation", Pu = ["touchstart", "touchend", "touchmove", "touchcancel", "scroll"], ui = {}; +function Zt(n) { + n[Pa] = !0; } function Ze(n) { - return n[ba] === !0; + return n[Pa] === !0; } var Dn = function() { var n = { @@ -1413,14 +1413,14 @@ var Dn = function() { load: "img", abort: "img" }, t = function(e) { - if (typeof li[e] == "boolean") - return li[e]; + if (typeof ui[e] == "boolean") + return ui[e]; var r = document.createElement(n[e] || "div"); - return e = "on" + e, li[e] = e in r; + return e = "on" + e, ui[e] = e in r; }; return t; }(); -function Po(n, t, e) { +function Ao(n, t, e) { for (var r = t; r; ) { var o = n.getDomData(r, e); if (o) @@ -1429,32 +1429,32 @@ function Po(n, t, e) { } return null; } -function Do(n, t) { - return !t || !n ? !1 : Da(t).indexOf(n) >= 0; +function Fo(n, t) { + return !t || !n ? !1 : Aa(t).indexOf(n) >= 0; } -function Pa(n) { +function Da(n) { for (var t = [], e = n.target; e; ) t.push(e), e = e.parentElement; return t; } -function Da(n) { +function Aa(n) { var t = n; - return t.path ? t.path : t.composedPath ? t.composedPath() : Pa(t); + return t.path ? t.path : t.composedPath ? t.composedPath() : Da(t); } -function Aa(n, t, e, r) { - var o = He(bu, e), i = o ? { passive: !0 } : void 0; +function Fa(n, t, e, r) { + var o = He(Pu, e), i = o ? { passive: !0 } : void 0; n && n.addEventListener && n.addEventListener(t, e, r, i); } -var Pu = /* @__PURE__ */ Object.freeze({ +var Du = /* @__PURE__ */ Object.freeze({ __proto__: null, - stopPropagationForAgGrid: Xt, + stopPropagationForAgGrid: Zt, isStopPropagationForAgGrid: Ze, isEventSupported: Dn, - getCtrlForEventTarget: Po, - isElementInEventPath: Do, - createEventPath: Pa, - getEventPath: Da, - addSafePassiveEventListener: Aa + getCtrlForEventTarget: Ao, + isElementInEventPath: Fo, + createEventPath: Da, + getEventPath: Aa, + addSafePassiveEventListener: Fa }); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue @@ -1462,7 +1462,7 @@ var Pu = /* @__PURE__ */ Object.freeze({ * @link https://www.ag-grid.com/ * @license MIT */ -var _t = function(n, t, e, r) { +var Ot = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -1488,7 +1488,7 @@ var _t = function(n, t, e, r) { return t(); }), this.destroyFunctions.length = 0, this.destroyed = !0, this.dispatchEvent({ type: n.EVENT_DESTROYED }); }, n.prototype.addEventListener = function(t, e) { - this.localEventService || (this.localEventService = new wt()), this.localEventService.addEventListener(t, e); + this.localEventService || (this.localEventService = new Et()), this.localEventService.addEventListener(t, e); }, n.prototype.removeEventListener = function(t, e) { this.localEventService && this.localEventService.removeEventListener(t, e); }, n.prototype.dispatchEventAsync = function(t) { @@ -1501,7 +1501,7 @@ var _t = function(n, t, e, r) { }, n.prototype.addManagedListener = function(t, e, r) { var o = this; if (!this.destroyed) { - t instanceof HTMLElement ? Aa(this.getFrameworkOverrides(), t, e, r) : t.addEventListener(e, r); + t instanceof HTMLElement ? Fa(this.getFrameworkOverrides(), t, e, r) : t.addEventListener(e, r); var i = function() { return t.removeEventListener(e, r), o.destroyFunctions = o.destroyFunctions.filter(function(s) { return s !== i; @@ -1534,19 +1534,19 @@ var _t = function(n, t, e, r) { return t && t.forEach(function(o) { return r.destroyBean(o, e); }), []; - }, n.EVENT_DESTROYED = "destroyed", _t([ + }, n.EVENT_DESTROYED = "destroyed", Ot([ h("frameworkOverrides") - ], n.prototype, "frameworkOverrides", void 0), _t([ + ], n.prototype, "frameworkOverrides", void 0), Ot([ h("context") - ], n.prototype, "context", void 0), _t([ + ], n.prototype, "context", void 0), Ot([ h("eventService") - ], n.prototype, "eventService", void 0), _t([ + ], n.prototype, "eventService", void 0), Ot([ h("gridOptionsService") - ], n.prototype, "gridOptionsService", void 0), _t([ + ], n.prototype, "gridOptionsService", void 0), Ot([ h("localeService") - ], n.prototype, "localeService", void 0), _t([ + ], n.prototype, "localeService", void 0), Ot([ h("environment") - ], n.prototype, "environment", void 0), _t([ + ], n.prototype, "environment", void 0), Ot([ fe ], n.prototype, "destroy", null), n; }() @@ -1557,7 +1557,7 @@ var _t = function(n, t, e, r) { * @link https://www.ag-grid.com/ * @license MIT */ -var Du = function() { +var Au = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -1573,7 +1573,7 @@ var Du = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), ui = function(n, t, e, r) { +}(), ci = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -1581,21 +1581,21 @@ var Du = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Au = function(n, t) { +}, Fu = function(n, t) { return function(e, r) { t(e, r, n); }; -}, Fu = ( +}, Lu = ( /** @class */ function(n) { - Du(t, n); + Au(t, n); function t() { return n !== null && n.apply(this, arguments) || this; } return t.prototype.setBeans = function(e) { this.logger = e.create("ColumnFactory"); }, t.prototype.createColumnTree = function(e, r, o) { - var i = new tu(), s = this.extractExistingTreeData(o), a = s.existingCols, l = s.existingGroups, u = s.existingColKeys; + var i = new ru(), s = this.extractExistingTreeData(o), a = s.existingCols, l = s.existingGroups, u = s.existingColKeys; i.addExistingKeys(u); var c = this.recursivelyCreateColumns(e, 0, r, a, i, l), p = this.findMaxDept(c, 0); this.logger.log("Number of levels for grouped columns is " + p); @@ -1747,7 +1747,7 @@ var Du = function() { console.warn("AG Grid: colDef.type should be of type 'string' | 'string[]'"); return; } - var s = Object.assign({}, mu), a = this.gridOptionsService.get("columnTypes") || {}; + var s = Object.assign({}, wu), a = this.gridOptionsService.get("columnTypes") || {}; J(a, function(l, u) { l in s ? console.warn("AG Grid: the column type '" + l + "' is a default column type and cannot be overridden.") : s[l] = u; }), o.forEach(function(l) { @@ -1756,11 +1756,11 @@ var Du = function() { }); }, t.prototype.isColumnGroup = function(e) { return e.children !== void 0; - }, ui([ + }, ci([ h("columnUtils") - ], t.prototype, "columnUtils", void 0), ui([ - Au(0, Ce("loggerFactory")) - ], t.prototype, "setBeans", null), t = ui([ + ], t.prototype, "columnUtils", void 0), ci([ + Fu(0, Ce("loggerFactory")) + ], t.prototype, "setBeans", null), t = ci([ A("columnFactory") ], t), t; }(T) @@ -1943,7 +1943,7 @@ var v = ( * @link https://www.ag-grid.com/ * @license MIT */ -var Lu = function(n, t) { +var Mu = function(n, t) { var e = typeof Symbol == "function" && n[Symbol.iterator]; if (!e) return n; @@ -1964,7 +1964,7 @@ var Lu = function(n, t) { return i; }, vs = function() { for (var n = [], t = 0; t < arguments.length; t++) - n = n.concat(Lu(arguments[t])); + n = n.concat(Mu(arguments[t])); return n; }, $e = ( /** @class */ @@ -2298,7 +2298,7 @@ var cn = function() { } return n; }, cn.apply(this, arguments); -}, Mu = function(n, t) { +}, Iu = function(n, t) { var e = typeof Symbol == "function" && n[Symbol.iterator]; if (!e) return n; @@ -2317,11 +2317,11 @@ var cn = function() { } } return i; -}, Iu = function() { +}, xu = function() { for (var n = [], t = 0; t < arguments.length; t++) - n = n.concat(Mu(arguments[t])); + n = n.concat(Iu(arguments[t])); return n; -}, Eo = ( +}, Ro = ( /** @class */ function() { function n() { @@ -2330,7 +2330,7 @@ var cn = function() { return !t || t.length < 2 ? t : "on" + t[0].toUpperCase() + t.substr(1); }, n.getCoercionLookup = function() { var t = {}; - return Iu(n.ARRAY_PROPERTIES, n.OBJECT_PROPERTIES, n.STRING_PROPERTIES, n.FUNCTION_PROPERTIES, n.EVENT_CALLBACKS).forEach(function(e) { + return xu(n.ARRAY_PROPERTIES, n.OBJECT_PROPERTIES, n.STRING_PROPERTIES, n.FUNCTION_PROPERTIES, n.EVENT_CALLBACKS).forEach(function(e) { return t[e] = "none"; }), n.BOOLEAN_PROPERTIES.forEach(function(e) { return t[e] = "boolean"; @@ -2390,7 +2390,7 @@ var cn = function() { return t; if (typeof t == "string") return Number(t); - }, n.EVENTS = Hr(v), n.EXCLUDED_INTERNAL_EVENTS = [ + }, n.EVENTS = Br(v), n.EXCLUDED_INTERNAL_EVENTS = [ v.EVENT_SCROLLBAR_WIDTH_CHANGED, v.EVENT_CHECKBOX_CHANGED, v.EVENT_HEIGHT_SCALE_CHANGED, @@ -2434,7 +2434,7 @@ var cn = function() { * @link https://www.ag-grid.com/ * @license MIT */ -function Fa(n, t, e) { +function La(n, t, e) { var r = {}, o = n.filter(function(i) { return !t.some(function(s) { return s === i; @@ -2448,7 +2448,7 @@ function An(n, t, e, r) { var o = t.map(function(a) { return { value: a, - relevance: xu(n.toLowerCase(), a.toLocaleLowerCase()) + relevance: Nu(n.toLowerCase(), a.toLocaleLowerCase()) }; }); if (o.sort(function(a, l) { @@ -2465,16 +2465,16 @@ function An(n, t, e, r) { return a.value; }); } -function xu(n, t) { +function Nu(n, t) { for (var e = n.replace(/\s/g, ""), r = t.replace(/\s/g, ""), o = 0, i = -1, s = 0; s < e.length; s++) { var a = r.indexOf(e[s], i + 1); a !== -1 && (i = a, o += 100 - i * 100 / 1e4 * 100); } return o; } -var Nu = /* @__PURE__ */ Object.freeze({ +var Gu = /* @__PURE__ */ Object.freeze({ __proto__: null, - fuzzyCheckStrings: Fa, + fuzzyCheckStrings: La, fuzzySuggestions: An }); /** @@ -2483,7 +2483,7 @@ var Nu = /* @__PURE__ */ Object.freeze({ * @link https://www.ag-grid.com/ * @license MIT */ -var $r = function(n, t, e, r) { +var qr = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -2491,7 +2491,7 @@ var $r = function(n, t, e, r) { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, La = function(n, t) { +}, Ma = function(n, t) { var e = typeof Symbol == "function" && n[Symbol.iterator]; if (!e) return n; @@ -2510,9 +2510,9 @@ var $r = function(n, t, e, r) { } } return i; -}, ci = function() { +}, pi = function() { for (var n = [], t = 0; t < arguments.length; t++) - n = n.concat(La(arguments[t])); + n = n.concat(Ma(arguments[t])); return n; }; function se(n, t, e, r) { @@ -2521,7 +2521,7 @@ function se(n, t, e, r) { return console.warn("AG Grid: since v" + n + ", '" + t + "' is deprecated. " + o + (r ?? "")); }, "Deprecated_" + t); } -var Gu = ( +var Hu = ( /** @class */ function() { function n() { @@ -2581,7 +2581,7 @@ var Gu = ( }, n.prototype.checkColumnDefProperties = function() { var t = this; if (this.gridOptions.columnDefs != null) { - var e = ci(fs.ALL_PROPERTIES, fs.FRAMEWORK_PROPERTIES), r = function(o, i) { + var e = pi(fs.ALL_PROPERTIES, fs.FRAMEWORK_PROPERTIES), r = function(o, i) { var s = Object.getOwnPropertyNames(o); t.checkProperties(s, e, e, i, "https://www.ag-grid.com/javascript-data-grid/column-properties/"), o.children && o.children.forEach(function(a) { return r(a, "columnDefs.children"); @@ -2609,10 +2609,10 @@ var Gu = ( }), this.gridOptions.autoGroupColumnDef != null && i(this.gridOptions.autoGroupColumnDef), this.gridOptions.defaultColDef != null && i(this.gridOptions.defaultColDef); } }, n.prototype.checkGridOptionsProperties = function() { - var t = Object.getOwnPropertyNames(this.gridOptions), e = ci($e.ALL_PROPERTIES, $e.FRAMEWORK_PROPERTIES, Eo.EVENT_CALLBACKS), r = ci(e, ["api", "columnApi"], Object.keys(this.deprecatedProperties)); + var t = Object.getOwnPropertyNames(this.gridOptions), e = pi($e.ALL_PROPERTIES, $e.FRAMEWORK_PROPERTIES, Ro.EVENT_CALLBACKS), r = pi(e, ["api", "columnApi"], Object.keys(this.deprecatedProperties)); this.checkProperties(t, r, e, "gridOptions", "https://www.ag-grid.com/javascript-data-grid/grid-options/"); }, n.prototype.checkProperties = function(t, e, r, o, i) { - var s = Fa(t, e, r); + var s = La(t, e, r); J(s, function(a, l) { K(function() { return console.warn("AG Grid: invalid " + o + " property '" + a + "' did you mean any of these: " + l.slice(0, 8).join(", ")); @@ -2623,7 +2623,7 @@ var Gu = ( }, n.prototype.checkForDeprecated = function() { var t = this.gridOptions; if (Object.entries(this.deprecatedProperties).forEach(function(r) { - var o, i = La(r, 2), s = i[0], a = i[1], l = t[s]; + var o, i = Ma(r, 2), s = i[0], a = i[1], l = t[s]; l && (se(a.version, s, a.newProp, a.message), a.copyToNewProp && a.newProp && t[a.newProp] == null && (t[a.newProp] = (o = a.newPropValue) !== null && o !== void 0 ? o : l)); }), t.groupSuppressAutoColumn) { var e = t.treeData ? "treeDataDisplayType" : "groupDisplayType"; @@ -2634,13 +2634,13 @@ var Gu = ( this.gridOptionsService.is("treeData") && this.treeDataViolations(); }, n.prototype.treeDataViolations = function() { this.gridOptionsService.isRowModelType("clientSide") && (this.gridOptionsService.exists("getDataPath") || console.warn("AG Grid: property usingTreeData=true with rowModel=clientSide, but you did not provide getDataPath function, please provide getDataPath function if using tree data.")), this.gridOptionsService.isRowModelType("serverSide") && (this.gridOptionsService.exists("isServerSideGroup") || console.warn("AG Grid: property usingTreeData=true with rowModel=serverSide, but you did not provide isServerSideGroup function, please provide isServerSideGroup function if using tree data."), this.gridOptionsService.exists("getServerSideGroupKey") || console.warn("AG Grid: property usingTreeData=true with rowModel=serverSide, but you did not provide getServerSideGroupKey function, please provide getServerSideGroupKey function if using tree data.")); - }, $r([ + }, qr([ h("gridOptions") - ], n.prototype, "gridOptions", void 0), $r([ + ], n.prototype, "gridOptions", void 0), qr([ h("gridOptionsService") - ], n.prototype, "gridOptionsService", void 0), $r([ + ], n.prototype, "gridOptionsService", void 0), qr([ b - ], n.prototype, "init", null), n = $r([ + ], n.prototype, "init", null), n = qr([ A("gridOptionsValidator") ], n), n; }() @@ -2649,7 +2649,7 @@ function pn(n, t) { var e = ["groupRows", "multipleColumns", "custom", "singleColumn"]; return e.indexOf(t) < 0 ? (console.warn("AG Grid: '" + t + "' is not a valid groupDisplayType value - possible values are: '" + e.join("', '") + "'"), !1) : t === n; } -function Hu(n, t) { +function Vu(n, t) { var e = ["auto", "custom"]; return e.indexOf(t) < 0 ? (console.warn("AG Grid: '" + t + "' is not a valid treeDataDisplayType value - possible values are: '" + e.join("', '") + "'"), !1) : t === n; } @@ -2659,7 +2659,7 @@ function Hu(n, t) { * @link https://www.ag-grid.com/ * @license MIT */ -var Vu = function(n, t, e, r) { +var Bu = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -2671,7 +2671,7 @@ var Vu = function(n, t, e, r) { /** @class */ function() { function n(t, e, r, o) { - this.displayedChildren = [], this.localEventService = new wt(), this.groupId = e, this.partId = r, this.providedColumnGroup = t, this.pinned = o; + this.displayedChildren = [], this.localEventService = new Et(), this.groupId = e, this.partId = r, this.providedColumnGroup = t, this.pinned = o; } return n.createUniqueId = function(t, e) { return t + "_" + e; @@ -2811,7 +2811,7 @@ var Vu = function(n, t, e, r) { } } }), this.localEventService.dispatchEvent(this.createAgEvent(n.EVENT_DISPLAYED_CHILDREN_CHANGED)); - }, n.EVENT_LEFT_CHANGED = "leftChanged", n.EVENT_DISPLAYED_CHILDREN_CHANGED = "displayedChildrenChanged", Vu([ + }, n.EVENT_LEFT_CHANGED = "leftChanged", n.EVENT_DISPLAYED_CHILDREN_CHANGED = "displayedChildrenChanged", Bu([ h("gridOptionsService") ], n.prototype, "gridOptionsService", void 0), n; }() @@ -2822,7 +2822,7 @@ var Vu = function(n, t, e, r) { * @link https://www.ag-grid.com/ * @license MIT */ -var Ma = ( +var Ia = ( /** @class */ function() { function n() { @@ -2840,7 +2840,7 @@ var Ma = ( * @link https://www.ag-grid.com/ * @license MIT */ -var Bu = function() { +var Wu = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -2856,7 +2856,7 @@ var Bu = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), pi = function(n, t, e, r) { +}(), di = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -2864,10 +2864,10 @@ var Bu = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Mr = "ag-Grid-AutoColumn", Wu = ( +}, xr = "ag-Grid-AutoColumn", ju = ( /** @class */ function(n) { - Bu(t, n); + Wu(t, n); function t() { return n !== null && n.apply(this, arguments) || this; } @@ -2878,7 +2878,7 @@ var Bu = function() { }) : i.push(this.createOneAutoGroupColumn(e)), i; }, t.prototype.createOneAutoGroupColumn = function(e, r, o) { var i = this.generateDefaultColDef(r), s; - r ? s = Mr + "-" + r.getId() : s = Mr; + r ? s = xr + "-" + r.getId() : s = xr; var a = this.gridOptionsService.get("autoGroupColumnDef"); if (Re(i, a), i = this.columnFactory.mergeColDefs(i), i.colId = s, !this.gridOptionsService.isTreeData()) { var l = x(i.field) && x(i.valueGetter) && x(i.filterValueGetter) && i.filter !== "agGroupColumnFilter"; @@ -2914,11 +2914,11 @@ var Bu = function() { } else i.showRowGroup = !0; return i; - }, pi([ + }, di([ h("columnModel") - ], t.prototype, "columnModel", void 0), pi([ + ], t.prototype, "columnModel", void 0), di([ h("columnFactory") - ], t.prototype, "columnFactory", void 0), t = pi([ + ], t.prototype, "columnFactory", void 0), t = di([ A("autoGroupColService") ], t), t; }(T) @@ -2929,14 +2929,14 @@ var Bu = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var ju = /[&<>"']/g, ku = { +var ku = /[&<>"']/g, Uu = { "&": "&", "<": "<", ">": ">", '"': """, "'": "'" }; -function Uu(n) { +function zu(n) { var t = String.fromCharCode; function e(p) { var d = []; @@ -2967,18 +2967,18 @@ function Uu(n) { u = s[l], c += i(u); return c; } -function Ia(n) { +function xa(n) { return n[0].toUpperCase() + n.substr(1).toLowerCase(); } function tt(n, t) { if (n == null) return null; var e = n.toString().toString(); - return t ? e : e.replace(ju, function(r) { - return ku[r]; + return t ? e : e.replace(ku, function(r) { + return Uu[r]; }); } -function xa(n) { +function Na(n) { if (!n || n == null) return null; var t = /([a-z])([A-Z])/g, e = /([A-Z]+)([A-Z])([a-z])/g, r = n.replace(t, "$1 $2").replace(e, "$1 $2$3").replace(/\./g, " ").split(" "); @@ -2986,12 +2986,12 @@ function xa(n) { return o.substring(0, 1).toUpperCase() + (o.length > 1 ? o.substring(1, o.length) : ""); }).join(" "); } -var zu = /* @__PURE__ */ Object.freeze({ +var Ku = /* @__PURE__ */ Object.freeze({ __proto__: null, - utf8_encode: Uu, - capitalise: Ia, + utf8_encode: zu, + capitalise: xa, escapeString: tt, - camelCaseToHumanText: xa + camelCaseToHumanText: Na }); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue @@ -3005,23 +3005,23 @@ function it(n) { return t.set(e[0], e[1]); }), t; } -function Ku(n, t) { +function $u(n, t) { var e = /* @__PURE__ */ new Map(); return n.forEach(function(r) { return e.set(t(r), r); }), e; } -function $u(n) { +function Yu(n) { var t = []; return n.forEach(function(e, r) { return t.push(r); }), t; } -var Yu = /* @__PURE__ */ Object.freeze({ +var qu = /* @__PURE__ */ Object.freeze({ __proto__: null, convertToMap: it, - mapById: Ku, - keys: $u + mapById: $u, + keys: Yu }); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue @@ -3029,7 +3029,7 @@ var Yu = /* @__PURE__ */ Object.freeze({ * @link https://www.ag-grid.com/ * @license MIT */ -var qu = function() { +var Qu = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -3053,11 +3053,11 @@ var qu = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Qu = function(n, t) { +}, Xu = function(n, t) { return function(e, r) { t(e, r, n); }; -}, Xu = function(n, t) { +}, Ju = function(n, t) { var e = {}; for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && t.indexOf(r) < 0 && (e[r] = n[r]); @@ -3076,7 +3076,7 @@ var qu = function() { } }; throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined."); -}, Ju = function(n, t) { +}, Zu = function(n, t) { var e = typeof Symbol == "function" && n[Symbol.iterator]; if (!e) return n; @@ -3095,14 +3095,14 @@ var qu = function() { } } return i; -}, lr = function() { +}, cr = function() { for (var n = [], t = 0; t < arguments.length; t++) - n = n.concat(Ju(arguments[t])); + n = n.concat(Zu(arguments[t])); return n; -}, Zu = ( +}, ec = ( /** @class */ function(n) { - qu(t, n); + Qu(t, n); function t() { var e = n !== null && n.apply(this, arguments) || this; return e.primaryHeaderRowCount = 0, e.secondaryHeaderRowCount = 0, e.gridHeaderRowCount = 0, e.displayedColumnsLeft = [], e.displayedColumnsRight = [], e.displayedColumnsCenter = [], e.displayedColumns = [], e.displayedColumnsAndGroupsMap = {}, e.viewportColumns = [], e.viewportColumnsHash = "", e.headerViewportColumns = [], e.viewportColumnsCenter = [], e.headerViewportColumnsCenter = [], e.autoHeightActiveAtLeastOnce = !1, e.rowGroupColumns = [], e.valueColumns = [], e.pivotColumns = [], e.ready = !1, e.autoGroupsNeedBuilding = !1, e.forceRecreateAutoGroups = !1, e.pivotMode = !1, e.bodyWidth = 0, e.leftWidth = 0, e.rightWidth = 0, e.bodyWidthDirty = !0, e; @@ -3216,7 +3216,7 @@ var qu = function() { return null; var o = this.getPrimaryColumn(r), i = null; return this.secondaryColumns.forEach(function(s) { - var a = s.getColDef().pivotKeys, l = s.getColDef().pivotValueColumn, u = gt(a, e), c = l === o; + var a = s.getColDef().pivotKeys, l = s.getColDef().pivotValueColumn, u = yt(a, e), c = l === o; u && c && (i = s); }), i; }, t.prototype.setBeans = function(e) { @@ -3820,7 +3820,7 @@ var qu = function() { return this.displayedColumnsRight.length > 0; }, t.prototype.getPrimaryAndSecondaryAndAutoColumns = function() { var e; - return (e = []).concat.apply(e, lr([ + return (e = []).concat.apply(e, cr([ this.primaryColumns || [], this.groupAutoColumns || [], this.secondaryColumns || [] @@ -3891,7 +3891,7 @@ var qu = function() { o.autoGroupsNeedBuilding = !0; var f = c.slice(), g = {}, y = {}, C = [], m = [], w = 0, E = o.rowGroupColumns.slice(), R = o.pivotColumns.slice(); u.forEach(function(L) { - var H = L.colId || "", B = H.startsWith(Mr); + var H = L.colId || "", B = H.startsWith(xr); if (B) { C.push(L), m.push(L); return; @@ -3911,8 +3911,8 @@ var qu = function() { return -1; if (te) return 1; - var X = H.indexOf(B), ye = H.indexOf(Q), ut = X >= 0, Ur = ye >= 0; - return ut && Ur ? X - ye : ut ? -1 : 1; + var X = H.indexOf(B), ye = H.indexOf(Q), ct = X >= 0, Kr = ye >= 0; + return ct && Kr ? X - ye : ct ? -1 : 1; }; o.rowGroupColumns.sort(M.bind(o, g, E)), o.pivotColumns.sort(M.bind(o, y, R)), o.updateGridColumns(); var I = o.groupAutoColumns ? o.groupAutoColumns.slice() : []; @@ -3942,8 +3942,8 @@ var qu = function() { if (this.gridColumns.forEach(function(a) { var l = a.getColId(), u = i[l] != null; if (!u) { - var c = l.startsWith(Mr); - c ? Lr(o, a, s++) : o.push(a); + var c = l.startsWith(xr); + c ? Ir(o, a, s++) : o.push(a); } }), o = this.placeLockedColumns(o), !this.doesMovePassMarryChildren(o)) { console.warn("AG Grid: Applying column order broke a group where columns should be married together. Applying new order has been discarded."); @@ -3961,7 +3961,7 @@ var qu = function() { s[a.colId] = a; }), function() { var a = r.getPrimaryAndSecondaryAndAutoColumns(), l = function(m, w, E, R) { - var D = w.map(R), M = E.map(R), I = gt(D, M); + var D = w.map(R), M = E.map(R), I = yt(D, M); if (!I) { var L = { type: m, @@ -4131,7 +4131,7 @@ var qu = function() { if (e.headerName != null) return e.headerName; if (e.field) - return xa(e.field); + return Na(e.field); } return ""; }, t.prototype.wrapHeaderNameWithAggFunc = function(e, r) { @@ -4372,11 +4372,11 @@ var qu = function() { })); o = o.filter(function(u) { return !a.has(u); - }), o = lr(this.groupAutoColumns, o); + }), o = cr(this.groupAutoColumns, o); } if (this.addAutoGroupToGridColumns(), this.orderGridColsLike(o), this.gridColumns = this.placeLockedColumns(this.gridColumns), this.refreshQuickFilterColumns(), this.clearDisplayedAndViewportColumns(), this.colSpanActive = this.checkColSpanActiveInCols(this.gridColumns), this.gridColumnsMap = {}, this.gridColumns.forEach(function(u) { return e.gridColumnsMap[u.getId()] = u; - }), this.setAutoHeightActive(), !gt(r, this.gridBalancedTree)) { + }), this.setAutoHeightActive(), !yt(r, this.gridBalancedTree)) { var l = { type: v.EVENT_GRID_COLUMNS_CHANGED }; @@ -4431,8 +4431,8 @@ var qu = function() { } var g = d.map(function(C) { return u.indexOf(C); - }), y = Math.max.apply(Math, lr(g)); - Lr(u, c, y + 1); + }), y = Math.max.apply(Math, cr(g)); + Ir(u, c, y + 1); }), this.gridColumns = u; } } @@ -4448,7 +4448,7 @@ var qu = function() { return e.forEach(function(s) { var a = s.getColDef().lockPosition; a === "right" ? i.push(s) : a === "left" || a === !0 ? r.push(s) : o.push(s); - }), lr(r, o, i); + }), cr(r, o, i); }, t.prototype.addAutoGroupToGridColumns = function() { if (x(this.groupAutoColumns)) { this.destroyOldColumns(this.groupAutoColsBalancedTree), this.groupAutoColsBalancedTree = null; @@ -4609,8 +4609,8 @@ var qu = function() { r === void 0 && (r = "sizeColumnsToFit"); var p = {}; i && ((s = i == null ? void 0 : i.columnLimits) === null || s === void 0 || s.forEach(function(X) { - var ye = X.key, ut = Xu(X, ["key"]); - p[typeof ye == "string" ? ye : ye.getColId()] = ut; + var ye = X.key, ct = Ju(X, ["key"]); + p[typeof ye == "string" ? ye : ye.getColId()] = ct; })); var d = this.getAllDisplayedColumns(), f = e === this.getWidthOfColsInList(d); if (!(e <= 0 || !d.length || f)) { @@ -4628,9 +4628,9 @@ var qu = function() { var E = e - this.getWidthOfColsInList(y); if (E <= 0) g.forEach(function(X) { - var ye, ut, Ur = (ut = (ye = p == null ? void 0 : p[X.getId()]) === null || ye === void 0 ? void 0 : ye.minWidth) !== null && ut !== void 0 ? ut : i == null ? void 0 : i.defaultMinWidth; - if (typeof Ur == "number") { - X.setActualWidth(Ur); + var ye, ct, Kr = (ct = (ye = p == null ? void 0 : p[X.getId()]) === null || ye === void 0 ? void 0 : ye.minWidth) !== null && ct !== void 0 ? ct : i == null ? void 0 : i.defaultMinWidth; + if (typeof Kr == "number") { + X.setActualWidth(Kr); return; } X.setMinimum(r); @@ -4660,7 +4660,7 @@ var qu = function() { break; } }); - var s = new Ma(); + var s = new Ia(); this.displayedTreeLeft = this.displayedGroupCreator.createDisplayedGroups(r, this.gridBalancedTree, s, "left", this.displayedTreeLeft), this.displayedTreeRight = this.displayedGroupCreator.createDisplayedGroups(o, this.gridBalancedTree, s, "right", this.displayedTreeRight), this.displayedTreeCentre = this.displayedGroupCreator.createDisplayedGroups(i, this.gridBalancedTree, s, null, this.displayedTreeCentre), this.updateDisplayedMap(); }, t.prototype.updateDisplayedMap = function() { var e = this; @@ -4699,9 +4699,9 @@ var qu = function() { if (r) return !0; var o = this.gridOptionsService.get("treeDataDisplayType"); - return o ? Hu("custom", o) : !1; + return o ? Vu("custom", o) : !1; }, t.prototype.autoColsEqual = function(e, r) { - return gt(e, r, function(o, i) { + return yt(e, r, function(o, i) { return o.getColId() === i.getColId(); }); }, t.prototype.getWidthOfColsInList = function(e) { @@ -4749,7 +4749,7 @@ var qu = function() { }).map(function(o) { return o.getAutoHeaderHeight() || 0; }); - return Math.max.apply(Math, lr([e], r)); + return Math.max.apply(Math, cr([e], r)); }, t.prototype.getHeaderHeight = function() { var e; return (e = this.gridOptionsService.getNum("headerHeight")) !== null && e !== void 0 ? e : this.environment.getFromTheme(25, "headerHeight"); @@ -4796,7 +4796,7 @@ var qu = function() { ], t.prototype, "init", null), ce([ fe ], t.prototype, "destroyColumns", null), ce([ - Qu(0, Ce("loggerFactory")) + Xu(0, Ce("loggerFactory")) ], t.prototype, "setBeans", null), t = ce([ A("columnModel") ], t), t; @@ -4808,7 +4808,7 @@ var qu = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var ec = function() { +var tc = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -4824,7 +4824,7 @@ var ec = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), tc = function(n, t, e, r) { +}(), rc = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -4832,10 +4832,10 @@ var ec = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, rc = ( +}, oc = ( /** @class */ function(n) { - ec(t, n); + tc(t, n); function t() { return n !== null && n.apply(this, arguments) || this; } @@ -4875,7 +4875,7 @@ var ec = function() { e && e.forEach(function(i) { i instanceof Oe && o.depthFirstDisplayedColumnTreeSearch(i.getDisplayedChildren(), r), r(i); }); - }, t = tc([ + }, t = rc([ A("columnUtils") ], t), t; }(T) @@ -4886,7 +4886,7 @@ var ec = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var oc = function() { +var ic = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -4902,7 +4902,7 @@ var oc = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), ic = function(n, t, e, r) { +}(), nc = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -4910,10 +4910,10 @@ var oc = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, nc = ( +}, sc = ( /** @class */ function(n) { - oc(t, n); + ic(t, n); function t() { return n !== null && n.apply(this, arguments) || this; } @@ -4966,7 +4966,7 @@ var oc = function() { } }; return s(e, 0), i ? o : (console.warn("AG Grid: could not get path"), null); - }, t = ic([ + }, t = nc([ A("displayedGroupCreator") ], t), t; }(T) @@ -4977,7 +4977,7 @@ var oc = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var sc = function() { +var ac = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -4993,7 +4993,7 @@ var sc = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), ac = function(n, t, e, r) { +}(), lc = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -5001,10 +5001,10 @@ var sc = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, lc = ( +}, uc = ( /** @class */ function(n) { - sc(t, n); + ac(t, n); function t() { var e = n !== null && n.apply(this, arguments) || this; return e.componentsMappedByName = {}, e; @@ -5019,7 +5019,7 @@ var sc = function() { this.componentsMappedByName[o] = e.componentClass; }, t.prototype.getComponentClass = function(e) { return this.componentsMappedByName[e]; - }, t = ac([ + }, t = lc([ A("agStackComponentsRegistry") ], t), t; }(T) @@ -5030,62 +5030,62 @@ var sc = function() { * @link https://www.ag-grid.com/ * @license MIT */ -function lt(n, t, e) { +function ut(n, t, e) { e == null || e == "" ? Fn(n, t) : Be(n, t, e); } function Be(n, t, e) { - n.setAttribute(Na(t), e.toString()); + n.setAttribute(Ga(t), e.toString()); } function Fn(n, t) { - n.removeAttribute(Na(t)); + n.removeAttribute(Ga(t)); } -function Na(n) { +function Ga(n) { return "aria-" + n; } function le(n, t) { t ? n.setAttribute("role", t) : n.removeAttribute("role"); } -function Ga(n) { +function Ha(n) { var t; return n === "asc" ? t = "ascending" : n === "desc" ? t = "descending" : n === "mixed" ? t = "other" : t = "none", t; } -function Ha(n) { +function Va(n) { return parseInt(n.getAttribute("aria-level"), 10); } -function Va(n) { +function Ba(n) { return parseInt(n.getAttribute("aria-posinset"), 10); } -function uc(n) { +function cc(n) { return n.getAttribute("aria-describedby") || ""; } -function xt(n, t) { - lt(n, "label", t); +function Nt(n, t) { + ut(n, "label", t); } function Ln(n, t) { - lt(n, "labelledby", t); -} -function Ba(n, t) { - lt(n, "description", t); + ut(n, "labelledby", t); } function Wa(n, t) { - lt(n, "describedby", t); -} -function cc(n, t) { - lt(n, "live", t); + ut(n, "description", t); } function ja(n, t) { - lt(n, "level", t); + ut(n, "describedby", t); +} +function pc(n, t) { + ut(n, "live", t); +} +function ka(n, t) { + ut(n, "level", t); } function Mn(n, t) { - lt(n, "disabled", t); + ut(n, "disabled", t); } -function Zo(n, t) { - lt(n, "hidden", t); +function ei(n, t) { + ut(n, "hidden", t); } function ke(n, t) { Be(n, "expanded", t); } -function ka(n) { +function Ua(n) { Fn(n, "expanded"); } function In(n, t) { @@ -5094,65 +5094,65 @@ function In(n, t) { function xn(n, t) { Be(n, "posinset", t); } -function Ua(n, t) { +function za(n, t) { Be(n, "multiselectable", t); } -function za(n, t) { +function Ka(n, t) { Be(n, "rowcount", t); } function Nn(n, t) { Be(n, "rowindex", t); } -function Ka(n, t) { +function $a(n, t) { Be(n, "colcount", t); } function Gn(n, t) { Be(n, "colindex", t); } -function $a(n, t) { +function Ya(n, t) { Be(n, "colspan", t); } -function Ya(n, t) { +function qa(n, t) { Be(n, "sort", t); } -function qa(n) { +function Qa(n) { Fn(n, "sort"); } -function Jt(n, t) { - lt(n, "selected", t); +function er(n, t) { + ut(n, "selected", t); } -function Qa(n, t) { +function Xa(n, t) { Be(n, "checked", t === void 0 ? "mixed" : t); } -var pc = /* @__PURE__ */ Object.freeze({ +var dc = /* @__PURE__ */ Object.freeze({ __proto__: null, setAriaRole: le, - getAriaSortState: Ga, - getAriaLevel: Ha, - getAriaPosInSet: Va, - getAriaDescribedBy: uc, - setAriaLabel: xt, + getAriaSortState: Ha, + getAriaLevel: Va, + getAriaPosInSet: Ba, + getAriaDescribedBy: cc, + setAriaLabel: Nt, setAriaLabelledBy: Ln, - setAriaDescription: Ba, - setAriaDescribedBy: Wa, - setAriaLive: cc, - setAriaLevel: ja, + setAriaDescription: Wa, + setAriaDescribedBy: ja, + setAriaLive: pc, + setAriaLevel: ka, setAriaDisabled: Mn, - setAriaHidden: Zo, + setAriaHidden: ei, setAriaExpanded: ke, - removeAriaExpanded: ka, + removeAriaExpanded: Ua, setAriaSetSize: In, setAriaPosInSet: xn, - setAriaMultiSelectable: Ua, - setAriaRowCount: za, + setAriaMultiSelectable: za, + setAriaRowCount: Ka, setAriaRowIndex: Nn, - setAriaColCount: Ka, + setAriaColCount: $a, setAriaColIndex: Gn, - setAriaColSpan: $a, - setAriaSort: Ya, - removeAriaSort: qa, - setAriaSelected: Jt, - setAriaChecked: Qa + setAriaColSpan: Ya, + setAriaSort: qa, + removeAriaSort: Qa, + setAriaSelected: er, + setAriaChecked: Xa }); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue @@ -5160,46 +5160,46 @@ var pc = /* @__PURE__ */ Object.freeze({ * @link https://www.ag-grid.com/ * @license MIT */ -var di, Yr, hi, fi, vi, gi, dn, hn; +var hi, Qr, fi, vi, gi, yi, dn, hn; function rt() { - return di === void 0 && (di = /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), di; + return hi === void 0 && (hi = /^((?!chrome|android).)*safari/i.test(navigator.userAgent)), hi; } function Hn() { - if (Yr === void 0) + if (Qr === void 0) if (rt()) { var n = navigator.userAgent.match(/version\/(\d+)/i); - n && (Yr = n[1] != null ? parseFloat(n[1]) : 0); + n && (Qr = n[1] != null ? parseFloat(n[1]) : 0); } else - Yr = 0; - return Yr; + Qr = 0; + return Qr; } -function Vr() { - if (hi === void 0) { +function Wr() { + if (fi === void 0) { var n = window; - hi = !!n.chrome && (!!n.chrome.webstore || !!n.chrome.runtime) || /Chrome/.test(navigator.userAgent) && /Google Inc/.test(navigator.vendor); + fi = !!n.chrome && (!!n.chrome.webstore || !!n.chrome.runtime) || /Chrome/.test(navigator.userAgent) && /Google Inc/.test(navigator.vendor); } - return hi; + return fi; } function Vn() { - return fi === void 0 && (fi = /(firefox)/i.test(navigator.userAgent)), fi; + return vi === void 0 && (vi = /(firefox)/i.test(navigator.userAgent)), vi; } function Bn() { - return vi === void 0 && (vi = /(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)), vi; + return gi === void 0 && (gi = /(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)), gi; } -function St() { - return gi === void 0 && (gi = /iPad|iPhone|iPod/.test(navigator.platform) || // eslint-disable-next-line - navigator.platform === "MacIntel" && navigator.maxTouchPoints > 1), gi; +function _t() { + return yi === void 0 && (yi = /iPad|iPhone|iPod/.test(navigator.platform) || // eslint-disable-next-line + navigator.platform === "MacIntel" && navigator.maxTouchPoints > 1), yi; } -function ei() { +function ti() { return !rt() || Hn() >= 15; } -function Ao(n) { +function Lo(n) { if (!n) return null; var t = n.tabIndex, e = n.getAttribute("tabIndex"); return t === -1 && (e === null || e === "" && !Vn()) ? null : t.toString(); } -function Xa() { +function Ja() { if (!document.body) return -1; var n = 1e6, t = navigator.userAgent.toLowerCase().match(/firefox/) ? 6e6 : 1e9, e = document.createElement("div"); @@ -5211,41 +5211,41 @@ function Xa() { } return document.body.removeChild(e), n; } -function Ja() { +function Za() { var n, t, e; return (t = (n = document.body) === null || n === void 0 ? void 0 : n.clientWidth) !== null && t !== void 0 ? t : window.innerHeight || ((e = document.documentElement) === null || e === void 0 ? void 0 : e.clientWidth) || -1; } -function Za() { +function el() { var n, t, e; return (t = (n = document.body) === null || n === void 0 ? void 0 : n.clientHeight) !== null && t !== void 0 ? t : window.innerHeight || ((e = document.documentElement) === null || e === void 0 ? void 0 : e.clientHeight) || -1; } -function el() { - return hn == null && tl(), hn; -} function tl() { + return hn == null && rl(), hn; +} +function rl() { var n = document.body, t = document.createElement("div"); t.style.width = t.style.height = "100px", t.style.opacity = "0", t.style.overflow = "scroll", t.style.msOverflowStyle = "scrollbar", t.style.position = "absolute", n.appendChild(t); var e = t.offsetWidth - t.clientWidth; e === 0 && t.clientWidth === 0 && (e = null), t.parentNode && t.parentNode.removeChild(t), e != null && (hn = e, dn = e === 0); } -function Yt() { - return dn == null && tl(), dn; +function qt() { + return dn == null && rl(), dn; } -var dc = /* @__PURE__ */ Object.freeze({ +var hc = /* @__PURE__ */ Object.freeze({ __proto__: null, isBrowserSafari: rt, getSafariVersion: Hn, - isBrowserChrome: Vr, + isBrowserChrome: Wr, isBrowserFirefox: Vn, isMacOsUserAgent: Bn, - isIOSUserAgent: St, - browserSupportsPreventScroll: ei, - getTabIndex: Ao, - getMaxDivHeight: Xa, - getBodyWidth: Ja, - getBodyHeight: Za, - getScrollbarWidth: el, - isInvisibleScrollbar: Yt + isIOSUserAgent: _t, + browserSupportsPreventScroll: ti, + getTabIndex: Lo, + getMaxDivHeight: Ja, + getBodyWidth: Za, + getBodyHeight: el, + getScrollbarWidth: tl, + isInvisibleScrollbar: qt }); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue @@ -5253,51 +5253,51 @@ var dc = /* @__PURE__ */ Object.freeze({ * @link https://www.ag-grid.com/ * @license MIT */ -function qt(n, t) { +function Qt(n, t) { return n.toString().padStart(t, "0"); } -function rl(n, t) { +function ol(n, t) { for (var e = [], r = n; r <= t; r++) e.push(r); return e; } -function hc(n) { +function fc(n) { return typeof n == "string" && (n = parseInt(n, 10)), typeof n == "number" ? Math.floor(n) : null; } -function fc(n, t) { +function vc(n, t) { for (var e = "", r = 0; r < t; r++) e += String.fromCharCode(n & 255), n >>>= 8; return e; } -function vc(n, t, e) { +function gc(n, t, e) { return typeof n != "number" ? "" : Wn(Math.round(n * 100) / 100, t, e); } function Wn(n, t, e) { return typeof n != "number" ? "" : n.toString().replace(".", e).replace(/(\d)(?=(\d{3})+(?!\d))/g, "$1" + t); } -function gc(n) { +function yc(n) { return n == null ? null : n.reduce(function(t, e) { return t + e; }, 0); } -function yc(n, t) { +function Cc(n, t) { return n >= 0 ? n : t; } -function Cc(n, t) { +function mc(n, t) { var e = parseInt(n, 10); return !isNaN(e) && isFinite(e) && e > 0 ? e : t; } -var mc = /* @__PURE__ */ Object.freeze({ +var wc = /* @__PURE__ */ Object.freeze({ __proto__: null, - padStartWidthZeros: qt, - createArrayOfNumbers: rl, - cleanNumber: hc, - decToHex: fc, - formatNumberTwoDecimalPlacesAndCommas: vc, + padStartWidthZeros: Qt, + createArrayOfNumbers: ol, + cleanNumber: fc, + decToHex: vc, + formatNumberTwoDecimalPlacesAndCommas: gc, formatNumberCommas: Wn, - sum: gc, - zeroOrGreater: yc, - oneOrGreater: Cc + sum: yc, + zeroOrGreater: Cc, + oneOrGreater: mc }); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue @@ -5305,7 +5305,7 @@ var mc = /* @__PURE__ */ Object.freeze({ * @link https://www.ag-grid.com/ * @license MIT */ -var yi = function(n, t) { +var Ci = function(n, t) { var e = typeof Symbol == "function" && n[Symbol.iterator]; if (!e) return n; @@ -5325,17 +5325,17 @@ var yi = function(n, t) { } return i; }; -function Ir(n, t, e) { +function Nr(n, t, e) { if (t === void 0 && (t = !0), e === void 0 && (e = "-"), !n) return null; var r = [n.getFullYear(), n.getMonth() + 1, n.getDate()].map(function(o) { - return qt(o, 2); + return Qt(o, 2); }).join(e); return t && (r += " " + [n.getHours(), n.getMinutes(), n.getSeconds()].map(function(o) { - return qt(o, 2); + return Qt(o, 2); }).join(":")), r; } -var Ci = function(n) { +var mi = function(n) { if (n > 3 && n < 21) return "th"; var t = n % 10; @@ -5349,9 +5349,9 @@ var Ci = function(n) { } return "th"; }; -function _o(n, t) { +function Oo(n, t) { t === void 0 && (t = "YYYY-MM-DD"); - var e = qt(n.getFullYear(), 4), r = [ + var e = Qt(n.getFullYear(), 4), r = [ "January", "February", "March", @@ -5389,19 +5389,19 @@ function _o(n, t) { return r[n.getMonth()].slice(0, 3); }, MM: function() { - return qt(n.getMonth() + 1, 2); + return Qt(n.getMonth() + 1, 2); }, Mo: function() { - return "" + (n.getMonth() + 1) + Ci(n.getMonth() + 1); + return "" + (n.getMonth() + 1) + mi(n.getMonth() + 1); }, M: function() { return "" + (n.getMonth() + 1); }, Do: function() { - return "" + n.getDate() + Ci(n.getDate()); + return "" + n.getDate() + mi(n.getDate()); }, DD: function() { - return qt(n.getDate(), 2); + return Qt(n.getDate(), 2); }, D: function() { return "" + n.getDate(); @@ -5416,7 +5416,7 @@ function _o(n, t) { return o[n.getDay()].slice(0, 2); }, do: function() { - return "" + n.getDay() + Ci(n.getDay()); + return "" + n.getDay() + mi(n.getDay()); }, d: function() { return "" + n.getDay(); @@ -5426,10 +5426,10 @@ function _o(n, t) { return a in i ? i[a]() : a; }); } -function mt(n) { +function St(n) { if (!n) return null; - var t = yi(n.split(" "), 2), e = t[0], r = t[1]; + var t = Ci(n.split(" "), 2), e = t[0], r = t[1]; if (!e) return null; var o = e.split("-").map(function(g) { @@ -5439,21 +5439,21 @@ function mt(n) { return !isNaN(g); }).length !== 3) return null; - var i = yi(o, 3), s = i[0], a = i[1], l = i[2], u = new Date(s, a - 1, l); + var i = Ci(o, 3), s = i[0], a = i[1], l = i[2], u = new Date(s, a - 1, l); if (u.getFullYear() !== s || u.getMonth() !== a - 1 || u.getDate() !== l) return null; if (!r || r === "00:00:00") return u; - var c = yi(r.split(":").map(function(g) { + var c = Ci(r.split(":").map(function(g) { return parseInt(g, 10); }), 3), p = c[0], d = c[1], f = c[2]; return p >= 0 && p < 24 && u.setHours(p), d >= 0 && d < 60 && u.setMinutes(d), f >= 0 && f < 60 && u.setSeconds(f), u; } -var wc = /* @__PURE__ */ Object.freeze({ +var Sc = /* @__PURE__ */ Object.freeze({ __proto__: null, - serialiseDate: Ir, - dateToFormattedString: _o, - parseDateTimeFromString: mt + serialiseDate: Nr, + dateToFormattedString: Oo, + parseDateTimeFromString: St }); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue @@ -5461,7 +5461,7 @@ var wc = /* @__PURE__ */ Object.freeze({ * @link https://www.ag-grid.com/ * @license MIT */ -var Sc = function(n) { +var Ec = function(n) { var t = typeof Symbol == "function" && Symbol.iterator, e = t && n[t], r = 0; if (e) return e.call(n); @@ -5472,7 +5472,7 @@ var Sc = function(n) { } }; throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined."); -}, Ec = function(n, t) { +}, _c = function(n, t) { var e = typeof Symbol == "function" && n[Symbol.iterator]; if (!e) return n; @@ -5491,27 +5491,27 @@ var Sc = function(n) { } } return i; -}, qr; -function _c(n, t, e) { +}, Xr; +function Rc(n, t, e) { for (var r = n.parentElement, o = r && r.firstChild; o; ) t && o.classList.toggle(t, o === n), e && o.classList.toggle(e, o !== n), o = o.nextSibling; } -var ol = "[tabindex], input, select, button, textarea, [href]", jn = ".ag-hidden, .ag-hidden *, [disabled], .ag-disabled, .ag-disabled *"; +var il = "[tabindex], input, select, button, textarea, [href]", jn = ".ag-hidden, .ag-hidden *, [disabled], .ag-disabled, .ag-disabled *"; function kn(n) { - var t = Element.prototype.matches || Element.prototype.msMatchesSelector, e = "input, select, button, textarea", r = t.call(n, e), o = t.call(n, jn), i = nr(n), s = r && !o && i; + var t = Element.prototype.matches || Element.prototype.msMatchesSelector, e = "input, select, button, textarea", r = t.call(n, e), o = t.call(n, jn), i = ar(n), s = r && !o && i; return s; } function k(n, t, e) { e === void 0 && (e = {}); var r = e.skipAriaHidden; - n.classList.toggle("ag-hidden", !t), r || Zo(n, !t); + n.classList.toggle("ag-hidden", !t), r || ei(n, !t); } -function il(n, t, e) { +function nl(n, t, e) { e === void 0 && (e = {}); var r = e.skipAriaHidden; - n.classList.toggle("ag-invisible", !t), r || Zo(n, !t); + n.classList.toggle("ag-invisible", !t), r || ei(n, !t); } -function Zt(n, t) { +function tr(n, t) { var e = "disabled", r = t ? function(o) { return o.setAttribute(e, ""); } : function(o) { @@ -5521,7 +5521,7 @@ function Zt(n, t) { return r(o); }); } -function Dt(n, t, e) { +function Ft(n, t, e) { for (var r = 0; n; ) { if (n.classList.contains(t)) return !0; @@ -5533,7 +5533,7 @@ function Dt(n, t, e) { } return !1; } -function Nt(n) { +function Gt(n) { var t = window.getComputedStyle(n), e = t.height, r = t.width, o = t.borderTopWidth, i = t.borderRightWidth, s = t.borderBottomWidth, a = t.borderLeftWidth, l = t.paddingTop, u = t.paddingRight, c = t.paddingBottom, p = t.paddingLeft, d = t.marginTop, f = t.marginRight, g = t.marginBottom, y = t.marginLeft, C = t.boxSizing; return { height: parseFloat(e), @@ -5553,60 +5553,60 @@ function Nt(n) { boxSizing: C }; } -function Br(n) { - var t = Nt(n); +function jr(n) { + var t = Gt(n); return t.boxSizing === "border-box" ? t.height - t.paddingTop - t.paddingBottom : t.height; } -function ti(n) { - var t = Nt(n); +function ri(n) { + var t = Gt(n); return t.boxSizing === "border-box" ? t.width - t.paddingLeft - t.paddingRight : t.width; } function Un(n) { - var t = Nt(n), e = t.marginBottom + t.marginTop; + var t = Gt(n), e = t.marginBottom + t.marginTop; return Math.ceil(n.offsetHeight + e); } -function ri(n) { - var t = Nt(n), e = t.marginLeft + t.marginRight; +function oi(n) { + var t = Gt(n), e = t.marginLeft + t.marginRight; return Math.ceil(n.offsetWidth + e); } -function xr() { - if (typeof qr == "boolean") - return qr; +function Gr() { + if (typeof Xr == "boolean") + return Xr; var n = document.createElement("div"); return n.style.direction = "rtl", n.style.width = "1px", n.style.height = "1px", n.style.position = "fixed", n.style.top = "0px", n.style.overflow = "hidden", n.dir = "rtl", n.innerHTML = /* html */ `
-
`, document.body.appendChild(n), n.scrollLeft = 1, qr = Math.floor(n.scrollLeft) === 0, document.body.removeChild(n), qr; + `, document.body.appendChild(n), n.scrollLeft = 1, Xr = Math.floor(n.scrollLeft) === 0, document.body.removeChild(n), Xr; } -function Nr(n, t) { +function Hr(n, t) { var e = n.scrollLeft; - return t && (e = Math.abs(e), Vr() && !xr() && (e = n.scrollWidth - n.clientWidth - e)), e; + return t && (e = Math.abs(e), Wr() && !Gr() && (e = n.scrollWidth - n.clientWidth - e)), e; } -function Fo(n, t, e) { - e && (xr() ? t *= -1 : (rt() || Vr()) && (t = n.scrollWidth - n.clientWidth - t)), n.scrollLeft = t; +function Mo(n, t, e) { + e && (Gr() ? t *= -1 : (rt() || Wr()) && (t = n.scrollWidth - n.clientWidth - t)), n.scrollLeft = t; } function Ae(n) { for (; n && n.firstChild; ) n.removeChild(n.firstChild); } -function Rc(n, t) { - st(n.querySelector(t)); +function Oc(n, t) { + at(n.querySelector(t)); } -function st(n) { +function at(n) { n && n.parentNode && n.parentNode.removeChild(n); } -function nr(n) { +function ar(n) { return n.offsetParent !== null; } function de(n) { var t = document.createElement("div"); return t.innerHTML = (n || "").trim(), t.firstChild; } -function Oc(n, t) { +function Tc(n, t) { n.lastChild ? n.insertAdjacentHTML("afterbegin", t) : n.innerHTML = t; } -function Tc(n, t) { +function bc(n, t) { if (n.attributes && n.attributes[t]) { var e = n.attributes[t]; return e.value; @@ -5622,7 +5622,7 @@ function vn(n) { function zn(n, t, e) { if (!(e && e.nextSibling === t)) { var r = document.activeElement, o = t.contains(r); - e ? e.nextSibling ? n.insertBefore(t, e.nextSibling) : n.appendChild(t) : n.firstChild && n.firstChild !== t && n.insertAdjacentElement("afterbegin", t), o && r && ei() && r.focus({ preventScroll: !0 }); + e ? e.nextSibling ? n.insertBefore(t, e.nextSibling) : n.appendChild(t) : n.firstChild && n.firstChild !== t && n.insertAdjacentElement("afterbegin", t), o && r && ti() && r.focus({ preventScroll: !0 }); } } function Kn(n, t) { @@ -5631,18 +5631,18 @@ function Kn(n, t) { o !== r && n.insertBefore(r, o); } } -function nl(n, t, e) { +function sl(n, t, e) { e ? e.insertAdjacentElement("afterend", t) : n.firstChild ? n.insertAdjacentElement("afterbegin", t) : n.appendChild(t); } -function bc(n, t) { +function Pc(n, t) { O(n.firstChild) ? n.insertBefore(t, n.firstChild) : n.appendChild(t); } function $n(n, t) { var e, r; if (t) try { - for (var o = Sc(Object.entries(t)), i = o.next(); !i.done; i = o.next()) { - var s = Ec(i.value, 2), a = s[0], l = s[1]; + for (var o = Ec(Object.entries(t)), i = o.next(); !i.done; i = o.next()) { + var s = _c(i.value, 2), a = s[0], l = s[1]; if (!(!a || !a.length || l == null)) { var u = a.replace(/[A-Z]/g, function(f) { return "-" + f.toLocaleLowerCase(); @@ -5661,31 +5661,31 @@ function $n(n, t) { } } } -function sl(n) { +function al(n) { return n.clientWidth < n.scrollWidth; } -function al(n) { +function ll(n) { return n.clientHeight < n.scrollHeight; } -function Wr(n, t) { +function kr(n, t) { t === "flex" ? (n.style.removeProperty("width"), n.style.removeProperty("minWidth"), n.style.removeProperty("maxWidth"), n.style.flex = "1 1 auto") : Ve(n, t); } function Ve(n, t) { t = Yn(t), n.style.width = t.toString(), n.style.maxWidth = t.toString(), n.style.minWidth = t.toString(); } -function Pc(n, t) { - t === "flex" ? (n.style.removeProperty("height"), n.style.removeProperty("minHeight"), n.style.removeProperty("maxHeight"), n.style.flex = "1 1 auto") : At(n, t); +function Dc(n, t) { + t === "flex" ? (n.style.removeProperty("height"), n.style.removeProperty("minHeight"), n.style.removeProperty("maxHeight"), n.style.flex = "1 1 auto") : Lt(n, t); } -function At(n, t) { +function Lt(n, t) { t = Yn(t), n.style.height = t.toString(), n.style.maxHeight = t.toString(), n.style.minHeight = t.toString(); } function Yn(n) { return typeof n == "number" ? n + "px" : n; } -function jr(n) { +function Ur(n) { return n instanceof Node || n instanceof HTMLElement; } -function ll(n) { +function ul(n) { if (n == null) return []; var t = []; @@ -5693,14 +5693,14 @@ function ll(n) { return t.push(e); }), t; } -function ul(n, t) { +function cl(n, t) { if (n) for (var e = 0; e < n.length; e++) { var r = n[e]; t(r.name, r.value); } } -function Pr(n, t, e) { +function Ar(n, t, e) { e == null ? n.removeAttribute(t) : n.setAttribute(t, e.toString()); } function qn(n, t) { @@ -5708,49 +5708,49 @@ function qn(n, t) { for (var e = 0; e < n.length; e++) t(n[e]); } -var Dc = /* @__PURE__ */ Object.freeze({ +var Ac = /* @__PURE__ */ Object.freeze({ __proto__: null, - radioCssClass: _c, - FOCUSABLE_SELECTOR: ol, + radioCssClass: Rc, + FOCUSABLE_SELECTOR: il, FOCUSABLE_EXCLUDE: jn, isFocusableFormField: kn, setDisplayed: k, - setVisible: il, - setDisabled: Zt, - isElementChildOfClass: Dt, - getElementSize: Nt, - getInnerHeight: Br, - getInnerWidth: ti, + setVisible: nl, + setDisabled: tr, + isElementChildOfClass: Ft, + getElementSize: Gt, + getInnerHeight: jr, + getInnerWidth: ri, getAbsoluteHeight: Un, - getAbsoluteWidth: ri, - isRtlNegativeScroll: xr, - getScrollLeft: Nr, - setScrollLeft: Fo, + getAbsoluteWidth: oi, + isRtlNegativeScroll: Gr, + getScrollLeft: Hr, + setScrollLeft: Mo, clearElement: Ae, - removeElement: Rc, - removeFromParent: st, - isVisible: nr, + removeElement: Oc, + removeFromParent: at, + isVisible: ar, loadTemplate: de, - appendHtml: Oc, - getElementAttribute: Tc, + appendHtml: Tc, + getElementAttribute: bc, offsetHeight: fn, offsetWidth: vn, ensureDomOrder: zn, setDomChildOrder: Kn, - insertWithDomOrder: nl, - prependDC: bc, + insertWithDomOrder: sl, + prependDC: Pc, addStylesToElement: $n, - isHorizontalScrollShowing: sl, - isVerticalScrollShowing: al, - setElementWidth: Wr, + isHorizontalScrollShowing: al, + isVerticalScrollShowing: ll, + setElementWidth: kr, setFixedWidth: Ve, - setElementHeight: Pc, - setFixedHeight: At, + setElementHeight: Dc, + setFixedHeight: Lt, formatSize: Yn, - isNodeOrElement: jr, - copyNodeList: ll, - iterateNamedNodeMap: ul, - addOrRemoveAttribute: Pr, + isNodeOrElement: Ur, + copyNodeList: ul, + iterateNamedNodeMap: cl, + addOrRemoveAttribute: Ar, nodeListForEach: qn }); /** @@ -5759,7 +5759,7 @@ var Dc = /* @__PURE__ */ Object.freeze({ * @link https://www.ag-grid.com/ * @license MIT */ -var cl = { +var pl = { // header column group shown when expanded (click to contract) columnGroupOpened: "expanded", // header column group shown when contracted (click to expand) @@ -5905,17 +5905,17 @@ function oe(n, t, e, r) { throw new Error("icon from grid options needs to be a string or a function"); if (typeof a == "string") return de(a); - if (jr(a)) + if (Ur(a)) return a; console.warn("AG Grid: iconRenderer should return back a string or a dom object"); } else { - var l = document.createElement("span"), u = cl[n]; + var l = document.createElement("span"), u = pl[n]; return u || (r ? u = n : (console.warn("AG Grid: Did not find icon " + n), u = "")), l.setAttribute("class", "ag-icon ag-icon-" + u), l.setAttribute("unselectable", "on"), le(l, "presentation"), l; } } -var Ac = /* @__PURE__ */ Object.freeze({ +var Fc = /* @__PURE__ */ Object.freeze({ __proto__: null, - iconNameClassMap: cl, + iconNameClassMap: pl, createIcon: Ie, createIconNoSpan: oe }); @@ -5939,14 +5939,14 @@ var _ = ( * @link https://www.ag-grid.com/ * @license MIT */ -var Fc = 65, Lc = 67, Mc = 86, Ic = 68, xc = 90, Nc = 89; -function pl(n) { +var Lc = 65, Mc = 67, Ic = 86, xc = 68, Nc = 90, Gc = 89; +function dl(n) { if (n.altKey || n.ctrlKey || n.metaKey) return !1; var t = n.key.length === 1; return t; } -function Lo(n, t, e, r, o) { +function Io(n, t, e, r, o) { var i = r ? r.getColDef().suppressKeyboardEvent : void 0; if (!i) return !1; @@ -5968,7 +5968,7 @@ function Lo(n, t, e, r, o) { } return !1; } -function dl(n, t, e, r) { +function hl(n, t, e, r) { var o = r.getDefinition(), i = o && o.suppressHeaderKeyboardEvent; if (!O(i)) return !1; @@ -5983,25 +5983,25 @@ function dl(n, t, e, r) { }; return !!i(s); } -function hl(n) { +function fl(n) { var t = n.keyCode, e; switch (t) { - case Fc: + case Lc: e = _.A; break; - case Lc: + case Mc: e = _.C; break; - case Mc: + case Ic: e = _.V; break; - case Ic: + case xc: e = _.D; break; - case xc: + case Nc: e = _.Z; break; - case Nc: + case Gc: e = _.Y; break; default: @@ -6009,16 +6009,16 @@ function hl(n) { } return e; } -function fl(n, t) { +function vl(n, t) { return t === void 0 && (t = !1), n === _.DELETE ? !0 : !t && n === _.BACKSPACE ? Bn() : !1; } -var Gc = /* @__PURE__ */ Object.freeze({ +var Hc = /* @__PURE__ */ Object.freeze({ __proto__: null, - isEventFromPrintableCharacter: pl, - isUserSuppressingKeyboardEvent: Lo, - isUserSuppressingHeaderKeyboardEvent: dl, - normaliseQwertyAzerty: hl, - isDeleteKey: fl + isEventFromPrintableCharacter: dl, + isUserSuppressingKeyboardEvent: Io, + isUserSuppressingHeaderKeyboardEvent: hl, + normaliseQwertyAzerty: fl, + isDeleteKey: vl }); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue @@ -6032,7 +6032,7 @@ function Qn(n, t, e) { var r = Math.abs(n.clientX - t.clientX), o = Math.abs(n.clientY - t.clientY); return Math.max(r, o) <= e; } -var Hc = /* @__PURE__ */ Object.freeze({ +var Vc = /* @__PURE__ */ Object.freeze({ __proto__: null, areEventsNear: Qn }); @@ -6042,7 +6042,7 @@ var Hc = /* @__PURE__ */ Object.freeze({ * @link https://www.ag-grid.com/ * @license MIT */ -function Vc(n, t) { +function Bc(n, t) { if (!n) return !1; for (var e = function(a, l) { @@ -6055,7 +6055,7 @@ function Vc(n, t) { } return i ? (n.sort(e), !0) : !1; } -function Bc(n, t) { +function Wc(n, t) { var e = []; r(n); function r(o) { @@ -6068,10 +6068,10 @@ function Bc(n, t) { }); } } -var Wc = /* @__PURE__ */ Object.freeze({ +var jc = /* @__PURE__ */ Object.freeze({ __proto__: null, - sortRowNodesByOrder: Vc, - traverseNodesWithKey: Bc + sortRowNodesByOrder: Bc, + traverseNodesWithKey: Wc }); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue @@ -6085,7 +6085,7 @@ function Xn(n) { return t.add(e); }), t; } -var jc = /* @__PURE__ */ Object.freeze({ +var kc = /* @__PURE__ */ Object.freeze({ __proto__: null, convertToSet: Xn }); @@ -6104,14 +6104,14 @@ var ie = function() { } return n; }, ie.apply(this, arguments); -}, kc = ie(ie(ie(ie(ie(ie(ie(ie(ie(ie(ie(ie(ie(ie(ie(ie(ie(ie({}, pc), Tu), dc), wc), Dc), Pu), cu), Nu), eu), Ac), Gc), Yu), Hc), mc), au), Wc), jc), zu), G = kc; +}, Uc = ie(ie(ie(ie(ie(ie(ie(ie(ie(ie(ie(ie(ie(ie(ie(ie(ie(ie({}, dc), bu), hc), Sc), Ac), Du), pu), Gu), tu), Fc), Hc), qu), Vc), wc), lu), jc), kc), Ku), G = Uc; /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v29.3.5 * @link https://www.ag-grid.com/ * @license MIT */ -var er = ( +var rr = ( /** @class */ function() { function n(t, e) { @@ -6133,16 +6133,16 @@ var er = ( * @link https://www.ag-grid.com/ * @license MIT */ -var kt; +var Ut; (function(n) { n[n.IN_PROGRESS = 0] = "IN_PROGRESS", n[n.RESOLVED = 1] = "RESOLVED"; -})(kt || (kt = {})); +})(Ut || (Ut = {})); var Ne = ( /** @class */ function() { function n(t) { var e = this; - this.status = kt.IN_PROGRESS, this.resolution = null, this.waiters = [], t(function(r) { + this.status = Ut.IN_PROGRESS, this.resolution = null, this.waiters = [], t(function(r) { return e.onDone(r); }, function(r) { return e.onReject(r); @@ -6164,14 +6164,14 @@ var Ne = ( }, n.prototype.then = function(t) { var e = this; return new n(function(r) { - e.status === kt.RESOLVED ? r(t(e.resolution)) : e.waiters.push(function(o) { + e.status === Ut.RESOLVED ? r(t(e.resolution)) : e.waiters.push(function(o) { return r(t(o)); }); }); }, n.prototype.resolveNow = function(t, e) { - return this.status === kt.RESOLVED ? e(this.resolution) : t; + return this.status === Ut.RESOLVED ? e(this.resolution) : t; }, n.prototype.onDone = function(t) { - this.status = kt.RESOLVED, this.resolution = t, this.waiters.forEach(function(e) { + this.status = Ut.RESOLVED, this.resolution = t, this.waiters.forEach(function(e) { return e(t); }); }, n.prototype.onReject = function(t) { @@ -6185,7 +6185,7 @@ var Ne = ( * @link https://www.ag-grid.com/ * @license MIT */ -var Uc = function() { +var zc = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -6210,7 +6210,7 @@ var Uc = function() { } return n; }, gn.apply(this, arguments); -}, mi = function(n, t, e, r) { +}, wi = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -6225,7 +6225,7 @@ var Uc = function() { var Jn = ( /** @class */ function(n) { - Uc(t, n); + zc(t, n); function t(e) { var r = n.call(this) || this; return r.DEFAULT_SHOW_TOOLTIP_DELAY = 2e3, r.DEFAULT_HIDE_TOOLTIP_DELAY = 1e4, r.SHOW_QUICK_TOOLTIP_DIFF = 1e3, r.FADE_OUT_TOOLTIP_TIMEOUT = 1e3, r.state = je.NOTHING, r.tooltipInstanceCount = 0, r.tooltipMouseTrack = !1, r.parentComp = e, r; @@ -6237,7 +6237,7 @@ var Jn = ( }, t.prototype.destroy = function() { this.setToDoNothing(), n.prototype.destroy.call(this); }, t.prototype.onMouseEnter = function(e) { - if (!St() && this.state == je.NOTHING) { + if (!_t() && this.state == je.NOTHING) { var r = this.isLastTooltipHiddenRecently() ? 200 : this.tooltipShowDelay; this.showTooltipTimeoutId = window.setTimeout(this.showTooltip.bind(this), r), this.lastMouseEvent = e, this.state = je.WAITING_TO_SHOW; } @@ -6252,7 +6252,7 @@ var Jn = ( }, t.prototype.onMouseDown = function() { this.setToDoNothing(); }, t.prototype.getTooltipDelay = function(e) { - var r = this.gridOptionsService.getNum("tooltipShowDelay"), o = this.gridOptionsService.getNum("tooltipHideDelay"), i = e === "show" ? r : o, s = Ia(e); + var r = this.gridOptionsService.getNum("tooltipShowDelay"), o = this.gridOptionsService.getNum("tooltipHideDelay"), i = e === "show" ? r : o, s = xa(e); return O(i) ? (i < 0 && K(function() { return console.warn("AG Grid: tooltip" + s + "Delay should not be lower than 0"); }, "tooltip" + s + "DelayWarn"), Math.max(200, i)) : null; @@ -6300,11 +6300,11 @@ var Jn = ( }); }, t.prototype.clearTimeouts = function() { this.showTooltipTimeoutId && (window.clearTimeout(this.showTooltipTimeoutId), this.showTooltipTimeoutId = void 0), this.hideTooltipTimeoutId && (window.clearTimeout(this.hideTooltipTimeoutId), this.hideTooltipTimeoutId = void 0); - }, mi([ + }, wi([ h("popupService") - ], t.prototype, "popupService", void 0), mi([ + ], t.prototype, "popupService", void 0), wi([ h("userComponentFactory") - ], t.prototype, "userComponentFactory", void 0), mi([ + ], t.prototype, "userComponentFactory", void 0), wi([ b ], t.prototype, "postConstruct", null), t; }(T) @@ -6315,7 +6315,7 @@ var Jn = ( * @link https://www.ag-grid.com/ * @license MIT */ -var zc = ( +var Kc = ( /** @class */ function() { function n(t) { @@ -6377,7 +6377,7 @@ var zc = ( * @link https://www.ag-grid.com/ * @license MIT */ -var Kc = function() { +var $c = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -6393,7 +6393,7 @@ var Kc = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), wi = function(n, t, e, r) { +}(), Si = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -6401,13 +6401,13 @@ var Kc = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, $c = new er(), W = ( +}, Yc = new rr(), W = ( /** @class */ function(n) { - Kc(t, n); + $c(t, n); function t(e) { var r = n.call(this) || this; - return r.displayed = !0, r.visible = !0, r.compId = $c.next(), r.cssClassManager = new zc(function() { + return r.displayed = !0, r.visible = !0, r.compId = Yc.next(), r.cssClassManager = new Kc(function() { return r.eGui; }), e && r.setTemplate(e), r; } @@ -6428,7 +6428,7 @@ var Kc = function() { }; this.tooltipText != e && (this.tooltipText && o(), e != null && (this.tooltipText = e, this.tooltipText && i())); }, t.prototype.createChildComponentsFromTags = function(e, r) { - var o = this, i = ll(e.childNodes); + var o = this, i = ul(e.childNodes); i.forEach(function(s) { if (s instanceof HTMLElement) { var a = o.createComponentFromElement(s, function(u) { @@ -6455,7 +6455,7 @@ var Kc = function() { } return null; }, t.prototype.copyAttributesFromNode = function(e, r) { - ul(e.attributes, function(o, i) { + cl(e.attributes, function(o, i) { return r.setAttribute(o, i); }); }, t.prototype.swapComponentForNode = function(e, r, o) { @@ -6468,7 +6468,7 @@ var Kc = function() { }); }, t.prototype.iterateOverQuerySelectors = function(e) { for (var r = Object.getPrototypeOf(this); r != null; ) { - var o = r.__agComponentMetaData, i = Xo(r.constructor); + var o = r.__agComponentMetaData, i = Jo(r.constructor); o && o[i] && o[i].querySelectors && o[i].querySelectors.forEach(function(s) { return e(s); }), r = Object.getPrototypeOf(r); @@ -6512,7 +6512,7 @@ var Kc = function() { return this.eGui.querySelector(e); }, t.prototype.appendChild = function(e, r) { if (e != null) - if (r || (r = this.eGui), jr(e)) + if (r || (r = this.eGui), Ur(e)) r.appendChild(e); else { var o = e; @@ -6524,7 +6524,7 @@ var Kc = function() { if (r === void 0 && (r = {}), e !== this.visible) { this.visible = e; var o = r.skipAriaHidden; - il(this.eGui, e, { skipAriaHidden: o }); + nl(this.eGui, e, { skipAriaHidden: o }); } }, t.prototype.setDisplayed = function(e, r) { if (r === void 0 && (r = {}), e !== this.displayed) { @@ -6559,19 +6559,19 @@ var Kc = function() { return r ? r.getAttribute(e) : null; }, t.prototype.getRefElement = function(e) { return this.queryForHtmlElement('[ref="' + e + '"]'); - }, t.EVENT_DISPLAYED_CHANGED = "displayedChanged", wi([ + }, t.EVENT_DISPLAYED_CHANGED = "displayedChanged", Si([ h("agStackComponentsRegistry") - ], t.prototype, "agStackComponentsRegistry", void 0), wi([ + ], t.prototype, "agStackComponentsRegistry", void 0), Si([ ds - ], t.prototype, "preConstructOnComponent", null), wi([ + ], t.prototype, "preConstructOnComponent", null), Si([ ds ], t.prototype, "createChildComponentsPreConstruct", null), t; }(T) ); function P(n) { - return Yc.bind(this, "[ref=" + n + "]", n); + return qc.bind(this, "[ref=" + n + "]", n); } -function Yc(n, t, e, r, o) { +function qc(n, t, e, r, o) { if (n === null) { console.error("AG Grid: QuerySelector selector should not be null"); return; @@ -6580,17 +6580,17 @@ function Yc(n, t, e, r, o) { console.error("AG Grid: QuerySelector should be on an attribute"); return; } - qc(e, "querySelectors", { + Qc(e, "querySelectors", { attributeName: r, querySelector: n, refSelector: t }); } -function qc(n, t, e) { - var r = Qc(n, Xo(n.constructor)); +function Qc(n, t, e) { + var r = Xc(n, Jo(n.constructor)); r[t] || (r[t] = []), r[t].push(e); } -function Qc(n, t) { +function Xc(n, t) { return n.__agComponentMetaData || (n.__agComponentMetaData = {}), n.__agComponentMetaData[t] || (n.__agComponentMetaData[t] = {}), n.__agComponentMetaData[t]; } /** @@ -6599,7 +6599,7 @@ function Qc(n, t) { * @link https://www.ag-grid.com/ * @license MIT */ -var Xc = function() { +var Jc = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -6623,10 +6623,10 @@ var Xc = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Jc = ( +}, Zc = ( /** @class */ function(n) { - Xc(t, n); + Jc(t, n); function t() { return n.call( this, @@ -6668,7 +6668,7 @@ var Xc = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var vl = ( +var gl = ( /** @class */ function() { function n(t, e, r, o) { @@ -6719,7 +6719,7 @@ var yn = function() { } return n; }, yn.apply(this, arguments); -}, gl = ( +}, yl = ( /** @class */ function() { function n() { @@ -6777,7 +6777,7 @@ var yn = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var yl = { +var Cl = { applyFilter: "Apply", clearFilter: "Clear", resetFilter: "Reset", @@ -6813,7 +6813,7 @@ var yl = { * @link https://www.ag-grid.com/ * @license MIT */ -var Zc = function() { +var ep = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -6846,10 +6846,10 @@ var Zc = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Et = ( +}, Rt = ( /** @class */ function(n) { - Zc(t, n); + ep(t, n); function t(e, r) { r === void 0 && (r = {}); var o = n.call(this) || this; @@ -6869,7 +6869,7 @@ var Zc = function() { this.addManagedListener(e, "keydown", function(o) { if (!(o.defaultPrevented || Ze(o))) { if (r.callbacks.shouldStopEventPropagation(o)) { - Xt(o); + Zt(o); return; } o.key === _.TAB ? r.callbacks.onTabKeyDown(o) : r.callbacks.handleKeyDown && r.callbacks.handleKeyDown(o); @@ -6888,7 +6888,7 @@ var Zc = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var ep = function() { +var tp = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -6904,7 +6904,7 @@ var ep = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), Si = function(n, t, e, r) { +}(), Ei = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -6912,9 +6912,9 @@ var ep = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Cl = "ag-resizer-wrapper", tp = ( +}, ml = "ag-resizer-wrapper", rp = ( /* html */ - '
+ '
@@ -6924,10 +6924,10 @@ var ep = function() {
` -), ml = ( +), wl = ( /** @class */ function(n) { - ep(t, n); + tp(t, n); function t(e, r) { var o = n.call(this) || this; return o.element = e, o.dragStartPosition = { @@ -7026,13 +7026,13 @@ var ep = function() { }, t.prototype.setHeight = function(e) { var r = this.config.popup, o = this.element, i = !1; if (typeof e == "string" && e.indexOf("%") !== -1) - At(o, e), e = Un(o), i = !0; + Lt(o, e), e = Un(o), i = !0; else if (this.positioned) { e = Math.max(this.minHeight, e); var s = this.getAvailableHeight(); s && e > s && (e = s); } - this.getHeight() !== e && (i ? (o.style.maxHeight = "unset", o.style.minHeight = "unset") : r ? At(o, e) : (o.style.height = e + "px", o.style.flex = "0 0 auto", this.lastSize.height = typeof e == "number" ? e : parseFloat(e))); + this.getHeight() !== e && (i ? (o.style.maxHeight = "unset", o.style.minHeight = "unset") : r ? Lt(o, e) : (o.style.height = e + "px", o.style.flex = "0 0 auto", this.lastSize.height = typeof e == "number" ? e : parseFloat(e))); }, t.prototype.getAvailableHeight = function() { var e = this.config, r = e.popup, o = e.forcePopupParentAsOffsetParent; this.positioned || this.initialisePosition(); @@ -7054,7 +7054,7 @@ var ep = function() { }, t.prototype.setWidth = function(e) { var r = this.element, o = this.config.popup, i = !1; if (typeof e == "string" && e.indexOf("%") !== -1) - Ve(r, e), e = ri(r), i = !0; + Ve(r, e), e = oi(r), i = !0; else if (this.positioned) { e = Math.max(this.minWidth, e); var s = this.offsetParent.clientWidth, a = o ? this.position.x : this.element.getBoundingClientRect().left; @@ -7129,13 +7129,13 @@ var ep = function() { if (!this.resizersAdded) { var e = this.element; if (e) { - var r = new DOMParser(), o = r.parseFromString(tp, "text/html").body; + var r = new DOMParser(), o = r.parseFromString(rp, "text/html").body; e.appendChild(o.firstChild), this.createResizeMap(), this.resizersAdded = !0; } } }, t.prototype.removeResizers = function() { this.resizerMap = void 0; - var e = this.element.querySelector("." + Cl); + var e = this.element.querySelector("." + ml); e && this.element.removeChild(e), this.resizersAdded = !1; }, t.prototype.getResizerElement = function(e) { return this.resizerMap[e].element; @@ -7236,11 +7236,11 @@ var ep = function() { } }, t.prototype.destroy = function() { n.prototype.destroy.call(this), this.moveElementDragListener && this.dragService.removeDragSource(this.moveElementDragListener), this.constrainSizeToAvailableHeight(!1), this.clearResizeListeners(), this.removeResizers(); - }, Si([ + }, Ei([ h("popupService") - ], t.prototype, "popupService", void 0), Si([ + ], t.prototype, "popupService", void 0), Ei([ h("resizeObserverService") - ], t.prototype, "resizeObserverService", void 0), Si([ + ], t.prototype, "resizeObserverService", void 0), Ei([ h("dragService") ], t.prototype, "dragService", void 0), t; }(T) @@ -7251,7 +7251,7 @@ var ep = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var rp = function() { +var op = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -7267,7 +7267,7 @@ var rp = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), Ei = function(n, t, e, r) { +}(), _i = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -7275,18 +7275,18 @@ var rp = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Mo = ( +}, xo = ( /** @class */ function(n) { - rp(t, n); + op(t, n); function t(e) { var r = n.call(this) || this; return r.filterNameKey = e, r.applyActive = !1, r.hidePopup = null, r.debouncePending = !1, r.appliedModel = null, r; } return t.prototype.postConstruct = function() { - this.resetTemplate(), this.createManagedBean(new Et(this.getFocusableElement(), { + this.resetTemplate(), this.createManagedBean(new Rt(this.getFocusableElement(), { handleKeyDown: this.handleKeyDown.bind(this) - })), this.positionableFeature = new ml(this.getPositionableElement(), { + })), this.positionableFeature = new wl(this.getPositionableElement(), { forcePopupParentAsOffsetParent: !0 }), this.createBean(this.positionableFeature); }, t.prototype.handleKeyDown = function(e) { @@ -7421,7 +7421,7 @@ var rp = function() { }, t.prototype.onUiChanged = function(e, r) { if (e === void 0 && (e = !1), this.updateUiVisibility(), this.providedFilterParams.filterModifiedCallback(), this.applyActive && !this.isReadOnly()) { var o = this.isModelValid(this.getModelFromUi()); - Zt(this.getRefElement("applyFilterButton"), !o); + tr(this.getRefElement("applyFilterButton"), !o); } e && !r || r === "immediately" ? this.onBtApply(e) : (!this.applyActive && !r || r === "debounce") && this.onBtApplyDebounce(); }, t.prototype.afterGuiAttached = function(e) { @@ -7442,7 +7442,7 @@ var rp = function() { e && e.removeEventListener("submit", this.onFormSubmit), this.hidePopup = null, this.positionableFeature && (this.positionableFeature = this.destroyBean(this.positionableFeature)), n.prototype.destroy.call(this); }, t.prototype.translate = function(e) { var r = this.localeService.getLocaleTextFunc(); - return r(e, yl[e]); + return r(e, Cl[e]); }, t.prototype.getCellValue = function(e) { var r = this.providedFilterParams, o = r.api, i = r.colDef, s = r.column, a = r.columnApi, l = r.context; return this.providedFilterParams.valueGetter({ @@ -7459,11 +7459,11 @@ var rp = function() { }); }, t.prototype.getPositionableElement = function() { return this.eFilterBody; - }, Ei([ + }, _i([ h("rowModel") - ], t.prototype, "rowModel", void 0), Ei([ + ], t.prototype, "rowModel", void 0), _i([ P("eFilterBody") - ], t.prototype, "eFilterBody", void 0), Ei([ + ], t.prototype, "eFilterBody", void 0), _i([ b ], t.prototype, "postConstruct", null), t; }(W) @@ -7474,7 +7474,7 @@ var rp = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var op = function() { +var ip = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -7490,7 +7490,7 @@ var op = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), ip = function(n, t, e, r) { +}(), np = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -7498,10 +7498,10 @@ var op = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, wl = ( +}, Sl = ( /** @class */ function(n) { - op(t, n); + ip(t, n); function t(e, r) { var o = n.call(this, r) || this; return o.labelSeparator = "", o.labelAlignment = "left", o.disabled = !1, o.label = "", o.config = e || {}, o; @@ -7526,68 +7526,18 @@ var op = function() { }, t.prototype.setLabelEllipsis = function(e) { return this.eLabel.classList.toggle("ag-label-ellipsis", e), this; }, t.prototype.setLabelWidth = function(e) { - return this.label == null ? this : (Wr(this.eLabel, e), this); + return this.label == null ? this : (kr(this.eLabel, e), this); }, t.prototype.setDisabled = function(e) { e = !!e; var r = this.getGui(); - return Zt(r, e), r.classList.toggle("ag-disabled", e), this.disabled = e, this; + return tr(r, e), r.classList.toggle("ag-disabled", e), this.disabled = e, this; }, t.prototype.isDisabled = function() { return !!this.disabled; - }, ip([ + }, np([ b ], t.prototype, "postConstruct", null), t; }(W) ); -/** - * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue - * @version v29.3.5 - * @link https://www.ag-grid.com/ - * @license MIT - */ -var np = function() { - var n = function(t, e) { - return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { - r.__proto__ = o; - } || function(r, o) { - for (var i in o) - Object.prototype.hasOwnProperty.call(o, i) && (r[i] = o[i]); - }, n(t, e); - }; - return function(t, e) { - n(t, e); - function r() { - this.constructor = t; - } - t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); - }; -}(), tr = ( - /** @class */ - function(n) { - np(t, n); - function t(e, r, o) { - var i = n.call(this, e, r) || this; - return i.className = o, i; - } - return t.prototype.postConstruct = function() { - n.prototype.postConstruct.call(this), this.className && this.addCssClass(this.className); - }, t.prototype.onValueChange = function(e) { - var r = this; - return this.addManagedListener(this, t.EVENT_CHANGED, function() { - return e(r.getValue()); - }), this; - }, t.prototype.getWidth = function() { - return this.getGui().clientWidth; - }, t.prototype.setWidth = function(e) { - return Ve(this.getGui(), e), this; - }, t.prototype.getPreviousValue = function() { - return this.previousValue; - }, t.prototype.getValue = function() { - return this.value; - }, t.prototype.setValue = function(e, r) { - return this.value === e ? this : (this.previousValue = this.value, this.value = e, r || this.dispatchEvent({ type: t.EVENT_CHANGED }), this); - }, t.EVENT_CHANGED = "valueChange", t; - }(wl) -); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v29.3.5 @@ -7610,7 +7560,57 @@ var sp = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), Qr = function(n, t, e, r) { +}(), or = ( + /** @class */ + function(n) { + sp(t, n); + function t(e, r, o) { + var i = n.call(this, e, r) || this; + return i.className = o, i; + } + return t.prototype.postConstruct = function() { + n.prototype.postConstruct.call(this), this.className && this.addCssClass(this.className); + }, t.prototype.onValueChange = function(e) { + var r = this; + return this.addManagedListener(this, t.EVENT_CHANGED, function() { + return e(r.getValue()); + }), this; + }, t.prototype.getWidth = function() { + return this.getGui().clientWidth; + }, t.prototype.setWidth = function(e) { + return Ve(this.getGui(), e), this; + }, t.prototype.getPreviousValue = function() { + return this.previousValue; + }, t.prototype.getValue = function() { + return this.value; + }, t.prototype.setValue = function(e, r) { + return this.value === e ? this : (this.previousValue = this.value, this.value = e, r || this.dispatchEvent({ type: t.EVENT_CHANGED }), this); + }, t.EVENT_CHANGED = "valueChange", t; + }(Sl) +); +/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue + * @version v29.3.5 + * @link https://www.ag-grid.com/ + * @license MIT + */ +var ap = function() { + var n = function(t, e) { + return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { + r.__proto__ = o; + } || function(r, o) { + for (var i in o) + Object.prototype.hasOwnProperty.call(o, i) && (r[i] = o[i]); + }, n(t, e); + }; + return function(t, e) { + n(t, e); + function r() { + this.constructor = t; + } + t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); + }; +}(), Jr = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -7618,10 +7618,10 @@ var sp = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, ap = ( +}, lp = ( /** @class */ function(n) { - sp(t, n); + ap(t, n); function t(e, r, o, i) { var s = n.call( this, @@ -7647,7 +7647,7 @@ var sp = function() { var e = this; n.prototype.postConstruct.call(this); var r = this.getCompId() + "-display"; - this.eDisplayField.setAttribute("id", r), Wa(this.eWrapper, r); + this.eDisplayField.setAttribute("id", r), ja(this.eWrapper, r); var o = function() { if (e.skipClick) { e.skipClick = !1; @@ -7656,7 +7656,7 @@ var sp = function() { e.isDisabled() || (e.pickerComponent = e.showPicker()); }, i = this.getGui(); if (this.addManagedListener(i, "mousedown", function(a) { - !e.skipClick && e.pickerComponent && e.pickerComponent.isAlive() && nr(e.pickerComponent.getGui()) && i.contains(a.target) && (e.skipClick = !0); + !e.skipClick && e.pickerComponent && e.pickerComponent.isAlive() && ar(e.pickerComponent.getGui()) && i.contains(a.target) && (e.skipClick = !0); }), this.addManagedListener(i, "keydown", function(a) { switch (a.key) { case _.UP: @@ -7675,21 +7675,21 @@ var sp = function() { }, t.prototype.refreshLabel = function() { O(this.getLabel()) ? Ln(this.eWrapper, this.getLabelId()) : this.eWrapper.removeAttribute("aria-labelledby"), n.prototype.refreshLabel.call(this); }, t.prototype.setAriaLabel = function(e) { - return xt(this.eWrapper, e), this; + return Nt(this.eWrapper, e), this; }, t.prototype.setInputWidth = function(e) { - return Wr(this.eWrapper, e), this; + return kr(this.eWrapper, e), this; }, t.prototype.getFocusableElement = function() { return this.eWrapper; - }, Qr([ + }, Jr([ P("eLabel") - ], t.prototype, "eLabel", void 0), Qr([ + ], t.prototype, "eLabel", void 0), Jr([ P("eWrapper") - ], t.prototype, "eWrapper", void 0), Qr([ + ], t.prototype, "eWrapper", void 0), Jr([ P("eDisplayField") - ], t.prototype, "eDisplayField", void 0), Qr([ + ], t.prototype, "eDisplayField", void 0), Jr([ P("eIcon") ], t.prototype, "eIcon", void 0), t; - }(tr) + }(or) ); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue @@ -7697,7 +7697,7 @@ var sp = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var lp = function() { +var up = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -7713,7 +7713,7 @@ var lp = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), up = function(n, t, e, r) { +}(), cp = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -7724,7 +7724,7 @@ var lp = function() { }, ms = ( /** @class */ function(n) { - lp(t, n); + up(t, n); function t(e) { e === void 0 && (e = "default"); var r = n.call( @@ -7810,14 +7810,14 @@ var lp = function() { }, t.prototype.reset = function() { this.value = null, this.displayValue = null, this.clearHighlighted(), this.fireChangeEvent(); }, t.prototype.highlightItem = function(e) { - e.offsetParent && (this.clearHighlighted(), this.highlightedEl = e, this.highlightedEl.classList.add(t.ACTIVE_CLASS), Jt(this.highlightedEl, !0), this.highlightedEl.focus()); + e.offsetParent && (this.clearHighlighted(), this.highlightedEl = e, this.highlightedEl.classList.add(t.ACTIVE_CLASS), er(this.highlightedEl, !0), this.highlightedEl.focus()); }, t.prototype.clearHighlighted = function() { - !this.highlightedEl || !this.highlightedEl.offsetParent || (this.highlightedEl.classList.remove(t.ACTIVE_CLASS), Jt(this.highlightedEl, !1), this.highlightedEl = null); + !this.highlightedEl || !this.highlightedEl.offsetParent || (this.highlightedEl.classList.remove(t.ACTIVE_CLASS), er(this.highlightedEl, !1), this.highlightedEl = null); }, t.prototype.fireChangeEvent = function() { - this.dispatchEvent({ type: tr.EVENT_CHANGED }), this.fireItemSelected(); + this.dispatchEvent({ type: or.EVENT_CHANGED }), this.fireItemSelected(); }, t.prototype.fireItemSelected = function() { this.dispatchEvent({ type: t.EVENT_ITEM_SELECTED }); - }, t.EVENT_ITEM_SELECTED = "selectedItem", t.ACTIVE_CLASS = "ag-active-item", up([ + }, t.EVENT_ITEM_SELECTED = "selectedItem", t.ACTIVE_CLASS = "ag-active-item", cp([ b ], t.prototype, "init", null), t; }(W) @@ -7828,7 +7828,7 @@ var lp = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var cp = function() { +var pp = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -7852,10 +7852,10 @@ var cp = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Io = ( +}, No = ( /** @class */ function(n) { - cp(t, n); + pp(t, n); function t(e) { return n.call(this, e, "ag-select", "smallDown", "listbox") || this; } @@ -7863,7 +7863,7 @@ var cp = function() { var e = this; this.listComponent = this.createBean(new ms("select")), this.listComponent.setParentComponent(this), this.eWrapper.tabIndex = 0, this.listComponent.addManagedListener(this.listComponent, ms.EVENT_ITEM_SELECTED, function() { e.hideList && e.hideList(), e.dispatchEvent({ type: t.EVENT_ITEM_SELECTED }); - }), this.listComponent.addManagedListener(this.listComponent, tr.EVENT_CHANGED, function() { + }), this.listComponent.addManagedListener(this.listComponent, or.EVENT_CHANGED, function() { e.setValue(e.listComponent.getValue(), !1, !0), e.hideList && e.hideList(); }); }, t.prototype.showPicker = function() { @@ -7880,7 +7880,7 @@ var cp = function() { }, ariaLabel: a("ariaLabelSelectField", "Select Field") }); - return l && (this.hideList = l.hideFunc), this.isPickerDisplayed = !0, Wr(r, ri(this.eWrapper)), ke(this.eWrapper, !0), r.style.maxHeight = Br(this.popupService.getPopupParent()) + "px", r.style.position = "absolute", this.popupService.positionPopupByComponent({ + return l && (this.hideList = l.hideFunc), this.isPickerDisplayed = !0, kr(r, oi(this.eWrapper)), ke(this.eWrapper, !0), r.style.maxHeight = jr(this.popupService.getPopupParent()) + "px", r.style.position = "absolute", this.popupService.positionPopupByComponent({ type: "ag-list", eventSource: this.eWrapper, ePopup: r, @@ -7907,7 +7907,7 @@ var cp = function() { ], t.prototype, "popupService", void 0), ws([ b ], t.prototype, "init", null), t; - }(ap) + }(lp) ); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue @@ -7915,7 +7915,7 @@ var cp = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var pp = function() { +var dp = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -7931,7 +7931,7 @@ var pp = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), _i = function(n, t, e, r) { +}(), Ri = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -7942,7 +7942,7 @@ var pp = function() { }, nt = ( /** @class */ function(n) { - pp(t, n); + dp(t, n); function t(e, r, o, i) { o === void 0 && (o = "text"), i === void 0 && (i = "input"); var s = n.call( @@ -7976,7 +7976,7 @@ var pp = function() { }, t.prototype.getInputElement = function() { return this.eInput; }, t.prototype.setInputWidth = function(e) { - return Wr(this.eWrapper, e), this; + return kr(this.eWrapper, e), this; }, t.prototype.setInputName = function(e) { return this.getInputElement().setAttribute("name", e), this; }, t.prototype.getFocusableElement = function() { @@ -7985,19 +7985,19 @@ var pp = function() { var r = this.eInput; return r.maxLength = e, this; }, t.prototype.setInputPlaceholder = function(e) { - return Pr(this.eInput, "placeholder", e), this; + return Ar(this.eInput, "placeholder", e), this; }, t.prototype.setInputAriaLabel = function(e) { - return xt(this.eInput, e), this; + return Nt(this.eInput, e), this; }, t.prototype.setDisabled = function(e) { - return Zt(this.eInput, e), n.prototype.setDisabled.call(this, e); - }, _i([ + return tr(this.eInput, e), n.prototype.setDisabled.call(this, e); + }, Ri([ P("eLabel") - ], t.prototype, "eLabel", void 0), _i([ + ], t.prototype, "eLabel", void 0), Ri([ P("eWrapper") - ], t.prototype, "eWrapper", void 0), _i([ + ], t.prototype, "eWrapper", void 0), Ri([ P("eInput") ], t.prototype, "eInput", void 0), t; - }(tr) + }(or) ); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue @@ -8005,7 +8005,7 @@ var pp = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var dp = function() { +var hp = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -8021,10 +8021,10 @@ var dp = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), Gr = ( +}(), Vr = ( /** @class */ function(n) { - dp(t, n); + hp(t, n); function t(e, r, o) { r === void 0 && (r = "ag-checkbox"), o === void 0 && (o = "checkbox"); var i = n.call(this, e, r, o) || this; @@ -8078,46 +8078,6 @@ var dp = function() { }, t; }(nt) ); -/** - * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue - * @version v29.3.5 - * @link https://www.ag-grid.com/ - * @license MIT - */ -var hp = function() { - var n = function(t, e) { - return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { - r.__proto__ = o; - } || function(r, o) { - for (var i in o) - Object.prototype.hasOwnProperty.call(o, i) && (r[i] = o[i]); - }, n(t, e); - }; - return function(t, e) { - n(t, e); - function r() { - this.constructor = t; - } - t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); - }; -}(), Sl = ( - /** @class */ - function(n) { - hp(t, n); - function t(e) { - return n.call(this, e, "ag-radio-button", "radio") || this; - } - return t.prototype.isSelected = function() { - return this.eInput.checked; - }, t.prototype.toggle = function() { - this.eInput.disabled || this.isSelected() || this.setValue(!0); - }, t.prototype.addInputListeners = function() { - n.prototype.addInputListeners.call(this), this.addManagedListener(this.eventService, v.EVENT_CHECKBOX_CHANGED, this.onChange.bind(this)); - }, t.prototype.onChange = function(e) { - e.selected && e.name && this.eInput.name && this.eInput.name === e.name && e.id && this.eInput.id !== e.id && this.setValue(!1, !0); - }, t; - }(Gr) -); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v29.3.5 @@ -8140,7 +8100,47 @@ var fp = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), vp = function(n, t) { +}(), El = ( + /** @class */ + function(n) { + fp(t, n); + function t(e) { + return n.call(this, e, "ag-radio-button", "radio") || this; + } + return t.prototype.isSelected = function() { + return this.eInput.checked; + }, t.prototype.toggle = function() { + this.eInput.disabled || this.isSelected() || this.setValue(!0); + }, t.prototype.addInputListeners = function() { + n.prototype.addInputListeners.call(this), this.addManagedListener(this.eventService, v.EVENT_CHECKBOX_CHANGED, this.onChange.bind(this)); + }, t.prototype.onChange = function(e) { + e.selected && e.name && this.eInput.name && this.eInput.name === e.name && e.id && this.eInput.id !== e.id && this.setValue(!1, !0); + }, t; + }(Vr) +); +/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue + * @version v29.3.5 + * @link https://www.ag-grid.com/ + * @license MIT + */ +var vp = function() { + var n = function(t, e) { + return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { + r.__proto__ = o; + } || function(r, o) { + for (var i in o) + Object.prototype.hasOwnProperty.call(o, i) && (r[i] = o[i]); + }, n(t, e); + }; + return function(t, e) { + n(t, e); + function r() { + this.constructor = t; + } + t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); + }; +}(), gp = function(n, t) { var e = typeof Symbol == "function" && n[Symbol.iterator]; if (!e) return n; @@ -8159,9 +8159,9 @@ var fp = function() { } } return i; -}, gp = function() { +}, yp = function() { for (var n = [], t = 0; t < arguments.length; t++) - n = n.concat(vp(arguments[t])); + n = n.concat(gp(arguments[t])); return n; }, Zn = ( /** @class */ @@ -8183,7 +8183,7 @@ var fp = function() { var u = s.map(function(m) { return e.getModelAsString(m); }), c = i.operator === "AND" ? "andCondition" : "orCondition"; - return u.join(" " + o(c, yl[c]) + " "); + return u.join(" " + o(c, Cl[c]) + " "); } else { if (t.type === ee.BLANK || t.type === ee.NOT_BLANK) return o(t.type, t.type); @@ -8195,7 +8195,7 @@ var fp = function() { ), ee = ( /** @class */ function(n) { - fp(t, n); + vp(t, n); function t() { var e = n !== null && n.apply(this, arguments) || this; return e.eTypes = [], e.eJoinOperatorPanels = [], e.eJoinOperatorsAnd = [], e.eJoinOperatorsOr = [], e.eConditionBodies = [], e.listener = function() { @@ -8253,7 +8253,7 @@ var fp = function() { l = this.areSimpleModelsEqual(u, c); } else { var p = e, d = r; - l = p.operator === d.operator && gt(p.conditions, d.conditions, function(f, g) { + l = p.operator === d.operator && yt(p.conditions, d.conditions, function(f, g) { return o.areSimpleModelsEqual(f, g); }); } @@ -8297,7 +8297,7 @@ var fp = function() { var s = i.operator, a = []; if (s) { var l = i; - a.push.apply(a, gp((o = l.conditions) !== null && o !== void 0 ? o : [])); + a.push.apply(a, yp((o = l.conditions) !== null && o !== void 0 ? o : [])); } else a.push(i); var u = s && s === "OR" ? "some" : "every"; @@ -8305,7 +8305,7 @@ var fp = function() { return r.individualConditionPasses(e, c); }); }, t.prototype.setParams = function(e) { - n.prototype.setParams.call(this, e), this.setNumConditions(e), this.defaultJoinOperator = this.getDefaultJoinOperator(e.defaultJoinOperator), this.filterPlaceholder = e.filterPlaceholder, this.optionsFactory = new gl(), this.optionsFactory.init(e, this.getDefaultFilterOptions()), this.createOption(), this.createMissingConditionsAndOperators(); + n.prototype.setParams.call(this, e), this.setNumConditions(e), this.defaultJoinOperator = this.getDefaultJoinOperator(e.defaultJoinOperator), this.filterPlaceholder = e.filterPlaceholder, this.optionsFactory = new yl(), this.optionsFactory.init(e, this.getDefaultFilterOptions()), this.createOption(), this.createMissingConditionsAndOperators(); }, t.prototype.setNumConditions = function(e) { var r, o; e.suppressAndOrCondition != null && K(function() { @@ -8320,7 +8320,7 @@ var fp = function() { return console.warn('AG Grid: "filterParams.numAlwaysVisibleConditions" cannot be greater than "filterParams.maxNumConditions".'); }, "simpleFilterNumAlwaysVisibleGreaterThanMaxNumConditions"), this.numAlwaysVisibleConditions = this.maxNumConditions); }, t.prototype.createOption = function() { - var e = this, r = this.createManagedBean(new Io()); + var e = this, r = this.createManagedBean(new No()); this.eTypes.push(r), r.addCssClass("ag-filter-select"), this.eFilterBody.appendChild(r.getGui()); var o = this.createValueElement(); this.eConditionBodies.push(o), this.eFilterBody.appendChild(o), this.putOptionsIntoDropdown(r), this.resetType(r); @@ -8336,7 +8336,7 @@ var fp = function() { var i = this.eJoinOperatorPanels.length - 1, s = this.joinOperatorId++; this.resetJoinOperatorAnd(r, i, s), this.resetJoinOperatorOr(o, i, s), this.isReadOnly() || (r.onValueChange(this.listener), o.onValueChange(this.listener)); }, t.prototype.createJoinOperator = function(e, r, o) { - var i = this.createManagedBean(new Sl()); + var i = this.createManagedBean(new El()); return e.push(i), i.addCssClass("ag-filter-condition-operator"), i.addCssClass("ag-filter-condition-operator-" + o), r.appendChild(i.getGui()), i; }, t.prototype.getDefaultJoinOperator = function(e) { return e === "AND" || e === "OR" ? e : "AND"; @@ -8382,7 +8382,7 @@ var fp = function() { this.eTypes.forEach(function(s, a) { var l = o.isConditionDisabled(a, e), u = a === 1 ? [s, o.eJoinOperatorPanels[0], o.eJoinOperatorsAnd[0], o.eJoinOperatorsOr[0]] : [s]; u.forEach(function(c) { - c instanceof nt || c instanceof Io ? c.setDisabled(l) : Zt(c, l); + c instanceof nt || c instanceof No ? c.setDisabled(l) : tr(c, l); }); }), this.eConditionBodies.forEach(function(s, a) { k(s, o.isConditionBodyVisible(a)); @@ -8406,12 +8406,12 @@ var fp = function() { }, t.prototype.removeElements = function(e, r, o) { var i = this.removeItems(e, r, o); i.forEach(function(s) { - return st(s); + return at(s); }); }, t.prototype.removeComponents = function(e, r, o) { var i = this, s = this.removeItems(e, r, o); s.forEach(function(a) { - st(a.getGui()), i.destroyBean(a); + at(a.getGui()), i.destroyBean(a); }); }, t.prototype.removeItems = function(e, r, o) { return o == null ? e.splice(r) : e.splice(r, o); @@ -8437,7 +8437,7 @@ var fp = function() { this.getNumConditions() < this.numAlwaysVisibleConditions && (this.createMissingConditionsAndOperators(), c = !0), this.shouldAddNewConditionAtEnd(o === this.getNumConditions() - 1) && (this.createJoinOperatorPanel(), this.createOption(), c = !0), c && this.updateConditionStatusesAndValues(o, s), i && this.updateJoinOperatorsDisabled(), this.lastUiCompletePosition = o; }, t.prototype.getPlaceholderText = function(e, r) { var o = this.translate(e); - if (Jo(this.filterPlaceholder)) { + if (Zo(this.filterPlaceholder)) { var i = this.filterPlaceholder, s = this.eTypes[r].getValue(), a = this.translate(s); o = i({ filterOptionKey: s, @@ -8460,7 +8460,7 @@ var fp = function() { }, t.prototype.setElementDisplayed = function(e, r) { e instanceof W && k(e.getGui(), r); }, t.prototype.setElementDisabled = function(e, r) { - e instanceof W && Zt(e.getGui(), r); + e instanceof W && tr(e.getGui(), r); }, t.prototype.attachElementOnChange = function(e, r) { e instanceof nt && e.onValueChange(r); }, t.prototype.forEachInput = function(e) { @@ -8560,7 +8560,7 @@ var fp = function() { }, t.prototype.isBlank = function(e) { return e == null || typeof e == "string" && e.trim().length === 0; }, t.EMPTY = "empty", t.BLANK = "blank", t.NOT_BLANK = "notBlank", t.EQUALS = "equals", t.NOT_EQUAL = "notEqual", t.LESS_THAN = "lessThan", t.LESS_THAN_OR_EQUAL = "lessThanOrEqual", t.GREATER_THAN = "greaterThan", t.GREATER_THAN_OR_EQUAL = "greaterThanOrEqual", t.IN_RANGE = "inRange", t.CONTAINS = "contains", t.NOT_CONTAINS = "notContains", t.STARTS_WITH = "startsWith", t.ENDS_WITH = "endsWith", t; - }(Mo) + }(xo) ); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue @@ -8568,7 +8568,7 @@ var fp = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var yp = function() { +var Cp = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -8587,7 +8587,7 @@ var yp = function() { }(), ae = ( /** @class */ function(n) { - yp(t, n); + Cp(t, n); function t() { return n !== null && n.apply(this, arguments) || this; } @@ -8655,7 +8655,7 @@ var yp = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var El = function() { +var _l = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -8680,7 +8680,7 @@ var El = function() { } return n; }, mn.apply(this, arguments); -}, Cp = function(n, t, e, r) { +}, mp = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -8688,27 +8688,27 @@ var El = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Ss = 1e3, Es = 1 / 0, _l = ( +}, Ss = 1e3, Es = 1 / 0, Rl = ( /** @class */ function(n) { - El(t, n); + _l(t, n); function t(e, r, o) { var i = n.call(this, r, o) || this; return i.dateFilterParams = e, i; } return t.prototype.conditionToString = function(e, r) { - var o = e.type, i = (r || {}).numberOfInputs, s = o == ee.IN_RANGE || i === 2, a = mt(e.dateFrom), l = mt(e.dateTo), u = this.dateFilterParams.inRangeFloatingFilterDateFormat; + var o = e.type, i = (r || {}).numberOfInputs, s = o == ee.IN_RANGE || i === 2, a = St(e.dateFrom), l = St(e.dateTo), u = this.dateFilterParams.inRangeFloatingFilterDateFormat; if (s) { - var c = a !== null ? _o(a, u) : "null", p = l !== null ? _o(l, u) : "null"; + var c = a !== null ? Oo(a, u) : "null", p = l !== null ? Oo(l, u) : "null"; return c + "-" + p; } - return a != null ? _o(a, u) : "" + o; + return a != null ? Oo(a, u) : "" + o; }, t; }(Zn) -), Rl = ( +), Ol = ( /** @class */ function(n) { - El(t, n); + _l(t, n); function t() { var e = n.call(this, "dateFilter") || this; return e.eConditionPanelsFrom = [], e.eConditionPanelsTo = [], e.dateConditionFromComps = [], e.dateConditionToComps = [], e.minValidYear = Ss, e.maxValidYear = Es, e; @@ -8718,8 +8718,8 @@ var El = function() { }, t.prototype.mapValuesFromModel = function(e) { var r = e || {}, o = r.dateFrom, i = r.dateTo, s = r.type; return [ - o && mt(o) || null, - i && mt(i) || null + o && St(o) || null, + i && St(i) || null ].slice(0, this.getNumberOfInputs(s)); }, t.prototype.comparator = function() { return this.dateFilterParams.comparator ? this.dateFilterParams.comparator : this.defaultComparator.bind(this); @@ -8736,9 +8736,9 @@ var El = function() { return e[o] == null ? i : Number(e[o]); return i; }; - this.minValidYear = r("minValidYear", Ss), this.maxValidYear = r("maxValidYear", Es), this.minValidYear > this.maxValidYear && console.warn("AG Grid: DateFilter minValidYear should be <= maxValidYear"), this.filterModelFormatter = new _l(this.dateFilterParams, this.localeService, this.optionsFactory); + this.minValidYear = r("minValidYear", Ss), this.maxValidYear = r("maxValidYear", Es), this.minValidYear > this.maxValidYear && console.warn("AG Grid: DateFilter minValidYear should be <= maxValidYear"), this.filterModelFormatter = new Rl(this.dateFilterParams, this.localeService, this.optionsFactory); }, t.prototype.createDateCompWrapper = function(e) { - var r = this, o = new vl(this.getContext(), this.userComponentFactory, { + var r = this, o = new gl(this.getContext(), this.userComponentFactory, { onDateChanged: function() { return r.onUiChanged(); }, @@ -8784,7 +8784,7 @@ var El = function() { return "date"; }, t.prototype.createCondition = function(e) { var r = this.getConditionType(e), o = {}, i = this.getValues(e); - return i.length > 0 && (o.dateFrom = Ir(i[0])), i.length > 1 && (o.dateTo = Ir(i[1])), mn({ dateFrom: null, dateTo: null, filterType: this.getFilterType(), type: r }, o); + return i.length > 0 && (o.dateFrom = Nr(i[0])), i.length > 1 && (o.dateTo = Nr(i[1])), mn({ dateFrom: null, dateTo: null, filterType: this.getFilterType(), type: r }, o); }, t.prototype.resetPlaceholder = function() { var e = this.localeService.getLocaleTextFunc(), r = this.translate("dateFormatOoo"), o = e("ariaFilterValue", "Filter Value"); this.forEachInput(function(i) { @@ -8808,7 +8808,7 @@ var El = function() { ae.IN_RANGE, ae.BLANK, ae.NOT_BLANK - ], Cp([ + ], mp([ h("userComponentFactory") ], t.prototype, "userComponentFactory", void 0), t; }(ae) @@ -8819,7 +8819,7 @@ var El = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var mp = function() { +var wp = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -8835,10 +8835,10 @@ var mp = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), Ol = ( +}(), Tl = ( /** @class */ function(n) { - mp(t, n); + wp(t, n); function t() { return n !== null && n.apply(this, arguments) || this; } @@ -8875,7 +8875,7 @@ var mp = function() { var o = e; return this.isTypeEditable(o.type); }, t.prototype.init = function(e) { - this.optionsFactory = new gl(), this.optionsFactory.init(e.filterParams, this.getDefaultFilterOptions()), this.lastType = this.optionsFactory.getDefaultOption(), this.readOnly = !!e.filterParams.readOnly; + this.optionsFactory = new yl(), this.optionsFactory.init(e.filterParams, this.getDefaultFilterOptions()), this.lastType = this.optionsFactory.getDefaultOption(), this.readOnly = !!e.filterParams.readOnly; var r = this.isTypeEditable(this.lastType); this.setEditable(r); }, t.prototype.doesFilterHaveSingleInput = function(e) { @@ -8898,7 +8898,7 @@ var mp = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var wp = function() { +var Sp = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -8914,7 +8914,7 @@ var wp = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), Ri = function(n, t, e, r) { +}(), Oi = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -8922,10 +8922,10 @@ var wp = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Sp = ( +}, Ep = ( /** @class */ function(n) { - wp(t, n); + Sp(t, n); function t() { return n.call( this, @@ -8938,11 +8938,11 @@ var wp = function() { ) || this; } return t.prototype.getDefaultFilterOptions = function() { - return Rl.DEFAULT_FILTER_OPTIONS; + return Ol.DEFAULT_FILTER_OPTIONS; }, t.prototype.init = function(e) { n.prototype.init.call(this, e), this.params = e, this.filterParams = e.filterParams, this.createDateComponent(); var r = this.localeService.getLocaleTextFunc(); - this.eReadOnlyText.setDisabled(!0).setInputAriaLabel(r("ariaDateFilterInput", "Date Filter Input")), this.filterModelFormatter = new _l(this.filterParams, this.localeService, this.optionsFactory); + this.eReadOnlyText.setDisabled(!0).setInputAriaLabel(r("ariaDateFilterInput", "Date Filter Input")), this.filterModelFormatter = new Rl(this.filterParams, this.localeService, this.optionsFactory); }, t.prototype.setEditable = function(e) { k(this.eDateWrapper, e), k(this.eReadOnlyText.getGui(), !e); }, t.prototype.onParentModelChanged = function(e, r) { @@ -8952,7 +8952,7 @@ var wp = function() { if (this.setEditable(o), o) { if (e) { var i = e; - this.dateComp.setDate(mt(i.dateFrom)); + this.dateComp.setDate(St(i.dateFrom)); } else this.dateComp.setDate(null); this.eReadOnlyText.setValue(""); @@ -8960,31 +8960,31 @@ var wp = function() { this.eReadOnlyText.setValue(this.filterModelFormatter.getModelAsString(e)), this.dateComp.setDate(null); } }, t.prototype.onDateChanged = function() { - var e = this, r = this.dateComp.getDate(), o = Ir(r); + var e = this, r = this.dateComp.getDate(), o = Nr(r); this.params.parentFilterInstance(function(i) { if (i) { - var s = mt(o); + var s = St(o); i.onFloatingFilterChanged(e.getLastType() || null, s); } }); }, t.prototype.createDateComponent = function() { - var e = this, r = Mo.getDebounceMs(this.params.filterParams, this.getDefaultDebounceMs()), o = { + var e = this, r = xo.getDebounceMs(this.params.filterParams, this.getDefaultDebounceMs()), o = { onDateChanged: Je(this.onDateChanged.bind(this), r), filterParams: this.params.column.getColDef().filterParams }; - this.dateComp = new vl(this.getContext(), this.userComponentFactory, o, this.eDateWrapper), this.addDestroyFunc(function() { + this.dateComp = new gl(this.getContext(), this.userComponentFactory, o, this.eDateWrapper), this.addDestroyFunc(function() { return e.dateComp.destroy(); }); }, t.prototype.getFilterModelFormatter = function() { return this.filterModelFormatter; - }, Ri([ + }, Oi([ h("userComponentFactory") - ], t.prototype, "userComponentFactory", void 0), Ri([ + ], t.prototype, "userComponentFactory", void 0), Oi([ P("eReadOnlyText") - ], t.prototype, "eReadOnlyText", void 0), Ri([ + ], t.prototype, "eReadOnlyText", void 0), Oi([ P("eDateWrapper") ], t.prototype, "eDateWrapper", void 0), t; - }(Ol) + }(Tl) ); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue @@ -8992,7 +8992,7 @@ var wp = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var Ep = function() { +var _p = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -9008,7 +9008,7 @@ var Ep = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), _p = function(n, t, e, r) { +}(), Rp = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -9016,10 +9016,10 @@ var Ep = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Rp = ( +}, Op = ( /** @class */ function(n) { - Ep(t, n); + _p(t, n); function t() { return n.call( this, @@ -9044,9 +9044,9 @@ var Ep = function() { var l = e.filterParams || {}, u = l.minValidYear, c = l.maxValidYear; u && (i.min = u + "-01-01"), c && (i.max = c + "-12-31"); }, t.prototype.getDate = function() { - return mt(this.eDateInput.getValue()); + return St(this.eDateInput.getValue()); }, t.prototype.setDate = function(e) { - this.eDateInput.setValue(Ir(e, !1)); + this.eDateInput.setValue(Nr(e, !1)); }, t.prototype.setInputPlaceholder = function(e) { this.eDateInput.setInputPlaceholder(e); }, t.prototype.setDisabled = function(e) { @@ -9054,8 +9054,8 @@ var Ep = function() { }, t.prototype.afterGuiAttached = function(e) { (!e || !e.suppressFocus) && this.eDateInput.getInputElement().focus(); }, t.prototype.shouldUseBrowserDatePicker = function(e) { - return e.filterParams && e.filterParams.browserDatePicker != null ? e.filterParams.browserDatePicker : Vr() || Vn() || rt() && Hn() >= 14.1; - }, _p([ + return e.filterParams && e.filterParams.browserDatePicker != null ? e.filterParams.browserDatePicker : Wr() || Vn() || rt() && Hn() >= 14.1; + }, Rp([ P("eDateInput") ], t.prototype, "eDateInput", void 0), t; }(W) @@ -9066,7 +9066,7 @@ var Ep = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var Op = function() { +var Tp = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -9082,10 +9082,10 @@ var Op = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), sr = ( +}(), lr = ( /** @class */ function(n) { - Op(t, n); + Tp(t, n); function t(e, r, o) { return r === void 0 && (r = "ag-text-field"), o === void 0 && (o = "text"), n.call(this, e, r, o) || this; } @@ -9113,7 +9113,7 @@ var Op = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var Tp = function() { +var bp = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -9132,7 +9132,7 @@ var Tp = function() { }(), es = ( /** @class */ function(n) { - Tp(t, n); + bp(t, n); function t(e) { return n.call(this, e, "ag-number-field", "number") || this; } @@ -9157,13 +9157,13 @@ var Tp = function() { } return e; }, t.prototype.setMin = function(e) { - return this.min === e ? this : (this.min = e, Pr(this.eInput, "min", e), this); + return this.min === e ? this : (this.min = e, Ar(this.eInput, "min", e), this); }, t.prototype.setMax = function(e) { - return this.max === e ? this : (this.max = e, Pr(this.eInput, "max", e), this); + return this.max === e ? this : (this.max = e, Ar(this.eInput, "max", e), this); }, t.prototype.setPrecision = function(e) { return this.precision = e, this; }, t.prototype.setStep = function(e) { - return this.step === e ? this : (this.step = e, Pr(this.eInput, "step", e), this); + return this.step === e ? this : (this.step = e, Ar(this.eInput, "step", e), this); }, t.prototype.setValue = function(e, r) { if (e != null) { e = this.adjustPrecision(e); @@ -9173,7 +9173,7 @@ var Tp = function() { } return n.prototype.setValue.call(this, e, r); }, t; - }(sr) + }(lr) ); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue @@ -9181,7 +9181,7 @@ var Tp = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var Tl = function() { +var bl = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -9197,10 +9197,10 @@ var Tl = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), bl = ( +}(), Pl = ( /** @class */ function(n) { - Tl(t, n); + bl(t, n); function t() { return n !== null && n.apply(this, arguments) || this; } @@ -9210,14 +9210,14 @@ var Tl = function() { }, t; }(Zn) ); -function Pl(n) { +function Dl(n) { var t = (n ?? {}).allowedCharPattern; - return t || (Vr() ? null : "\\d\\-\\."); + return t || (Wr() ? null : "\\d\\-\\."); } -var Dl = ( +var Al = ( /** @class */ function(n) { - Tl(t, n); + bl(t, n); function t() { var e = n.call(this, "numberFilter") || this; return e.eValuesFrom = [], e.eValuesTo = [], e; @@ -9235,14 +9235,14 @@ var Dl = ( return e === r ? 0 : e < r ? 1 : -1; }; }, t.prototype.setParams = function(e) { - this.numberFilterParams = e, n.prototype.setParams.call(this, e), this.filterModelFormatter = new bl(this.localeService, this.optionsFactory); + this.numberFilterParams = e, n.prototype.setParams.call(this, e), this.filterModelFormatter = new Pl(this.localeService, this.optionsFactory); }, t.prototype.getDefaultFilterOptions = function() { return t.DEFAULT_FILTER_OPTIONS; }, t.prototype.createValueElement = function() { - var e = Pl(this.numberFilterParams), r = document.createElement("div"); + var e = Dl(this.numberFilterParams), r = document.createElement("div"); return r.classList.add("ag-filter-body"), le(r, "presentation"), this.createFromToElement(r, this.eValuesFrom, "from", e), this.createFromToElement(r, this.eValuesTo, "to", e), r; }, t.prototype.createFromToElement = function(e, r, o, i) { - var s = this.createManagedBean(i ? new sr({ allowedCharPattern: i }) : new es()); + var s = this.createManagedBean(i ? new lr({ allowedCharPattern: i }) : new es()); s.addCssClass("ag-filter-" + o), s.addCssClass("ag-filter-filter"), r.push(s), e.appendChild(s.getGui()); }, t.prototype.removeValueElements = function(e, r) { this.removeComponents(this.eValuesFrom, e, r), this.removeComponents(this.eValuesTo, e, r); @@ -9260,7 +9260,7 @@ var Dl = ( }, t.prototype.stringToFloat = function(e) { if (typeof e == "number") return e; - var r = Ct(e); + var r = mt(e); return r != null && r.trim() === "" && (r = null), this.numberFilterParams.numberParser ? this.numberFilterParams.numberParser(r) : r == null || r.trim() === "-" ? null : parseFloat(r); }, t.prototype.createCondition = function(e) { var r = this.getConditionType(e), o = { @@ -9292,7 +9292,7 @@ var Dl = ( * @link https://www.ag-grid.com/ * @license MIT */ -var Al = function() { +var Fl = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -9308,19 +9308,19 @@ var Al = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), xo = function() { - return xo = Object.assign || function(n) { +}(), Go = function() { + return Go = Object.assign || function(n) { for (var t, e = 1, r = arguments.length; e < r; e++) { t = arguments[e]; for (var o in t) Object.prototype.hasOwnProperty.call(t, o) && (n[o] = t[o]); } return n; - }, xo.apply(this, arguments); -}, Fl = ( + }, Go.apply(this, arguments); +}, Ll = ( /** @class */ function(n) { - Al(t, n); + Fl(t, n); function t() { return n !== null && n.apply(this, arguments) || this; } @@ -9332,7 +9332,7 @@ var Al = function() { ), ts = ( /** @class */ function(n) { - Al(t, n); + Fl(t, n); function t() { var e = n.call(this, "textFilter") || this; return e.eValuesFrom = [], e.eValuesTo = [], e; @@ -9343,7 +9343,7 @@ var Al = function() { }, t.prototype.getDefaultDebounceMs = function() { return 500; }, t.prototype.setParams = function(e) { - this.textFilterParams = e, n.prototype.setParams.call(this, e), this.matcher = this.getTextMatcher(), this.formatter = this.textFilterParams.textFormatter || (this.textFilterParams.caseSensitive ? t.DEFAULT_FORMATTER : t.DEFAULT_LOWERCASE_FORMATTER), this.filterModelFormatter = new Fl(this.localeService, this.optionsFactory); + this.textFilterParams = e, n.prototype.setParams.call(this, e), this.matcher = this.getTextMatcher(), this.formatter = this.textFilterParams.textFormatter || (this.textFilterParams.caseSensitive ? t.DEFAULT_FORMATTER : t.DEFAULT_LOWERCASE_FORMATTER), this.filterModelFormatter = new Ll(this.localeService, this.optionsFactory); }, t.prototype.getTextMatcher = function() { var e = this.textFilterParams.textCustomComparator; return e ? (G.doOnce(function() { @@ -9368,7 +9368,7 @@ var Al = function() { var r = this, o = []; return this.forEachPositionInput(e, function(i, s, a, l) { if (s < l) { - var u = Ct(i.getValue()), c = (r.textFilterParams.trimInput ? t.trimInput(u) : u) || null; + var u = mt(i.getValue()), c = (r.textFilterParams.trimInput ? t.trimInput(u) : u) || null; o.push(c), i.setValue(c, !0); } }), o; @@ -9378,7 +9378,7 @@ var Al = function() { var e = document.createElement("div"); return e.classList.add("ag-filter-body"), le(e, "presentation"), this.createFromToElement(e, this.eValuesFrom, "from"), this.createFromToElement(e, this.eValuesTo, "to"), e; }, t.prototype.createFromToElement = function(e, r, o) { - var i = this.createManagedBean(new sr()); + var i = this.createManagedBean(new lr()); i.addCssClass("ag-filter-" + o), i.addCssClass("ag-filter-filter"), r.push(i), e.appendChild(i.getGui()); }, t.prototype.removeValueElements = function(e, r) { this.removeComponents(this.eValuesFrom, e, r), this.removeComponents(this.eValuesTo, e, r); @@ -9416,7 +9416,7 @@ var Al = function() { textFormatter: y }; return a.some(function(m) { - return s.matcher(xo(xo({}, C), { filterText: m })); + return s.matcher(Go(Go({}, C), { filterText: m })); }); }, t.prototype.getModelAsString = function(e) { var r; @@ -9464,7 +9464,7 @@ var Al = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var Ll = function() { +var Ml = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -9480,7 +9480,7 @@ var Ll = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), Oi = function(n, t, e, r) { +}(), Ti = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -9488,16 +9488,16 @@ var Ll = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Ml = ( +}, Il = ( /** @class */ function(n) { - Ll(t, n); + Ml(t, n); function t(e) { var r = n.call(this) || this; return r.params = e, r; } return t.prototype.setupGui = function(e) { - this.eFloatingFilterTextInput = this.createManagedBean(new sr(this.params.config)), this.eFloatingFilterTextInput.setInputAriaLabel(this.params.ariaLabel), e.appendChild(this.eFloatingFilterTextInput.getGui()); + this.eFloatingFilterTextInput = this.createManagedBean(new lr(this.params.config)), this.eFloatingFilterTextInput.setInputAriaLabel(this.params.ariaLabel), e.appendChild(this.eFloatingFilterTextInput.getGui()); }, t.prototype.setEditable = function(e) { this.eFloatingFilterTextInput.setDisabled(!e); }, t.prototype.getValue = function() { @@ -9509,10 +9509,10 @@ var Ll = function() { this.addManagedListener(r, "input", e), this.addManagedListener(r, "keypress", e), this.addManagedListener(r, "keydown", e); }, t; }(T) -), Il = ( +), xl = ( /** @class */ function(n) { - Ll(t, n); + Ml(t, n); function t() { return n !== null && n.apply(this, arguments) || this; } @@ -9530,8 +9530,8 @@ var Ll = function() { }, t.prototype.init = function(e) { this.params = e; var r = this.columnModel.getDisplayNameForColumn(e.column, "header", !0), o = this.localeService.getLocaleTextFunc(), i = r + " " + o("ariaFilterInput", "Filter Input"); - if (this.floatingFilterInputService = this.createFloatingFilterInputService(i), this.floatingFilterInputService.setupGui(this.eFloatingFilterInputContainer), n.prototype.init.call(this, e), this.applyActive = Mo.isUseApplyButton(this.params.filterParams), !this.isReadOnly()) { - var s = Mo.getDebounceMs(this.params.filterParams, this.getDefaultDebounceMs()), a = Je(this.syncUpWithParentFilter.bind(this), s); + if (this.floatingFilterInputService = this.createFloatingFilterInputService(i), this.floatingFilterInputService.setupGui(this.eFloatingFilterInputContainer), n.prototype.init.call(this, e), this.applyActive = xo.isUseApplyButton(this.params.filterParams), !this.isReadOnly()) { + var s = xo.getDebounceMs(this.params.filterParams, this.getDefaultDebounceMs()), a = Je(this.syncUpWithParentFilter.bind(this), s); this.floatingFilterInputService.addValueChangedListener(a); } }, t.prototype.syncUpWithParentFilter = function(e) { @@ -9544,14 +9544,14 @@ var Ll = function() { } }, t.prototype.setEditable = function(e) { this.floatingFilterInputService.setEditable(e); - }, Oi([ + }, Ti([ h("columnModel") - ], t.prototype, "columnModel", void 0), Oi([ + ], t.prototype, "columnModel", void 0), Ti([ P("eFloatingFilterInputContainer") - ], t.prototype, "eFloatingFilterInputContainer", void 0), Oi([ + ], t.prototype, "eFloatingFilterInputContainer", void 0), Ti([ b ], t.prototype, "postConstruct", null), t; - }(Ol) + }(Tl) ); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue @@ -9559,7 +9559,7 @@ var Ll = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var xl = function() { +var Nl = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -9575,16 +9575,16 @@ var xl = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), bp = ( +}(), Pp = ( /** @class */ function(n) { - xl(t, n); + Nl(t, n); function t(e) { var r = n.call(this) || this; return r.params = e, r.numberInputActive = !0, r; } return t.prototype.setupGui = function(e) { - this.eFloatingFilterNumberInput = this.createManagedBean(new es()), this.eFloatingFilterTextInput = this.createManagedBean(new sr()), this.eFloatingFilterTextInput.setDisabled(!0), this.eFloatingFilterNumberInput.setInputAriaLabel(this.params.ariaLabel), this.eFloatingFilterTextInput.setInputAriaLabel(this.params.ariaLabel), e.appendChild(this.eFloatingFilterNumberInput.getGui()), e.appendChild(this.eFloatingFilterTextInput.getGui()); + this.eFloatingFilterNumberInput = this.createManagedBean(new es()), this.eFloatingFilterTextInput = this.createManagedBean(new lr()), this.eFloatingFilterTextInput.setDisabled(!0), this.eFloatingFilterNumberInput.setInputAriaLabel(this.params.ariaLabel), this.eFloatingFilterTextInput.setInputAriaLabel(this.params.ariaLabel), e.appendChild(this.eFloatingFilterNumberInput.getGui()), e.appendChild(this.eFloatingFilterTextInput.getGui()); }, t.prototype.setEditable = function(e) { this.numberInputActive = e, this.eFloatingFilterNumberInput.setDisplayed(this.numberInputActive), this.eFloatingFilterTextInput.setDisplayed(!this.numberInputActive); }, t.prototype.getValue = function() { @@ -9599,27 +9599,27 @@ var xl = function() { this.addManagedListener(e, "input", r), this.addManagedListener(e, "keypress", r), this.addManagedListener(e, "keydown", r); }, t; }(T) -), Pp = ( +), Dp = ( /** @class */ function(n) { - xl(t, n); + Nl(t, n); function t() { return n !== null && n.apply(this, arguments) || this; } return t.prototype.init = function(e) { - n.prototype.init.call(this, e), this.filterModelFormatter = new bl(this.localeService, this.optionsFactory); + n.prototype.init.call(this, e), this.filterModelFormatter = new Pl(this.localeService, this.optionsFactory); }, t.prototype.getDefaultFilterOptions = function() { - return Dl.DEFAULT_FILTER_OPTIONS; + return Al.DEFAULT_FILTER_OPTIONS; }, t.prototype.getFilterModelFormatter = function() { return this.filterModelFormatter; }, t.prototype.createFloatingFilterInputService = function(e) { - var r = Pl(this.params.filterParams); - return r ? this.createManagedBean(new Ml({ + var r = Dl(this.params.filterParams); + return r ? this.createManagedBean(new Il({ config: { allowedCharPattern: r }, ariaLabel: e - })) : this.createManagedBean(new bp({ ariaLabel: e })); + })) : this.createManagedBean(new Pp({ ariaLabel: e })); }, t; - }(Il) + }(xl) ); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue @@ -9627,7 +9627,7 @@ var xl = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var Dp = function() { +var Ap = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -9643,25 +9643,25 @@ var Dp = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), Ap = ( +}(), Fp = ( /** @class */ function(n) { - Dp(t, n); + Ap(t, n); function t() { return n !== null && n.apply(this, arguments) || this; } return t.prototype.init = function(e) { - n.prototype.init.call(this, e), this.filterModelFormatter = new Fl(this.localeService, this.optionsFactory); + n.prototype.init.call(this, e), this.filterModelFormatter = new Ll(this.localeService, this.optionsFactory); }, t.prototype.getDefaultFilterOptions = function() { return ts.DEFAULT_FILTER_OPTIONS; }, t.prototype.getFilterModelFormatter = function() { return this.filterModelFormatter; }, t.prototype.createFloatingFilterInputService = function(e) { - return this.createManagedBean(new Ml({ + return this.createManagedBean(new Il({ ariaLabel: e })); }, t; - }(Il) + }(xl) ); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue @@ -9674,7 +9674,7 @@ var De = ( function() { function n(t, e) { var r = this; - e === void 0 && (e = !1), this.destroyFuncs = [], this.touching = !1, this.eventService = new wt(), this.eElement = t, this.preventMouseClick = e; + e === void 0 && (e = !1), this.destroyFuncs = [], this.touching = !1, this.eventService = new Et(), this.eElement = t, this.preventMouseClick = e; var o = this.onTouchStart.bind(this), i = this.onTouchMove.bind(this), s = this.onTouchEnd.bind(this); this.eElement.addEventListener("touchstart", o, { passive: !0 }), this.eElement.addEventListener("touchmove", i, { passive: !0 }), this.eElement.addEventListener("touchend", s, { passive: !1 }), this.destroyFuncs.push(function() { r.eElement.removeEventListener("touchstart", o, { passive: !0 }), r.eElement.removeEventListener("touchmove", i, { passive: !0 }), r.eElement.removeEventListener("touchend", s, { passive: !1 }); @@ -9755,7 +9755,7 @@ var De = ( * @link https://www.ag-grid.com/ * @license MIT */ -var Fp = function() { +var Lp = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -9771,7 +9771,7 @@ var Fp = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), Rt = function(n, t, e, r) { +}(), Tt = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -9782,7 +9782,7 @@ var Fp = function() { }, rs = ( /** @class */ function(n) { - Fp(t, n); + Lp(t, n); function t(e) { var r = n.call(this) || this; return e || r.setTemplate(t.TEMPLATE), r; @@ -9848,19 +9848,19 @@ var Fp = function() { - `, Rt([ + `, Tt([ P("eSortOrder") - ], t.prototype, "eSortOrder", void 0), Rt([ + ], t.prototype, "eSortOrder", void 0), Tt([ P("eSortAsc") - ], t.prototype, "eSortAsc", void 0), Rt([ + ], t.prototype, "eSortAsc", void 0), Tt([ P("eSortDesc") - ], t.prototype, "eSortDesc", void 0), Rt([ + ], t.prototype, "eSortDesc", void 0), Tt([ P("eSortMixed") - ], t.prototype, "eSortMixed", void 0), Rt([ + ], t.prototype, "eSortMixed", void 0), Tt([ P("eSortNone") - ], t.prototype, "eSortNone", void 0), Rt([ + ], t.prototype, "eSortNone", void 0), Tt([ h("columnModel") - ], t.prototype, "columnModel", void 0), Rt([ + ], t.prototype, "columnModel", void 0), Tt([ h("sortController") ], t.prototype, "sortController", void 0), t; }(W) @@ -9871,7 +9871,7 @@ var Fp = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var Lp = function() { +var Mp = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -9895,10 +9895,10 @@ var Lp = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Mp = ( +}, Ip = ( /** @class */ function(n) { - Lp(t, n); + Mp(t, n); function t() { var e = n !== null && n.apply(this, arguments) || this; return e.lastMovingChanged = 0, e; @@ -9908,7 +9908,7 @@ var Lp = function() { }, t.prototype.refresh = function(e) { return this.params = e, this.workOutTemplate() != this.currentTemplate || this.workOutShowMenu() != this.currentShowMenu || this.workOutSort() != this.currentSort ? !1 : (this.setDisplayName(e), !0); }, t.prototype.workOutTemplate = function() { - var e = Ra(this.params.template, t.TEMPLATE); + var e = Oa(this.params.template, t.TEMPLATE); return e = e && e.trim ? e.trim() : e, e; }, t.prototype.init = function(e) { this.params = e, this.currentTemplate = this.workOutTemplate(), this.setTemplate(this.currentTemplate), this.setupTap(), this.setupIcons(e.column), this.setMenu(), this.setupSort(), this.setupFilterIcon(), this.setDisplayName(e); @@ -9949,13 +9949,13 @@ var Lp = function() { }); } }, t.prototype.workOutShowMenu = function() { - var e = !this.gridOptionsService.is("suppressMenuHide"), r = St() && e, o = this.params.enableMenu && !r; + var e = !this.gridOptionsService.is("suppressMenuHide"), r = _t() && e, o = this.params.enableMenu && !r; return o; }, t.prototype.setMenu = function() { var e = this; if (this.eMenu) { if (this.currentShowMenu = this.workOutShowMenu(), !this.currentShowMenu) { - st(this.eMenu); + at(this.eMenu); return; } var r = this.gridOptionsService.is("suppressMenuHide"); @@ -10037,7 +10037,7 @@ var Lp = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var Ip = function() { +var xp = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -10053,7 +10053,7 @@ var Ip = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), Ti = function(n, t, e, r) { +}(), bi = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -10061,10 +10061,10 @@ var Ip = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, xp = ( +}, Np = ( /** @class */ function(n) { - Ip(t, n); + xp(t, n); function t() { return n.call(this, t.TEMPLATE) || this; } @@ -10091,7 +10091,7 @@ var Ip = function() { }; this.addTouchAndClickListeners(this.eCloseIcon, r), this.addTouchAndClickListeners(this.eOpenIcon, r); var o = function(s) { - Xt(s); + Zt(s); }; this.addManagedListener(this.eCloseIcon, "dblclick", o), this.addManagedListener(this.eOpenIcon, "dblclick", o), this.addManagedListener(this.getGui(), "dblclick", r), this.updateIconVisibility(); var i = this.params.columnGroup.getProvidedColumnGroup(); @@ -10127,54 +10127,15 @@ var Ip = function() { -
`, Ti([ + `, bi([ h("columnModel") - ], t.prototype, "columnModel", void 0), Ti([ + ], t.prototype, "columnModel", void 0), bi([ P("agOpened") - ], t.prototype, "eOpenIcon", void 0), Ti([ + ], t.prototype, "eOpenIcon", void 0), bi([ P("agClosed") ], t.prototype, "eCloseIcon", void 0), t; }(W) ); -/** - * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue - * @version v29.3.5 - * @link https://www.ag-grid.com/ - * @license MIT - */ -var Np = function() { - var n = function(t, e) { - return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { - r.__proto__ = o; - } || function(r, o) { - for (var i in o) - Object.prototype.hasOwnProperty.call(o, i) && (r[i] = o[i]); - }, n(t, e); - }; - return function(t, e) { - n(t, e); - function r() { - this.constructor = t; - } - t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); - }; -}(), kr = ( - /** @class */ - function(n) { - Np(t, n); - function t() { - return n !== null && n.apply(this, arguments) || this; - } - return t.prototype.isPopup = function() { - return !0; - }, t.prototype.setParentComponent = function(e) { - e.addCssClass("ag-has-popup"), n.prototype.setParentComponent.call(this, e); - }, t.prototype.destroy = function() { - var e = this.parentComponent, r = e && e.isAlive(); - r && e.getGui().classList.remove("ag-has-popup"), n.prototype.destroy.call(this); - }, t; - }(W) -); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v29.3.5 @@ -10197,7 +10158,46 @@ var Gp = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), Hp = function(n, t, e, r) { +}(), zr = ( + /** @class */ + function(n) { + Gp(t, n); + function t() { + return n !== null && n.apply(this, arguments) || this; + } + return t.prototype.isPopup = function() { + return !0; + }, t.prototype.setParentComponent = function(e) { + e.addCssClass("ag-has-popup"), n.prototype.setParentComponent.call(this, e); + }, t.prototype.destroy = function() { + var e = this.parentComponent, r = e && e.isAlive(); + r && e.getGui().classList.remove("ag-has-popup"), n.prototype.destroy.call(this); + }, t; + }(W) +); +/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue + * @version v29.3.5 + * @link https://www.ag-grid.com/ + * @license MIT + */ +var Hp = function() { + var n = function(t, e) { + return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { + r.__proto__ = o; + } || function(r, o) { + for (var i in o) + Object.prototype.hasOwnProperty.call(o, i) && (r[i] = o[i]); + }, n(t, e); + }; + return function(t, e) { + n(t, e); + function r() { + this.constructor = t; + } + t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); + }; +}(), Vp = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -10205,10 +10205,10 @@ var Gp = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Vp = ( +}, Bp = ( /** @class */ function(n) { - Gp(t, n); + Hp(t, n); function t() { return n.call(this, t.TEMPLATE) || this; } @@ -10224,10 +10224,10 @@ var Gp = function() { return this.params.parseValue(this.eTextArea.getValue()); }, t.TEMPLATE = `
-
`, Hp([ + `, Vp([ P("eTextArea") ], t.prototype, "eTextArea", void 0), t; - }(kr) + }(zr) ); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue @@ -10235,7 +10235,7 @@ var Gp = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var Bp = function() { +var Wp = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -10259,10 +10259,10 @@ var Bp = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Wp = ( +}, jp = ( /** @class */ function(n) { - Bp(t, n); + Wp(t, n); function t() { var e = n.call(this, '
') || this; return e.startedByEnter = !1, e; @@ -10278,7 +10278,7 @@ var Bp = function() { e.values.forEach(function(i) { var s = { value: i }, a = r.valueFormatterService.formatValue(e.column, null, i), l = a != null; s.text = l ? a : i, r.eSelect.addOption(s), o = o || e.value === i; - }), o ? this.eSelect.setValue(e.value, !0) : e.values.length && this.eSelect.setValue(e.values[0], !0), this.gridOptionsService.get("editType") !== "fullRow" && this.addManagedListener(this.eSelect, Io.EVENT_ITEM_SELECTED, function() { + }), o ? this.eSelect.setValue(e.value, !0) : e.values.length && this.eSelect.setValue(e.values[0], !0), this.gridOptionsService.get("editType") !== "fullRow" && this.addManagedListener(this.eSelect, No.EVENT_ITEM_SELECTED, function() { return e.stopEditing(); }); }, t.prototype.afterGuiAttached = function() { @@ -10294,7 +10294,7 @@ var Bp = function() { ], t.prototype, "valueFormatterService", void 0), _s([ P("eSelect") ], t.prototype, "eSelect", void 0), t; - }(kr) + }(zr) ); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue @@ -10302,7 +10302,7 @@ var Bp = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var jp = function() { +var kp = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -10318,7 +10318,7 @@ var jp = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), kp = function(n, t, e, r) { +}(), Up = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -10329,7 +10329,7 @@ var jp = function() { }, Rs = ( /** @class */ function(n) { - jp(t, n); + kp(t, n); function t() { return n.call(this, t.TEMPLATE) || this; } @@ -10365,10 +10365,10 @@ var jp = function() { return !1; }, t.TEMPLATE = `
-
`, kp([ + `, Up([ P("eInput") ], t.prototype, "eInput", void 0), t; - }(kr) + }(zr) ); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue @@ -10376,7 +10376,7 @@ var jp = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var Up = function() { +var zp = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -10392,7 +10392,7 @@ var Up = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), zp = function(n, t, e, r) { +}(), Kp = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -10400,10 +10400,10 @@ var Up = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Kp = "↑", $p = "↓", Yp = ( +}, $p = "↑", Yp = "↓", qp = ( /** @class */ function(n) { - Up(t, n); + zp(t, n); function t() { var e = n.call(this, t.TEMPLATE) || this; return e.refreshCount = 0, e; @@ -10412,7 +10412,7 @@ var Up = function() { this.eValue = this.queryForHtmlElement(".ag-value-change-value"), this.eDelta = this.queryForHtmlElement(".ag-value-change-delta"), this.refresh(e); }, t.prototype.showDelta = function(e, r) { var o = Math.abs(r), i = e.formatValue(o), s = O(i) ? i : o, a = r >= 0; - a ? this.eDelta.innerHTML = Kp + s : this.eDelta.innerHTML = $p + s, this.eDelta.classList.toggle("ag-value-change-delta-up", a), this.eDelta.classList.toggle("ag-value-change-delta-down", !a); + a ? this.eDelta.innerHTML = $p + s : this.eDelta.innerHTML = Yp + s, this.eDelta.classList.toggle("ag-value-change-delta-up", a), this.eDelta.classList.toggle("ag-value-change-delta-down", !a); }, t.prototype.setTimerToRemoveDelta = function() { var e = this; this.refreshCount++; @@ -10431,7 +10431,7 @@ var Up = function() { this.showDelta(e, o); } return this.lastValue && this.eValue.classList.add("ag-value-change-value-highlight"), this.setTimerToRemoveDelta(), this.lastValue = r, !0; - }, t.TEMPLATE = '', zp([ + }, t.TEMPLATE = '', Kp([ h("filterManager") ], t.prototype, "filterManager", void 0), t; }(W) @@ -10442,7 +10442,7 @@ var Up = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var qp = function() { +var Qp = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -10458,7 +10458,7 @@ var qp = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), Qp = function(n, t, e, r) { +}(), Xp = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -10466,10 +10466,10 @@ var qp = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Xp = ( +}, Jp = ( /** @class */ function(n) { - qp(t, n); + Qp(t, n); function t() { var e = n.call(this, t.TEMPLATE) || this; return e.refreshCount = 0, e.eCurrent = e.queryForHtmlElement(".ag-value-slide-current"), e; @@ -10490,7 +10490,7 @@ var qp = function() { return x(r) && (r = ""), r === this.lastValue || this.filterManager.isSuppressFlashingCellsBecauseFiltering() ? !1 : (this.addSlideAnimation(), this.lastValue = r, O(e.valueFormatted) ? this.eCurrent.innerHTML = e.valueFormatted : O(e.value) ? this.eCurrent.innerHTML = r : Ae(this.eCurrent), !0); }, t.TEMPLATE = ` - `, Qp([ + `, Xp([ h("filterManager") ], t.prototype, "filterManager", void 0), t; }(W) @@ -10501,15 +10501,15 @@ var qp = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var Ut = function() { - return Ut = Object.assign || function(n) { +var zt = function() { + return zt = Object.assign || function(n) { for (var t, e = 1, r = arguments.length; e < r; e++) { t = arguments[e]; for (var o in t) Object.prototype.hasOwnProperty.call(t, o) && (n[o] = t[o]); } return n; - }, Ut.apply(this, arguments); + }, zt.apply(this, arguments); }, j = ( /** @class */ function() { @@ -10715,7 +10715,7 @@ var Ut = function() { var o = r.getColId(), i = this.groupData[o]; i !== e && (this.groupData[o] = e, this.dispatchCellChangedEvent(r, e, i)); }, n.prototype.setAggData = function(t) { - var e = this, r = ga([this.aggData, t]), o = this.aggData; + var e = this, r = ya([this.aggData, t]), o = this.aggData; this.aggData = t, this.eventService && r.forEach(function(i) { var s = e.beans.columnModel.getGridColumn(i), a = e.aggData ? e.aggData[i] : void 0, l = o ? o[i] : void 0; e.dispatchCellChangedEvent(s, a, l); @@ -10784,7 +10784,7 @@ var Ut = function() { if (o || i) return !1; this.selected = t, this.eventService && this.dispatchLocalEvent(this.createLocalRowEvent(n.EVENT_ROW_SELECTED)); - var s = Ut(Ut({}, this.createGlobalRowEvent(v.EVENT_ROW_SELECTED)), { event: e || null, source: r }); + var s = zt(zt({}, this.createGlobalRowEvent(v.EVENT_ROW_SELECTED)), { event: e || null, source: r }); return this.beans.eventService.dispatchEvent(s), !0; }, n.prototype.setSelected = function(t, e, r, o) { e === void 0 && (e = !1), r === void 0 && (r = !1), o === void 0 && (o = "api"), this.setSelectedParams({ @@ -10795,7 +10795,7 @@ var Ut = function() { source: o }); }, n.prototype.setSelectedParams = function(t) { - return this.rowPinned ? (console.warn("AG Grid: cannot select pinned rows"), 0) : this.id === void 0 ? (console.warn("AG Grid: cannot select node until id for node is known"), 0) : this.beans.selectionService.setNodeSelected(Ut(Ut({}, t), { node: this.footer ? this.sibling : this })); + return this.rowPinned ? (console.warn("AG Grid: cannot select pinned rows"), 0) : this.id === void 0 ? (console.warn("AG Grid: cannot select node until id for node is known"), 0) : this.beans.selectionService.setNodeSelected(zt(zt({}, t), { node: this.footer ? this.sibling : this })); }, n.prototype.isRowPinned = function() { return this.rowPinned === "top" || this.rowPinned === "bottom"; }, n.prototype.isParentOfNode = function(t) { @@ -10806,7 +10806,7 @@ var Ut = function() { } return !1; }, n.prototype.addEventListener = function(t, e) { - this.eventService || (this.eventService = new wt()), this.eventService.addEventListener(t, e); + this.eventService || (this.eventService = new Et()), this.eventService.addEventListener(t, e); }, n.prototype.removeEventListener = function(t, e) { this.eventService && (this.eventService.removeEventListener(t, e), this.eventService.noRegisteredListenersExist() && (this.eventService = null)); }, n.prototype.onMouseEnter = function() { @@ -10854,7 +10854,7 @@ var Ut = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var Jp = function() { +var Zp = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -10870,15 +10870,15 @@ var Jp = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), No = function() { - return No = Object.assign || function(n) { +}(), Ho = function() { + return Ho = Object.assign || function(n) { for (var t, e = 1, r = arguments.length; e < r; e++) { t = arguments[e]; for (var o in t) Object.prototype.hasOwnProperty.call(t, o) && (n[o] = t[o]); } return n; - }, No.apply(this, arguments); + }, Ho.apply(this, arguments); }, Os = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") @@ -10887,10 +10887,10 @@ var Jp = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Nl = ( +}, Gl = ( /** @class */ function(n) { - Jp(t, n); + Zp(t, n); function t() { return n.call( this, @@ -10921,9 +10921,9 @@ var Jp = function() { }, t.prototype.init = function(e) { var r = this; this.rowNode = e.rowNode, this.column = e.column, this.overrides = e.overrides, this.onSelectionChanged(), this.addManagedListener(this.eCheckbox.getInputElement(), "dblclick", function(a) { - Xt(a); + Zt(a); }), this.addManagedListener(this.eCheckbox.getInputElement(), "click", function(a) { - Xt(a); + Zt(a); var l = r.eCheckbox.getValue(); l ? r.onCheckedClicked(a) : r.onUncheckedClicked(a || {}); }), this.addManagedListener(this.rowNode, j.EVENT_ROW_SELECTED, this.onSelectionChanged.bind(this)), this.addManagedListener(this.rowNode, j.EVENT_DATA_CHANGED, this.onDataChanged.bind(this)), this.addManagedListener(this.rowNode, j.EVENT_SELECTABLE_CHANGED, this.onSelectableChanged.bind(this)); @@ -10938,7 +10938,7 @@ var Jp = function() { if (s) if (typeof a == "function") { var l = (e = this.overrides) === null || e === void 0 ? void 0 : e.callbackParams, u = (r = this.column) === null || r === void 0 ? void 0 : r.createColumnFunctionCallbackParams(this.rowNode); - s = u ? a(No(No({}, l), u)) : !1; + s = u ? a(Ho(Ho({}, l), u)) : !1; } else s = a ?? !1; var c = (o = this.column) === null || o === void 0 ? void 0 : o.getColDef().showDisabledCheckboxes; @@ -10967,7 +10967,7 @@ var Jp = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var Zp = function() { +var ed = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -10983,7 +10983,7 @@ var Zp = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), Ot = function(n, t, e, r) { +}(), bt = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -10991,7 +10991,7 @@ var Zp = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Xr = function(n) { +}, Zr = function(n) { var t = typeof Symbol == "function" && Symbol.iterator, e = t && n[t], r = 0; if (e) return e.call(n); @@ -11006,10 +11006,10 @@ var Zp = function() { (function(n) { n[n.ToolPanel = 0] = "ToolPanel", n[n.HeaderCell = 1] = "HeaderCell", n[n.RowDrag = 2] = "RowDrag", n[n.ChartPanel = 3] = "ChartPanel"; })(me || (me = {})); -var rr; +var ir; (function(n) { n[n.Up = 0] = "Up", n[n.Down = 1] = "Down"; -})(rr || (rr = {})); +})(ir || (ir = {})); var Qe; (function(n) { n[n.Left = 0] = "Left", n[n.Right = 1] = "Right"; @@ -11017,7 +11017,7 @@ var Qe; var pe = ( /** @class */ function(n) { - Zp(t, n); + ed(t, n); function t() { var r = n !== null && n.apply(this, arguments) || this; return r.dragSourceAndParamsList = [], r.dropTargets = [], r; @@ -11072,7 +11072,7 @@ var pe = ( }, t.prototype.allContainersIntersect = function(r, o) { var i, s; try { - for (var a = Xr(o), l = a.next(); !l.done; l = a.next()) { + for (var a = Zr(o), l = a.next(); !l.done; l = a.next()) { var u = l.value, c = u.getBoundingClientRect(); if (c.width === 0 || c.height === 0) return !1; @@ -11094,7 +11094,7 @@ var pe = ( }, t.prototype.isMouseOnDropTarget = function(r, o) { var i, s, a = this.getAllContainersFromDropTarget(o), l = !1; try { - for (var u = Xr(a), c = u.next(); !c.done; c = u.next()) { + for (var u = Zr(a), c = u.next(); !c.done; c = u.next()) { var p = c.value; if (this.allContainersIntersect(r, p)) { l = !0; @@ -11120,11 +11120,11 @@ var pe = ( return o[0]; var c = this.gridOptionsService.getRootNode(), p = c.elementsFromPoint(r.clientX, r.clientY); try { - for (var d = Xr(p), f = d.next(); !f.done; f = d.next()) { + for (var d = Zr(p), f = d.next(); !f.done; f = d.next()) { var g = f.value; try { - for (var y = (a = void 0, Xr(o)), C = y.next(); !C.done; C = y.next()) { - var m = C.value, w = Ta(this.getAllContainersFromDropTarget(m)); + for (var y = (a = void 0, Zr(o)), C = y.next(); !C.done; C = y.next()) { + var m = C.value, w = ba(this.getAllContainersFromDropTarget(m)); if (w.indexOf(g) !== -1) return m; } @@ -11188,14 +11188,14 @@ var pe = ( return o === i ? null : o > i ? Qe.Left : Qe.Right; }, t.prototype.getVerticalDirection = function(r) { var o = this.eventLastTime && this.eventLastTime.clientY, i = r.clientY; - return o === i ? null : o > i ? rr.Up : rr.Down; + return o === i ? null : o > i ? ir.Up : ir.Down; }, t.prototype.createDropTargetEvent = function(r, o, i, s, a) { var l = r.getContainer(), u = l.getBoundingClientRect(), c = this, p = c.gridApi, d = c.columnApi, f = c.dragItem, g = c.dragSource, y = o.clientX - u.left, C = o.clientY - u.top; return { event: o, x: y, y: C, vDirection: s, hDirection: i, dragSource: g, fromNudge: a, dragItem: f, api: p, columnApi: d, dropZoneTarget: l }; }, t.prototype.positionGhost = function(r) { var o = this.eGhost; if (o) { - var i = o.getBoundingClientRect(), s = i.height, a = Ja() - 2, l = Za() - 2, u = r.pageY - s / 2, c = r.pageX - 10, p = this.gridOptionsService.getDocument(), d = p.defaultView || window, f = d.pageYOffset || p.documentElement.scrollTop, g = d.pageXOffset || p.documentElement.scrollLeft; + var i = o.getBoundingClientRect(), s = i.height, a = Za() - 2, l = el() - 2, u = r.pageY - s / 2, c = r.pageX - 10, p = this.gridOptionsService.getDocument(), d = p.defaultView || window, f = d.pageYOffset || p.documentElement.scrollTop, g = d.pageXOffset || p.documentElement.scrollLeft; a > 0 && c + o.clientWidth > a + g && (c = a + g - o.clientWidth), c < 0 && (c = 0), l > 0 && u + o.clientHeight > l + f && (u = l + f - o.clientHeight), u < 0 && (u = 0), o.style.left = c + "px", o.style.top = u + "px"; } }, t.prototype.removeGhost = function() { @@ -11205,7 +11205,7 @@ var pe = ( var r = this.environment.getTheme().theme; r && this.eGhost.classList.add(r), this.eGhostIcon = this.eGhost.querySelector(".ag-dnd-ghost-icon"), this.setGhostIcon(null); var o = this.eGhost.querySelector(".ag-dnd-ghost-label"), i = this.dragSource.dragItemName; - Jo(i) && (i = i()), o.innerHTML = tt(i) || "", this.eGhost.style.height = "25px", this.eGhost.style.top = "20px", this.eGhost.style.left = "20px"; + Zo(i) && (i = i()), o.innerHTML = tt(i) || "", this.eGhost.style.height = "25px", this.eGhost.style.top = "20px", this.eGhost.style.left = "20px"; var s = this.gridOptionsService.getDocument(), a = null; try { a = s.fullscreenElement; @@ -11255,19 +11255,19 @@ var pe = ( return t.ICON_PINNED = "pinned", t.ICON_MOVE = "move", t.ICON_LEFT = "left", t.ICON_RIGHT = "right", t.ICON_GROUP = "group", t.ICON_AGGREGATE = "aggregate", t.ICON_PIVOT = "pivot", t.ICON_NOT_ALLOWED = "notAllowed", t.ICON_HIDE = "hide", t.GHOST_TEMPLATE = `
-
`, Ot([ + `, bt([ h("dragService") - ], t.prototype, "dragService", void 0), Ot([ + ], t.prototype, "dragService", void 0), bt([ h("mouseEventService") - ], t.prototype, "mouseEventService", void 0), Ot([ + ], t.prototype, "mouseEventService", void 0), bt([ h("columnApi") - ], t.prototype, "columnApi", void 0), Ot([ + ], t.prototype, "columnApi", void 0), bt([ h("gridApi") - ], t.prototype, "gridApi", void 0), Ot([ + ], t.prototype, "gridApi", void 0), bt([ b - ], t.prototype, "init", null), Ot([ + ], t.prototype, "init", null), bt([ fe - ], t.prototype, "clearDragSourceParamsList", null), t = e = Ot([ + ], t.prototype, "clearDragSourceParamsList", null), t = e = bt([ A("dragAndDropService") ], t), t; }(T) @@ -11278,7 +11278,7 @@ var pe = ( * @link https://www.ag-grid.com/ * @license MIT */ -var oi = function() { +var ii = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -11294,7 +11294,7 @@ var oi = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), Dr = function(n, t, e, r) { +}(), Fr = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -11302,10 +11302,10 @@ var oi = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Go = ( +}, Vo = ( /** @class */ function(n) { - oi(t, n); + ii(t, n); function t(e, r, o, i, s, a) { var l = n.call(this) || this; return l.cellValueFn = e, l.rowNode = r, l.column = o, l.customGui = i, l.dragStartPixels = s, l.suppressVisibilityChange = a, l.dragSource = null, l; @@ -11317,7 +11317,7 @@ var oi = function() { /* html */ '' ), this.getGui().appendChild(oe("rowDrag", this.beans.gridOptionsService, null)), this.addDragSource()), this.checkCompatibility(), !this.suppressVisibilityChange) { - var e = this.beans.gridOptionsService.is("rowDragManaged") ? new td(this, this.beans, this.rowNode, this.column) : new ed(this, this.beans, this.rowNode, this.column); + var e = this.beans.gridOptionsService.is("rowDragManaged") ? new rd(this, this.beans, this.rowNode, this.column) : new td(this, this.beans, this.rowNode, this.column); this.createManagedBean(e, this.beans.context); } }, t.prototype.setDragElement = function(e, r) { @@ -11366,18 +11366,18 @@ var oi = function() { }, this.beans.dragAndDropService.addDragSource(this.dragSource, !0); }, t.prototype.removeDragSource = function() { this.dragSource && this.beans.dragAndDropService.removeDragSource(this.dragSource), this.dragSource = null; - }, Dr([ + }, Fr([ h("beans") - ], t.prototype, "beans", void 0), Dr([ + ], t.prototype, "beans", void 0), Fr([ b - ], t.prototype, "postConstruct", null), Dr([ + ], t.prototype, "postConstruct", null), Fr([ fe ], t.prototype, "removeDragSource", null), t; }(W) -), Gl = ( +), Hl = ( /** @class */ function(n) { - oi(t, n); + ii(t, n); function t(e, r, o) { var i = n.call(this) || this; return i.parent = e, i.rowNode = r, i.column = o, i; @@ -11388,14 +11388,14 @@ var oi = function() { this.parent.setDisplayed(!1, r); else { var o = !0, i = !1; - this.column && (o = this.column.isRowDrag(this.rowNode) || this.parent.isCustomGui(), i = Jo(this.column.getColDef().rowDrag)), i ? (this.parent.setDisplayed(!0, r), this.parent.setVisible(o, r)) : (this.parent.setDisplayed(o, r), this.parent.setVisible(!0, r)); + this.column && (o = this.column.isRowDrag(this.rowNode) || this.parent.isCustomGui(), i = Zo(this.column.getColDef().rowDrag)), i ? (this.parent.setDisplayed(!0, r), this.parent.setVisible(o, r)) : (this.parent.setDisplayed(o, r), this.parent.setVisible(!0, r)); } }, t; }(T) -), ed = ( +), td = ( /** @class */ function(n) { - oi(t, n); + ii(t, n); function t(e, r, o, i) { var s = n.call(this, e, o, i) || this; return s.beans = r, s; @@ -11407,14 +11407,14 @@ var oi = function() { }, t.prototype.workOutVisibility = function() { var e = this.beans.gridOptionsService.is("suppressRowDrag"); this.setDisplayedOrVisible(e); - }, Dr([ + }, Fr([ b ], t.prototype, "postConstruct", null), t; - }(Gl) -), td = ( + }(Hl) +), rd = ( /** @class */ function(n) { - oi(t, n); + ii(t, n); function t(e, r, o, i) { var s = n.call(this, e, o, i) || this; return s.beans = r, s; @@ -11426,10 +11426,10 @@ var oi = function() { }, t.prototype.workOutVisibility = function() { var e = this.beans.ctrlsService.getGridBodyCtrl(), r = e.getRowDragFeature(), o = r && r.shouldPreventRowMove(), i = this.beans.gridOptionsService.is("suppressRowDrag"), s = this.beans.dragAndDropService.hasExternalDropZones(), a = o && !s || i; this.setDisplayedOrVisible(a); - }, Dr([ + }, Fr([ b ], t.prototype, "postConstruct", null), t; - }(Gl) + }(Hl) ); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue @@ -11437,7 +11437,7 @@ var oi = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var rd = function() { +var od = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -11453,16 +11453,16 @@ var rd = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), Ho = function() { - return Ho = Object.assign || function(n) { +}(), Bo = function() { + return Bo = Object.assign || function(n) { for (var t, e = 1, r = arguments.length; e < r; e++) { t = arguments[e]; for (var o in t) Object.prototype.hasOwnProperty.call(t, o) && (n[o] = t[o]); } return n; - }, Ho.apply(this, arguments); -}, ur = function(n, t, e, r) { + }, Bo.apply(this, arguments); +}, pr = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -11470,10 +11470,10 @@ var rd = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, od = ( +}, id = ( /** @class */ function(n) { - rd(t, n); + od(t, n); function t() { return n !== null && n.apply(this, arguments) || this; } @@ -11493,7 +11493,7 @@ var rd = function() { }, t.prototype.refreshAriaExpanded = function() { var e = this.params, r = e.node, o = e.eParentOfValue; if (this.expandListener && (this.expandListener = this.expandListener()), !this.isExpandable()) { - ka(o); + Ua(o); return; } var i = function() { @@ -11568,7 +11568,7 @@ var rd = function() { if (!i) return this.params; } - var s = this.params, a = this.params, l = a.value, u = a.node, c = this.valueFormatterService.formatValue(e, u, l), p = Ho(Ho({}, s), { valueFormatted: c }); + var s = this.params, a = this.params, l = a.value, u = a.node, c = this.valueFormatterService.formatValue(e, u, l), p = Bo(Bo({}, s), { valueFormatted: c }); return p; }, t.prototype.addFooterValue = function() { var e = this.params.footerValueGetter, r = ""; @@ -11619,7 +11619,7 @@ var rd = function() { var l = this.onRowNodeIsExpandableChanged.bind(this); this.addManagedListener(this.displayedGroupNode, j.EVENT_ALL_CHILDREN_COUNT_CHANGED, l), this.addManagedListener(this.displayedGroupNode, j.EVENT_MASTER_CHANGED, l), this.addManagedListener(this.displayedGroupNode, j.EVENT_GROUP_CHANGED, l), this.addManagedListener(this.displayedGroupNode, j.EVENT_HAS_CHILDREN_CHANGED, l); }, t.prototype.onExpandClicked = function(e) { - Ze(e) || (Xt(e), this.onExpandOrContract(e)); + Ze(e) || (Zt(e), this.onExpandOrContract(e)); }, t.prototype.onExpandOrContract = function(e) { var r = this.displayedGroupNode, o = !r.expanded; !o && r.sticky && this.scrollToStickyNode(r), r.setExpanded(o, e); @@ -11660,7 +11660,7 @@ var rd = function() { }, t.prototype.addFullWidthRowDraggerIfNeeded = function() { var e = this; if (!(!this.params.fullWidth || !this.params.rowDrag)) { - var r = new Go(function() { + var r = new Vo(function() { return e.params.value; }, this.params.node); this.createManagedBean(r, this.context), this.eGui.insertAdjacentElement("afterbegin", r.getGui()); @@ -11674,7 +11674,7 @@ var rd = function() { !r.rowPinned && // details cannot be selected !r.detail; if (o) { - var i = new Nl(); + var i = new Gl(); this.getContext().createBean(i), i.init({ rowNode: r, column: this.params.column, @@ -11696,18 +11696,18 @@ var rd = function() { } }, t.prototype.onCellDblClicked = function(e) { if (!Ze(e)) { - var r = Do(this.eExpanded, e) || Do(this.eContracted, e); + var r = Fo(this.eExpanded, e) || Fo(this.eContracted, e); r || this.onExpandOrContract(e); } - }, ur([ + }, pr([ h("expressionService") - ], t.prototype, "expressionService", void 0), ur([ + ], t.prototype, "expressionService", void 0), pr([ h("valueFormatterService") - ], t.prototype, "valueFormatterService", void 0), ur([ + ], t.prototype, "valueFormatterService", void 0), pr([ h("columnModel") - ], t.prototype, "columnModel", void 0), ur([ + ], t.prototype, "columnModel", void 0), pr([ h("userComponentFactory") - ], t.prototype, "userComponentFactory", void 0), ur([ + ], t.prototype, "userComponentFactory", void 0), pr([ h("ctrlsService") ], t.prototype, "ctrlsService", void 0), t; }(T) @@ -11718,7 +11718,7 @@ var rd = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var id = function() { +var nd = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -11734,7 +11734,7 @@ var id = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), cr = function(n, t, e, r) { +}(), dr = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -11745,7 +11745,7 @@ var id = function() { }, Ts = ( /** @class */ function(n) { - id(t, n); + nd(t, n); function t() { return n.call(this, t.TEMPLATE) || this; } @@ -11769,7 +11769,7 @@ var id = function() { setCheckboxVisible: function(l) { return r.eCheckbox.classList.toggle("ag-invisible", !l); } - }, i = this.createManagedBean(new od()), s = !e.colDef, a = this.getGui(); + }, i = this.createManagedBean(new id()), s = !e.colDef, a = this.getGui(); i.init(o, a, this.eCheckbox, this.eExpanded, this.eContracted, this.constructor, e), s && le(a, "gridcell"); }, t.prototype.setRenderDetails = function(e, r) { var o = this; @@ -11797,15 +11797,15 @@ var id = function() { - `, cr([ + `, dr([ P("eExpanded") - ], t.prototype, "eExpanded", void 0), cr([ + ], t.prototype, "eExpanded", void 0), dr([ P("eContracted") - ], t.prototype, "eContracted", void 0), cr([ + ], t.prototype, "eContracted", void 0), dr([ P("eCheckbox") - ], t.prototype, "eCheckbox", void 0), cr([ + ], t.prototype, "eCheckbox", void 0), dr([ P("eValue") - ], t.prototype, "eValue", void 0), cr([ + ], t.prototype, "eValue", void 0), dr([ P("eChildCount") ], t.prototype, "eChildCount", void 0), t; }(W) @@ -11816,7 +11816,7 @@ var id = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var nd = function() { +var sd = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -11840,10 +11840,10 @@ var nd = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, sd = ( +}, ad = ( /** @class */ function(n) { - nd(t, n); + sd(t, n); function t() { return n.call(this, t.TEMPLATE) || this; } @@ -11877,7 +11877,7 @@ var nd = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var ad = function() { +var ld = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -11893,10 +11893,10 @@ var ad = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), ld = ( +}(), ud = ( /** @class */ function(n) { - ad(t, n); + ld(t, n); function t() { return n.call(this) || this; } @@ -11914,7 +11914,7 @@ var ad = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var ud = function() { +var cd = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -11930,10 +11930,10 @@ var ud = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), cd = ( +}(), pd = ( /** @class */ function(n) { - ud(t, n); + cd(t, n); function t() { return n.call(this) || this; } @@ -11951,7 +11951,7 @@ var ud = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var pd = function() { +var dd = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -11967,10 +11967,10 @@ var pd = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), dd = ( +}(), hd = ( /** @class */ function(n) { - pd(t, n); + dd(t, n); function t() { return n.call( this, @@ -11982,7 +11982,7 @@ var pd = function() { var r = e.value; this.getGui().innerHTML = tt(r); }, t; - }(kr) + }(zr) ); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue @@ -11990,7 +11990,7 @@ var pd = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var hd = function() { +var fd = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -12006,7 +12006,7 @@ var hd = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), bi = function(n, t, e, r) { +}(), Pi = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -12014,7 +12014,7 @@ var hd = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, fd = function(n, t) { +}, vd = function(n, t) { var e = typeof Symbol == "function" && n[Symbol.iterator]; if (!e) return n; @@ -12033,48 +12033,48 @@ var hd = function() { } } return i; -}, vd = function() { +}, gd = function() { for (var n = [], t = 0; t < arguments.length; t++) - n = n.concat(fd(arguments[t])); + n = n.concat(vd(arguments[t])); return n; -}, gd = ( +}, yd = ( /** @class */ function(n) { - hd(t, n); + fd(t, n); function t() { var e = n !== null && n.apply(this, arguments) || this; return e.agGridDefaults = { //date - agDateInput: Rp, + agDateInput: Op, //header - agColumnHeader: Mp, - agColumnGroupHeader: xp, + agColumnHeader: Ip, + agColumnGroupHeader: Np, agSortIndicator: rs, //floating filters - agTextColumnFloatingFilter: Ap, - agNumberColumnFloatingFilter: Pp, - agDateColumnFloatingFilter: Sp, - agReadOnlyFloatingFilter: Jc, + agTextColumnFloatingFilter: Fp, + agNumberColumnFloatingFilter: Dp, + agDateColumnFloatingFilter: Ep, + agReadOnlyFloatingFilter: Zc, // renderers - agAnimateShowChangeCellRenderer: Yp, - agAnimateSlideCellRenderer: Xp, + agAnimateShowChangeCellRenderer: qp, + agAnimateSlideCellRenderer: Jp, agGroupCellRenderer: Ts, agGroupRowRenderer: Ts, - agLoadingCellRenderer: sd, + agLoadingCellRenderer: ad, //editors agCellEditor: Rs, agTextCellEditor: Rs, - agSelectCellEditor: Wp, - agLargeTextCellEditor: Vp, + agSelectCellEditor: jp, + agLargeTextCellEditor: Bp, //filter agTextColumnFilter: ts, - agNumberColumnFilter: Dl, - agDateColumnFilter: Rl, + agNumberColumnFilter: Al, + agDateColumnFilter: Ol, //overlays - agLoadingOverlay: ld, - agNoRowsOverlay: cd, + agLoadingOverlay: ud, + agNoRowsOverlay: pd, // tooltips - agTooltipComponent: dd + agTooltipComponent: hd }, e.enterpriseAgDefaultCompsModule = { agSetColumnFilter: F.SetFilterModule, agSetColumnFloatingFilter: F.SetFilterModule, @@ -12139,15 +12139,15 @@ var hd = function() { o.warnAboutMissingComponent(e, r); }, "MissingComp" + r), null; }, t.prototype.warnAboutMissingComponent = function(e, r) { - var o = vd(Object.keys(this.agGridDefaults).filter(function(s) { + var o = gd(Object.keys(this.agGridDefaults).filter(function(s) { return !["agCellEditor", "agGroupRowRenderer", "agSortIndicator"].includes(s); }), Object.keys(this.jsComps), Object.keys(this.fwComps)), i = An(r, o, !0, 0.8); console.warn("AG Grid: Could not find '" + r + `' component. It was configured as "` + e + ": '" + r + `'" but it wasn't found in the list of registered components.`), i.length > 0 && console.warn(" Did you mean: [" + i.slice(0, 3) + "]?"), console.warn("If using a custom component check it has been registered as described in: https://ag-grid.com/javascript-data-grid/components/"); - }, bi([ + }, Pi([ h("gridOptions") - ], t.prototype, "gridOptions", void 0), bi([ + ], t.prototype, "gridOptions", void 0), Pi([ b - ], t.prototype, "init", null), t = bi([ + ], t.prototype, "init", null), t = Pi([ A("userComponentRegistry") ], t), t; }(T) @@ -12158,55 +12158,55 @@ var hd = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var yd = { +var Cd = { propertyName: "dateComponent", cellRenderer: !1 -}, Cd = { +}, md = { propertyName: "headerComponent", cellRenderer: !1 -}, md = { +}, wd = { propertyName: "headerGroupComponent", cellRenderer: !1 }, Ps = { propertyName: "cellRenderer", cellRenderer: !0 -}, wd = { +}, Sd = { propertyName: "cellEditor", cellRenderer: !1 }, Ds = { propertyName: "innerRenderer", cellRenderer: !0 -}, Sd = { +}, Ed = { propertyName: "loadingOverlayComponent", cellRenderer: !1 -}, Ed = { +}, _d = { propertyName: "noRowsOverlayComponent", cellRenderer: !1 -}, _d = { +}, Rd = { propertyName: "tooltipComponent", cellRenderer: !1 }, wn = { propertyName: "filter", cellRenderer: !1 -}, Rd = { +}, Od = { propertyName: "floatingFilterComponent", cellRenderer: !1 -}, Od = { +}, Td = { propertyName: "toolPanel", cellRenderer: !1 -}, Td = { +}, bd = { propertyName: "statusPanel", cellRenderer: !1 -}, bd = { +}, Pd = { propertyName: "fullWidthCellRenderer", cellRenderer: !0 -}, Pd = { +}, Dd = { propertyName: "loadingCellRenderer", cellRenderer: !0 -}, Dd = { +}, Ad = { propertyName: "groupRowRenderer", cellRenderer: !0 -}, Ad = { +}, Fd = { propertyName: "detailCellRenderer", cellRenderer: !0 }; @@ -12216,7 +12216,7 @@ var yd = { * @link https://www.ag-grid.com/ * @license MIT */ -var Fd = ( +var Ld = ( /** @class */ function() { function n() { @@ -12245,7 +12245,7 @@ var Fd = ( * @link https://www.ag-grid.com/ * @license MIT */ -var Ld = function() { +var Md = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -12261,7 +12261,7 @@ var Ld = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), Gt = function(n, t, e, r) { +}(), Ht = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -12269,26 +12269,26 @@ var Ld = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Md = ( +}, Id = ( /** @class */ function(n) { - Ld(t, n); + Md(t, n); function t() { return n !== null && n.apply(this, arguments) || this; } return t.prototype.getHeaderCompDetails = function(e, r) { - return this.getCompDetails(e, Cd, "agColumnHeader", r); + return this.getCompDetails(e, md, "agColumnHeader", r); }, t.prototype.getHeaderGroupCompDetails = function(e) { var r = e.columnGroup.getColGroupDef(); - return this.getCompDetails(r, md, "agColumnGroupHeader", e); + return this.getCompDetails(r, wd, "agColumnGroupHeader", e); }, t.prototype.getFullWidthCellRendererDetails = function(e) { - return this.getCompDetails(this.gridOptions, bd, null, e, !0); + return this.getCompDetails(this.gridOptions, Pd, null, e, !0); }, t.prototype.getFullWidthLoadingCellRendererDetails = function(e) { - return this.getCompDetails(this.gridOptions, Pd, "agLoadingCellRenderer", e, !0); + return this.getCompDetails(this.gridOptions, Dd, "agLoadingCellRenderer", e, !0); }, t.prototype.getFullWidthGroupCellRendererDetails = function(e) { - return this.getCompDetails(this.gridOptions, Dd, "agGroupRowRenderer", e, !0); + return this.getCompDetails(this.gridOptions, Ad, "agGroupRowRenderer", e, !0); }, t.prototype.getFullWidthDetailCellRendererDetails = function(e) { - return this.getCompDetails(this.gridOptions, Ad, "agDetailCellRenderer", e, !0); + return this.getCompDetails(this.gridOptions, Fd, "agDetailCellRenderer", e, !0); }, t.prototype.getInnerRendererDetails = function(e, r) { return this.getCompDetails(e, Ds, null, r); }, t.prototype.getFullWidthGroupRowInnerCellRenderer = function(e, r) { @@ -12296,25 +12296,25 @@ var Ld = function() { }, t.prototype.getCellRendererDetails = function(e, r) { return this.getCompDetails(e, Ps, null, r); }, t.prototype.getCellEditorDetails = function(e, r) { - return this.getCompDetails(e, wd, "agCellEditor", r, !0); + return this.getCompDetails(e, Sd, "agCellEditor", r, !0); }, t.prototype.getFilterDetails = function(e, r, o) { return this.getCompDetails(e, wn, o, r, !0); }, t.prototype.getDateCompDetails = function(e) { - return this.getCompDetails(this.gridOptions, yd, "agDateInput", e, !0); + return this.getCompDetails(this.gridOptions, Cd, "agDateInput", e, !0); }, t.prototype.getLoadingOverlayCompDetails = function(e) { - return this.getCompDetails(this.gridOptions, Sd, "agLoadingOverlay", e, !0); + return this.getCompDetails(this.gridOptions, Ed, "agLoadingOverlay", e, !0); }, t.prototype.getNoRowsOverlayCompDetails = function(e) { - return this.getCompDetails(this.gridOptions, Ed, "agNoRowsOverlay", e, !0); + return this.getCompDetails(this.gridOptions, _d, "agNoRowsOverlay", e, !0); }, t.prototype.getTooltipCompDetails = function(e) { - return this.getCompDetails(e.colDef, _d, "agTooltipComponent", e, !0); + return this.getCompDetails(e.colDef, Rd, "agTooltipComponent", e, !0); }, t.prototype.getSetFilterCellRendererDetails = function(e, r) { return this.getCompDetails(e, Ps, null, r); }, t.prototype.getFloatingFilterCompDetails = function(e, r, o) { - return this.getCompDetails(e, Rd, o, r); + return this.getCompDetails(e, Od, o, r); }, t.prototype.getToolPanelCompDetails = function(e, r) { - return this.getCompDetails(e, Od, null, r, !0); - }, t.prototype.getStatusPanelCompDetails = function(e, r) { return this.getCompDetails(e, Td, null, r, !0); + }, t.prototype.getStatusPanelCompDetails = function(e, r) { + return this.getCompDetails(e, bd, null, r, !0); }, t.prototype.getCompDetails = function(e, r, o, i, s) { var a = this; s === void 0 && (s = !1); @@ -12406,7 +12406,7 @@ var Ld = function() { return null; var r = null, o = this.getCompKeys(e, wn), i = o.compName, s = o.jsComp, a = o.fwComp; if (i) - r = Fd.getFloatingFilterType(i); + r = Ld.getFloatingFilterType(i); else { var l = s == null && a == null && e.filter === !0; if (l) { @@ -12415,17 +12415,17 @@ var Ld = function() { } } return r; - }, Gt([ + }, Ht([ h("gridOptions") - ], t.prototype, "gridOptions", void 0), Gt([ + ], t.prototype, "gridOptions", void 0), Ht([ h("agComponentUtils") - ], t.prototype, "agComponentUtils", void 0), Gt([ + ], t.prototype, "agComponentUtils", void 0), Ht([ h("componentMetadataProvider") - ], t.prototype, "componentMetadataProvider", void 0), Gt([ + ], t.prototype, "componentMetadataProvider", void 0), Ht([ h("userComponentRegistry") - ], t.prototype, "userComponentRegistry", void 0), Gt([ + ], t.prototype, "userComponentRegistry", void 0), Ht([ Y("frameworkComponentWrapper") - ], t.prototype, "frameworkComponentWrapper", void 0), t = Gt([ + ], t.prototype, "frameworkComponentWrapper", void 0), t = Ht([ A("userComponentFactory") ], t), t; }(T) @@ -12436,17 +12436,17 @@ var Ld = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var Vo; +var Wo; (function(n) { n[n.SINGLE_SHEET = 0] = "SINGLE_SHEET", n[n.MULTI_SHEET = 1] = "MULTI_SHEET"; -})(Vo || (Vo = {})); +})(Wo || (Wo = {})); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v29.3.5 * @link https://www.ag-grid.com/ * @license MIT */ -var Id = function() { +var xd = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -12462,7 +12462,7 @@ var Id = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), Pi = function(n, t, e, r) { +}(), Di = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -12470,10 +12470,10 @@ var Id = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, xd = ( +}, Nd = ( /** @class */ function(n) { - Id(t, n); + xd(t, n); function t() { var e = n !== null && n.apply(this, arguments) || this; return e.dragEndFunctions = [], e.dragSources = [], e; @@ -12606,11 +12606,11 @@ var Id = function() { this.mouseStartEvent = null, this.startTarget = null, this.touchStart = null, this.touchLastTime = null, this.currentDragParams = null, this.dragEndFunctions.forEach(function(i) { return i(); }), this.dragEndFunctions.length = 0; - }, Pi([ + }, Di([ h("mouseEventService") - ], t.prototype, "mouseEventService", void 0), Pi([ + ], t.prototype, "mouseEventService", void 0), Di([ fe - ], t.prototype, "removeAllListeners", null), t = Pi([ + ], t.prototype, "removeAllListeners", null), t = Di([ A("dragService") ], t), t; }(T) @@ -12621,10 +12621,10 @@ var Id = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var at; +var lt; (function(n) { n[n.Above = 0] = "Above", n[n.Below = 1] = "Below"; -})(at || (at = {})); +})(lt || (lt = {})); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v29.3.5 @@ -12650,11 +12650,11 @@ var z = function(n, t, e, r) { (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; }; -function Pt(n) { +function At(n) { var t = n, e = t != null && t.getFrameworkComponentInstance != null; return e ? t.getFrameworkComponentInstance() : n; } -var Nd = ( +var Gd = ( /** @class */ function() { function n() { @@ -12713,7 +12713,7 @@ var Nd = ( if (!N.assertRegistered(F.ExcelExportModule, "api." + t)) return !1; var r = this.getExcelExportMode(e); - return this.excelCreator.getFactoryMode(r) === Vo.MULTI_SHEET ? (console.warn("AG Grid: The Excel Exporter is currently on Multi Sheet mode. End that operation by calling 'api.getMultipleSheetAsExcel()' or 'api.exportMultipleSheetsAsExcel()'"), !1) : !0; + return this.excelCreator.getFactoryMode(r) === Wo.MULTI_SHEET ? (console.warn("AG Grid: The Excel Exporter is currently on Multi Sheet mode. End that operation by calling 'api.getMultipleSheetAsExcel()' or 'api.exportMultipleSheetsAsExcel()'"), !1) : !0; }, n.prototype.getDataAsExcel = function(t) { if (this.assertNotExcelMultiSheet("getDataAsExcel", t)) return this.excelCreator.getDataAsExcel(t); @@ -12722,7 +12722,7 @@ var Nd = ( }, n.prototype.getSheetDataForExcel = function(t) { if (N.assertRegistered(F.ExcelExportModule, "api.getSheetDataForExcel")) { var e = this.getExcelExportMode(t); - return this.excelCreator.setFactoryMode(Vo.MULTI_SHEET, e), this.excelCreator.getSheetDataForExcel(t); + return this.excelCreator.setFactoryMode(Wo.MULTI_SHEET, e), this.excelCreator.getSheetDataForExcel(t); } }, n.prototype.getMultipleSheetsAsExcel = function(t) { if (N.assertRegistered(F.ExcelExportModule, "api.getMultipleSheetsAsExcel")) @@ -12912,10 +12912,10 @@ var Nd = ( }, n.prototype.getFilterInstance = function(t, e) { var r = this.getFilterInstanceImpl(t, function(i) { if (e) { - var s = Pt(i); + var s = At(i); e(s); } - }), o = Pt(r); + }), o = At(r); return o; }, n.prototype.getFilterInstanceImpl = function(t, e) { var r = this.columnModel.getPrimaryColumn(t); @@ -12934,7 +12934,7 @@ var Nd = ( }, n.prototype.getStatusPanel = function(t) { if (N.assertRegistered(F.StatusBarModule, "api.getStatusPanel")) { var e = this.statusBarService.getStatusPanel(t); - return Pt(e); + return At(e); } }, n.prototype.getColumnDef = function(t) { var e = this.columnModel.getPrimaryColumn(t); @@ -13101,7 +13101,7 @@ var Nd = ( }, n.prototype.getToolPanelInstance = function(t) { if (this.assertSideBarLoaded("getToolPanelInstance")) { var e = this.sideBarComp.getToolPanelInstance(t); - return Pt(e); + return At(e); } }, n.prototype.getSideBar = function() { if (this.assertSideBarLoaded("getSideBar")) @@ -13168,7 +13168,7 @@ var Nd = ( t && t.destroyGridUi(), this.context.destroy(); } }, n.prototype.cleanDownReferencesToAvoidMemoryLeakInCaseApplicationIsKeepingReferenceToDestroyedGrid = function() { - setTimeout(ya.bind(window, this, "Grid API"), 100); + setTimeout(Ca.bind(window, this, "Grid API"), 100); }, n.prototype.warnIfDestroyed = function(t) { return this.destroyCalled && console.warn("AG Grid: Grid API method " + t + " was called on a grid that was destroyed."), this.destroyCalled; }, n.prototype.resetQuickFilter = function() { @@ -13251,11 +13251,11 @@ var Nd = ( return this.navigationService.tabToNextCell(!0, t); }, n.prototype.getCellRendererInstances = function(t) { t === void 0 && (t = {}); - var e = this.rowRenderer.getCellRendererInstances(t), r = e.map(Pt); + var e = this.rowRenderer.getCellRendererInstances(t), r = e.map(At); return r; }, n.prototype.getCellEditorInstances = function(t) { t === void 0 && (t = {}); - var e = this.rowRenderer.getCellEditorInstances(t), r = e.map(Pt); + var e = this.rowRenderer.getCellEditorInstances(t), r = e.map(At); return r; }, n.prototype.getEditingCells = function() { return this.rowRenderer.getEditingCells(); @@ -13467,7 +13467,7 @@ var Nd = ( * @link https://www.ag-grid.com/ * @license MIT */ -var Gd = function() { +var Hd = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -13483,16 +13483,16 @@ var Gd = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), Bo = function() { - return Bo = Object.assign || function(n) { +}(), jo = function() { + return jo = Object.assign || function(n) { for (var t, e = 1, r = arguments.length; e < r; e++) { t = arguments[e]; for (var o in t) Object.prototype.hasOwnProperty.call(t, o) && (n[o] = t[o]); } return n; - }, Bo.apply(this, arguments); -}, Tt = function(n, t, e, r) { + }, jo.apply(this, arguments); +}, Pt = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -13500,10 +13500,10 @@ var Gd = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Hd = ( +}, Vd = ( /** @class */ function(n) { - Gd(t, n); + Hd(t, n); function t() { var r = n !== null && n.apply(this, arguments) || this; return r.allColumnFilters = /* @__PURE__ */ new Map(), r.activeAggregateFilters = [], r.activeColumnFilters = [], r.quickFilter = null, r.quickFilterParts = null, r.processingFilterChange = !1, r; @@ -13757,7 +13757,7 @@ var Gd = function() { }, t.prototype.cachedFilter = function(r) { return this.allColumnFilters.get(r.getColId()); }, t.prototype.createFilterInstance = function(r) { - var o = this, i = N.isRegistered(F.SetFilterModule) ? "agSetColumnFilter" : "agTextColumnFilter", s = r.getColDef(), a, l = Bo(Bo({}, this.createFilterParams(r, s)), { filterModifiedCallback: function() { + var o = this, i = N.isRegistered(F.SetFilterModule) ? "agSetColumnFilter" : "agTextColumnFilter", s = r.getColDef(), a, l = jo(jo({}, this.createFilterParams(r, s)), { filterModifiedCallback: function() { var p = { type: v.EVENT_FILTER_MODIFIED, column: r, @@ -13847,7 +13847,7 @@ var Gd = function() { var c = function(d) { var f = i.getFilterComponent(r, "NO_UI"); f != null && f.then(function(g) { - d(Pt(g)); + d(At(g)); }); }, p = { column: r, @@ -13891,58 +13891,23 @@ var Gd = function() { }; var e; return t.QUICK_FILTER_SEPARATOR = ` -`, Tt([ +`, Pt([ h("valueService") - ], t.prototype, "valueService", void 0), Tt([ + ], t.prototype, "valueService", void 0), Pt([ h("columnModel") - ], t.prototype, "columnModel", void 0), Tt([ + ], t.prototype, "columnModel", void 0), Pt([ h("rowModel") - ], t.prototype, "rowModel", void 0), Tt([ + ], t.prototype, "rowModel", void 0), Pt([ h("userComponentFactory") - ], t.prototype, "userComponentFactory", void 0), Tt([ + ], t.prototype, "userComponentFactory", void 0), Pt([ h("rowRenderer") - ], t.prototype, "rowRenderer", void 0), Tt([ + ], t.prototype, "rowRenderer", void 0), Pt([ b - ], t.prototype, "init", null), t = e = Tt([ + ], t.prototype, "init", null), t = e = Pt([ A("filterManager") ], t), t; }(T) ); -/** - * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue - * @version v29.3.5 - * @link https://www.ag-grid.com/ - * @license MIT - */ -var Vd = function() { - var n = function(t, e) { - return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { - r.__proto__ = o; - } || function(r, o) { - for (var i in o) - Object.prototype.hasOwnProperty.call(o, i) && (r[i] = o[i]); - }, n(t, e); - }; - return function(t, e) { - n(t, e); - function r() { - this.constructor = t; - } - t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); - }; -}(), os = ( - /** @class */ - function(n) { - Vd(t, n); - function t(e, r) { - var o = n.call(this, e) || this; - return o.ctrl = r, o; - } - return t.prototype.getCtrl = function() { - return this.ctrl; - }, t; - }(W) -); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v29.3.5 @@ -13965,7 +13930,42 @@ var Bd = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), Jr = function(n, t, e, r) { +}(), os = ( + /** @class */ + function(n) { + Bd(t, n); + function t(e, r) { + var o = n.call(this, e) || this; + return o.ctrl = r, o; + } + return t.prototype.getCtrl = function() { + return this.ctrl; + }, t; + }(W) +); +/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue + * @version v29.3.5 + * @link https://www.ag-grid.com/ + * @license MIT + */ +var Wd = function() { + var n = function(t, e) { + return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { + r.__proto__ = o; + } || function(r, o) { + for (var i in o) + Object.prototype.hasOwnProperty.call(o, i) && (r[i] = o[i]); + }, n(t, e); + }; + return function(t, e) { + n(t, e); + function r() { + this.constructor = t; + } + t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); + }; +}(), eo = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -13973,10 +13973,10 @@ var Bd = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Wd = ( +}, jd = ( /** @class */ function(n) { - Bd(t, n); + Wd(t, n); function t(e) { return n.call(this, t.TEMPLATE, e) || this; } @@ -14020,13 +14020,13 @@ var Bd = function() { - `, Jr([ + `, eo([ P("eFloatingFilterBody") - ], t.prototype, "eFloatingFilterBody", void 0), Jr([ + ], t.prototype, "eFloatingFilterBody", void 0), eo([ P("eButtonWrapper") - ], t.prototype, "eButtonWrapper", void 0), Jr([ + ], t.prototype, "eButtonWrapper", void 0), eo([ P("eButtonShowMainFilter") - ], t.prototype, "eButtonShowMainFilter", void 0), Jr([ + ], t.prototype, "eButtonShowMainFilter", void 0), eo([ b ], t.prototype, "postConstruct", null), t; }(os) @@ -14037,7 +14037,7 @@ var Bd = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var jd = function() { +var kd = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -14053,7 +14053,7 @@ var jd = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), kd = function(n, t, e, r) { +}(), Ud = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -14068,7 +14068,7 @@ var jd = function() { var is = ( /** @class */ function(n) { - jd(t, n); + kd(t, n); function t(e) { var r = n.call(this) || this; return r.view = e, r; @@ -14087,7 +14087,7 @@ var is = ( return o.indexOf(r) === -1 ? (K(function() { return console.warn("AG Grid: " + r + " is not valid for DOM Layout, valid values are 'normal', 'autoHeight', 'print'."); }, "warn about dom layout values"), "normal") : r; - }, kd([ + }, Ud([ b ], t.prototype, "postConstruct", null), t; }(T) @@ -14098,7 +14098,7 @@ var is = ( * @link https://www.ag-grid.com/ * @license MIT */ -var Ud = function() { +var zd = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -14114,16 +14114,16 @@ var Ud = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), Wo = function() { - return Wo = Object.assign || function(n) { +}(), ko = function() { + return ko = Object.assign || function(n) { for (var t, e = 1, r = arguments.length; e < r; e++) { t = arguments[e]; for (var o in t) Object.prototype.hasOwnProperty.call(t, o) && (n[o] = t[o]); } return n; - }, Wo.apply(this, arguments); -}, ct = function(n, t, e, r) { + }, ko.apply(this, arguments); +}, pt = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -14131,10 +14131,10 @@ var Ud = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, zd = ( +}, Kd = ( /** @class */ function(n) { - Ud(t, n); + zd(t, n); function t(e) { var r = n.call(this) || this; return r.scrollLeft = -1, r.nextScrollTop = -1, r.scrollTop = -1, r.eBodyViewport = e, r.resetLastHScrollDebounced = Je(function() { @@ -14162,7 +14162,7 @@ var Ud = function() { var o = this.enableRtl ? e : -e, i = this.ctrlsService.getTopCenterRowContainerCtrl(), s = this.ctrlsService.getStickyTopCenterRowContainerCtrl(), a = this.ctrlsService.getBottomCenterRowContainerCtrl(), l = this.ctrlsService.getFakeHScrollComp(), u = this.ctrlsService.getHeaderRowContainerCtrl(); u.setHorizontalScroll(-o), a.setContainerTranslateX(o), i.setContainerTranslateX(o), s.setContainerTranslateX(o); var c = this.centerRowContainerCtrl.getViewportElement(), p = this.eLastHScroll === c, d = p ? l.getViewport() : this.centerRowContainerCtrl.getViewportElement(); - Fo(d, Math.abs(e), this.enableRtl); + Mo(d, Math.abs(e), this.enableRtl); } }, t.prototype.isControllingHScroll = function(e) { return this.eLastHScroll ? e === this.eLastHScroll : (this.eLastHScroll = e, !0); @@ -14176,7 +14176,7 @@ var Ud = function() { this.isControllingHScroll(e) && this.onHScrollCommon(e); }, t.prototype.onHScrollCommon = function(e) { var r = this.centerRowContainerCtrl.getViewportElement(), o = r.scrollLeft; - this.shouldBlockScrollUpdate("horizontal", o, !0) || (this.doHorizontalScroll(Math.round(Nr(e, this.enableRtl))), this.resetLastHScrollDebounced()); + this.shouldBlockScrollUpdate("horizontal", o, !0) || (this.doHorizontalScroll(Math.round(Hr(e, this.enableRtl))), this.resetLastHScrollDebounced()); }, t.prototype.onFakeVScroll = function() { var e = this.ctrlsService.getFakeVScrollComp().getViewport(); this.isControllingVScroll(e) && this.onVScrollCommon(e); @@ -14193,7 +14193,7 @@ var Ud = function() { this.gridOptionsService.is("suppressAnimationFrame") ? this.scrollGridIfNeeded() : this.animationFrameService.schedule(), this.resetLastVScrollDebounced(); } }, t.prototype.doHorizontalScroll = function(e) { - var r = this.ctrlsService.getFakeHScrollComp().getViewport(), o = Nr(r, this.enableRtl); + var r = this.ctrlsService.getFakeHScrollComp().getViewport(), o = Hr(r, this.enableRtl); this.scrollLeft === e && e === o || (this.scrollLeft = e, this.fireScrollEvent("horizontal"), this.horizontallyScrollHeaderCenterAndFloatingCenter(e), this.onHorizontalViewportChanged()); }, t.prototype.fireScrollEvent = function(e) { var r = this, o = { @@ -14203,17 +14203,17 @@ var Ud = function() { top: this.scrollTop }; this.eventService.dispatchEvent(o), window.clearTimeout(this.scrollTimer), this.scrollTimer = void 0, this.scrollTimer = window.setTimeout(function() { - var i = Wo(Wo({}, o), { type: v.EVENT_BODY_SCROLL_END }); + var i = ko(ko({}, o), { type: v.EVENT_BODY_SCROLL_END }); r.eventService.dispatchEvent(i); }, 100); }, t.prototype.shouldBlockScrollUpdate = function(e, r, o) { - return o === void 0 && (o = !1), o && !St() ? !1 : e === "vertical" ? this.shouldBlockVerticalScroll(r) : this.shouldBlockHorizontalScroll(r); + return o === void 0 && (o = !1), o && !_t() ? !1 : e === "vertical" ? this.shouldBlockVerticalScroll(r) : this.shouldBlockHorizontalScroll(r); }, t.prototype.shouldBlockVerticalScroll = function(e) { - var r = Br(this.eBodyViewport), o = this.eBodyViewport.scrollHeight; + var r = jr(this.eBodyViewport), o = this.eBodyViewport.scrollHeight; return e < 0 || e + r > o; }, t.prototype.shouldBlockHorizontalScroll = function(e) { var r = this.centerRowContainerCtrl.getCenterWidth(), o = this.centerRowContainerCtrl.getViewportElement().scrollWidth; - if (this.enableRtl && xr()) { + if (this.enableRtl && Gr()) { if (e > 0) return !0; } else if (e < 0) @@ -14230,7 +14230,7 @@ var Ud = function() { return e && (this.scrollTop = this.nextScrollTop, this.redrawRowsAfterScroll()), e; }, t.prototype.setHorizontalScrollPosition = function(e) { var r = 0, o = this.centerRowContainerCtrl.getViewportElement().scrollWidth - this.centerRowContainerCtrl.getCenterWidth(); - this.shouldBlockScrollUpdate("horizontal", e) && (this.enableRtl && xr() ? e = e > 0 ? 0 : o : e = Math.min(Math.max(e, r), o)), Fo(this.centerRowContainerCtrl.getViewportElement(), Math.abs(e), this.enableRtl), this.doHorizontalScroll(e); + this.shouldBlockScrollUpdate("horizontal", e) && (this.enableRtl && Gr() ? e = e > 0 ? 0 : o : e = Math.min(Math.max(e, r), o)), Mo(this.centerRowContainerCtrl.getViewportElement(), Math.abs(e), this.enableRtl), this.doHorizontalScroll(e); }, t.prototype.setVerticalScrollPosition = function(e) { this.eBodyViewport.scrollTop = e; }, t.prototype.getVScrollPosition = function() { @@ -14305,21 +14305,21 @@ var Ud = function() { }, t.prototype.getViewportBounds = function() { var e = this.centerRowContainerCtrl.getCenterWidth(), r = this.centerRowContainerCtrl.getCenterViewportScrollLeft(), o = r, i = e + r; return { start: o, end: i, width: e }; - }, ct([ + }, pt([ h("ctrlsService") - ], t.prototype, "ctrlsService", void 0), ct([ + ], t.prototype, "ctrlsService", void 0), pt([ h("animationFrameService") - ], t.prototype, "animationFrameService", void 0), ct([ + ], t.prototype, "animationFrameService", void 0), pt([ h("paginationProxy") - ], t.prototype, "paginationProxy", void 0), ct([ + ], t.prototype, "paginationProxy", void 0), pt([ h("rowModel") - ], t.prototype, "rowModel", void 0), ct([ + ], t.prototype, "rowModel", void 0), pt([ h("rowContainerHeightService") - ], t.prototype, "heightScaler", void 0), ct([ + ], t.prototype, "heightScaler", void 0), pt([ h("rowRenderer") - ], t.prototype, "rowRenderer", void 0), ct([ + ], t.prototype, "rowRenderer", void 0), pt([ h("columnModel") - ], t.prototype, "columnModel", void 0), ct([ + ], t.prototype, "columnModel", void 0), pt([ b ], t.prototype, "postConstruct", null), t; }(T) @@ -14330,7 +14330,7 @@ var Ud = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var Kd = ( +var $d = ( /** @class */ function() { function n(t) { @@ -14372,7 +14372,7 @@ var Kd = ( * @link https://www.ag-grid.com/ * @license MIT */ -var $d = function() { +var Yd = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -14405,7 +14405,7 @@ var $d = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Yd = function(n, t) { +}, qd = function(n, t) { var e = typeof Symbol == "function" && n[Symbol.iterator]; if (!e) return n; @@ -14424,14 +14424,14 @@ var $d = function() { } } return i; -}, qd = function() { +}, Qd = function() { for (var n = [], t = 0; t < arguments.length; t++) - n = n.concat(Yd(arguments[t])); + n = n.concat(qd(arguments[t])); return n; -}, Qd = ( +}, Xd = ( /** @class */ function(n) { - $d(t, n); + Yd(t, n); function t(e) { var r = n.call(this) || this; return r.isMultiRowDrag = !1, r.isGridSorted = !1, r.isGridFiltered = !1, r.isRowGroupActive = !1, r.eContainer = e, r; @@ -14446,7 +14446,7 @@ var $d = function() { r(); }), r(), this.ctrlsService.whenReady(function() { var o = e.ctrlsService.getGridBodyCtrl(); - e.autoScrollService = new Kd({ + e.autoScrollService = new $d({ scrollContainer: o.getBodyViewportElement(), scrollAxis: "y", getVerticalPosition: function() { @@ -14480,7 +14480,7 @@ var $d = function() { var r = this; if (!this.isFromThisGrid(e)) return e.dragItem.rowNodes || []; - var o = this.gridOptionsService.is("rowDragMultiRow"), i = qd(this.selectionService.getSelectedNodes()).sort(function(a, l) { + var o = this.gridOptionsService.is("rowDragMultiRow"), i = Qd(this.selectionService.getSelectedNodes()).sort(function(a, l) { return a.rowIndex == null || l.rowIndex == null ? 0 : r.getRowIndexNumber(a) - r.getRowIndexNumber(l); }), s = e.dragItem.rowNode; return o && i.indexOf(s) !== -1 ? (this.isMultiRowDrag = !0, i) : (this.isMultiRowDrag = !1, [s]); @@ -14506,14 +14506,14 @@ var $d = function() { }, t.prototype.getRowIndexNumber = function(e) { return parseInt(q(e.getRowIndexString().split("-")), 10); }, t.prototype.moveRowAndClearHighlight = function(e) { - var r = this, o = this.clientSideRowModel.getLastHighlightedRowNode(), i = o && o.highlighted === at.Below, s = this.mouseEventService.getNormalisedPosition(e).y, a = e.dragItem.rowNodes, l = i ? 1 : 0; + var r = this, o = this.clientSideRowModel.getLastHighlightedRowNode(), i = o && o.highlighted === lt.Below, s = this.mouseEventService.getNormalisedPosition(e).y, a = e.dragItem.rowNodes, l = i ? 1 : 0; if (this.isFromThisGrid(e)) a.forEach(function(p) { p.rowTop < s && (l -= 1); }), this.moveRows(a, s, l); else { var u = this.gridOptionsService.getRowIdFunc(), c = this.clientSideRowModel.getRowIndexAtPixel(s) + 1; - this.clientSideRowModel.getHighlightPosition(s) === at.Above && c--, this.clientSideRowModel.updateRowData({ + this.clientSideRowModel.getHighlightPosition(s) === lt.Above && c--, this.clientSideRowModel.updateRowData({ add: a.map(function(p) { return p.data; }).filter(function(p) { @@ -14589,10 +14589,10 @@ var $d = function() { i || (s = this.rowModel.getRowIndexAtPixel(o), a = this.rowModel.getRow(s)); var l; switch (r.vDirection) { - case rr.Down: + case ir.Down: l = "down"; break; - case rr.Up: + case ir.Up: l = "up"; break; default: @@ -14657,7 +14657,7 @@ var $d = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var Xd = function() { +var Jd = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -14681,14 +14681,14 @@ var Xd = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, or; +}, nr; (function(n) { n.ANIMATION_ON = "ag-row-animation", n.ANIMATION_OFF = "ag-row-no-animation"; -})(or || (or = {})); -var Hl = "ag-selectable", Vl = "ag-force-vertical-scroll", Jd = "ag-column-moving", Zd = ( +})(nr || (nr = {})); +var Vl = "ag-selectable", Bl = "ag-force-vertical-scroll", Zd = "ag-column-moving", eh = ( /** @class */ function(n) { - Xd(t, n); + Jd(t, n); function t() { var e = n !== null && n.apply(this, arguments) || this; return e.stickyTopHeight = 0, e; @@ -14698,7 +14698,7 @@ var Hl = "ag-selectable", Vl = "ag-force-vertical-scroll", Jd = "ag-column-movin }, t.prototype.getBodyViewportElement = function() { return this.eBodyViewport; }, t.prototype.setComp = function(e, r, o, i, s, a) { - this.comp = e, this.eGridBody = r, this.eBodyViewport = o, this.eTop = i, this.eBottom = s, this.eStickyTop = a, this.setCellTextSelection(this.gridOptionsService.is("enableCellTextSelection")), this.createManagedBean(new is(this.comp)), this.bodyScrollFeature = this.createManagedBean(new zd(this.eBodyViewport)), this.addRowDragListener(), this.setupRowAnimationCssClass(), this.addEventListeners(), this.addFocusListeners([i, o, s, a]), this.onGridColumnsChanged(), this.addBodyViewportListener(), this.setFloatingHeights(), this.disableBrowserDragging(), this.addStopEditingWhenGridLosesFocus(), this.ctrlsService.registerGridBodyCtrl(this); + this.comp = e, this.eGridBody = r, this.eBodyViewport = o, this.eTop = i, this.eBottom = s, this.eStickyTop = a, this.setCellTextSelection(this.gridOptionsService.is("enableCellTextSelection")), this.createManagedBean(new is(this.comp)), this.bodyScrollFeature = this.createManagedBean(new Kd(this.eBodyViewport)), this.addRowDragListener(), this.setupRowAnimationCssClass(), this.addEventListeners(), this.addFocusListeners([i, o, s, a]), this.onGridColumnsChanged(), this.addBodyViewportListener(), this.setFloatingHeights(), this.disableBrowserDragging(), this.addStopEditingWhenGridLosesFocus(), this.ctrlsService.registerGridBodyCtrl(this); }, t.prototype.getComp = function() { return this.comp; }, t.prototype.addEventListeners = function() { @@ -14707,23 +14707,23 @@ var Hl = "ag-selectable", Vl = "ag-force-vertical-scroll", Jd = "ag-column-movin var r = this; e.forEach(function(o) { r.addManagedListener(o, "focusin", function(i) { - var s = i.target, a = Dt(s, "ag-root", o); + var s = i.target, a = Ft(s, "ag-root", o); o.classList.toggle("ag-has-focus", !a); }), r.addManagedListener(o, "focusout", function(i) { - var s = i.target, a = i.relatedTarget, l = o.contains(a), u = Dt(a, "ag-root", o), c = Dt(s, "ag-root", o); + var s = i.target, a = i.relatedTarget, l = o.contains(a), u = Ft(a, "ag-root", o), c = Ft(s, "ag-root", o); c || (!l || u) && o.classList.remove("ag-has-focus"); }); }); }, t.prototype.setColumnMovingCss = function(e) { - this.comp.setColumnMovingCss(Jd, e); + this.comp.setColumnMovingCss(Zd, e); }, t.prototype.setCellTextSelection = function(e) { e === void 0 && (e = !1); - var r = e ? Hl : null; + var r = e ? Vl : null; this.comp.setCellSelectableCss(r, e); }, t.prototype.onScrollVisibilityChanged = function() { var e = this.scrollVisibleService.isVerticalScrollShowing(); this.setVerticalScrollPaddingVisible(e), this.setStickyTopWidth(e); - var r = e && this.gridOptionsService.getScrollbarWidth() || 0, o = Yt() ? 16 : 0, i = "calc(100% + " + (r + o) + "px)"; + var r = e && this.gridOptionsService.getScrollbarWidth() || 0, o = qt() ? 16 : 0, i = "calc(100% + " + (r + o) + "px)"; this.comp.setBodyViewportWidth(i); }, t.prototype.onGridColumnsChanged = function() { var e = this.columnModel.getAllGridColumns(); @@ -14738,7 +14738,7 @@ var Hl = "ag-selectable", Vl = "ag-force-vertical-scroll", Jd = "ag-column-movin if (this.gridOptionsService.is("stopEditingWhenCellsLoseFocus")) { var r = function(i) { var s = i.relatedTarget; - if (Ao(s) === null) { + if (Lo(s) === null) { e.rowRenderer.stopEditing(); return; } @@ -14769,11 +14769,11 @@ var Hl = "ag-selectable", Vl = "ag-force-vertical-scroll", Jd = "ag-column-movin var r = e ? "scroll" : "hidden"; this.comp.setPinnedTopBottomOverflowY(r); }, t.prototype.isVerticalScrollShowing = function() { - var e = this.gridOptionsService.is("alwaysShowVerticalScroll"), r = e ? Vl : null, o = this.gridOptionsService.isDomLayout("normal"); - return this.comp.setAlwaysVerticalScrollClass(r, e), e || o && al(this.eBodyViewport); + var e = this.gridOptionsService.is("alwaysShowVerticalScroll"), r = e ? Bl : null, o = this.gridOptionsService.isDomLayout("normal"); + return this.comp.setAlwaysVerticalScrollClass(r, e), e || o && ll(this.eBodyViewport); }, t.prototype.setupRowAnimationCssClass = function() { var e = this, r = function() { - var o = e.gridOptionsService.isAnimateRows() && !e.rowContainerHeightService.isStretching(), i = o ? or.ANIMATION_ON : or.ANIMATION_OFF; + var o = e.gridOptionsService.isAnimateRows() && !e.rowContainerHeightService.isStretching(), i = o ? nr.ANIMATION_ON : nr.ANIMATION_OFF; e.comp.setRowAnimationCssOnBodyViewport(i, o); }; r(), this.addManagedListener(this.eventService, v.EVENT_HEIGHT_SCALE_CHANGED, r), this.addManagedPropertyListener("animateRows", r); @@ -14803,7 +14803,7 @@ var Hl = "ag-selectable", Vl = "ag-force-vertical-scroll", Jd = "ag-column-movin } } }, t.prototype.mockContextMenuForIPad = function(e) { - if (St()) { + if (_t()) { var r = new De(this.eBodyViewport), o = function(i) { e(void 0, i.touchStart, i.touchEvent); }; @@ -14821,7 +14821,7 @@ var Hl = "ag-selectable", Vl = "ag-force-vertical-scroll", Jd = "ag-column-movin var r = this.eBodyViewport.scrollTop; return this.bodyScrollFeature.setVerticalScrollPosition(r + e), this.eBodyViewport.scrollTop - r; }, t.prototype.addRowDragListener = function() { - this.rowDragFeature = this.createManagedBean(new Qd(this.eBodyViewport)), this.dragAndDropService.addDropTarget(this.rowDragFeature); + this.rowDragFeature = this.createManagedBean(new Xd(this.eBodyViewport)), this.dragAndDropService.addDropTarget(this.rowDragFeature); }, t.prototype.getRowDragFeature = function() { return this.rowDragFeature; }, t.prototype.onPinnedRowDataChanged = function() { @@ -14848,7 +14848,7 @@ var Hl = "ag-selectable", Vl = "ag-force-vertical-scroll", Jd = "ag-column-movin var e = this.ctrlsService.getGridHeaderCtrl(), r = e.getHeaderHeight(), o = this.pinnedRowModel.getPinnedTopTotalHeight(), i = 0; r > 0 && (i += r + 1), o > 0 && (i += o + 1), this.comp.setStickyTopTop(i + "px"); }, t.prototype.sizeColumnsToFit = function(e, r) { - var o = this, i = this.isVerticalScrollShowing(), s = i ? this.gridOptionsService.getScrollbarWidth() : 0, a = ti(this.eGridBody), l = a - s; + var o = this, i = this.isVerticalScrollShowing(), s = i ? this.gridOptionsService.getScrollbarWidth() : 0, a = ri(this.eGridBody), l = a - s; if (l > 0) { this.columnModel.sizeColumnsToFit(l, "sizeColumnsToFit", !1, e); return; @@ -14897,21 +14897,21 @@ var Hl = "ag-selectable", Vl = "ag-force-vertical-scroll", Jd = "ag-column-movin * @link https://www.ag-grid.com/ * @license MIT */ -var jo; +var Uo; (function(n) { n[n.FILL = 0] = "FILL", n[n.RANGE = 1] = "RANGE"; -})(jo || (jo = {})); -var zt; +})(Uo || (Uo = {})); +var Kt; (function(n) { n[n.VALUE = 0] = "VALUE", n[n.DIMENSION = 1] = "DIMENSION"; -})(zt || (zt = {})); +})(Kt || (Kt = {})); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v29.3.5 * @link https://www.ag-grid.com/ * @license MIT */ -var pr = "ag-cell-range-selected", eh = "ag-cell-range-chart", th = "ag-cell-range-single-cell", rh = "ag-cell-range-chart-category", oh = "ag-cell-range-handle", ih = "ag-cell-range-top", nh = "ag-cell-range-right", sh = "ag-cell-range-bottom", ah = "ag-cell-range-left", lh = ( +var hr = "ag-cell-range-selected", th = "ag-cell-range-chart", rh = "ag-cell-range-single-cell", oh = "ag-cell-range-chart-category", ih = "ag-cell-range-handle", nh = "ag-cell-range-top", sh = "ag-cell-range-right", ah = "ag-cell-range-bottom", lh = "ag-cell-range-left", uh = ( /** @class */ function() { function n(t, e) { @@ -14920,10 +14920,10 @@ var pr = "ag-cell-range-selected", eh = "ag-cell-range-chart", th = "ag-cell-ran return n.prototype.setComp = function(t, e) { this.cellComp = t, this.eGui = e, this.onRangeSelectionChanged(); }, n.prototype.onRangeSelectionChanged = function() { - this.cellComp && (this.rangeCount = this.beans.rangeService.getCellRangeCount(this.cellCtrl.getCellPosition()), this.hasChartRange = this.getHasChartRange(), this.cellComp.addOrRemoveCssClass(pr, this.rangeCount !== 0), this.cellComp.addOrRemoveCssClass(pr + "-1", this.rangeCount === 1), this.cellComp.addOrRemoveCssClass(pr + "-2", this.rangeCount === 2), this.cellComp.addOrRemoveCssClass(pr + "-3", this.rangeCount === 3), this.cellComp.addOrRemoveCssClass(pr + "-4", this.rangeCount >= 4), this.cellComp.addOrRemoveCssClass(eh, this.hasChartRange), Jt(this.eGui, this.rangeCount > 0 ? !0 : void 0), this.cellComp.addOrRemoveCssClass(th, this.isSingleCell()), this.updateRangeBorders(), this.refreshHandle()); + this.cellComp && (this.rangeCount = this.beans.rangeService.getCellRangeCount(this.cellCtrl.getCellPosition()), this.hasChartRange = this.getHasChartRange(), this.cellComp.addOrRemoveCssClass(hr, this.rangeCount !== 0), this.cellComp.addOrRemoveCssClass(hr + "-1", this.rangeCount === 1), this.cellComp.addOrRemoveCssClass(hr + "-2", this.rangeCount === 2), this.cellComp.addOrRemoveCssClass(hr + "-3", this.rangeCount === 3), this.cellComp.addOrRemoveCssClass(hr + "-4", this.rangeCount >= 4), this.cellComp.addOrRemoveCssClass(th, this.hasChartRange), er(this.eGui, this.rangeCount > 0 ? !0 : void 0), this.cellComp.addOrRemoveCssClass(rh, this.isSingleCell()), this.updateRangeBorders(), this.refreshHandle()); }, n.prototype.updateRangeBorders = function() { var t = this.getRangeBorders(), e = this.isSingleCell(), r = !e && t.top, o = !e && t.right, i = !e && t.bottom, s = !e && t.left; - this.cellComp.addOrRemoveCssClass(ih, r), this.cellComp.addOrRemoveCssClass(nh, o), this.cellComp.addOrRemoveCssClass(sh, i), this.cellComp.addOrRemoveCssClass(ah, s); + this.cellComp.addOrRemoveCssClass(nh, r), this.cellComp.addOrRemoveCssClass(sh, o), this.cellComp.addOrRemoveCssClass(ah, i), this.cellComp.addOrRemoveCssClass(lh, s); }, n.prototype.isSingleCell = function() { var t = this.beans.rangeService; return this.rangeCount === 1 && t && !t.isMoreThanOneCell(); @@ -14933,7 +14933,7 @@ var pr = "ag-cell-range-selected", eh = "ag-cell-range-chart", th = "ag-cell-ran return !1; var e = t.getCellRanges(); return e.length > 0 && e.every(function(r) { - return He([zt.DIMENSION, zt.VALUE], r.type); + return He([Kt.DIMENSION, Kt.VALUE], r.type); }); }, n.prototype.updateRangeBordersIfRangeCount = function() { this.rangeCount > 0 && (this.updateRangeBorders(), this.refreshHandle()); @@ -14952,7 +14952,7 @@ var pr = "ag-cell-range-selected", eh = "ag-cell-range-chart", th = "ag-cell-ran }, n.prototype.refreshHandle = function() { if (this.beans.rangeService) { var t = this.shouldHaveSelectionHandle(); - this.selectionHandle && !t && (this.selectionHandle = this.beans.context.destroyBean(this.selectionHandle)), t && this.addSelectionHandle(), this.cellComp.addOrRemoveCssClass(oh, !!this.selectionHandle); + this.selectionHandle && !t && (this.selectionHandle = this.beans.context.destroyBean(this.selectionHandle)), t && this.addSelectionHandle(), this.cellComp.addOrRemoveCssClass(ih, !!this.selectionHandle); } }, n.prototype.shouldHaveSelectionHandle = function() { var t = this.beans, e = t.gridOptionsService, r = t.rangeService, o = r.getCellRanges(), i = o.length; @@ -14960,12 +14960,12 @@ var pr = "ag-cell-range-selected", eh = "ag-cell-range-chart", th = "ag-cell-ran return !1; var s = q(o), a = this.cellCtrl.getCellPosition(), l = e.is("enableFillHandle") && !this.cellCtrl.isSuppressFillHandle(), u = e.is("enableRangeHandle"), c = i === 1 && !this.cellCtrl.isEditing() && (l || u); if (this.hasChartRange) { - var p = o[0].type === zt.DIMENSION, d = p && r.isCellInSpecificRange(a, o[0]); - this.cellComp.addOrRemoveCssClass(rh, d), c = s.type === zt.VALUE; + var p = o[0].type === Kt.DIMENSION, d = p && r.isCellInSpecificRange(a, o[0]); + this.cellComp.addOrRemoveCssClass(oh, d), c = s.type === Kt.VALUE; } return c && s.endRow != null && r.isContiguousRange(s) && r.isBottomRightCell(s, a); }, n.prototype.addSelectionHandle = function() { - var t = this.beans, e = t.gridOptionsService, r = t.rangeService, o = q(r.getCellRanges()).type, i = e.is("enableFillHandle") && x(o), s = i ? jo.FILL : jo.RANGE; + var t = this.beans, e = t.gridOptionsService, r = t.rangeService, o = q(r.getCellRanges()).type, i = e.is("enableFillHandle") && x(o), s = i ? Uo.FILL : Uo.RANGE; this.selectionHandle && this.selectionHandle.getType() !== s && (this.selectionHandle = this.beans.context.destroyBean(this.selectionHandle)), this.selectionHandle || (this.selectionHandle = this.beans.selectionHandleFactory.createSelectionHandle(s)), this.selectionHandle.refresh(this.cellCtrl); }, n.prototype.destroy = function() { this.beans.context.destroyBean(this.selectionHandle); @@ -14978,7 +14978,7 @@ var pr = "ag-cell-range-selected", eh = "ag-cell-range-chart", th = "ag-cell-ran * @link https://www.ag-grid.com/ * @license MIT */ -var uh = function() { +var ch = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -14994,10 +14994,10 @@ var uh = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), ch = ( +}(), ph = ( /** @class */ function(n) { - uh(t, n); + ch(t, n); function t(e, r) { var o = n.call(this) || this; return o.cellCtrl = e, o.beans = r, o.column = e.getColumn(), o.rowNode = e.getRowNode(), o.setupColSpan(), o.setupRowSpan(), o; @@ -15008,7 +15008,7 @@ var uh = function() { this.eGui = e, this.onLeftChanged(), this.onWidthChanged(), this.applyRowSpan(); }, t.prototype.onDisplayColumnsChanged = function() { var e = this.getColSpanningList(); - gt(this.colsSpanning, e) || (this.colsSpanning = e, this.onWidthChanged(), this.onLeftChanged()); + yt(this.colsSpanning, e) || (this.colsSpanning = e, this.onWidthChanged(), this.onLeftChanged()); }, t.prototype.setupColSpan = function() { this.column.getColDef().colSpan != null && (this.colsSpanning = this.getColSpanningList(), this.addManagedListener(this.beans.eventService, v.EVENT_DISPLAYED_COLUMNS_CHANGED, this.onDisplayColumnsChanged.bind(this)), this.addManagedListener(this.beans.eventService, v.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED, this.onWidthChanged.bind(this))); }, t.prototype.onWidthChanged = function() { @@ -15061,7 +15061,7 @@ var uh = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var ph = function() { +var dh = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -15077,10 +15077,10 @@ var ph = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), dh = ( +}(), hh = ( /** @class */ function(n) { - ph(t, n); + dh(t, n); function t(e, r) { var o = n.call(this) || this; return o.staticClasses = [], o.cellCtrl = e, o.beans = r, o.column = e.getColumn(), o.rowNode = e.getRowNode(), o; @@ -15153,7 +15153,7 @@ var ph = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var hh = function() { +var fh = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -15172,7 +15172,7 @@ var hh = function() { }(), ns = ( /** @class */ function(n) { - hh(t, n); + fh(t, n); function t(e, r) { var o = n.call(this) || this; return o.ctrl = e, o.beans = r, o; @@ -15231,7 +15231,7 @@ var V = function(n, t, e, r) { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Bl = ( +}, Wl = ( /** @class */ function() { function n() { @@ -15339,7 +15339,7 @@ var V = function(n, t, e, r) { * @link https://www.ag-grid.com/ * @license MIT */ -var fh = function() { +var vh = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -15355,10 +15355,10 @@ var fh = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), vh = ( +}(), gh = ( /** @class */ function(n) { - fh(t, n); + vh(t, n); function t(e, r, o) { var i = n.call(this) || this; return i.cellCtrl = e, i.beans = r, i.column = o, i; @@ -15399,7 +15399,7 @@ var fh = function() { var c = (s.is("singleClickEdit") || u.singleClickEdit) && !s.is("suppressClickEdit"); c && this.cellCtrl.startRowOrCellEdit(); }, t.prototype.isDoubleClickOnIPad = function() { - if (!St() || Dn("dblclick")) + if (!_t() || Dn("dblclick")) return !1; var e = (/* @__PURE__ */ new Date()).getTime(), r = e - this.lastIPadMouseClickEvent < 200; return this.lastIPadMouseClickEvent = e, r; @@ -15440,7 +15440,7 @@ var fh = function() { } return !1; }, t.prototype.containsWidget = function(e) { - return Dt(e, "ag-selection-checkbox", 3); + return Ft(e, "ag-selection-checkbox", 3); }, t.prototype.onMouseOut = function(e) { if (!this.mouseStayingInsideCell(e)) { var r = this.cellCtrl.createEvent(e, v.EVENT_CELL_MOUSE_OUT); @@ -15458,7 +15458,7 @@ var fh = function() { return o && i; }, t.prototype.destroy = function() { }, t; - }(Bl) + }(Wl) ); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue @@ -15466,7 +15466,7 @@ var fh = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var gh = function() { +var yh = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -15482,10 +15482,10 @@ var gh = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), yh = ( +}(), Ch = ( /** @class */ function(n) { - gh(t, n); + yh(t, n); function t(e, r, o, i, s) { var a = n.call(this) || this; return a.cellCtrl = e, a.beans = r, a.rowNode = i, a.rowCtrl = s, a; @@ -15529,7 +15529,7 @@ var gh = function() { this.beans.navigationService.onTabKeyDown(this.cellCtrl, e); }, t.prototype.onBackspaceOrDeleteKeyPressed = function(e, r) { var o = this, i = o.cellCtrl, s = o.beans, a = o.rowNode, l = s.gridOptionsService, u = s.rangeService, c = s.eventService; - i.isEditing() || (c.dispatchEvent({ type: v.EVENT_KEY_SHORTCUT_CHANGED_CELL_START }), fl(e, l.is("enableCellEditingOnBackspace")) ? u && l.isEnableRangeSelection() ? u.clearCellRangeCellValues() : i.isCellEditable() && a.setDataValue(i.getColumn(), null, "cellClear") : i.startRowOrCellEdit(e, void 0, r), c.dispatchEvent({ type: v.EVENT_KEY_SHORTCUT_CHANGED_CELL_END })); + i.isEditing() || (c.dispatchEvent({ type: v.EVENT_KEY_SHORTCUT_CHANGED_CELL_START }), vl(e, l.is("enableCellEditingOnBackspace")) ? u && l.isEnableRangeSelection() ? u.clearCellRangeCellValues() : i.isCellEditable() && a.setDataValue(i.getColumn(), null, "cellClear") : i.startRowOrCellEdit(e, void 0, r), c.dispatchEvent({ type: v.EVENT_KEY_SHORTCUT_CHANGED_CELL_END })); }, t.prototype.onEnterKeyDown = function(e) { this.cellCtrl.isEditing() || this.rowCtrl.isEditing() ? this.cellCtrl.stopEditingAndFocus() : this.beans.gridOptionsService.is("enterMovesDown") ? this.beans.navigationService.navigateToNextCell(null, _.DOWN, this.cellCtrl.getCellPosition(), !1) : (this.cellCtrl.startRowOrCellEdit(_.ENTER, void 0, e), this.cellCtrl.isEditing() && e.preventDefault()); }, t.prototype.onF2KeyDown = function(e) { @@ -15540,7 +15540,7 @@ var gh = function() { var r = e.target, o = r !== this.eGui; if (!(o || this.cellCtrl.isEditing())) { var i = String.fromCharCode(e.charCode); - i === " " ? this.onSpaceKeyPressed(e) : pl(e) && (this.cellCtrl.startRowOrCellEdit(null, i, e), e.preventDefault()); + i === " " ? this.onSpaceKeyPressed(e) : dl(e) && (this.cellCtrl.startRowOrCellEdit(null, i, e), e.preventDefault()); } }, t.prototype.onSpaceKeyPressed = function(e) { var r = this.beans.gridOptionsService; @@ -15575,7 +15575,7 @@ var gh = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var Ch = function() { +var mh = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -15591,7 +15591,7 @@ var Ch = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), mh = function(n, t, e, r) { +}(), wh = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -15599,10 +15599,10 @@ var Ch = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, wh = ( +}, Sh = ( /** @class */ function(n) { - Ch(t, n); + mh(t, n); function t(e, r, o, i) { var s = n.call(this, '
') || this; return s.rowNode = e, s.column = r, s.beans = o, s.eCell = i, s; @@ -15638,7 +15638,7 @@ var Ch = function() { }, t.prototype.checkVisibility = function() { var e = this.column.isDndSource(this.rowNode); this.setDisplayed(e); - }, mh([ + }, wh([ b ], t.prototype, "postConstruct", null), t; }(W) @@ -15649,7 +15649,7 @@ var Ch = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var Sh = function() { +var Eh = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -15665,40 +15665,40 @@ var Sh = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), ko = function() { - return ko = Object.assign || function(n) { +}(), zo = function() { + return zo = Object.assign || function(n) { for (var t, e = 1, r = arguments.length; e < r; e++) { t = arguments[e]; for (var o in t) Object.prototype.hasOwnProperty.call(t, o) && (n[o] = t[o]); } return n; - }, ko.apply(this, arguments); -}, Eh = "ag-cell", _h = "ag-cell-auto-height", Rh = "ag-cell-normal-height", Oh = "ag-cell-focus", Th = "ag-cell-first-right-pinned", bh = "ag-cell-last-left-pinned", Ph = "ag-cell-not-inline-editing", Dh = "ag-column-hover", Ah = "ag-cell-wrap-text", Fh = 0, Ft = ( + }, zo.apply(this, arguments); +}, _h = "ag-cell", Rh = "ag-cell-auto-height", Oh = "ag-cell-normal-height", Th = "ag-cell-focus", bh = "ag-cell-first-right-pinned", Ph = "ag-cell-last-left-pinned", Dh = "ag-cell-not-inline-editing", Ah = "ag-column-hover", Fh = "ag-cell-wrap-text", Lh = 0, Mt = ( /** @class */ function(n) { - Sh(t, n); + Eh(t, n); function t(e, r, o, i) { var s = n.call(this) || this; - return s.cellRangeFeature = null, s.cellPositionFeature = null, s.cellCustomStyleFeature = null, s.tooltipFeature = null, s.cellMouseListenerFeature = null, s.cellKeyboardListenerFeature = null, s.suppressRefreshCell = !1, s.onCellCompAttachedFuncs = [], s.column = e, s.rowNode = r, s.beans = o, s.rowCtrl = i, s.instanceId = e.getId() + "-" + Fh++, s.createCellPosition(), s.addFeatures(), s; + return s.cellRangeFeature = null, s.cellPositionFeature = null, s.cellCustomStyleFeature = null, s.tooltipFeature = null, s.cellMouseListenerFeature = null, s.cellKeyboardListenerFeature = null, s.suppressRefreshCell = !1, s.onCellCompAttachedFuncs = [], s.column = e, s.rowNode = r, s.beans = o, s.rowCtrl = i, s.instanceId = e.getId() + "-" + Lh++, s.createCellPosition(), s.addFeatures(), s; } return t.prototype.addFeatures = function() { var e = this; - this.cellPositionFeature = new ch(this, this.beans), this.addDestroyFunc(function() { + this.cellPositionFeature = new ph(this, this.beans), this.addDestroyFunc(function() { var o; (o = e.cellPositionFeature) === null || o === void 0 || o.destroy(), e.cellPositionFeature = null; - }), this.cellCustomStyleFeature = new dh(this, this.beans), this.addDestroyFunc(function() { + }), this.cellCustomStyleFeature = new hh(this, this.beans), this.addDestroyFunc(function() { var o; (o = e.cellCustomStyleFeature) === null || o === void 0 || o.destroy(), e.cellCustomStyleFeature = null; - }), this.cellMouseListenerFeature = new vh(this, this.beans, this.column), this.addDestroyFunc(function() { + }), this.cellMouseListenerFeature = new gh(this, this.beans, this.column), this.addDestroyFunc(function() { var o; (o = e.cellMouseListenerFeature) === null || o === void 0 || o.destroy(), e.cellMouseListenerFeature = null; - }), this.cellKeyboardListenerFeature = new yh(this, this.beans, this.column, this.rowNode, this.rowCtrl), this.addDestroyFunc(function() { + }), this.cellKeyboardListenerFeature = new Ch(this, this.beans, this.column, this.rowNode, this.rowCtrl), this.addDestroyFunc(function() { var o; (o = e.cellKeyboardListenerFeature) === null || o === void 0 || o.destroy(), e.cellKeyboardListenerFeature = null; }); var r = this.beans.rangeService && this.beans.gridOptionsService.isEnableRangeSelection(); - r && (this.cellRangeFeature = new lh(this.beans, this), this.addDestroyFunc(function() { + r && (this.cellRangeFeature = new uh(this.beans, this), this.addDestroyFunc(function() { var o; (o = e.cellRangeFeature) === null || o === void 0 || o.destroy(), e.cellRangeFeature = null; })), this.column.isTooltipEnabled() && this.addTooltipFeature(); @@ -15706,7 +15706,7 @@ var Sh = function() { var e = this, r = function() { var i = e.column.getColDef(), s = e.rowNode.data; if (i.tooltipField && O(s)) - return To(s, i.tooltipField, e.column.isTooltipFieldContainsDots()); + return Po(s, i.tooltipField, e.column.isTooltipFieldContainsDots()); var a = i.tooltipValueGetter; return a ? a({ location: "cell", @@ -15762,7 +15762,7 @@ var Sh = function() { if (this.column.isAutoHeight()) { var o = e.parentElement, i = this.beans.gridOptionsService.getRowHeightForNode(this.rowNode).height, s = function(u) { if (!r.editing && r.isAlive()) { - var c = Nt(o), p = c.paddingTop, d = c.paddingBottom, f = c.borderBottomWidth, g = c.borderTopWidth, y = p + d + f + g, C = e.offsetHeight, m = C + y; + var c = Gt(o), p = c.paddingTop, d = c.paddingBottom, f = c.borderBottomWidth, g = c.borderTopWidth, y = p + d + f + g, C = e.offsetHeight, m = C + y; if (u < 5) { var w = r.beans.gridOptionsService.getDocument(), E = !w || !w.contains(e), R = m == 0; if (E || R) { @@ -15849,7 +15849,7 @@ var Sh = function() { var r = this.takeValueFromCellEditor(e), o = r.newValue, i = r.newValueExists, s = this.rowNode.getValueFromValueService(this.column), a = !1; return i && (a = this.saveNewValue(s, o)), this.setEditing(!1), this.cellComp.setEditDetails(), this.updateAndFormatValue(), this.refreshCell({ forceRefresh: !0, suppressFlash: !0 }), this.dispatchEditingStoppedEvent(s, o, !e && !!a), a; }, t.prototype.dispatchEditingStoppedEvent = function(e, r, o) { - var i = ko(ko({}, this.createEvent(null, v.EVENT_CELL_EDITING_STOPPED)), { + var i = zo(zo({}, this.createEvent(null, v.EVENT_CELL_EDITING_STOPPED)), { oldValue: e, newValue: r, valueChanged: o @@ -16082,17 +16082,17 @@ var Sh = function() { }, t.prototype.onFirstRightPinnedChanged = function() { if (this.cellComp) { var e = this.column.isFirstRightPinned(); - this.cellComp.addOrRemoveCssClass(Th, e); + this.cellComp.addOrRemoveCssClass(bh, e); } }, t.prototype.onLastLeftPinnedChanged = function() { if (this.cellComp) { var e = this.column.isLastLeftPinned(); - this.cellComp.addOrRemoveCssClass(bh, e); + this.cellComp.addOrRemoveCssClass(Ph, e); } }, t.prototype.onCellFocused = function(e) { if (!(!this.cellComp || this.beans.gridOptionsService.is("suppressCellFocus"))) { var r = this.beans.focusService.isCellFocused(this.cellPosition); - if (this.cellComp.addOrRemoveCssClass(Oh, r), r && e && e.forceBrowserFocus) { + if (this.cellComp.addOrRemoveCssClass(Th, r), r && e && e.forceBrowserFocus) { var o = this.cellComp.getFocusableElement(); o.focus({ preventScroll: !!e.preventScrollOnBrowserFocus }); } @@ -16102,23 +16102,23 @@ var Sh = function() { }, t.prototype.createCellPosition = function() { this.cellPosition = { rowIndex: this.rowNode.rowIndex, - rowPinned: Ct(this.rowNode.rowPinned), + rowPinned: mt(this.rowNode.rowPinned), column: this.column }; }, t.prototype.applyStaticCssClasses = function() { - this.cellComp.addOrRemoveCssClass(Eh, !0), this.cellComp.addOrRemoveCssClass(Ph, !0); + this.cellComp.addOrRemoveCssClass(_h, !0), this.cellComp.addOrRemoveCssClass(Dh, !0); var e = this.column.isAutoHeight() == !0; - this.cellComp.addOrRemoveCssClass(_h, e), this.cellComp.addOrRemoveCssClass(Rh, !e); + this.cellComp.addOrRemoveCssClass(Rh, e), this.cellComp.addOrRemoveCssClass(Oh, !e); }, t.prototype.onColumnHover = function() { if (this.cellComp && this.beans.gridOptionsService.is("columnHoverHighlight")) { var e = this.beans.columnHoverService.isHovered(this.column); - this.cellComp.addOrRemoveCssClass(Dh, e); + this.cellComp.addOrRemoveCssClass(Ah, e); } }, t.prototype.onColDefChanged = function() { this.cellComp && (this.setWrapText(), this.editing || this.refreshCell({ forceRefresh: !0, suppressFlash: !0 })); }, t.prototype.setWrapText = function() { var e = this.column.getColDef().wrapText == !0; - this.cellComp.addOrRemoveCssClass(Ah, e); + this.cellComp.addOrRemoveCssClass(Fh, e); }, t.prototype.dispatchCellContextMenuEvent = function(e) { var r = this.column.getColDef(), o = this.createEvent(e, v.EVENT_CELL_CONTEXT_MENU); this.beans.eventService.dispatchEvent(o), r.onCellContextMenu && window.setTimeout(function() { @@ -16131,10 +16131,10 @@ var Sh = function() { }, t.prototype.destroy = function() { this.onCellCompAttachedFuncs = [], n.prototype.destroy.call(this); }, t.prototype.createSelectionCheckbox = function() { - var e = new Nl(); + var e = new Gl(); return this.beans.context.createBean(e), e.init({ rowNode: this.rowNode, column: this.column }), e; }, t.prototype.createDndSource = function() { - var e = new wh(this.rowNode, this.column, this.beans, this.eGui); + var e = new Sh(this.rowNode, this.column, this.beans, this.eGui); return this.beans.context.createBean(e), e; }, t.prototype.registerRowDragger = function(e, r, o) { var i = this; @@ -16162,7 +16162,7 @@ var Sh = function() { return; } } - var u = new Go(function() { + var u = new Vo(function() { return i.value; }, this.rowNode, this.column, e, r, o); return this.beans.context.createBean(u), u; @@ -16175,7 +16175,7 @@ var Sh = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var Lh = function() { +var Mh = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -16191,7 +16191,7 @@ var Lh = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), Mh = function(n) { +}(), Ih = function(n) { var t = typeof Symbol == "function" && Symbol.iterator, e = t && n[t], r = 0; if (e) return e.call(n); @@ -16202,7 +16202,7 @@ var Lh = function() { } }; throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined."); -}, Ih = function(n, t) { +}, xh = function(n, t) { var e = typeof Symbol == "function" && n[Symbol.iterator]; if (!e) return n; @@ -16221,18 +16221,18 @@ var Lh = function() { } } return i; -}, xh = function() { +}, Nh = function() { for (var n = [], t = 0; t < arguments.length; t++) - n = n.concat(Ih(arguments[t])); + n = n.concat(xh(arguments[t])); return n; }, _e; (function(n) { n.Normal = "Normal", n.FullWidth = "FullWidth", n.FullWidthLoading = "FullWidthLoading", n.FullWidthGroup = "FullWidthGroup", n.FullWidthDetail = "FullWidthDetail"; })(_e || (_e = {})); -var Nh = 0, Lt = ( +var Gh = 0, It = ( /** @class */ function(n) { - Lh(t, n); + Mh(t, n); function t(e, r, o, i, s) { var a = n.call(this) || this; return a.allRowGuis = [], a.active = !0, a.centerCellCtrls = { list: [], map: {} }, a.leftCellCtrls = { list: [], map: {} }, a.rightCellCtrls = { list: [], map: {} }, a.slideInAnimation = { @@ -16245,7 +16245,7 @@ var Nh = 0, Lt = ( center: !1, right: !1, fullWidth: !1 - }, a.lastMouseDownOnDragger = !1, a.updateColumnListsPending = !1, a.businessKeySanitised = null, a.beans = r, a.rowNode = e, a.paginationPage = a.beans.paginationProxy.getCurrentPage(), a.useAnimationFrameForCreate = i, a.printLayout = s, a.instanceId = e.id + "-" + Nh++, a.setAnimateFlags(o), a.initRowBusinessKey(), a.rowFocused = a.beans.focusService.isRowFocused(a.rowNode.rowIndex, a.rowNode.rowPinned), a.rowLevel = a.beans.rowCssClassCalculator.calculateRowLevel(a.rowNode), a.setRowType(), a.addListeners(), a; + }, a.lastMouseDownOnDragger = !1, a.updateColumnListsPending = !1, a.businessKeySanitised = null, a.beans = r, a.rowNode = e, a.paginationPage = a.beans.paginationProxy.getCurrentPage(), a.useAnimationFrameForCreate = i, a.printLayout = s, a.instanceId = e.id + "-" + Gh++, a.setAnimateFlags(o), a.initRowBusinessKey(), a.rowFocused = a.beans.focusService.isRowFocused(a.rowNode.rowIndex, a.rowNode.rowPinned), a.rowLevel = a.beans.rowCssClassCalculator.calculateRowLevel(a.rowNode), a.setRowType(), a.addListeners(), a; } return t.prototype.initRowBusinessKey = function() { var e = this.beans.gridOptionsService.get("getBusinessKeyForNode"); @@ -16304,7 +16304,7 @@ var Nh = 0, Lt = ( }, "rowDragAndRangeSelectionEnabled"); return; } - var r = this.beans.localeService.getLocaleTextFunc(), o = new Go(function() { + var r = this.beans.localeService.getLocaleTextFunc(), o = new Vo(function() { return "1 " + r("rowDragRow", "row"); }, this.rowNode, void 0, e.element, void 0, !0); this.createManagedBean(o, this.beans.context); @@ -16378,7 +16378,7 @@ var Nh = 0, Lt = ( }; return r.forEach(function(l) { var u = l.getInstanceId(), c = e.map[u]; - c || (c = new Ft(l, i.rowNode, i.beans, i)), a(u, c); + c || (c = new Mt(l, i.rowNode, i.beans, i)), a(u, c); }), e.list.forEach(function(l) { var u = s.map[l.getColumn().getInstanceId()] != null; if (!u) { @@ -16482,7 +16482,7 @@ var Nh = 0, Lt = ( }, t.prototype.onRowNodeHighlightChanged = function() { var e = this.rowNode.highlighted; this.allRowGuis.forEach(function(r) { - var o = e === at.Above, i = e === at.Below; + var o = e === lt.Above, i = e === lt.Below; r.rowComp.addOrRemoveCssClass("ag-row-highlight-above", o), r.rowComp.addOrRemoveCssClass("ag-row-highlight-below", i); }); }, t.prototype.onRowNodeDraggingChanged = function() { @@ -16503,7 +16503,7 @@ var Nh = 0, Lt = ( this.updateColumnLists(!1, !0); }, t.prototype.getRowPosition = function() { return { - rowPinned: Ct(this.rowNode.rowPinned), + rowPinned: mt(this.rowNode.rowPinned), rowIndex: this.rowNode.rowIndex }; }, t.prototype.onKeyboardNavigate = function(e) { @@ -16572,7 +16572,7 @@ var Nh = 0, Lt = ( this.beans.eventService.dispatchEvent(r); } }, t.prototype.onRowMouseDown = function(e) { - if (this.lastMouseDownOnDragger = Dt(e.target, "ag-row-drag", 3), !!this.isFullWidth()) { + if (this.lastMouseDownOnDragger = Ft(e.target, "ag-row-drag", 3), !!this.isFullWidth()) { var r = this.rowNode, o = this.beans.columnModel; this.beans.rangeService && this.beans.rangeService.removeAllCellRanges(), this.beans.focusService.setFocusedCell({ rowIndex: r.rowIndex, @@ -16643,7 +16643,7 @@ var Nh = 0, Lt = ( return i; }, t.prototype.addFullWidthRowDragging = function(e, r, o, i) { if (o === void 0 && (o = ""), !!this.isFullWidth()) { - var s = new Go(function() { + var s = new Vo(function() { return o; }, this.rowNode, void 0, e, r, i); this.createManagedBean(s, this.beans.context); @@ -16677,7 +16677,7 @@ var Nh = 0, Lt = ( this.stoppingRowEdit = !0; var a = !1; try { - for (var l = Mh(i), u = l.next(); !u.done; u = l.next()) { + for (var l = Ih(i), u = l.next(); !u.done; u = l.next()) { var c = u.value, p = c.stopEditing(e); s && !e && !a && p && (a = !0); } @@ -16718,7 +16718,7 @@ var Nh = 0, Lt = ( }, t.prototype.getAllCellCtrls = function() { if (this.leftCellCtrls.list.length === 0 && this.rightCellCtrls.list.length === 0) return this.centerCellCtrls.list; - var e = xh(this.centerCellCtrls.list, this.leftCellCtrls.list, this.rightCellCtrls.list); + var e = Nh(this.centerCellCtrls.list, this.leftCellCtrls.list, this.rightCellCtrls.list); return e; }, t.prototype.postProcessClassesFromGridOptions = function() { var e = this, r = this.beans.rowCssClassCalculator.processClassesFromGridOptions(this.rowNode); @@ -16780,9 +16780,9 @@ var Nh = 0, Lt = ( }, t.prototype.onRowSelected = function(e) { var r = this, o = !!this.rowNode.isSelected(); this.forEachGui(e, function(i) { - i.rowComp.addOrRemoveCssClass("ag-row-selected", o), Jt(i.element, o ? !0 : void 0); + i.rowComp.addOrRemoveCssClass("ag-row-selected", o), er(i.element, o ? !0 : void 0); var s = r.createAriaLabel(); - xt(i.element, s ?? ""); + Nt(i.element, s ?? ""); }); }, t.prototype.createAriaLabel = function() { var e = this.rowNode.isSelected(); @@ -16929,7 +16929,7 @@ var Nh = 0, Lt = ( * @link https://www.ag-grid.com/ * @license MIT */ -var Gh = function() { +var Hh = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -16953,7 +16953,7 @@ var Gh = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Hh = function(n, t) { +}, Vh = function(n, t) { var e = typeof Symbol == "function" && n[Symbol.iterator]; if (!e) return n; @@ -16972,10 +16972,10 @@ var Gh = function() { } } return i; -}, Vh = ( +}, Bh = ( /** @class */ function(n) { - Gh(t, n); + Hh(t, n); function t(e) { var r = n.call(this) || this; return r.element = e, r; @@ -17001,7 +17001,7 @@ var Gh = function() { } }, t.prototype.mockContextMenuForIPad = function() { var e = this; - if (St()) { + if (_t()) { var r = new De(this.element), o = function(i) { var s = e.getRowForEvent(i.touchEvent), a = e.mouseEventService.getRenderedCellForEvent(i.touchEvent); e.handleContextMenuMouseEvent(null, i.touchEvent, s, a); @@ -17012,7 +17012,7 @@ var Gh = function() { } }, t.prototype.getRowForEvent = function(e) { for (var r = e.target; r; ) { - var o = this.gridOptionsService.getDomData(r, Lt.DOM_DATA_KEY_ROW_CTRL); + var o = this.gridOptionsService.getDomData(r, It.DOM_DATA_KEY_ROW_CTRL); if (o) return o; r = r.parentElement; @@ -17027,10 +17027,10 @@ var Gh = function() { var c = this.ctrlsService.getGridBodyCtrl(), p = i ? i.getGui() : c.getGridBodyElement(); this.contextMenuFactory && this.contextMenuFactory.onContextMenu(e, r, s, a, l, p); }, t.prototype.processKeyboardEvent = function(e, r) { - var o = Po(this.gridOptionsService, r.target, Ft.DOM_DATA_KEY_CELL_CTRL), i = Po(this.gridOptionsService, r.target, Lt.DOM_DATA_KEY_ROW_CTRL); + var o = Ao(this.gridOptionsService, r.target, Mt.DOM_DATA_KEY_CELL_CTRL), i = Ao(this.gridOptionsService, r.target, It.DOM_DATA_KEY_ROW_CTRL); r.defaultPrevented || (o ? this.processCellKeyboardEvent(o, e, r) : i && i.isFullWidth() && this.processFullWidthRowKeyboardEvent(i, e, r)); }, t.prototype.processCellKeyboardEvent = function(e, r, o) { - var i = e.getRowNode(), s = e.getColumn(), a = e.isEditing(), l = !Lo(this.gridOptionsService, o, i, s, a); + var i = e.getRowNode(), s = e.getColumn(), a = e.isEditing(), l = !Io(this.gridOptionsService, o, i, s, a); if (l) switch (r) { case "keydown": @@ -17050,7 +17050,7 @@ var Gh = function() { this.eventService.dispatchEvent(p); } }, t.prototype.processFullWidthRowKeyboardEvent = function(e, r, o) { - var i = e.getRowNode(), s = this.focusService.getFocusedCell(), a = s && s.column, l = !Lo(this.gridOptionsService, o, i, a, !1); + var i = e.getRowNode(), s = this.focusService.getFocusedCell(), a = s && s.column, l = !Io(this.gridOptionsService, o, i, a, !1); if (l) { var u = o.key; if (r === "keydown") @@ -17078,7 +17078,7 @@ var Gh = function() { } }, t.prototype.doGridOperations = function(e, r) { if (!(!e.ctrlKey && !e.metaKey) && !r && this.mouseEventService.isEventFromThisGrid(e)) { - var o = hl(e); + var o = fl(e); if (o === _.A) return this.onCtrlAndA(e); if (o === _.C) @@ -17097,7 +17097,7 @@ var Gh = function() { }, t.prototype.onCtrlAndA = function(e) { var r = this, o = r.pinnedRowModel, i = r.paginationProxy, s = r.rangeService; if (s && i.isRowsToRender()) { - var a = Hh([ + var a = Vh([ o.isEmpty("top"), o.isEmpty("bottom") ], 2), l = a[0], u = a[1], c = l ? null : "top", p = void 0, d = void 0; @@ -17162,7 +17162,7 @@ var Gh = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var Bh = function() { +var Wh = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -17178,7 +17178,7 @@ var Bh = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), Zr = function(n, t, e, r) { +}(), to = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -17186,10 +17186,10 @@ var Bh = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Wh = ( +}, jh = ( /** @class */ function(n) { - Bh(t, n); + Wh(t, n); function t(e) { var r = n.call(this) || this; return r.centerContainerCtrl = e, r; @@ -17218,7 +17218,7 @@ var Bh = function() { }, t.prototype.getBodyHeight = function() { return this.bodyHeight; }, t.prototype.checkBodyHeight = function() { - var e = this.gridBodyCtrl.getBodyViewportElement(), r = Br(e); + var e = this.gridBodyCtrl.getBodyViewportElement(), r = jr(e); if (this.bodyHeight !== r) { this.bodyHeight = r; var o = { @@ -17239,13 +17239,13 @@ var Bh = function() { }, t.prototype.onHorizontalViewportChanged = function() { var e = this.centerContainerCtrl.getCenterWidth(), r = this.centerContainerCtrl.getViewportScrollLeft(); this.columnModel.setViewportPosition(e, r); - }, Zr([ + }, to([ h("ctrlsService") - ], t.prototype, "ctrlsService", void 0), Zr([ + ], t.prototype, "ctrlsService", void 0), to([ h("columnModel") - ], t.prototype, "columnModel", void 0), Zr([ + ], t.prototype, "columnModel", void 0), to([ h("scrollVisibleService") - ], t.prototype, "scrollVisibleService", void 0), Zr([ + ], t.prototype, "scrollVisibleService", void 0), to([ b ], t.prototype, "postConstruct", null), t; }(T) @@ -17256,7 +17256,7 @@ var Bh = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var jh = function() { +var kh = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -17280,10 +17280,10 @@ var jh = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, kh = ( +}, Uh = ( /** @class */ function(n) { - jh(t, n); + kh(t, n); function t(e) { var r = n.call(this) || this; return r.element = e, r; @@ -17308,7 +17308,7 @@ var jh = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var Uh = function() { +var zh = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -17332,10 +17332,10 @@ var Uh = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, zh = ( +}, Kh = ( /** @class */ function(n) { - Uh(t, n); + zh(t, n); function t(e) { var r = n.call(this) || this; return r.element = e, r; @@ -17354,56 +17354,6 @@ var Uh = function() { ], t.prototype, "postConstruct", null), t; }(T) ); -/** - * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue - * @version v29.3.5 - * @link https://www.ag-grid.com/ - * @license MIT - */ -var Kh = function() { - var n = function(t, e) { - return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { - r.__proto__ = o; - } || function(r, o) { - for (var i in o) - Object.prototype.hasOwnProperty.call(o, i) && (r[i] = o[i]); - }, n(t, e); - }; - return function(t, e) { - n(t, e); - function r() { - this.constructor = t; - } - t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); - }; -}(), Ls = function(n, t, e, r) { - var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - i = Reflect.decorate(n, t, e, r); - else - for (var a = n.length - 1; a >= 0; a--) - (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); - return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Wl = ( - /** @class */ - function(n) { - Kh(t, n); - function t(e, r) { - var o = n.call(this) || this; - return o.eContainer = e, o.eWrapper = r, o; - } - return t.prototype.postConstruct = function() { - this.addManagedListener(this.eventService, v.EVENT_ROW_CONTAINER_HEIGHT_CHANGED, this.onHeightChanged.bind(this)); - }, t.prototype.onHeightChanged = function() { - var e = this.maxDivHeightScaler.getUiContainerHeight(), r = e != null ? e + "px" : ""; - this.eContainer.style.height = r, this.eWrapper && (this.eWrapper.style.height = r); - }, Ls([ - h("rowContainerHeightService") - ], t.prototype, "maxDivHeightScaler", void 0), Ls([ - b - ], t.prototype, "postConstruct", null), t; - }(T) -); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v29.3.5 @@ -17426,7 +17376,7 @@ var $h = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), Di = function(n, t, e, r) { +}(), Ls = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -17434,33 +17384,22 @@ var $h = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Yh = ( +}, jl = ( /** @class */ function(n) { $h(t, n); - function t(e) { - var r = n.call(this) || this; - return r.eContainer = e, r; + function t(e, r) { + var o = n.call(this) || this; + return o.eContainer = e, o.eWrapper = r, o; } return t.prototype.postConstruct = function() { - var e = this; - if (!(!this.gridOptionsService.isEnableRangeSelection() || // no range selection if no property - x(this.rangeService))) { - var r = { - eElement: this.eContainer, - onDragStart: this.rangeService.onDragStart.bind(this.rangeService), - onDragStop: this.rangeService.onDragStop.bind(this.rangeService), - onDragging: this.rangeService.onDragging.bind(this.rangeService) - }; - this.dragService.addDragSource(r), this.addDestroyFunc(function() { - return e.dragService.removeDragSource(r); - }); - } - }, Di([ - Y("rangeService") - ], t.prototype, "rangeService", void 0), Di([ - h("dragService") - ], t.prototype, "dragService", void 0), Di([ + this.addManagedListener(this.eventService, v.EVENT_ROW_CONTAINER_HEIGHT_CHANGED, this.onHeightChanged.bind(this)); + }, t.prototype.onHeightChanged = function() { + var e = this.maxDivHeightScaler.getUiContainerHeight(), r = e != null ? e + "px" : ""; + this.eContainer.style.height = r, this.eWrapper && (this.eWrapper.style.height = r); + }, Ls([ + h("rowContainerHeightService") + ], t.prototype, "maxDivHeightScaler", void 0), Ls([ b ], t.prototype, "postConstruct", null), t; }(T) @@ -17471,7 +17410,7 @@ var $h = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var qh = function() { +var Yh = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -17495,32 +17434,33 @@ var qh = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, ss = ( +}, qh = ( /** @class */ function(n) { - qh(t, n); - function t(e, r) { - r === void 0 && (r = !1); - var o = n.call(this) || this; - return o.callback = e, o.addSpacer = r, o; + Yh(t, n); + function t(e) { + var r = n.call(this) || this; + return r.eContainer = e, r; } return t.prototype.postConstruct = function() { - var e = this.setWidth.bind(this); - this.addManagedPropertyListener("domLayout", e), this.addManagedListener(this.eventService, v.EVENT_DISPLAYED_COLUMNS_CHANGED, e), this.addManagedListener(this.eventService, v.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED, e), this.addManagedListener(this.eventService, v.EVENT_LEFT_PINNED_WIDTH_CHANGED, e), this.addSpacer && (this.addManagedListener(this.eventService, v.EVENT_RIGHT_PINNED_WIDTH_CHANGED, e), this.addManagedListener(this.eventService, v.EVENT_SCROLL_VISIBILITY_CHANGED, e), this.addManagedListener(this.eventService, v.EVENT_SCROLLBAR_WIDTH_CHANGED, e)), this.setWidth(); - }, t.prototype.setWidth = function() { - var e = this.columnModel, r = this.gridOptionsService.isDomLayout("print"), o = e.getBodyContainerWidth(), i = e.getDisplayedColumnsLeftWidth(), s = e.getDisplayedColumnsRightWidth(), a; - if (r) - a = o + i + s; - else if (a = o, this.addSpacer) { - var l = this.gridOptionsService.is("enableRtl") ? i : s; - l === 0 && this.scrollVisibleService.isVerticalScrollShowing() && (a += this.gridOptionsService.getScrollbarWidth()); + var e = this; + if (!(!this.gridOptionsService.isEnableRangeSelection() || // no range selection if no property + x(this.rangeService))) { + var r = { + eElement: this.eContainer, + onDragStart: this.rangeService.onDragStart.bind(this.rangeService), + onDragStop: this.rangeService.onDragStop.bind(this.rangeService), + onDragging: this.rangeService.onDragging.bind(this.rangeService) + }; + this.dragService.addDragSource(r), this.addDestroyFunc(function() { + return e.dragService.removeDragSource(r); + }); } - this.callback(a); }, Ai([ - h("columnModel") - ], t.prototype, "columnModel", void 0), Ai([ - h("scrollVisibleService") - ], t.prototype, "scrollVisibleService", void 0), Ai([ + Y("rangeService") + ], t.prototype, "rangeService", void 0), Ai([ + h("dragService") + ], t.prototype, "dragService", void 0), Ai([ b ], t.prototype, "postConstruct", null), t; }(T) @@ -17547,7 +17487,7 @@ var Qh = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), bt = function(n, t, e, r) { +}(), Fi = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -17555,7 +17495,67 @@ var Qh = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Xh = function(n, t) { +}, ss = ( + /** @class */ + function(n) { + Qh(t, n); + function t(e, r) { + r === void 0 && (r = !1); + var o = n.call(this) || this; + return o.callback = e, o.addSpacer = r, o; + } + return t.prototype.postConstruct = function() { + var e = this.setWidth.bind(this); + this.addManagedPropertyListener("domLayout", e), this.addManagedListener(this.eventService, v.EVENT_DISPLAYED_COLUMNS_CHANGED, e), this.addManagedListener(this.eventService, v.EVENT_DISPLAYED_COLUMNS_WIDTH_CHANGED, e), this.addManagedListener(this.eventService, v.EVENT_LEFT_PINNED_WIDTH_CHANGED, e), this.addSpacer && (this.addManagedListener(this.eventService, v.EVENT_RIGHT_PINNED_WIDTH_CHANGED, e), this.addManagedListener(this.eventService, v.EVENT_SCROLL_VISIBILITY_CHANGED, e), this.addManagedListener(this.eventService, v.EVENT_SCROLLBAR_WIDTH_CHANGED, e)), this.setWidth(); + }, t.prototype.setWidth = function() { + var e = this.columnModel, r = this.gridOptionsService.isDomLayout("print"), o = e.getBodyContainerWidth(), i = e.getDisplayedColumnsLeftWidth(), s = e.getDisplayedColumnsRightWidth(), a; + if (r) + a = o + i + s; + else if (a = o, this.addSpacer) { + var l = this.gridOptionsService.is("enableRtl") ? i : s; + l === 0 && this.scrollVisibleService.isVerticalScrollShowing() && (a += this.gridOptionsService.getScrollbarWidth()); + } + this.callback(a); + }, Fi([ + h("columnModel") + ], t.prototype, "columnModel", void 0), Fi([ + h("scrollVisibleService") + ], t.prototype, "scrollVisibleService", void 0), Fi([ + b + ], t.prototype, "postConstruct", null), t; + }(T) +); +/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue + * @version v29.3.5 + * @link https://www.ag-grid.com/ + * @license MIT + */ +var Xh = function() { + var n = function(t, e) { + return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { + r.__proto__ = o; + } || function(r, o) { + for (var i in o) + Object.prototype.hasOwnProperty.call(o, i) && (r[i] = o[i]); + }, n(t, e); + }; + return function(t, e) { + n(t, e); + function r() { + this.constructor = t; + } + t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); + }; +}(), Dt = function(n, t, e, r) { + var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + i = Reflect.decorate(n, t, e, r); + else + for (var a = n.length - 1; a >= 0; a--) + (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); + return o > 3 && i && Object.defineProperty(t, e, i), i; +}, Jh = function(n, t) { var e = typeof Symbol == "function" && n[Symbol.iterator]; if (!e) return n; @@ -17574,9 +17574,9 @@ var Qh = function() { } } return i; -}, Jh = function() { +}, Zh = function() { for (var n = [], t = 0; t < arguments.length; t++) - n = n.concat(Xh(arguments[t])); + n = n.concat(Jh(arguments[t])); return n; }, S; (function(n) { @@ -17586,7 +17586,7 @@ var ve; (function(n) { n.LEFT = "left", n.RIGHT = "right", n.CENTER = "center", n.FULL_WIDTH = "fullWidth"; })(ve || (ve = {})); -function Zh(n) { +function ef(n) { switch (n) { case S.CENTER: case S.TOP_CENTER: @@ -17612,7 +17612,7 @@ function Zh(n) { throw Error("Invalid Row Container Type"); } } -var ef = it([ +var tf = it([ [S.CENTER, "ag-center-cols-container"], [S.LEFT, "ag-pinned-left-cols-container"], [S.RIGHT, "ag-pinned-right-cols-container"], @@ -17629,23 +17629,23 @@ var ef = it([ [S.BOTTOM_LEFT, "ag-pinned-left-floating-bottom"], [S.BOTTOM_RIGHT, "ag-pinned-right-floating-bottom"], [S.BOTTOM_FULL_WIDTH, "ag-floating-bottom-full-width-container"] -]), tf = it([ +]), rf = it([ [S.CENTER, "ag-center-cols-viewport"], [S.TOP_CENTER, "ag-floating-top-viewport"], [S.STICKY_TOP_CENTER, "ag-sticky-top-viewport"], [S.BOTTOM_CENTER, "ag-floating-bottom-viewport"] -]), rf = it([ +]), of = it([ [S.CENTER, "ag-center-cols-clipper"] -]), jl = ( +]), kl = ( /** @class */ function(n) { - Qh(t, n); + Xh(t, n); function t(e) { var r = n.call(this) || this; return r.visible = !0, r.EMPTY_CTRLS = [], r.name = e, r.isFullWithContainer = r.name === S.TOP_FULL_WIDTH || r.name === S.STICKY_TOP_FULL_WIDTH || r.name === S.BOTTOM_FULL_WIDTH || r.name === S.FULL_WIDTH, r; } return t.getRowContainerCssClasses = function(e) { - var r = ef.get(e), o = tf.get(e), i = rf.get(e); + var r = tf.get(e), o = rf.get(e), i = of.get(e); return { container: r, viewport: o, wrapper: i }; }, t.getPinned = function(e) { switch (e) { @@ -17665,7 +17665,7 @@ var ef = it([ }, t.prototype.postConstruct = function() { var e = this; this.enableRtl = this.gridOptionsService.is("enableRtl"), this.embedFullWidthRows = this.gridOptionsService.is("embedFullWidthRows"), this.forContainers([S.CENTER], function() { - return e.viewportSizeFeature = e.createManagedBean(new Wh(e)); + return e.viewportSizeFeature = e.createManagedBean(new jh(e)); }); }, t.prototype.registerWithCtrlsService = function() { switch (this.name) { @@ -17714,25 +17714,25 @@ var ef = it([ return this.viewportSizeFeature; }, t.prototype.setComp = function(e, r, o, i) { var s = this; - this.comp = e, this.eContainer = r, this.eViewport = o, this.eWrapper = i, this.createManagedBean(new Vh(this.eContainer)), this.addPreventScrollWhileDragging(), this.listenOnDomOrder(), this.stopHScrollOnPinnedRows(); - var a = [S.TOP_CENTER, S.TOP_LEFT, S.TOP_RIGHT], l = [S.STICKY_TOP_CENTER, S.STICKY_TOP_LEFT, S.STICKY_TOP_RIGHT], u = [S.BOTTOM_CENTER, S.BOTTOM_LEFT, S.BOTTOM_RIGHT], c = [S.CENTER, S.LEFT, S.RIGHT], p = Jh(a, u, c, l), d = [S.CENTER, S.LEFT, S.RIGHT, S.FULL_WIDTH], f = [S.CENTER, S.TOP_CENTER, S.STICKY_TOP_CENTER, S.BOTTOM_CENTER], g = [S.LEFT, S.BOTTOM_LEFT, S.TOP_LEFT, S.STICKY_TOP_LEFT], y = [S.RIGHT, S.BOTTOM_RIGHT, S.TOP_RIGHT, S.STICKY_TOP_RIGHT]; + this.comp = e, this.eContainer = r, this.eViewport = o, this.eWrapper = i, this.createManagedBean(new Bh(this.eContainer)), this.addPreventScrollWhileDragging(), this.listenOnDomOrder(), this.stopHScrollOnPinnedRows(); + var a = [S.TOP_CENTER, S.TOP_LEFT, S.TOP_RIGHT], l = [S.STICKY_TOP_CENTER, S.STICKY_TOP_LEFT, S.STICKY_TOP_RIGHT], u = [S.BOTTOM_CENTER, S.BOTTOM_LEFT, S.BOTTOM_RIGHT], c = [S.CENTER, S.LEFT, S.RIGHT], p = Zh(a, u, c, l), d = [S.CENTER, S.LEFT, S.RIGHT, S.FULL_WIDTH], f = [S.CENTER, S.TOP_CENTER, S.STICKY_TOP_CENTER, S.BOTTOM_CENTER], g = [S.LEFT, S.BOTTOM_LEFT, S.TOP_LEFT, S.STICKY_TOP_LEFT], y = [S.RIGHT, S.BOTTOM_RIGHT, S.TOP_RIGHT, S.STICKY_TOP_RIGHT]; this.forContainers(g, function() { - s.pinnedWidthFeature = s.createManagedBean(new kh(s.eContainer)), s.addManagedListener(s.eventService, v.EVENT_LEFT_PINNED_WIDTH_CHANGED, function() { + s.pinnedWidthFeature = s.createManagedBean(new Uh(s.eContainer)), s.addManagedListener(s.eventService, v.EVENT_LEFT_PINNED_WIDTH_CHANGED, function() { return s.onPinnedWidthChanged(); }); }), this.forContainers(y, function() { - s.pinnedWidthFeature = s.createManagedBean(new zh(s.eContainer)), s.addManagedListener(s.eventService, v.EVENT_RIGHT_PINNED_WIDTH_CHANGED, function() { + s.pinnedWidthFeature = s.createManagedBean(new Kh(s.eContainer)), s.addManagedListener(s.eventService, v.EVENT_RIGHT_PINNED_WIDTH_CHANGED, function() { return s.onPinnedWidthChanged(); }); }), this.forContainers(d, function() { - return s.createManagedBean(new Wl(s.eContainer, s.eWrapper)); + return s.createManagedBean(new jl(s.eContainer, s.eWrapper)); }), this.forContainers(p, function() { - return s.createManagedBean(new Yh(s.eContainer)); + return s.createManagedBean(new qh(s.eContainer)); }), this.forContainers(f, function() { return s.createManagedBean(new ss(function(C) { return s.comp.setContainerWidth(C + "px"); })); - }), Yt() && (this.forContainers([S.CENTER], function() { + }), qt() && (this.forContainers([S.CENTER], function() { var C = s.enableRtl ? v.EVENT_LEFT_PINNED_WIDTH_CHANGED : v.EVENT_RIGHT_PINNED_WIDTH_CHANGED; s.addManagedListener(s.eventService, C, function() { return s.refreshPaddingForFakeScrollbar(); @@ -17791,7 +17791,7 @@ var ef = it([ this.comp.setViewportHeight(i); } if (this.name === S.FULL_WIDTH) { - var s = Yt() ? 16 : 0, i = "calc(100% - " + s + "px)"; + var s = qt() ? 16 : 0, i = "calc(100% - " + s + "px)"; this.eContainer.style.setProperty("width", i); } }, t.prototype.addPreventScrollWhileDragging = function() { @@ -17805,21 +17805,21 @@ var ef = it([ var e = this.getCenterWidth(), r = this.getCenterViewportScrollLeft(); this.columnModel.setViewportPosition(e, r); }, t.prototype.getCenterWidth = function() { - return ti(this.eViewport); + return ri(this.eViewport); }, t.prototype.getCenterViewportScrollLeft = function() { - return Nr(this.eViewport, this.enableRtl); + return Hr(this.eViewport, this.enableRtl); }, t.prototype.registerViewportResizeListener = function(e) { var r = this.resizeObserverService.observeResize(this.eViewport, e); this.addDestroyFunc(function() { return r(); }); }, t.prototype.isViewportVisible = function() { - return nr(this.eViewport); + return ar(this.eViewport); }, t.prototype.getViewportScrollLeft = function() { - return Nr(this.eViewport, this.enableRtl); + return Hr(this.eViewport, this.enableRtl); }, t.prototype.isHorizontalScrollShowing = function() { var e = this.gridOptionsService.is("alwaysShowHorizontalScroll"); - return e || sl(this.eViewport); + return e || al(this.eViewport); }, t.prototype.getViewportElement = function() { return this.eViewport; }, t.prototype.setContainerTranslateX = function(e) { @@ -17831,13 +17831,13 @@ var ef = it([ }; return e; }, t.prototype.setCenterViewportScrollLeft = function(e) { - Fo(this.eViewport, e, this.enableRtl); + Mo(this.eViewport, e, this.enableRtl); }, t.prototype.isContainerVisible = function() { var e = t.getPinned(this.name); return !e || !!this.pinnedWidthFeature && this.pinnedWidthFeature.getWidth() > 0; }, t.prototype.onPinnedWidthChanged = function() { var e = this.isContainerVisible(); - this.visible != e && (this.visible = e, this.onDisplayedRowsChanged()), Yt() && this.refreshPaddingForFakeScrollbar(); + this.visible != e && (this.visible = e, this.onDisplayedRowsChanged()), qt() && this.refreshPaddingForFakeScrollbar(); }, t.prototype.onDisplayedRowsChanged = function(e) { var r = this; if (e === void 0 && (e = !1), this.visible) { @@ -17868,19 +17868,19 @@ var ef = it([ default: return this.rowRenderer.getRowCtrls(); } - }, bt([ + }, Dt([ h("scrollVisibleService") - ], t.prototype, "scrollVisibleService", void 0), bt([ + ], t.prototype, "scrollVisibleService", void 0), Dt([ h("dragService") - ], t.prototype, "dragService", void 0), bt([ + ], t.prototype, "dragService", void 0), Dt([ h("ctrlsService") - ], t.prototype, "ctrlsService", void 0), bt([ + ], t.prototype, "ctrlsService", void 0), Dt([ h("columnModel") - ], t.prototype, "columnModel", void 0), bt([ + ], t.prototype, "columnModel", void 0), Dt([ h("resizeObserverService") - ], t.prototype, "resizeObserverService", void 0), bt([ + ], t.prototype, "resizeObserverService", void 0), Dt([ h("rowRenderer") - ], t.prototype, "rowRenderer", void 0), bt([ + ], t.prototype, "rowRenderer", void 0), Dt([ b ], t.prototype, "postConstruct", null), t; }(T) @@ -17891,7 +17891,7 @@ var ef = it([ * @link https://www.ag-grid.com/ * @license MIT */ -var of = function() { +var nf = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -17915,7 +17915,7 @@ var of = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, nf = ( +}, sf = ( /* html */ `
@@ -17951,12 +17951,12 @@ var of = function() {
` -), sf = ( +), af = ( /** @class */ function(n) { - of(t, n); + nf(t, n); function t() { - return n.call(this, nf) || this; + return n.call(this, sf) || this; } return t.prototype.init = function() { var e = this, r = function(i, s) { @@ -17967,10 +17967,10 @@ var of = function() { return e.setRowAnimationCssOnBodyViewport(i, s); }, setColumnCount: function(i) { - return Ka(e.getGui(), i); + return $a(e.getGui(), i); }, setRowCount: function(i) { - return za(e.getGui(), i); + return Ka(e.getGui(), i); }, setTopHeight: function(i) { return r(i, e.eTop); @@ -18007,7 +18007,7 @@ var of = function() { }), e.addOrRemoveCssClass(ne.AUTO_HEIGHT, s.autoHeight), e.addOrRemoveCssClass(ne.NORMAL, s.normal), e.addOrRemoveCssClass(ne.PRINT, s.print); }, setAlwaysVerticalScrollClass: function(i, s) { - return e.eBodyViewport.classList.toggle(Vl, s); + return e.eBodyViewport.classList.toggle(Bl, s); }, registerBodyViewportResizeListener: function(i) { var s = e.resizeObserverService.observeResize(e.eBodyViewport, i); @@ -18020,17 +18020,17 @@ var of = function() { }, setCellSelectableCss: function(i, s) { [e.eTop, e.eBodyViewport, e.eBottom].forEach(function(a) { - return a.classList.toggle(Hl, s); + return a.classList.toggle(Vl, s); }); }, setBodyViewportWidth: function(i) { return e.eBodyViewport.style.width = i; } }; - this.ctrl = this.createManagedBean(new Zd()), this.ctrl.setComp(o, this.getGui(), this.eBodyViewport, this.eTop, this.eBottom, this.eStickyTop), (this.rangeService || this.gridOptionsService.get("rowSelection") === "multiple") && Ua(this.getGui(), !0); + this.ctrl = this.createManagedBean(new eh()), this.ctrl.setComp(o, this.getGui(), this.eBodyViewport, this.eTop, this.eBottom, this.eStickyTop), (this.rangeService || this.gridOptionsService.get("rowSelection") === "multiple") && za(this.getGui(), !0); }, t.prototype.setRowAnimationCssOnBodyViewport = function(e, r) { var o = this.eBodyViewport.classList; - o.toggle(or.ANIMATION_ON, r), o.toggle(or.ANIMATION_OFF, !r); + o.toggle(nr.ANIMATION_ON, r), o.toggle(nr.ANIMATION_OFF, !r); }, t.prototype.getFloatingTopBottom = function() { return [this.eTop, this.eBottom]; }, Ue([ @@ -18062,7 +18062,7 @@ var of = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var af = function() { +var lf = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -18078,7 +18078,7 @@ var af = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), Fi = function(n, t, e, r) { +}(), Li = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -18086,10 +18086,10 @@ var af = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, lf = ( +}, uf = ( /** @class */ function(n) { - af(t, n); + lf(t, n); function t() { return n !== null && n.apply(this, arguments) || this; } @@ -18123,11 +18123,11 @@ var af = function() { return this.horizontalScrollShowing; }, t.prototype.isVerticalScrollShowing = function() { return this.verticalScrollShowing; - }, Fi([ + }, Li([ h("ctrlsService") - ], t.prototype, "ctrlsService", void 0), Fi([ + ], t.prototype, "ctrlsService", void 0), Li([ b - ], t.prototype, "postConstruct", null), t = Fi([ + ], t.prototype, "postConstruct", null), t = Li([ A("scrollVisibleService") ], t), t; }(T) @@ -18138,7 +18138,7 @@ var af = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var uf = function() { +var cf = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -18162,10 +18162,10 @@ var uf = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, cf = ( +}, pf = ( /** @class */ function(n) { - uf(t, n); + cf(t, n); function t() { var r = n !== null && n.apply(this, arguments) || this; return r.gridInstanceId = e.gridInstanceSequence.next(), r; @@ -18173,7 +18173,7 @@ var uf = function() { e = t, t.prototype.stampTopLevelGridCompWithGridInstance = function(r) { r[e.GRID_DOM_KEY] = this.gridInstanceId; }, t.prototype.getRenderedCellForEvent = function(r) { - return Po(this.gridOptionsService, r.target, Ft.DOM_DATA_KEY_CELL_CTRL); + return Ao(this.gridOptionsService, r.target, Mt.DOM_DATA_KEY_CELL_CTRL); }, t.prototype.isEventFromThisGrid = function(r) { var o = this.isElementInThisGrid(r.target); return o; @@ -18199,7 +18199,7 @@ var uf = function() { return { x: s, y: a }; }; var e; - return t.gridInstanceSequence = new er(), t.GRID_DOM_KEY = "__ag_grid_instance", Ms([ + return t.gridInstanceSequence = new rr(), t.GRID_DOM_KEY = "__ag_grid_instance", Ms([ h("ctrlsService") ], t.prototype, "ctrlsService", void 0), t = e = Ms([ A("mouseEventService") @@ -18212,7 +18212,7 @@ var uf = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var pf = function() { +var df = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -18228,15 +18228,15 @@ var pf = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), Uo = function() { - return Uo = Object.assign || function(n) { +}(), Ko = function() { + return Ko = Object.assign || function(n) { for (var t, e = 1, r = arguments.length; e < r; e++) { t = arguments[e]; for (var o in t) Object.prototype.hasOwnProperty.call(t, o) && (n[o] = t[o]); } return n; - }, Uo.apply(this, arguments); + }, Ko.apply(this, arguments); }, Se = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") @@ -18245,10 +18245,10 @@ var pf = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, df = ( +}, hf = ( /** @class */ function(n) { - pf(t, n); + df(t, n); function t() { var e = n.call(this) || this; return e.onPageDown = an(e.onPageDown, 100), e.onPageUp = an(e.onPageUp, 100), e; @@ -18382,7 +18382,7 @@ var pf = function() { var s = e.getRowPosition(), a = s.rowIndex, l = s.rowPinned, u = l ? a === 0 : a === this.paginationProxy.getPageFirstRow(); u && (this.gridOptionsService.getNum("headerHeight") === 0 ? this.focusService.focusNextGridCoreContainer(!0, !0) : (r.preventDefault(), this.focusService.focusLastHeader(r))); } else - e instanceof Ft && e.focusCell(!0), this.focusService.focusNextGridCoreContainer(o) && r.preventDefault(); + e instanceof Mt && e.focusCell(!0), this.focusService.focusNextGridCoreContainer(o) && r.preventDefault(); }, t.prototype.tabToNextCell = function(e, r) { var o = this.focusService.getFocusedCell(); if (!o) @@ -18391,7 +18391,7 @@ var pf = function() { return !i && (i = this.rowRenderer.getRowByPosition(o), !i || !i.isFullWidth()) ? !1 : this.tabToNextCellCommon(i, e, r); }, t.prototype.tabToNextCellCommon = function(e, r, o) { var i = e.isEditing(); - if (!i && e instanceof Ft) { + if (!i && e instanceof Mt) { var s = e, a = s.getRowCtrl(); a && (i = a.isEditing()); } @@ -18418,9 +18418,9 @@ var pf = function() { return u ? (s.setFocusInOnEditor(), s.focusCell()) : s.focusCell(!0), !0; }, t.prototype.moveToNextCellNotEditing = function(e, r) { var o = this.columnModel.getAllDisplayedColumns(), i; - e instanceof Lt ? i = Uo(Uo({}, e.getRowPosition()), { column: r ? o[0] : q(o) }) : i = e.getCellPosition(); + e instanceof It ? i = Ko(Ko({}, e.getRowPosition()), { column: r ? o[0] : q(o) }) : i = e.getCellPosition(); var s = this.findNextCellToFocusOn(i, r, !1); - if (s instanceof Ft) + if (s instanceof Mt) s.focusCell(!0); else if (s) return this.tryToFocusFullWidthRow(s.getRowPosition(), r); @@ -18602,7 +18602,7 @@ var pf = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var hf = function() { +var ff = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -18618,7 +18618,7 @@ var hf = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), ff = function(n, t, e, r) { +}(), vf = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -18626,10 +18626,10 @@ var hf = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, vf = ( +}, gf = ( /** @class */ function(n) { - hf(t, n); + ff(t, n); function t(e) { var r = n.call( this, @@ -18642,13 +18642,13 @@ var hf = function() { this.gridOptionsService.setDomData(this.getGui(), t.DOM_KEY_POPUP_EDITOR_WRAPPER, !0), this.addKeyDownListener(); }, t.prototype.addKeyDownListener = function() { var e = this, r = this.getGui(), o = this.params, i = function(s) { - Lo(e.gridOptionsService, s, o.node, o.column, !0) || o.onKeyDown(s); + Io(e.gridOptionsService, s, o.node, o.column, !0) || o.onKeyDown(s); }; this.addManagedListener(r, "keydown", i); - }, t.DOM_KEY_POPUP_EDITOR_WRAPPER = "popupEditorWrapper", ff([ + }, t.DOM_KEY_POPUP_EDITOR_WRAPPER = "popupEditorWrapper", vf([ b ], t.prototype, "postConstruct", null), t; - }(kr) + }(zr) ); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue @@ -18656,7 +18656,7 @@ var hf = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var gf = function() { +var yf = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -18672,10 +18672,10 @@ var gf = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), yf = ( +}(), Cf = ( /** @class */ function(n) { - gf(t, n); + yf(t, n); function t(e, r, o, i, s) { var a = n.call(this) || this; a.rendererVersion = 0, a.editorVersion = 0, a.beans = e, a.column = r.getColumn(), a.rowNode = r.getRowNode(), a.rowCtrl = r.getRowCtrl(), a.eRow = i, a.setTemplate( @@ -18760,14 +18760,14 @@ var gf = function() { '' ), this.getGui().appendChild(this.eCellWrapper)); var s = !o && this.eCellWrapper != null; - s && (st(this.eCellWrapper), this.eCellWrapper = void 0), this.addOrRemoveCssClass("ag-cell-value", !o); + s && (at(this.eCellWrapper), this.eCellWrapper = void 0), this.addOrRemoveCssClass("ag-cell-value", !o); var a = !e && o, l = a && this.eCellValue == null; l && (this.eCellValue = de( /* html */ '' ), this.eCellWrapper.appendChild(this.eCellValue)); var u = !a && this.eCellValue != null; - u && (st(this.eCellValue), this.eCellValue = void 0); + u && (at(this.eCellValue), this.eCellValue = void 0); var c = i || s || l || u; return c && this.removeControls(), e || r && this.addControls(), c; }, t.prototype.addControls = function() { @@ -18791,10 +18791,10 @@ var gf = function() { this.destroyRenderer(), this.destroyEditor(); }, t.prototype.destroyRenderer = function() { var e = this.beans.context; - this.cellRenderer = e.destroyBean(this.cellRenderer), st(this.cellRendererGui), this.cellRendererGui = null, this.rendererVersion++; + this.cellRenderer = e.destroyBean(this.cellRenderer), at(this.cellRendererGui), this.cellRendererGui = null, this.rendererVersion++; }, t.prototype.destroyEditor = function() { var e = this.beans.context; - this.hideEditorPopup && this.hideEditorPopup(), this.hideEditorPopup = void 0, this.cellEditor = e.destroyBean(this.cellEditor), this.cellEditorPopupWrapper = e.destroyBean(this.cellEditorPopupWrapper), st(this.cellEditorGui), this.cellEditorGui = null, this.editorVersion++; + this.hideEditorPopup && this.hideEditorPopup(), this.hideEditorPopup = void 0, this.cellEditor = e.destroyBean(this.cellEditor), this.cellEditorPopupWrapper = e.destroyBean(this.cellEditorPopupWrapper), at(this.cellEditorGui), this.cellEditorGui = null, this.editorVersion++; }, t.prototype.refreshCellRenderer = function(e) { if (this.cellRenderer == null || this.cellRenderer.refresh == null || this.cellRendererClass !== e.componentClass) return !1; @@ -18858,7 +18858,7 @@ var gf = function() { var o = this; this.beans.gridOptionsService.get("editType") === "fullRow" && console.warn("AG Grid: popup cellEditor does not work with fullRowEdit - you cannot use them both - either turn off fullRowEdit, or stop using popup editors."); var i = this.cellEditor; - this.cellEditorPopupWrapper = this.beans.context.createBean(new vf(e)); + this.cellEditorPopupWrapper = this.beans.context.createBean(new gf(e)); var s = this.cellEditorPopupWrapper.getGui(); this.cellEditorGui && s.appendChild(this.cellEditorGui); var a = this.beans.popupService, l = this.beans.gridOptionsService.is("stopEditingWhenCellsLoseFocus"), u = r ?? (i.getPopupPosition ? i.getPopupPosition() : "over"), c = this.beans.gridOptionsService.is("enableRtl"), p = { @@ -18888,7 +18888,7 @@ var gf = function() { this.cellCtrl.stopEditing(), this.destroyEditorAndRenderer(), this.removeControls(), n.prototype.destroy.call(this); }, t.prototype.clearParentOfValue = function() { var e = this.getGui(), r = this.beans.gridOptionsService.getDocument(); - e.contains(r.activeElement) && ei() && e.focus({ preventScroll: !0 }), Ae(this.getParentOfValue()); + e.contains(r.activeElement) && ti() && e.focus({ preventScroll: !0 }), Ae(this.getParentOfValue()); }, t; }(W) ); @@ -18898,7 +18898,7 @@ var gf = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var Cf = function() { +var mf = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -18914,10 +18914,10 @@ var Cf = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), mf = ( +}(), wf = ( /** @class */ function(n) { - Cf(t, n); + mf(t, n); function t(e, r, o) { var i = n.call(this) || this; i.cellComps = {}, i.beans = r, i.rowCtrl = e, i.setTemplate( @@ -19001,7 +19001,7 @@ var Cf = function() { }), Kn(this.getGui(), o); } }, t.prototype.newCellComp = function(e) { - var r = new yf(this.beans, e, this.rowCtrl.isPrintLayout(), this.getGui(), this.rowCtrl.isEditing()); + var r = new Cf(this.beans, e, this.rowCtrl.isPrintLayout(), this.getGui(), this.rowCtrl.isEditing()); this.cellComps[e.getInstanceId()] = r, this.getGui().appendChild(r.getGui()); }, t.prototype.destroy = function() { n.prototype.destroy.call(this), this.destroyAllCells(); @@ -19034,7 +19034,7 @@ var Cf = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var wf = function() { +var Sf = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -19059,7 +19059,7 @@ var wf = function() { } return n; }, En.apply(this, arguments); -}, Ht = function(n, t, e, r) { +}, Vt = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -19068,8 +19068,8 @@ var wf = function() { (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; }; -function Sf() { - var n = W.elementGettingCreated.getAttribute("name"), t = jl.getRowContainerCssClasses(n), e, r = n === S.CENTER, o = n === S.TOP_CENTER || n === S.STICKY_TOP_CENTER || n === S.BOTTOM_CENTER; +function Ef() { + var n = W.elementGettingCreated.getAttribute("name"), t = kl.getRowContainerCssClasses(n), e, r = n === S.CENTER, o = n === S.TOP_CENTER || n === S.STICKY_TOP_CENTER || n === S.BOTTOM_CENTER; return r ? e = /* html */ '`, ro([ P("eResize") - ], t.prototype, "eResize", void 0), eo([ + ], t.prototype, "eResize", void 0), ro([ P("eHeaderCompWrapper") - ], t.prototype, "eHeaderCompWrapper", void 0), eo([ + ], t.prototype, "eHeaderCompWrapper", void 0), ro([ b - ], t.prototype, "postConstruct", null), eo([ + ], t.prototype, "postConstruct", null), ro([ fe ], t.prototype, "destroyHeaderComp", null), t; }(os) @@ -19711,7 +19711,7 @@ var Af = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var Lf = function() { +var Mf = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -19727,7 +19727,7 @@ var Lf = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), Li = function(n, t, e, r) { +}(), Mi = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -19735,10 +19735,10 @@ var Lf = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Mf = ( +}, If = ( /** @class */ function(n) { - Lf(t, n); + Mf(t, n); function t(e) { return n.call(this, t.TEMPLATE, e) || this; } @@ -19785,11 +19785,11 @@ var Lf = function() { this.getGui().appendChild(e.getGui()), this.addDestroyFunc(o), this.ctrl.setDragSource(e.getGui()); }, t.TEMPLATE = `
-
`, Li([ + `, Mi([ h("userComponentFactory") - ], t.prototype, "userComponentFactory", void 0), Li([ + ], t.prototype, "userComponentFactory", void 0), Mi([ P("eResize") - ], t.prototype, "eResize", void 0), Li([ + ], t.prototype, "eResize", void 0), Mi([ b ], t.prototype, "postConstruct", null), t; }(os) @@ -19800,7 +19800,7 @@ var Lf = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var If = function() { +var xf = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -19828,10 +19828,10 @@ var If = function() { (function(n) { n.COLUMN_GROUP = "group", n.COLUMN = "column", n.FLOATING_FILTER = "filter"; })(he || (he = {})); -var xf = ( +var Nf = ( /** @class */ function(n) { - If(t, n); + xf(t, n); function t(e) { var r = n.call(this) || this; r.headerComps = {}; @@ -19892,13 +19892,13 @@ var xf = ( var r; switch (this.ctrl.getType()) { case he.COLUMN_GROUP: - r = new Mf(e); + r = new If(e); break; case he.FLOATING_FILTER: - r = new Wd(e); + r = new jd(e); break; default: - r = new Ff(e); + r = new Lf(e); break; } return this.createBean(r), r.setParentComponent(this), r; @@ -19915,7 +19915,7 @@ var xf = ( * @link https://www.ag-grid.com/ * @license MIT */ -var Nf = function() { +var Gf = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -19931,7 +19931,7 @@ var Nf = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), Mi = function(n, t, e, r) { +}(), Ii = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -19939,17 +19939,17 @@ var Nf = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Gf = 0, ii = ( +}, Hf = 0, ni = ( /** @class */ function(n) { - Nf(t, n); + Gf(t, n); function t(e, r) { var o = n.call(this) || this; - return o.lastFocusEvent = null, o.columnGroupChild = e, o.parentRowCtrl = r, o.instanceId = e.getUniqueId() + "-" + Gf++, o; + return o.lastFocusEvent = null, o.columnGroupChild = e, o.parentRowCtrl = r, o.instanceId = e.getUniqueId() + "-" + Hf++, o; } return t.prototype.shouldStopEventPropagation = function(e) { var r = this.focusService.getFocusedHeader(), o = r.headerRowIndex, i = r.column; - return dl(this.gridOptionsService, e, o, i); + return hl(this.gridOptionsService, e, o, i); }, t.prototype.getWrapperHasFocus = function() { var e = this.gridOptionsService.getDocument(), r = e.activeElement; return r === this.eGui; @@ -19983,11 +19983,11 @@ var Nf = function() { return this.instanceId; }, t.prototype.getColumnGroupChild = function() { return this.columnGroupChild; - }, t.DOM_DATA_KEY_HEADER_CTRL = "headerCtrl", Mi([ + }, t.DOM_DATA_KEY_HEADER_CTRL = "headerCtrl", Ii([ h("focusService") - ], t.prototype, "focusService", void 0), Mi([ + ], t.prototype, "focusService", void 0), Ii([ h("beans") - ], t.prototype, "beans", void 0), Mi([ + ], t.prototype, "beans", void 0), Ii([ h("userComponentFactory") ], t.prototype, "userComponentFactory", void 0), t; }(T) @@ -19998,7 +19998,7 @@ var Nf = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var Hf = function() { +var Vf = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -20014,7 +20014,7 @@ var Hf = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), Vf = function(n, t, e, r) { +}(), Bf = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -20025,7 +20025,7 @@ var Hf = function() { }, as = ( /** @class */ function(n) { - Hf(t, n); + Vf(t, n); function t(e, r, o, i) { var s = n.call(this) || this; return s.columnOrGroup = e, s.eCell = r, s.ariaEl = s.eCell.querySelector("[role=columnheader]") || s.eCell, s.colsSpanning = i, s.beans = o, s; @@ -20066,64 +20066,11 @@ var Hf = function() { var o = this.columnOrGroup, i = o.getLeafColumns(); if (!i.length) return; - i.length > 1 && $a(this.ariaEl, i.length), r = i[0]; + i.length > 1 && Ya(this.ariaEl, i.length), r = i[0]; } var s = this.beans.columnModel.getAriaColumnIndex(r); Gn(this.ariaEl, s); - }, Vf([ - b - ], t.prototype, "postConstruct", null), t; - }(T) -); -/** - * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue - * @version v29.3.5 - * @link https://www.ag-grid.com/ - * @license MIT - */ -var Bf = function() { - var n = function(t, e) { - return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { - r.__proto__ = o; - } || function(r, o) { - for (var i in o) - Object.prototype.hasOwnProperty.call(o, i) && (r[i] = o[i]); - }, n(t, e); - }; - return function(t, e) { - n(t, e); - function r() { - this.constructor = t; - } - t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); - }; -}(), Ns = function(n, t, e, r) { - var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; - if (typeof Reflect == "object" && typeof Reflect.decorate == "function") - i = Reflect.decorate(n, t, e, r); - else - for (var a = n.length - 1; a >= 0; a--) - (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); - return o > 3 && i && Object.defineProperty(t, e, i), i; -}, ls = ( - /** @class */ - function(n) { - Bf(t, n); - function t(e, r) { - var o = n.call(this) || this; - return o.columns = e, o.element = r, o; - } - return t.prototype.postConstruct = function() { - this.gridOptionsService.is("columnHoverHighlight") && this.addMouseHoverListeners(); - }, t.prototype.addMouseHoverListeners = function() { - this.addManagedListener(this.element, "mouseout", this.onMouseOut.bind(this)), this.addManagedListener(this.element, "mouseover", this.onMouseOver.bind(this)); - }, t.prototype.onMouseOut = function() { - this.columnHoverService.clearMouseOver(); - }, t.prototype.onMouseOver = function() { - this.columnHoverService.setMouseOver(this.columns); - }, Ns([ - h("columnHoverService") - ], t.prototype, "columnHoverService", void 0), Ns([ + }, Bf([ b ], t.prototype, "postConstruct", null), t; }(T) @@ -20150,7 +20097,7 @@ var Wf = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), Ii = function(n, t, e, r) { +}(), Ns = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -20158,10 +20105,63 @@ var Wf = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, jf = ( +}, ls = ( /** @class */ function(n) { Wf(t, n); + function t(e, r) { + var o = n.call(this) || this; + return o.columns = e, o.element = r, o; + } + return t.prototype.postConstruct = function() { + this.gridOptionsService.is("columnHoverHighlight") && this.addMouseHoverListeners(); + }, t.prototype.addMouseHoverListeners = function() { + this.addManagedListener(this.element, "mouseout", this.onMouseOut.bind(this)), this.addManagedListener(this.element, "mouseover", this.onMouseOver.bind(this)); + }, t.prototype.onMouseOut = function() { + this.columnHoverService.clearMouseOver(); + }, t.prototype.onMouseOver = function() { + this.columnHoverService.setMouseOver(this.columns); + }, Ns([ + h("columnHoverService") + ], t.prototype, "columnHoverService", void 0), Ns([ + b + ], t.prototype, "postConstruct", null), t; + }(T) +); +/** + * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue + * @version v29.3.5 + * @link https://www.ag-grid.com/ + * @license MIT + */ +var jf = function() { + var n = function(t, e) { + return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { + r.__proto__ = o; + } || function(r, o) { + for (var i in o) + Object.prototype.hasOwnProperty.call(o, i) && (r[i] = o[i]); + }, n(t, e); + }; + return function(t, e) { + n(t, e); + function r() { + this.constructor = t; + } + t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); + }; +}(), xi = function(n, t, e, r) { + var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; + if (typeof Reflect == "object" && typeof Reflect.decorate == "function") + i = Reflect.decorate(n, t, e, r); + else + for (var a = n.length - 1; a >= 0; a--) + (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); + return o > 3 && i && Object.defineProperty(t, e, i), i; +}, kf = ( + /** @class */ + function(n) { + jf(t, n); function t(e, r) { var o = n.call(this, e, r) || this; return o.column = e, o; @@ -20177,7 +20177,7 @@ var Wf = function() { e && this.eButtonShowMainFilter.appendChild(e); } }, t.prototype.setupFocus = function() { - this.createManagedBean(new Et(this.eGui, { + this.createManagedBean(new Rt(this.eGui, { shouldStopEventPropagation: this.shouldStopEventPropagation.bind(this), onTabKeyDown: this.onTabKeyDown.bind(this), handleKeyDown: this.handleKeyDown.bind(this), @@ -20228,7 +20228,7 @@ var Wf = function() { }, t.prototype.onFocusIn = function(e) { var r = this.eGui.contains(e.relatedTarget); if (!r) { - var o = !!e.relatedTarget && !e.relatedTarget.classList.contains("ag-floating-filter"), i = !!e.relatedTarget && Dt(e.relatedTarget, "ag-floating-filter"); + var o = !!e.relatedTarget && !e.relatedTarget.classList.contains("ag-floating-filter"), i = !!e.relatedTarget && Ft(e.relatedTarget, "ag-floating-filter"); if (o && i && e.target === this.eGui) { var s = this.lastFocusEvent, a = !!(s && s.key === _.TAB); if (s && a) { @@ -20287,14 +20287,14 @@ var Wf = function() { this.addManagedListener(this.column, Z.EVENT_WIDTH_CHANGED, r), r(); }, t.prototype.updateFilterButton = function() { !this.suppressFilterButton && this.comp && this.comp.setButtonWrapperDisplayed(this.filterManager.isFilterAllowed(this.column)); - }, Ii([ + }, xi([ h("filterManager") - ], t.prototype, "filterManager", void 0), Ii([ + ], t.prototype, "filterManager", void 0), xi([ h("columnHoverService") - ], t.prototype, "columnHoverService", void 0), Ii([ + ], t.prototype, "columnHoverService", void 0), xi([ h("menuFactory") ], t.prototype, "menuFactory", void 0), t; - }(ii) + }(ni) ); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue @@ -20302,7 +20302,7 @@ var Wf = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var kf = function() { +var Uf = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -20318,7 +20318,7 @@ var kf = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), xi = function(n, t, e, r) { +}(), Ni = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -20326,10 +20326,10 @@ var kf = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Uf = ( +}, zf = ( /** @class */ function(n) { - kf(t, n); + Uf(t, n); function t(e, r, o, i, s) { var a = n.call(this) || this; return a.pinned = e, a.column = r, a.eResize = o, a.comp = i, a.ctrl = s, a; @@ -20371,11 +20371,11 @@ var kf = function() { }, t.prototype.normaliseResizeAmount = function(e) { var r = e, o = this.pinned !== "left", i = this.pinned === "right"; return this.gridOptionsService.is("enableRtl") ? o && (r *= -1) : i && (r *= -1), r; - }, xi([ + }, Ni([ h("horizontalResizeService") - ], t.prototype, "horizontalResizeService", void 0), xi([ + ], t.prototype, "horizontalResizeService", void 0), Ni([ h("columnModel") - ], t.prototype, "columnModel", void 0), xi([ + ], t.prototype, "columnModel", void 0), Ni([ b ], t.prototype, "postConstruct", null), t; }(T) @@ -20386,7 +20386,7 @@ var kf = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var zf = function() { +var Kf = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -20402,7 +20402,7 @@ var zf = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), to = function(n, t, e, r) { +}(), oo = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -20410,10 +20410,10 @@ var zf = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Kf = ( +}, $f = ( /** @class */ function(n) { - zf(t, n); + Kf(t, n); function t(e) { var r = n.call(this) || this; r.cbSelectAllVisible = !1, r.processingEventFromCheckbox = !1, r.column = e; @@ -20426,7 +20426,7 @@ var zf = function() { }, t.prototype.getCheckboxGui = function() { return this.cbSelectAll.getGui(); }, t.prototype.setComp = function(e) { - this.headerCellCtrl = e, this.cbSelectAll = this.createManagedBean(new Gr()), this.cbSelectAll.addCssClass("ag-header-select-all"), le(this.cbSelectAll.getGui(), "presentation"), this.showOrHideSelectAll(), this.addManagedListener(this.eventService, v.EVENT_NEW_COLUMNS_LOADED, this.showOrHideSelectAll.bind(this)), this.addManagedListener(this.eventService, v.EVENT_DISPLAYED_COLUMNS_CHANGED, this.showOrHideSelectAll.bind(this)), this.addManagedListener(this.eventService, v.EVENT_SELECTION_CHANGED, this.onSelectionChanged.bind(this)), this.addManagedListener(this.eventService, v.EVENT_PAGINATION_CHANGED, this.onSelectionChanged.bind(this)), this.addManagedListener(this.eventService, v.EVENT_MODEL_UPDATED, this.onModelChanged.bind(this)), this.addManagedListener(this.cbSelectAll, Gr.EVENT_CHANGED, this.onCbSelectAll.bind(this)), Zo(this.cbSelectAll.getGui(), !0), this.cbSelectAll.getInputElement().setAttribute("tabindex", "-1"), this.refreshSelectAllLabel(); + this.headerCellCtrl = e, this.cbSelectAll = this.createManagedBean(new Vr()), this.cbSelectAll.addCssClass("ag-header-select-all"), le(this.cbSelectAll.getGui(), "presentation"), this.showOrHideSelectAll(), this.addManagedListener(this.eventService, v.EVENT_NEW_COLUMNS_LOADED, this.showOrHideSelectAll.bind(this)), this.addManagedListener(this.eventService, v.EVENT_DISPLAYED_COLUMNS_CHANGED, this.showOrHideSelectAll.bind(this)), this.addManagedListener(this.eventService, v.EVENT_SELECTION_CHANGED, this.onSelectionChanged.bind(this)), this.addManagedListener(this.eventService, v.EVENT_PAGINATION_CHANGED, this.onSelectionChanged.bind(this)), this.addManagedListener(this.eventService, v.EVENT_MODEL_UPDATED, this.onModelChanged.bind(this)), this.addManagedListener(this.cbSelectAll, Vr.EVENT_CHANGED, this.onCbSelectAll.bind(this)), ei(this.cbSelectAll.getGui(), !0), this.cbSelectAll.getInputElement().setAttribute("tabindex", "-1"), this.refreshSelectAllLabel(); }, t.prototype.showOrHideSelectAll = function() { this.cbSelectAllVisible = this.isCheckboxSelection(), this.cbSelectAll.setDisplayed(this.cbSelectAllVisible, { skipAriaHidden: !0 }), this.cbSelectAllVisible && (this.checkRightRowModelType("selectAllCheckbox"), this.updateStateOfCheckbox()), this.refreshSelectAllLabel(); }, t.prototype.onModelChanged = function() { @@ -20474,13 +20474,13 @@ var zf = function() { e = r(o); } return e ? this.checkRightRowModelType("headerCheckboxSelection") : !1; - }, to([ + }, oo([ h("gridApi") - ], t.prototype, "gridApi", void 0), to([ + ], t.prototype, "gridApi", void 0), oo([ h("columnApi") - ], t.prototype, "columnApi", void 0), to([ + ], t.prototype, "columnApi", void 0), oo([ h("rowModel") - ], t.prototype, "rowModel", void 0), to([ + ], t.prototype, "rowModel", void 0), oo([ h("selectionService") ], t.prototype, "selectionService", void 0), t; }(T) @@ -20491,7 +20491,7 @@ var zf = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var $f = function() { +var Yf = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -20515,17 +20515,17 @@ var $f = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Yf = ( +}, qf = ( /** @class */ function(n) { - $f(t, n); + Yf(t, n); function t(e, r) { var o = n.call(this, e, r) || this; return o.refreshFunctions = [], o.userHeaderClasses = /* @__PURE__ */ new Set(), o.ariaDescriptionProperties = /* @__PURE__ */ new Map(), o.column = e, o; } return t.prototype.setComp = function(e, r, o, i) { var s = this; - n.prototype.setGui.call(this, r), this.comp = e, this.updateState(), this.setupWidth(), this.setupMovingCss(), this.setupMenuClass(), this.setupSortableClass(), this.setupWrapTextClass(), this.refreshSpanHeaderHeight(), this.setupAutoHeight(i), this.addColumnHoverListener(), this.setupFilterCss(), this.setupColId(), this.setupClassesFromColDef(), this.setupTooltip(), this.addActiveHeaderMouseListeners(), this.setupSelectAll(), this.setupUserComp(), this.refreshAria(), this.createManagedBean(new Uf(this.getPinned(), this.column, o, e, this)), this.createManagedBean(new ls([this.column], r)), this.createManagedBean(new as(this.column, r, this.beans)), this.createManagedBean(new Et(r, { + n.prototype.setGui.call(this, r), this.comp = e, this.updateState(), this.setupWidth(), this.setupMovingCss(), this.setupMenuClass(), this.setupSortableClass(), this.setupWrapTextClass(), this.refreshSpanHeaderHeight(), this.setupAutoHeight(i), this.addColumnHoverListener(), this.setupFilterCss(), this.setupColId(), this.setupClassesFromColDef(), this.setupTooltip(), this.addActiveHeaderMouseListeners(), this.setupSelectAll(), this.setupUserComp(), this.refreshAria(), this.createManagedBean(new zf(this.getPinned(), this.column, o, e, this)), this.createManagedBean(new ls([this.column], r)), this.createManagedBean(new as(this.column, r, this.beans)), this.createManagedBean(new Rt(r, { shouldStopEventPropagation: function(a) { return s.shouldStopEventPropagation(a); }, @@ -20566,7 +20566,7 @@ var $f = function() { }; return o; }, t.prototype.setupSelectAll = function() { - this.selectAllFeature = this.createManagedBean(new Kf(this.column)), this.selectAllFeature.setComp(this); + this.selectAllFeature = this.createManagedBean(new $f(this.column)), this.selectAllFeature.setComp(this); }, t.prototype.getSelectAllGui = function() { return this.selectAllFeature.getCheckboxGui(); }, t.prototype.handleKeyDown = function(e) { @@ -20615,7 +20615,7 @@ var $f = function() { }); }, t.prototype.setupClassesFromColDef = function() { var e = this, r = function() { - var o = e.column.getColDef(), i = kl.getHeaderClassesFromColDef(o, e.gridOptionsService, e.column, null), s = e.userHeaderClasses; + var o = e.column.getColDef(), i = Ul.getHeaderClassesFromColDef(o, e.gridOptionsService, e.column, null), s = e.userHeaderClasses; e.userHeaderClasses = new Set(i), i.forEach(function(a) { s.has(a) ? s.delete(a) : e.comp.addOrRemoveCssClass(a, !0); }), s.forEach(function(a) { @@ -20756,7 +20756,7 @@ var $f = function() { }, t.prototype.setupAutoHeight = function(e) { var r = this, o = function(c) { if (r.isAlive()) { - var p = Nt(r.getGui()), d = p.paddingTop, f = p.paddingBottom, g = p.borderBottomWidth, y = p.borderTopWidth, C = d + f + g + y, m = e.offsetHeight, w = m + C; + var p = Gt(r.getGui()), d = p.paddingTop, f = p.paddingBottom, g = p.borderBottomWidth, y = p.borderTopWidth, C = d + f + g + y, m = e.offsetHeight, w = m + C; if (c < 5) { var E = r.beans.gridOptionsService.getDocument(), R = !E || !E.contains(e), D = w == 0; if (R || D) { @@ -20799,7 +20799,7 @@ var $f = function() { }, t.prototype.refreshAriaSort = function() { if (this.sortable) { var e = this.localeService.getLocaleTextFunc(), r = this.sortController.getDisplaySortForColumn(this.column) || null; - this.comp.setAriaSort(Ga(r)), this.setAriaDescriptionProperty("sort", e("ariaSortableColumn", "Press ENTER to sort.")); + this.comp.setAriaSort(Ha(r)), this.setAriaDescriptionProperty("sort", e("ariaSortableColumn", "Press ENTER to sort.")); } else this.comp.setAriaSort(), this.setAriaDescriptionProperty("sort", null); }, t.prototype.refreshAriaMenu = function() { @@ -20856,7 +20856,7 @@ var $f = function() { ], t.prototype, "columnApi", void 0), ot([ fe ], t.prototype, "removeDragSource", null), t; - }(ii) + }(ni) ); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue @@ -20864,7 +20864,7 @@ var $f = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var qf = function() { +var Qf = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -20880,7 +20880,7 @@ var qf = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), ro = function(n, t, e, r) { +}(), io = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -20888,10 +20888,10 @@ var qf = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Qf = ( +}, Xf = ( /** @class */ function(n) { - qf(t, n); + Qf(t, n); function t(e, r, o, i) { var s = n.call(this) || this; return s.eResize = r, s.comp = e, s.pinned = o, s.columnGroup = i, s; @@ -20977,13 +20977,13 @@ var qf = function() { }, t.prototype.normaliseDragChange = function(e) { var r = e; return this.gridOptionsService.is("enableRtl") ? this.pinned !== "left" && (r *= -1) : this.pinned === "right" && (r *= -1), r; - }, ro([ + }, io([ h("horizontalResizeService") - ], t.prototype, "horizontalResizeService", void 0), ro([ + ], t.prototype, "horizontalResizeService", void 0), io([ h("autoWidthCalculator") - ], t.prototype, "autoWidthCalculator", void 0), ro([ + ], t.prototype, "autoWidthCalculator", void 0), io([ h("columnModel") - ], t.prototype, "columnModel", void 0), ro([ + ], t.prototype, "columnModel", void 0), io([ b ], t.prototype, "postConstruct", null), t; }(T) @@ -20994,7 +20994,7 @@ var qf = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var Xf = function() { +var Jf = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -21010,7 +21010,7 @@ var Xf = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), Jf = function(n, t, e, r) { +}(), Zf = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -21018,10 +21018,10 @@ var Xf = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Zf = ( +}, ev = ( /** @class */ function(n) { - Xf(t, n); + Jf(t, n); function t(e, r) { var o = n.call(this) || this; return o.removeChildListenersFuncs = [], o.columnGroup = r, o.comp = e, o; @@ -21046,7 +21046,7 @@ var Xf = function() { }, t.prototype.onWidthChanged = function() { var e = this.columnGroup.getActualWidth(); this.comp.setWidth(e + "px"), this.comp.addOrRemoveCssClass("ag-hidden", e === 0); - }, Jf([ + }, Zf([ b ], t.prototype, "postConstruct", null), t; }(T) @@ -21057,7 +21057,7 @@ var Xf = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var ev = function() { +var tv = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -21073,7 +21073,7 @@ var ev = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), oo = function(n, t, e, r) { +}(), no = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -21081,10 +21081,10 @@ var ev = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, tv = ( +}, rv = ( /** @class */ function(n) { - ev(t, n); + tv(t, n); function t(e, r) { var o = n.call(this, e, r) || this; return o.columnGroup = e, o; @@ -21092,7 +21092,7 @@ var ev = function() { return t.prototype.setComp = function(e, r, o) { n.prototype.setGui.call(this, r), this.comp = e, this.displayName = this.columnModel.getDisplayNameForColumnGroup(this.columnGroup, "header"), this.addClasses(), this.addAttributes(), this.setupMovingCss(), this.setupExpandable(), this.setupTooltip(), this.setupUserComp(); var i = this.getParentRowCtrl().getPinned(), s = this.columnGroup.getProvidedColumnGroup().getLeafColumns(); - this.createManagedBean(new ls(s, r)), this.createManagedBean(new as(this.columnGroup, r, this.beans)), this.createManagedBean(new Zf(e, this.columnGroup)), this.groupResizeFeature = this.createManagedBean(new Qf(e, o, i, this.columnGroup)), this.createManagedBean(new Et(r, { + this.createManagedBean(new ls(s, r)), this.createManagedBean(new as(this.columnGroup, r, this.beans)), this.createManagedBean(new ev(e, this.columnGroup)), this.groupResizeFeature = this.createManagedBean(new Xf(e, o, i, this.columnGroup)), this.createManagedBean(new Rt(r, { shouldStopEventPropagation: this.shouldStopEventPropagation.bind(this), onTabKeyDown: function() { }, @@ -21152,7 +21152,7 @@ var ev = function() { }, t.prototype.addAttributes = function() { this.comp.setColId(this.columnGroup.getUniqueId()); }, t.prototype.addClasses = function() { - var e = this, r = this.columnGroup.getColGroupDef(), o = kl.getHeaderClassesFromColDef(r, this.gridOptionsService, null, this.columnGroup); + var e = this, r = this.columnGroup.getColGroupDef(), o = Ul.getHeaderClassesFromColDef(r, this.gridOptionsService, null, this.columnGroup); if (this.columnGroup.isPadding()) { o.push("ag-header-group-cell-no-group"); var i = this.columnGroup.getLeafColumns(); @@ -21247,16 +21247,16 @@ var ev = function() { }); var r = e || this.gridOptionsService.is("suppressMovableColumns"); return r; - }, oo([ + }, no([ h("columnModel") - ], t.prototype, "columnModel", void 0), oo([ + ], t.prototype, "columnModel", void 0), no([ h("dragAndDropService") - ], t.prototype, "dragAndDropService", void 0), oo([ + ], t.prototype, "dragAndDropService", void 0), no([ h("gridApi") - ], t.prototype, "gridApi", void 0), oo([ + ], t.prototype, "gridApi", void 0), no([ h("columnApi") ], t.prototype, "columnApi", void 0), t; - }(ii) + }(ni) ); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue @@ -21264,7 +21264,7 @@ var ev = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var rv = function() { +var ov = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -21288,13 +21288,13 @@ var rv = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, ov = 0, Ni = ( +}, iv = 0, Gi = ( /** @class */ function(n) { - rv(t, n); + ov(t, n); function t(e, r, o) { var i = n.call(this) || this; - return i.instanceId = ov++, i.headerCellCtrls = {}, i.rowIndex = e, i.pinned = r, i.type = o, i; + return i.instanceId = iv++, i.headerCellCtrls = {}, i.rowIndex = e, i.pinned = r, i.type = o, i; } return t.prototype.getInstanceId = function() { return this.instanceId; @@ -21303,7 +21303,7 @@ var rv = function() { }, t.prototype.addEventListeners = function() { this.addManagedListener(this.eventService, v.EVENT_COLUMN_RESIZED, this.onColumnResized.bind(this)), this.addManagedListener(this.eventService, v.EVENT_DISPLAYED_COLUMNS_CHANGED, this.onDisplayedColumnsChanged.bind(this)), this.addManagedListener(this.eventService, v.EVENT_VIRTUAL_COLUMNS_CHANGED, this.onVirtualColumnsChanged.bind(this)), this.addManagedListener(this.eventService, v.EVENT_COLUMN_HEADER_HEIGHT_CHANGED, this.onRowHeightChanged.bind(this)), this.addManagedListener(this.eventService, v.EVENT_GRID_STYLES_CHANGED, this.onRowHeightChanged.bind(this)), this.addManagedPropertyListener("domLayout", this.onDisplayedColumnsChanged.bind(this)), this.addManagedPropertyListener("headerHeight", this.onRowHeightChanged.bind(this)), this.addManagedPropertyListener("pivotHeaderHeight", this.onRowHeightChanged.bind(this)), this.addManagedPropertyListener("groupHeaderHeight", this.onRowHeightChanged.bind(this)), this.addManagedPropertyListener("pivotGroupHeaderHeight", this.onRowHeightChanged.bind(this)), this.addManagedPropertyListener("floatingFiltersHeight", this.onRowHeightChanged.bind(this)); }, t.prototype.getHeaderCellCtrl = function(e) { - return Hr(this.headerCellCtrls).find(function(r) { + return Br(this.headerCellCtrls).find(function(r) { return r.getColumnGroupChild() === e; }); }, t.prototype.onDisplayedColumnsChanged = function() { @@ -21350,13 +21350,13 @@ var rv = function() { if (c && (e.destroyBean(u), u = void 0), u == null) switch (e.type) { case he.FLOATING_FILTER: - u = e.createBean(new jf(a, e)); + u = e.createBean(new kf(a, e)); break; case he.COLUMN_GROUP: - u = e.createBean(new tv(a, e)); + u = e.createBean(new rv(a, e)); break; default: - u = e.createBean(new Yf(a, e)); + u = e.createBean(new qf(a, e)); break; } e.headerCellCtrls[l] = u; @@ -21414,7 +21414,7 @@ var rv = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var iv = function() { +var nv = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -21430,7 +21430,7 @@ var iv = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), fr = function(n, t, e, r) { +}(), gr = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -21438,7 +21438,7 @@ var iv = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, nv = function(n, t) { +}, sv = function(n, t) { var e = typeof Symbol == "function" && n[Symbol.iterator]; if (!e) return n; @@ -21457,14 +21457,14 @@ var iv = function() { } } return i; -}, sv = function() { +}, av = function() { for (var n = [], t = 0; t < arguments.length; t++) - n = n.concat(nv(arguments[t])); + n = n.concat(sv(arguments[t])); return n; -}, av = ( +}, lv = ( /** @class */ function(n) { - iv(t, n); + nv(t, n); function t(e) { var r = n.call(this) || this; return r.hidden = !1, r.groupsRowCtrls = [], r.pinned = e, r; @@ -21472,21 +21472,21 @@ var iv = function() { return t.prototype.setComp = function(e, r) { this.comp = e, this.eViewport = r, this.setupCenterWidth(), this.setupPinnedWidth(), this.setupDragAndDrop(this.eViewport), this.addManagedListener(this.eventService, v.EVENT_GRID_COLUMNS_CHANGED, this.onGridColumnsChanged.bind(this)), this.ctrlsService.registerHeaderContainer(this, this.pinned), this.columnModel.isReady() && this.refresh(); }, t.prototype.setupDragAndDrop = function(e) { - var r = new bf(this.pinned, e); + var r = new Pf(this.pinned, e); this.createManagedBean(r); }, t.prototype.refresh = function(e) { var r = this; e === void 0 && (e = !1); - var o = new er(), i = this.focusService.getFocusHeaderToUseAfterRefresh(), s = function() { + var o = new rr(), i = this.focusService.getFocusHeaderToUseAfterRefresh(), s = function() { var c = r.columnModel.getHeaderRowCount() - 1; r.groupsRowCtrls = r.destroyBeans(r.groupsRowCtrls); for (var p = 0; p < c; p++) { - var d = r.createBean(new Ni(o.next(), r.pinned, he.COLUMN_GROUP)); + var d = r.createBean(new Gi(o.next(), r.pinned, he.COLUMN_GROUP)); r.groupsRowCtrls.push(d); } }, a = function() { var c = o.next(), p = !r.hidden && (r.columnsRowCtrl == null || !e || r.columnsRowCtrl.getRowIndex() !== c), d = p || r.hidden; - d && (r.columnsRowCtrl = r.destroyBean(r.columnsRowCtrl)), p && (r.columnsRowCtrl = r.createBean(new Ni(c, r.pinned, he.COLUMN))); + d && (r.columnsRowCtrl = r.destroyBean(r.columnsRowCtrl)), p && (r.columnsRowCtrl = r.createBean(new Gi(c, r.pinned, he.COLUMN))); }, l = function() { var c = r.columnModel.hasFloatingFilters() && !r.hidden, p = function() { r.filtersRowCtrl = r.destroyBean(r.filtersRowCtrl); @@ -21500,7 +21500,7 @@ var iv = function() { var f = r.filtersRowCtrl.getRowIndex() !== d; (!e || f) && p(); } - r.filtersRowCtrl || (r.filtersRowCtrl = r.createBean(new Ni(d, r.pinned, he.FLOATING_FILTER))); + r.filtersRowCtrl || (r.filtersRowCtrl = r.createBean(new Gi(d, r.pinned, he.FLOATING_FILTER))); }; s(), a(), l(); var u = this.getAllCtrls(); @@ -21508,7 +21508,7 @@ var iv = function() { }, t.prototype.restoreFocusOnHeader = function(e) { e == null || e.column.getPinned() != this.pinned || this.focusService.focusHeaderPosition({ headerPosition: e }); }, t.prototype.getAllCtrls = function() { - var e = sv(this.groupsRowCtrls); + var e = av(this.groupsRowCtrls); return this.columnsRowCtrl && e.push(this.columnsRowCtrl), this.filtersRowCtrl && e.push(this.filtersRowCtrl), e; }, t.prototype.onGridColumnsChanged = function() { this.refresh(!0); @@ -21555,15 +21555,15 @@ var iv = function() { return this.groupsRowCtrls.length + (this.columnsRowCtrl ? 1 : 0) + (this.filtersRowCtrl ? 1 : 0); }, t.prototype.destroy = function() { this.filtersRowCtrl && (this.filtersRowCtrl = this.destroyBean(this.filtersRowCtrl)), this.columnsRowCtrl && (this.columnsRowCtrl = this.destroyBean(this.columnsRowCtrl)), this.groupsRowCtrls && this.groupsRowCtrls.length && (this.groupsRowCtrls = this.destroyBeans(this.groupsRowCtrls)), n.prototype.destroy.call(this); - }, fr([ + }, gr([ h("ctrlsService") - ], t.prototype, "ctrlsService", void 0), fr([ + ], t.prototype, "ctrlsService", void 0), gr([ h("scrollVisibleService") - ], t.prototype, "scrollVisibleService", void 0), fr([ + ], t.prototype, "scrollVisibleService", void 0), gr([ h("pinnedWidthService") - ], t.prototype, "pinnedWidthService", void 0), fr([ + ], t.prototype, "pinnedWidthService", void 0), gr([ h("columnModel") - ], t.prototype, "columnModel", void 0), fr([ + ], t.prototype, "columnModel", void 0), gr([ h("focusService") ], t.prototype, "focusService", void 0), t; }(T) @@ -21574,7 +21574,7 @@ var iv = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var lv = function() { +var uv = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -21590,7 +21590,7 @@ var lv = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), Gi = function(n, t, e, r) { +}(), Hi = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -21598,10 +21598,10 @@ var lv = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Hi = ( +}, Vi = ( /** @class */ function(n) { - lv(t, n); + uv(t, n); function t(e) { var r = n.call(this) || this; return r.headerRowComps = {}, r.rowCompsList = [], r.pinned = e, r; @@ -21628,7 +21628,7 @@ var lv = function() { var s = e.getGui(); s.style.width = i, s.style.maxWidth = i, s.style.minWidth = i; } - }, o = this.createManagedBean(new av(this.pinned)); + }, o = this.createManagedBean(new lv(this.pinned)); o.setComp(r, this.getGui()); }, t.prototype.selectAndSetTemplate = function() { var e = this.pinned == "left", r = this.pinned == "right", o = e ? t.PINNED_LEFT_TEMPLATE : r ? t.PINNED_RIGHT_TEMPLATE : t.CENTER_TEMPLATE; @@ -21647,18 +21647,18 @@ var lv = function() { e.forEach(function(a) { var l = a.getInstanceId(), u = o[l]; delete o[l]; - var c = u || r.createBean(new xf(a)); + var c = u || r.createBean(new Nf(a)); r.headerRowComps[l] = c, r.rowCompsList.push(c), s(c); }), et(o).forEach(function(a) { return r.destroyRowComp(a); }); }, t.PINNED_LEFT_TEMPLATE = '', t.PINNED_RIGHT_TEMPLATE = '', t.CENTER_TEMPLATE = ``, Gi([ + `, Hi([ P("eCenterContainer") - ], t.prototype, "eCenterContainer", void 0), Gi([ + ], t.prototype, "eCenterContainer", void 0), Hi([ b - ], t.prototype, "init", null), Gi([ + ], t.prototype, "init", null), Hi([ fe ], t.prototype, "destroyRowComps", null), t; }(W) @@ -21669,7 +21669,7 @@ var lv = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var uv = function() { +var cv = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -21685,7 +21685,7 @@ var uv = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), vr = function(n, t, e, r) { +}(), yr = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -21697,10 +21697,10 @@ var uv = function() { (function(n) { n[n.UP = 0] = "UP", n[n.DOWN = 1] = "DOWN", n[n.LEFT = 2] = "LEFT", n[n.RIGHT = 3] = "RIGHT"; })(Xe || (Xe = {})); -var cv = ( +var pv = ( /** @class */ function(n) { - uv(t, n); + cv(t, n); function t() { return n !== null && n.apply(this, arguments) || this; } @@ -21750,15 +21750,15 @@ var cv = ( o = e; this.gridBodyCon.getScrollFeature().ensureColumnVisible(o); } - }, vr([ + }, yr([ h("focusService") - ], t.prototype, "focusService", void 0), vr([ + ], t.prototype, "focusService", void 0), yr([ h("headerPositionUtils") - ], t.prototype, "headerPositionUtils", void 0), vr([ + ], t.prototype, "headerPositionUtils", void 0), yr([ h("ctrlsService") - ], t.prototype, "ctrlsService", void 0), vr([ + ], t.prototype, "ctrlsService", void 0), yr([ b - ], t.prototype, "postConstruct", null), t = vr([ + ], t.prototype, "postConstruct", null), t = yr([ A("headerNavigationService") ], t), t; }(T) @@ -21769,7 +21769,7 @@ var cv = ( * @link https://www.ag-grid.com/ * @license MIT */ -var pv = function() { +var dv = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -21785,7 +21785,7 @@ var pv = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), io = function(n, t, e, r) { +}(), so = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -21793,15 +21793,15 @@ var pv = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, dv = ( +}, hv = ( /** @class */ function(n) { - pv(t, n); + dv(t, n); function t() { return n !== null && n.apply(this, arguments) || this; } return t.prototype.setComp = function(e, r, o) { - this.comp = e, this.eGui = r, this.createManagedBean(new Et(o, { + this.comp = e, this.eGui = r, this.createManagedBean(new Rt(o, { onTabKeyDown: this.onTabKeyDown.bind(this), handleKeyDown: this.handleKeyDown.bind(this), onFocusOut: this.onFocusOut.bind(this) @@ -21852,13 +21852,13 @@ var pv = function() { }, t.prototype.onFocusOut = function(e) { var r = this.gridOptionsService.getDocument(), o = e.relatedTarget; !o && this.eGui.contains(r.activeElement) || this.eGui.contains(o) || this.focusService.clearFocusedHeader(); - }, io([ + }, so([ h("headerNavigationService") - ], t.prototype, "headerNavigationService", void 0), io([ + ], t.prototype, "headerNavigationService", void 0), so([ h("focusService") - ], t.prototype, "focusService", void 0), io([ + ], t.prototype, "focusService", void 0), so([ h("columnModel") - ], t.prototype, "columnModel", void 0), io([ + ], t.prototype, "columnModel", void 0), so([ h("ctrlsService") ], t.prototype, "ctrlsService", void 0), t; }(T) @@ -21869,7 +21869,7 @@ var pv = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var hv = function() { +var fv = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -21885,7 +21885,7 @@ var hv = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), fv = function(n, t, e, r) { +}(), vv = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -21893,10 +21893,10 @@ var hv = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, vv = ( +}, gv = ( /** @class */ function(n) { - hv(t, n); + fv(t, n); function t() { return n.call(this, t.TEMPLATE) || this; } @@ -21908,13 +21908,13 @@ var hv = function() { setHeightAndMinHeight: function(s) { e.getGui().style.height = s, e.getGui().style.minHeight = s; } - }, o = this.createManagedBean(new dv()); + }, o = this.createManagedBean(new hv()); o.setComp(r, this.getGui(), this.getFocusableElement()); var i = function(s) { e.createManagedBean(s), e.appendChild(s); }; - i(new Hi("left")), i(new Hi(null)), i(new Hi("right")); - }, t.TEMPLATE = '`, po([ P("eLabel") - ], t.prototype, "eLabel", void 0), uo([ + ], t.prototype, "eLabel", void 0), po([ P("eSlider") - ], t.prototype, "eSlider", void 0), uo([ + ], t.prototype, "eSlider", void 0), po([ P("eText") - ], t.prototype, "eText", void 0), uo([ + ], t.prototype, "eText", void 0), po([ b ], t.prototype, "init", null), t; - }(wl) + }(Sl) ); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue @@ -24315,7 +24315,7 @@ var ig = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var sg = function() { +var ag = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -24331,7 +24331,7 @@ var sg = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), pt = function(n, t, e, r) { +}(), dt = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -24339,10 +24339,10 @@ var sg = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, ag = ( +}, lg = ( /** @class */ function(n) { - sg(t, n); + ag(t, n); function t(e) { e === void 0 && (e = {}); var r = n.call(this, t.getTemplate(e)) || this; @@ -24432,21 +24432,21 @@ var sg = function() { return this.suppressOpenCloseIcons = e, e && this.toggleGroupExpand(!0), this; }, t.prototype.refreshDisabledStyles = function() { this.addOrRemoveCssClass("ag-disabled", !this.enabled), this.suppressEnabledCheckbox && !this.enabled ? (this.eTitleBar.classList.add("ag-disabled-group-title-bar"), this.eTitleBar.removeAttribute("tabindex")) : (this.eTitleBar.classList.remove("ag-disabled-group-title-bar"), this.eTitleBar.setAttribute("tabindex", "0")), this.eContainer.classList.toggle("ag-disabled-group-container", !this.enabled); - }, t.EVENT_EXPANDED = "expanded", t.EVENT_COLLAPSED = "collapsed", pt([ + }, t.EVENT_EXPANDED = "expanded", t.EVENT_COLLAPSED = "collapsed", dt([ P("eTitleBar") - ], t.prototype, "eTitleBar", void 0), pt([ + ], t.prototype, "eTitleBar", void 0), dt([ P("eGroupOpenedIcon") - ], t.prototype, "eGroupOpenedIcon", void 0), pt([ + ], t.prototype, "eGroupOpenedIcon", void 0), dt([ P("eGroupClosedIcon") - ], t.prototype, "eGroupClosedIcon", void 0), pt([ + ], t.prototype, "eGroupClosedIcon", void 0), dt([ P("eToolbar") - ], t.prototype, "eToolbar", void 0), pt([ + ], t.prototype, "eToolbar", void 0), dt([ P("cbGroupEnabled") - ], t.prototype, "cbGroupEnabled", void 0), pt([ + ], t.prototype, "cbGroupEnabled", void 0), dt([ P("eTitle") - ], t.prototype, "eTitle", void 0), pt([ + ], t.prototype, "eTitle", void 0), dt([ P("eContainer") - ], t.prototype, "eContainer", void 0), pt([ + ], t.prototype, "eContainer", void 0), dt([ b ], t.prototype, "postConstruct", null), t; }(W) @@ -24457,7 +24457,7 @@ var sg = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var lg = function() { +var ug = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -24481,14 +24481,14 @@ var lg = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Qt; +}, Xt; (function(n) { n.TAB_GUARD = "ag-tab-guard", n.TAB_GUARD_TOP = "ag-tab-guard-top", n.TAB_GUARD_BOTTOM = "ag-tab-guard-bottom"; -})(Qt || (Qt = {})); -var ug = ( +})(Xt || (Xt = {})); +var cg = ( /** @class */ function(n) { - lg(t, n); + ug(t, n); function t(e) { var r = n.call(this) || this; r.skipTabGuardFocus = !1; @@ -24497,7 +24497,7 @@ var ug = ( } return t.prototype.postConstruct = function() { var e = this; - this.createManagedBean(new Et(this.eFocusableElement, { + this.createManagedBean(new Rt(this.eFocusableElement, { shouldStopEventPropagation: function() { return e.shouldStopEventPropagation(); }, @@ -24576,7 +24576,7 @@ var ug = ( * @link https://www.ag-grid.com/ * @license MIT */ -var cg = function() { +var pg = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -24592,7 +24592,7 @@ var cg = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), pg = function(n, t) { +}(), dg = function(n, t) { var e = typeof Symbol == "function" && n[Symbol.iterator]; if (!e) return n; @@ -24611,14 +24611,14 @@ var cg = function() { } } return i; -}, dg = function() { +}, hg = function() { for (var n = [], t = 0; t < arguments.length; t++) - n = n.concat(pg(arguments[t])); + n = n.concat(dg(arguments[t])); return n; -}, ni = ( +}, si = ( /** @class */ function(n) { - cg(t, n); + pg(t, n); function t() { return n !== null && n.apply(this, arguments) || this; } @@ -24631,7 +24631,7 @@ var cg = function() { }); } }; - this.addTabGuards(this.eTopGuard, this.eBottomGuard), this.tabGuardCtrl = this.createManagedBean(new ug({ + this.addTabGuards(this.eTopGuard, this.eBottomGuard), this.tabGuardCtrl = this.createManagedBean(new cg({ comp: o, eTopGuard: this.eTopGuard, eBottomGuard: this.eBottomGuard, @@ -24644,17 +24644,17 @@ var cg = function() { shouldStopEventPropagation: e.shouldStopEventPropagation })); }, t.prototype.createTabGuard = function(e) { - var r = document.createElement("div"), o = e === "top" ? Qt.TAB_GUARD_TOP : Qt.TAB_GUARD_BOTTOM; - return r.classList.add(Qt.TAB_GUARD, o), le(r, "presentation"), r; + var r = document.createElement("div"), o = e === "top" ? Xt.TAB_GUARD_TOP : Xt.TAB_GUARD_BOTTOM; + return r.classList.add(Xt.TAB_GUARD, o), le(r, "presentation"), r; }, t.prototype.addTabGuards = function(e, r) { this.eFocusableElement.insertAdjacentElement("afterbegin", e), this.eFocusableElement.insertAdjacentElement("beforeend", r); }, t.prototype.removeAllChildrenExceptTabGuards = function() { var e = [this.eTopGuard, this.eBottomGuard]; - Ae(this.getFocusableElement()), this.addTabGuards.apply(this, dg(e)); + Ae(this.getFocusableElement()), this.addTabGuards.apply(this, hg(e)); }, t.prototype.forceFocusOutOfContainer = function(e) { e === void 0 && (e = !1), this.tabGuardCtrl.forceFocusOutOfContainer(e); }, t.prototype.appendChild = function(e, r) { - jr(e) || (e = e.getGui()); + Ur(e) || (e = e.getGui()); var o = this.eBottomGuard; o ? o.insertAdjacentElement("beforebegin", e) : n.prototype.appendChild.call(this, e, r); }, t; @@ -24666,7 +24666,7 @@ var cg = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var hg = function() { +var fg = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -24682,15 +24682,15 @@ var hg = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), zo = function() { - return zo = Object.assign || function(n) { +}(), $o = function() { + return $o = Object.assign || function(n) { for (var t, e = 1, r = arguments.length; e < r; e++) { t = arguments[e]; for (var o in t) Object.prototype.hasOwnProperty.call(t, o) && (n[o] = t[o]); } return n; - }, zo.apply(this, arguments); + }, $o.apply(this, arguments); }, js = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") @@ -24699,10 +24699,10 @@ var hg = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, fg = ( +}, vg = ( /** @class */ function(n) { - hg(t, n); + fg(t, n); function t(e) { e === void 0 && (e = 1); var r = n.call( @@ -24746,14 +24746,14 @@ var hg = function() { o === "separator" ? r.addSeparator() : typeof o == "string" ? console.warn("AG Grid: unrecognised menu item " + o) : r.addItem(o); }); }, t.prototype.addItem = function(e) { - var r = this, o = this.createManagedBean(new Cr(zo(zo({}, e), { isAnotherSubMenuOpen: function() { + var r = this, o = this.createManagedBean(new wr($o($o({}, e), { isAnotherSubMenuOpen: function() { return r.menuItems.some(function(i) { return i.isSubMenuOpen(); }); } }))); - o.setParentComponent(this), ja(o.getGui(), this.level), this.menuItems.push(o), this.appendChild(o.getGui()), this.addManagedListener(o, Cr.EVENT_MENU_ITEM_SELECTED, function(i) { + o.setParentComponent(this), ka(o.getGui(), this.level), this.menuItems.push(o), this.appendChild(o.getGui()), this.addManagedListener(o, wr.EVENT_MENU_ITEM_SELECTED, function(i) { r.dispatchEvent(i); - }), this.addManagedListener(o, Cr.EVENT_MENU_ITEM_ACTIVATED, function(i) { + }), this.addManagedListener(o, wr.EVENT_MENU_ITEM_ACTIVATED, function(i) { r.activeMenuItem && r.activeMenuItem !== i.menuItem && r.activeMenuItem.deactivate(), r.activeMenuItem = i.menuItem; }); }, t.prototype.activateFirstItem = function() { @@ -24779,7 +24779,7 @@ var hg = function() { return this; for (; ; ) { var r = e && e.getParentComponent && e.getParentComponent(); - if (!r || !(r instanceof t || r instanceof Cr)) + if (!r || !(r instanceof t || r instanceof wr)) break; e = r; } @@ -24796,7 +24796,7 @@ var hg = function() { e === o ? this.closeIfIsChild() : this.openChild(); }, t.prototype.closeIfIsChild = function(e) { var r = this.getParentComponent(); - r && r instanceof Cr && (e && e.preventDefault(), r.closeSubMenu(), r.getGui().focus()); + r && r instanceof wr && (e && e.preventDefault(), r.closeSubMenu(), r.getGui().focus()); }, t.prototype.openChild = function() { this.activeMenuItem && this.activeMenuItem.openSubMenu(!0); }, t.prototype.findNextItem = function(e) { @@ -24825,7 +24825,7 @@ var hg = function() { ], t.prototype, "focusService", void 0), js([ b ], t.prototype, "postConstruct", null), t; - }(ni) + }(si) ); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue @@ -24833,7 +24833,7 @@ var hg = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var vg = function() { +var gg = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -24849,7 +24849,7 @@ var vg = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), gg = function(n, t, e, r) { +}(), yg = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -24857,10 +24857,10 @@ var vg = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, yg = ( +}, Cg = ( /** @class */ function(n) { - vg(t, n); + gg(t, n); function t(e) { var r = n.call(this) || this; return r.wrappedComponent = e, r.setTemplateFromElement(e.getGui()), r; @@ -24884,10 +24884,10 @@ var vg = function() { e.closeSubMenu(), setTimeout(function() { return e.getGui().focus(); }, 0); - }, gg([ + }, yg([ b ], t.prototype, "postConstruct", null), t; - }(ni) + }(si) ); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue @@ -24895,7 +24895,7 @@ var vg = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var Cg = function() { +var mg = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -24919,10 +24919,10 @@ var Cg = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Cr = ( +}, wr = ( /** @class */ function(n) { - Cg(t, n); + mg(t, n); function t(e) { var r = n.call(this) || this; return r.params = e, r.isActive = !1, r.subMenuIsOpen = !1, r.setTemplate( @@ -24957,7 +24957,7 @@ var Cg = function() { '' ), i; if (this.params.subMenu instanceof Array) { - var s = Ha(this.getGui()), a = isNaN(s) ? 1 : s + 1, l = this.createBean(new fg(a)); + var s = Va(this.getGui()), a = isNaN(s) ? 1 : s + 1, l = this.createBean(new vg(a)); l.setParentComponent(this), l.addMenuItems(this.params.subMenu), o.appendChild(l.getGui()), this.addManagedListener(l, t.EVENT_MENU_ITEM_SELECTED, function(w) { return r.dispatchEvent(w); }), l.addGuiEventListener("mouseenter", function() { @@ -24968,7 +24968,7 @@ var Cg = function() { return l.activateFirstItem(); }, 0); } else { - var u = this.params.subMenu, c = this.createBean(new yg(u)); + var u = this.params.subMenu, c = this.createBean(new Cg(u)); c.setParentComponent(this); var p = c.getGui(), d = "mouseenter", f = function() { return r.cancelDeactivate(); @@ -25007,7 +25007,7 @@ var Cg = function() { /* html */ '' ); - this.params.checked ? e.appendChild(oe("check", this.gridOptionsService)) : this.params.icon && (jr(this.params.icon) ? e.appendChild(this.params.icon) : typeof this.params.icon == "string" ? e.innerHTML = this.params.icon : console.warn("AG Grid: menu item icon must be DOM node or string")), this.getGui().appendChild(e); + this.params.checked ? e.appendChild(oe("check", this.gridOptionsService)) : this.params.icon && (Ur(this.params.icon) ? e.appendChild(this.params.icon) : typeof this.params.icon == "string" ? e.innerHTML = this.params.icon : console.warn("AG Grid: menu item icon must be DOM node or string")), this.getGui().appendChild(e); } }, t.prototype.addName = function() { if (!(!this.params.name && this.params.isCompact)) { @@ -25097,7 +25097,7 @@ var Cg = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var mg = function() { +var wg = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -25113,7 +25113,7 @@ var mg = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), mr = function(n, t, e, r) { +}(), Sr = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -25121,10 +25121,10 @@ var mg = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Ul = ( +}, zl = ( /** @class */ function(n) { - mg(t, n); + wg(t, n); function t(e) { var r = n.call(this, t.getTemplate(e)) || this; return r.closable = !0, r.config = e, r; @@ -25143,7 +25143,7 @@ var mg = function() { ); }, t.prototype.postConstruct = function() { var e = this, r = this.config, o = r.component, i = r.closable, s = r.hideTitleBar, a = r.title, l = r.minWidth, u = l === void 0 ? 250 : l, c = r.width, p = r.minHeight, d = p === void 0 ? 250 : p, f = r.height, g = r.centered, y = r.popup, C = r.x, m = r.y; - this.positionableFeature = new ml(this.getGui(), { + this.positionableFeature = new wl(this.getGui(), { minWidth: u, width: c, minHeight: d, @@ -25197,9 +25197,9 @@ var mg = function() { var a = e.getGui(); r === 0 ? o.insertAdjacentElement("afterbegin", a) : r === s ? o.insertAdjacentElement("beforeend", a) : i[r - 1].insertAdjacentElement("afterend", a), e.setParentComponent(this); }, t.prototype.getBodyHeight = function() { - return Br(this.eContentWrapper); + return jr(this.eContentWrapper); }, t.prototype.getBodyWidth = function() { - return ti(this.eContentWrapper); + return ri(this.eContentWrapper); }, t.prototype.setTitle = function(e) { this.eTitle.innerText = e; }, t.prototype.onBtClose = function() { @@ -25208,15 +25208,15 @@ var mg = function() { this.closeButtonComp && (this.closeButtonComp = this.destroyBean(this.closeButtonComp)); var e = this.getGui(); e && e.offsetParent && this.close(), n.prototype.destroy.call(this); - }, t.CLOSE_BTN_TEMPLATE = '
', mr([ + }, t.CLOSE_BTN_TEMPLATE = '
', Sr([ P("eContentWrapper") - ], t.prototype, "eContentWrapper", void 0), mr([ + ], t.prototype, "eContentWrapper", void 0), Sr([ P("eTitleBar") - ], t.prototype, "eTitleBar", void 0), mr([ + ], t.prototype, "eTitleBar", void 0), Sr([ P("eTitleBarButtons") - ], t.prototype, "eTitleBarButtons", void 0), mr([ + ], t.prototype, "eTitleBarButtons", void 0), Sr([ P("eTitle") - ], t.prototype, "eTitle", void 0), mr([ + ], t.prototype, "eTitle", void 0), Sr([ b ], t.prototype, "postConstruct", null), t; }(W) @@ -25227,7 +25227,7 @@ var mg = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var wg = function() { +var Sg = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -25243,16 +25243,16 @@ var wg = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), Ko = function() { - return Ko = Object.assign || function(n) { +}(), Yo = function() { + return Yo = Object.assign || function(n) { for (var t, e = 1, r = arguments.length; e < r; e++) { t = arguments[e]; for (var o in t) Object.prototype.hasOwnProperty.call(t, o) && (n[o] = t[o]); } return n; - }, Ko.apply(this, arguments); -}, Sg = function(n, t, e, r) { + }, Yo.apply(this, arguments); +}, Eg = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -25260,12 +25260,12 @@ var wg = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Eg = ( +}, _g = ( /** @class */ function(n) { - wg(t, n); + Sg(t, n); function t(e) { - var r = n.call(this, Ko(Ko({}, e), { popup: !0 })) || this; + var r = n.call(this, Yo(Yo({}, e), { popup: !0 })) || this; return r.isMaximizable = !1, r.isMaximized = !1, r.maximizeListeners = [], r.resizeListenerDestroy = null, r.lastPosition = { x: 0, y: 0, @@ -25327,10 +25327,10 @@ var wg = function() { '
' )), r = e.getGui(); return this.maximizeIcon = oe("maximize", this.gridOptionsService), r.appendChild(this.maximizeIcon), this.maximizeIcon.classList.add("ag-panel-title-bar-button-icon"), this.minimizeIcon = oe("minimize", this.gridOptionsService), r.appendChild(this.minimizeIcon), this.minimizeIcon.classList.add("ag-panel-title-bar-button-icon"), e; - }, Sg([ + }, Eg([ h("popupService") ], t.prototype, "popupService", void 0), t; - }(Ul) + }(zl) ); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue @@ -25338,7 +25338,7 @@ var wg = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var _g = function() { +var Rg = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -25354,15 +25354,15 @@ var _g = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), Ar = function() { - return Ar = Object.assign || function(n) { +}(), Lr = function() { + return Lr = Object.assign || function(n) { for (var t, e = 1, r = arguments.length; e < r; e++) { t = arguments[e]; for (var o in t) Object.prototype.hasOwnProperty.call(t, o) && (n[o] = t[o]); } return n; - }, Ar.apply(this, arguments); + }, Lr.apply(this, arguments); }, ze = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") @@ -25371,7 +25371,7 @@ var _g = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Rg = function(n, t) { +}, Og = function(n, t) { var e = typeof Symbol == "function" && n[Symbol.iterator]; if (!e) return n; @@ -25390,14 +25390,14 @@ var _g = function() { } } return i; -}, Og = function() { +}, Tg = function() { for (var n = [], t = 0; t < arguments.length; t++) - n = n.concat(Rg(arguments[t])); + n = n.concat(Og(arguments[t])); return n; -}, Fr = ( +}, Mr = ( /** @class */ function(n) { - _g(t, n); + Rg(t, n); function t() { return n !== null && n.apply(this, arguments) || this; } @@ -25406,7 +25406,7 @@ var _g = function() { i && i.length > 0 ? i.indexOf(o) === -1 && i.push(o) : (e.instancesMonitored.set(r, [o]), r.addEventListener("keydown", e.toggleKeyboardMode), r.addEventListener("mousedown", e.toggleKeyboardMode)); }, t.removeKeyboardModeEvents = function(r, o) { var i = e.instancesMonitored.get(r), s = []; - i && i.length && (s = Og(i).filter(function(a) { + i && i.length && (s = Tg(i).filter(function(a) { return a !== o; }), e.instancesMonitored.set(r, s)), s.length === 0 && (r.removeEventListener("keydown", e.toggleKeyboardMode), r.removeEventListener("mousedown", e.toggleKeyboardMode)); }, t.toggleKeyboardMode = function(r) { @@ -25442,10 +25442,10 @@ var _g = function() { return e.keyboardModeActive; }, t.prototype.getFocusCellToUseAfterRefresh = function() { var r = this.gridOptionsService.getDocument(); - return this.gridOptionsService.is("suppressFocusAfterRefresh") || !this.focusedCellPosition || this.isDomDataMissingInHierarchy(r.activeElement, Lt.DOM_DATA_KEY_ROW_CTRL) ? null : this.focusedCellPosition; + return this.gridOptionsService.is("suppressFocusAfterRefresh") || !this.focusedCellPosition || this.isDomDataMissingInHierarchy(r.activeElement, It.DOM_DATA_KEY_ROW_CTRL) ? null : this.focusedCellPosition; }, t.prototype.getFocusHeaderToUseAfterRefresh = function() { var r = this.gridOptionsService.getDocument(); - return this.gridOptionsService.is("suppressFocusAfterRefresh") || !this.focusedHeaderPosition || this.isDomDataMissingInHierarchy(r.activeElement, ii.DOM_DATA_KEY_HEADER_CTRL) ? null : this.focusedHeaderPosition; + return this.gridOptionsService.is("suppressFocusAfterRefresh") || !this.focusedHeaderPosition || this.isDomDataMissingInHierarchy(r.activeElement, ni.DOM_DATA_KEY_HEADER_CTRL) ? null : this.focusedHeaderPosition; }, t.prototype.isDomDataMissingInHierarchy = function(r, o) { for (var i = r; i; ) { var s = this.gridOptionsService.getDomData(i, o); @@ -25466,7 +25466,7 @@ var _g = function() { return l && (a.isFullWidthCell = l.isFullWidth()), a; }, t.prototype.clearFocusedCell = function() { if (this.focusedCellPosition != null) { - var r = Ar({ type: v.EVENT_CELL_FOCUS_CLEARED }, this.getFocusEventParams()); + var r = Lr({ type: v.EVENT_CELL_FOCUS_CLEARED }, this.getFocusEventParams()); this.focusedCellPosition = null, this.eventService.dispatchEvent(r); } }, t.prototype.setFocusedCell = function(r) { @@ -25477,10 +25477,10 @@ var _g = function() { } this.focusedCellPosition = p ? { rowIndex: i, - rowPinned: Ct(s), + rowPinned: mt(s), column: p } : null; - var d = Ar(Ar({ type: v.EVENT_CELL_FOCUSED }, this.getFocusEventParams()), { + var d = Lr(Lr({ type: v.EVENT_CELL_FOCUSED }, this.getFocusEventParams()), { forceBrowserFocus: l, preventScrollOnBrowserFocus: c, floating: null @@ -25551,10 +25551,10 @@ var _g = function() { }, t.prototype.isAnyCellFocused = function() { return !!this.focusedCellPosition; }, t.prototype.isRowFocused = function(r, o) { - return this.focusedCellPosition == null ? !1 : this.focusedCellPosition.rowIndex === r && this.focusedCellPosition.rowPinned === Ct(o); + return this.focusedCellPosition == null ? !1 : this.focusedCellPosition.rowIndex === r && this.focusedCellPosition.rowPinned === mt(o); }, t.prototype.findFocusableElements = function(r, o, i) { i === void 0 && (i = !1); - var s = ol, a = jn; + var s = il, a = jn; o && (a += ", " + o), i && (a += ', [tabindex="-1"]'); var l = Array.prototype.slice.apply(r.querySelectorAll(s)), u = Array.prototype.slice.apply(r.querySelectorAll(a)); if (!u.length) @@ -25576,7 +25576,7 @@ var _g = function() { if (s === -1) return null; for (var a = -1, l = s - 1; l >= 0; l--) - if (i[l].classList.contains(Qt.TAB_GUARD_TOP)) { + if (i[l].classList.contains(Xt.TAB_GUARD_TOP)) { a = l; break; } @@ -25592,7 +25592,7 @@ var _g = function() { }, t.prototype.isTargetUnderManagedComponent = function(r, o) { if (!o) return !1; - var i = r.querySelectorAll("." + Et.FOCUS_MANAGED_CLASS); + var i = r.querySelectorAll("." + Rt.FOCUS_MANAGED_CLASS); if (!i.length) return !1; for (var s = 0; s < i.length; s++) @@ -25601,9 +25601,9 @@ var _g = function() { return !1; }, t.prototype.findTabbableParent = function(r, o) { o === void 0 && (o = 5); - for (var i = 0; r && Ao(r) === null && ++i <= o; ) + for (var i = 0; r && Lo(r) === null && ++i <= o; ) r = r.parentElement; - return Ao(r) === null ? null : r; + return Lo(r) === null ? null : r; }, t.prototype.focusGridView = function(r, o) { if (this.gridOptionsService.is("suppressCellFocus")) return o ? this.focusLastHeader() : this.focusNextGridCoreContainer(!1); @@ -25616,7 +25616,7 @@ var _g = function() { if (this.navigationService.ensureCellVisible({ rowIndex: s, column: r, rowPinned: a }), this.setFocusedCell({ rowIndex: s, column: r, - rowPinned: Ct(a), + rowPinned: mt(a), forceBrowserFocus: !0 }), this.rangeService) { var u = { rowIndex: s, rowPinned: a, column: r }; @@ -25656,7 +25656,7 @@ var _g = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var Tg = function() { +var bg = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -25672,7 +25672,7 @@ var Tg = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), wr = function(n, t, e, r) { +}(), Er = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -25680,7 +25680,7 @@ var Tg = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, bg = function(n, t) { +}, Pg = function(n, t) { var e = typeof Symbol == "function" && n[Symbol.iterator]; if (!e) return n; @@ -25699,18 +25699,18 @@ var Tg = function() { } } return i; -}, Pg = function() { +}, Dg = function() { for (var n = [], t = 0; t < arguments.length; t++) - n = n.concat(bg(arguments[t])); + n = n.concat(Pg(arguments[t])); return n; -}, vt; +}, gt; (function(n) { n[n.vertical = 0] = "vertical", n[n.horizontal = 1] = "horizontal"; -})(vt || (vt = {})); -var Dg = 0, Ag = ( +})(gt || (gt = {})); +var Ag = 0, Fg = ( /** @class */ function(n) { - Tg(t, n); + bg(t, n); function t() { var r = n !== null && n.apply(this, arguments) || this; return r.popupList = [], r; @@ -25720,11 +25720,11 @@ var Dg = 0, Ag = ( this.ctrlsService.whenReady(function(o) { r.gridCtrl = o.gridCtrl, r.addManagedListener(r.gridCtrl, v.EVENT_KEYBOARD_FOCUS, function() { r.popupList.forEach(function(i) { - return i.element.classList.add(Fr.AG_KEYBOARD_FOCUS); + return i.element.classList.add(Mr.AG_KEYBOARD_FOCUS); }); }), r.addManagedListener(r.gridCtrl, v.EVENT_MOUSE_FOCUS, function() { r.popupList.forEach(function(i) { - return i.element.classList.remove(Fr.AG_KEYBOARD_FOCUS); + return i.element.classList.remove(Mr.AG_KEYBOARD_FOCUS); }); }); }); @@ -25732,7 +25732,7 @@ var Dg = 0, Ag = ( var r = this.gridOptionsService.get("popupParent"); return r || this.gridCtrl.getGui(); }, t.prototype.positionPopupForMenu = function(r) { - var o = r.eventSource.getBoundingClientRect(), i = this.getParentRect(), s = this.keepXYWithinBounds(r.ePopup, o.top - i.top, vt.vertical), a = r.ePopup.clientWidth > 0 ? r.ePopup.clientWidth : 200; + var o = r.eventSource.getBoundingClientRect(), i = this.getParentRect(), s = this.keepXYWithinBounds(r.ePopup, o.top - i.top, gt.vertical), a = r.ePopup.clientWidth > 0 ? r.ePopup.clientWidth : 200; r.ePopup.style.minWidth = a + "px"; var l = i.right - i.left, u = l - a, c; this.gridOptionsService.is("enableRtl") ? (c = d(), c < 0 && (c = p()), c > u && (c = 0)) : (c = p(), c > u && (c = d()), c < 0 && (c = 0)), r.ePopup.style.left = c + "px", r.ePopup.style.top = s + "px"; @@ -25797,7 +25797,7 @@ var Dg = 0, Ag = ( var o = this, i = r.ePopup, s = r.keepWithinBounds, a = r.nudgeX, l = r.nudgeY, u = r.skipObserver, c = r.updatePosition, p = { width: 0, height: 0 }, d = function(g) { g === void 0 && (g = !1); var y = c(), C = y.x, m = y.y; - g && i.clientWidth === p.width && i.clientHeight === p.height || (p.width = i.clientWidth, p.height = i.clientHeight, a && (C += a), l && (m += l), s && (C = o.keepXYWithinBounds(i, C, vt.horizontal), m = o.keepXYWithinBounds(i, m, vt.vertical)), i.style.left = C + "px", i.style.top = m + "px", r.postProcessCallback && r.postProcessCallback()); + g && i.clientWidth === p.width && i.clientHeight === p.height || (p.width = i.clientWidth, p.height = i.clientHeight, a && (C += a), l && (m += l), s && (C = o.keepXYWithinBounds(i, C, gt.horizontal), m = o.keepXYWithinBounds(i, m, gt.vertical)), i.style.left = C + "px", i.style.top = m + "px", r.postProcessCallback && r.postProcessCallback()); }; if (d(), !u) { var f = this.resizeObserverService.observeResize(i, function() { @@ -25824,7 +25824,7 @@ var Dg = 0, Ag = ( bottom: s.bottom + parseFloat(i.borderBottomWidth) || 0 }; }, t.prototype.keepXYWithinBounds = function(r, o, i) { - var s = i === vt.vertical, a = s ? "clientHeight" : "clientWidth", l = s ? "top" : "left", u = s ? "offsetHeight" : "offsetWidth", c = s ? "scrollTop" : "scrollLeft", p = this.gridOptionsService.getDocument(), d = p.documentElement, f = this.getPopupParent(), g = f.getBoundingClientRect(), y = p.documentElement.getBoundingClientRect(), C = f === p.body, m = r[u], w = s ? Un : ri, E = C ? w(d) + d[c] : f[a]; + var s = i === gt.vertical, a = s ? "clientHeight" : "clientWidth", l = s ? "top" : "left", u = s ? "offsetHeight" : "offsetWidth", c = s ? "scrollTop" : "scrollLeft", p = this.gridOptionsService.getDocument(), d = p.documentElement, f = this.getPopupParent(), g = f.getBoundingClientRect(), y = p.documentElement.getBoundingClientRect(), C = f === p.body, m = r[u], w = s ? Un : oi, E = C ? w(d) + d[c] : f[a]; C && (E -= Math.abs(y[l] - g[l])); var R = E - m; return Math.min(Math.max(o, 0), Math.abs(R)); @@ -25839,13 +25839,13 @@ var Dg = 0, Ag = ( } var R = m.top - w.top; if (R != c) { - var D = o.keepXYWithinBounds(r.ePopup, f + l - R, vt.vertical); + var D = o.keepXYWithinBounds(r.ePopup, f + l - R, gt.vertical); r.ePopup.style.top = D + "px"; } c = R; var M = m.left - w.left; if (M != p) { - var I = o.keepXYWithinBounds(r.ePopup, y + u - M, vt.horizontal); + var I = o.keepXYWithinBounds(r.ePopup, y + u - M, gt.horizontal); r.ePopup.style.left = I + "px"; } p = M; @@ -25874,7 +25874,7 @@ var Dg = 0, Ag = ( var R = this.getPopupParent(); a.style.top == null && (a.style.top = "0px"), a.style.left == null && (a.style.left = "0px"); var D = document.createElement("div"), M = this.environment.getTheme().allThemes; - M.length && (o = D.classList).add.apply(o, Pg(M)), D.classList.add("ag-popup"), a.classList.add(this.gridOptionsService.is("enableRtl") ? "ag-rtl" : "ag-ltr", "ag-popup-child"), a.hasAttribute("role") || le(a, "dialog"), xt(a, y), this.focusService.isKeyboardMode() && a.classList.add(Fr.AG_KEYBOARD_FOCUS), D.appendChild(a), R.appendChild(D), p ? this.setAlwaysOnTop(D, !0) : this.bringPopupToFront(D); + M.length && (o = D.classList).add.apply(o, Dg(M)), D.classList.add("ag-popup"), a.classList.add(this.gridOptionsService.is("enableRtl") ? "ag-rtl" : "ag-ltr", "ag-popup-child"), a.hasAttribute("role") || le(a, "dialog"), Nt(a, y), this.focusService.isKeyboardMode() && a.classList.add(Mr.AG_KEYBOARD_FOCUS), D.appendChild(a), R.appendChild(D), p ? this.setAlwaysOnTop(D, !0) : this.bringPopupToFront(D); var I = !1, L = function(U) { if (D.contains(C.activeElement)) { var ue = U.key; @@ -25909,7 +25909,7 @@ var Dg = 0, Ag = ( wrapper: D, hideFunc: Q, stopAnchoringPromise: m, - instanceId: Dg++, + instanceId: Ag++, isAnchored: !!g }), { hideFunc: Q, @@ -25930,7 +25930,7 @@ var Dg = 0, Ag = ( return !1; for (var u = l; u < this.popupList.length; u++) { var c = this.popupList[u]; - if (Do(c.element, a)) + if (Fo(c.element, a)) return !0; } return this.isElementWithinCustomPopup(a.target); @@ -25981,15 +25981,15 @@ var Dg = 0, Ag = ( } }; var e; - return t.WAIT_FOR_POPUP_CONTENT_RESIZE = 200, wr([ + return t.WAIT_FOR_POPUP_CONTENT_RESIZE = 200, Er([ h("focusService") - ], t.prototype, "focusService", void 0), wr([ + ], t.prototype, "focusService", void 0), Er([ h("ctrlsService") - ], t.prototype, "ctrlsService", void 0), wr([ + ], t.prototype, "ctrlsService", void 0), Er([ h("resizeObserverService") - ], t.prototype, "resizeObserverService", void 0), wr([ + ], t.prototype, "resizeObserverService", void 0), Er([ b - ], t.prototype, "postConstruct", null), t = e = wr([ + ], t.prototype, "postConstruct", null), t = e = Er([ A("popupService") ], t), t; }(T) @@ -26000,7 +26000,7 @@ var Dg = 0, Ag = ( * @link https://www.ag-grid.com/ * @license MIT */ -var Fg = function() { +var Lg = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -26016,7 +26016,7 @@ var Fg = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), ki = function(n, t, e, r) { +}(), Ui = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -26026,7 +26026,7 @@ var Fg = function() { return o > 3 && i && Object.defineProperty(t, e, i), i; }; (function(n) { - Fg(t, n); + Lg(t, n); function t(e, r, o) { e === void 0 && (e = "default"), r === void 0 && (r = "listbox"); var i = n.call(this, t.getTemplate(e)) || this; @@ -26055,7 +26055,7 @@ var Fg = function() { this.rowHeight = this.getItemHeight(), this.refresh(); }, t.prototype.setAriaProperties = function() { var e = this.localeService.getLocaleTextFunc(), r = e("ariaDefaultListName", this.listName || "List"), o = this.eContainer; - le(o, this.ariaRole), xt(o, r); + le(o, this.ariaRole), Nt(o, r); }, t.prototype.addResizeObserver = function() { var e = this, r = function() { return e.drawVirtualRows(); @@ -26065,7 +26065,7 @@ var Fg = function() { this.focusRow(e ? this.model.getRowCount() - 1 : 0); }, t.prototype.onFocusIn = function(e) { var r = e.target; - return r.classList.contains("ag-virtual-list-item") && (this.lastFocusedRowIndex = Va(r) - 1), !1; + return r.classList.contains("ag-virtual-list-item") && (this.lastFocusedRowIndex = Ba(r) - 1), !1; }, t.prototype.onFocusOut = function(e) { return this.getFocusableElement().contains(e.relatedTarget) || (this.lastFocusedRowIndex = null), !1; }, t.prototype.handleKeyDown = function(e) { @@ -26136,7 +26136,7 @@ var Fg = function() { var r = this; if (!(this.model == null || !this.isAlive())) { var o = this.model.getRowCount(); - this.eContainer.style.height = o * this.rowHeight + "px", wa(function() { + this.eContainer.style.height = o * this.rowHeight + "px", Sa(function() { return r.eContainer.clientHeight >= o * r.rowHeight; }, function() { r.isAlive() && (r.canSoftRefresh(e) ? r.drawVirtualRows(!0) : (r.clearVirtualRows(), r.drawVirtualRows())); @@ -26165,7 +26165,7 @@ var Fg = function() { var r = this, o = this.model.getRow(e), i = document.createElement("div"); if (i.classList.add("ag-virtual-list-item", "ag-" + this.cssIdentifier + "-virtual-list-item"), le(i, this.ariaRole === "tree" ? "treeitem" : "option"), In(i, this.model.getRowCount()), xn(i, e + 1), i.setAttribute("tabindex", "-1"), typeof this.model.isRowSelected == "function") { var s = this.model.isRowSelected(e); - Jt(i, !!s), Qa(i, s); + er(i, !!s), Xa(i, s); } i.style.height = this.rowHeight + "px", i.style.top = this.rowHeight * e + "px"; var a = this.componentCreator(o, i); @@ -26195,26 +26195,26 @@ var Fg = function() { this.model = e; }, t.prototype.destroy = function() { this.isAlive() && (this.clearVirtualRows(), n.prototype.destroy.call(this)); - }, ki([ + }, Ui([ h("resizeObserverService") - ], t.prototype, "resizeObserverService", void 0), ki([ + ], t.prototype, "resizeObserverService", void 0), Ui([ P("eContainer") - ], t.prototype, "eContainer", void 0), ki([ + ], t.prototype, "eContainer", void 0), Ui([ b ], t.prototype, "postConstruct", null), t; -})(ni); +})(si); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue * @version v29.3.5 * @link https://www.ag-grid.com/ * @license MIT */ -var Lg = ["mouseover", "mouseout", "mouseenter", "mouseleave"], Mg = ["touchstart", "touchend", "touchmove", "touchcancel"], Ig = ( +var Mg = ["mouseover", "mouseout", "mouseenter", "mouseleave"], Ig = ["touchstart", "touchend", "touchmove", "touchcancel"], xg = ( /** @class */ function() { function n() { this.isOutsideAngular = function(t) { - return He(Lg, t); + return He(Mg, t); }; } return n.prototype.setTimeout = function(t, e) { @@ -26224,7 +26224,7 @@ var Lg = ["mouseover", "mouseout", "mouseenter", "mouseleave"], Mg = ["touchstar r(window.setInterval(t, e)); }); }, n.prototype.addEventListener = function(t, e, r, o) { - var i = He(Mg, e); + var i = He(Ig, e); t.addEventListener(e, r, { capture: !!o, passive: i }); }, n.prototype.dispatchEvent = function(t, e, r) { e(); @@ -26241,7 +26241,7 @@ var Lg = ["mouseover", "mouseout", "mouseenter", "mouseleave"], Mg = ["touchstar * @link https://www.ag-grid.com/ * @license MIT */ -var xg = function() { +var Ng = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -26257,7 +26257,7 @@ var xg = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), Vt = function(n, t, e, r) { +}(), Bt = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -26265,7 +26265,7 @@ var xg = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Ng = function(n, t) { +}, Gg = function(n, t) { var e = typeof Symbol == "function" && n[Symbol.iterator]; if (!e) return n; @@ -26284,14 +26284,14 @@ var xg = function() { } } return i; -}, Gg = function() { +}, Hg = function() { for (var n = [], t = 0; t < arguments.length; t++) - n = n.concat(Ng(arguments[t])); + n = n.concat(Gg(arguments[t])); return n; -}, Hg = ( +}, Vg = ( /** @class */ function(n) { - xg(t, n); + Ng(t, n); function t() { return n !== null && n.apply(this, arguments) || this; } @@ -26382,7 +26382,7 @@ var xg = function() { return s || { rowIndex: r + 1, rowPinned: o }; }, t.prototype.getNextStickyPosition = function(e, r) { if (!(!this.gridOptionsService.is("groupRowsSticky") || !e || !e.sticky)) { - var o = Gg(this.rowRenderer.getStickyTopRowCtrls()).sort(function(l, u) { + var o = Hg(this.rowRenderer.getStickyTopRowCtrls()).sort(function(l, u) { return l.getRowNode().rowIndex - u.getRowNode().rowIndex; }), i = r ? -1 : 1, s = o.findIndex(function(l) { return l.getRowNode().rowIndex === e.rowIndex; @@ -26454,17 +26454,17 @@ var xg = function() { o = a ? a.rowIndex : null, i = a ? a.rowPinned : null; } return { rowIndex: o, column: s, rowPinned: i }; - }, Vt([ + }, Bt([ h("columnModel") - ], t.prototype, "columnModel", void 0), Vt([ + ], t.prototype, "columnModel", void 0), Bt([ h("rowModel") - ], t.prototype, "rowModel", void 0), Vt([ + ], t.prototype, "rowModel", void 0), Bt([ h("rowRenderer") - ], t.prototype, "rowRenderer", void 0), Vt([ + ], t.prototype, "rowRenderer", void 0), Bt([ h("pinnedRowModel") - ], t.prototype, "pinnedRowModel", void 0), Vt([ + ], t.prototype, "pinnedRowModel", void 0), Bt([ h("paginationProxy") - ], t.prototype, "paginationProxy", void 0), t = Vt([ + ], t.prototype, "paginationProxy", void 0), t = Bt([ A("cellNavigationService") ], t), t; }(T) @@ -26475,7 +26475,7 @@ var xg = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var Vg = function() { +var Bg = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -26491,7 +26491,7 @@ var Vg = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), Sr = function(n, t, e, r) { +}(), _r = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -26499,14 +26499,14 @@ var Vg = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Bg = function(n, t) { +}, Wg = function(n, t) { return function(e, r) { t(e, r, n); }; -}, Wg = ( +}, jg = ( /** @class */ function(n) { - Vg(t, n); + Bg(t, n); function t() { var e = n !== null && n.apply(this, arguments) || this; return e.consuming = !1, e; @@ -26621,15 +26621,15 @@ var Vg = function() { w.api && w.api.setAlwaysShowVerticalScroll(C); }); } - }, Sr([ + }, _r([ h("columnModel") - ], t.prototype, "columnModel", void 0), Sr([ + ], t.prototype, "columnModel", void 0), _r([ h("ctrlsService") - ], t.prototype, "ctrlsService", void 0), Sr([ - Bg(0, Ce("loggerFactory")) - ], t.prototype, "setBeans", null), Sr([ + ], t.prototype, "ctrlsService", void 0), _r([ + Wg(0, Ce("loggerFactory")) + ], t.prototype, "setBeans", null), _r([ b - ], t.prototype, "init", null), t = Sr([ + ], t.prototype, "init", null), t = _r([ A("alignedGridsService") ], t), t; }(T) @@ -26640,7 +26640,7 @@ var Vg = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var jg = function() { +var kg = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -26656,16 +26656,16 @@ var jg = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), $o = function() { - return $o = Object.assign || function(n) { +}(), qo = function() { + return qo = Object.assign || function(n) { for (var t, e = 1, r = arguments.length; e < r; e++) { t = arguments[e]; for (var o in t) Object.prototype.hasOwnProperty.call(t, o) && (n[o] = t[o]); } return n; - }, $o.apply(this, arguments); -}, Er = function(n, t, e, r) { + }, qo.apply(this, arguments); +}, Rr = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -26673,11 +26673,11 @@ var jg = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, kg = function(n, t) { +}, Ug = function(n, t) { return function(e, r) { t(e, r, n); }; -}, Ug = function(n, t) { +}, zg = function(n, t) { var e = typeof Symbol == "function" && n[Symbol.iterator]; if (!e) return n; @@ -26696,10 +26696,10 @@ var jg = function() { } } return i; -}, zg = ( +}, Kg = ( /** @class */ function(n) { - jg(t, n); + kg(t, n); function t() { return n !== null && n.apply(this, arguments) || this; } @@ -26723,7 +26723,7 @@ var jg = function() { if (l.rowPinned) return console.warn("AG Grid: cannot select pinned rows"), 0; if (l.footer) - return this.setNodeSelected($o($o({}, e), { node: l.sibling })); + return this.setNodeSelected(qo(qo({}, e), { node: l.sibling })); var d = this.getLastSelectedNode(); if (a && d) { var f = d !== l; @@ -26797,7 +26797,7 @@ var jg = function() { }, t.prototype.filterFromSelection = function(e) { var r = {}; Object.entries(this.selectedNodes).forEach(function(o) { - var i = Ug(o, 2), s = i[0], a = i[1], l = a && e(a); + var i = zg(o, 2), s = i[0], a = i[1], l = a && e(a); l && (r[s] = a); }), this.selectedNodes = r; }, t.prototype.updateGroupsFromChildrenSelections = function(e, r) { @@ -26934,15 +26934,15 @@ var jg = function() { }, t.prototype.getServerSideSelectionState = function() { return null; }, t.prototype.setServerSideSelectionState = function(e) { - }, Er([ + }, Rr([ h("rowModel") - ], t.prototype, "rowModel", void 0), Er([ + ], t.prototype, "rowModel", void 0), Rr([ h("paginationProxy") - ], t.prototype, "paginationProxy", void 0), Er([ - kg(0, Ce("loggerFactory")) - ], t.prototype, "setBeans", null), Er([ + ], t.prototype, "paginationProxy", void 0), Rr([ + Ug(0, Ce("loggerFactory")) + ], t.prototype, "setBeans", null), Rr([ b - ], t.prototype, "init", null), t = Er([ + ], t.prototype, "init", null), t = Rr([ A("selectionService") ], t), t; }(T) @@ -26953,7 +26953,7 @@ var jg = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var Ui = function(n, t, e, r) { +var zi = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -26961,7 +26961,7 @@ var Ui = function(n, t, e, r) { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Kg = ( +}, $g = ( /** @class */ function() { function n() { @@ -27112,11 +27112,11 @@ var Ui = function(n, t, e, r) { se("28.0", "setSecondaryColumns", "setPivotResultColumns"), this.setPivotResultColumns(t); }, n.prototype.getSecondaryPivotColumn = function(t, e) { return se("28.0", "getSecondaryPivotColumn", "getPivotResultColumn"), this.getPivotResultColumn(t, e); - }, Ui([ + }, zi([ h("columnModel") - ], n.prototype, "columnModel", void 0), Ui([ + ], n.prototype, "columnModel", void 0), zi([ fe - ], n.prototype, "cleanDownReferencesToAvoidMemoryLeakInCaseApplicationIsKeepingReferenceToDestroyedGrid", null), n = Ui([ + ], n.prototype, "cleanDownReferencesToAvoidMemoryLeakInCaseApplicationIsKeepingReferenceToDestroyedGrid", null), n = zi([ A("columnApi") ], n), n; }() @@ -27127,7 +27127,7 @@ var Ui = function(n, t, e, r) { * @link https://www.ag-grid.com/ * @license MIT */ -var $g = function() { +var Yg = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -27143,7 +27143,7 @@ var $g = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), _r = function(n, t, e, r) { +}(), Or = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -27151,10 +27151,10 @@ var $g = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Yg = ( +}, qg = ( /** @class */ function(n) { - $g(t, n); + Yg(t, n); function t() { var e = n !== null && n.apply(this, arguments) || this; return e.initialised = !1, e; @@ -27169,7 +27169,7 @@ var $g = function() { }, t.prototype.getValue = function(e, r, o, i) { if (o === void 0 && (o = !1), i === void 0 && (i = !1), this.initialised || this.init(), !!r) { var s = e.getColDef(), a = s.field, l = e.getColId(), u = r.data, c, p = r.groupData && r.groupData[l] !== void 0, d = !i && r.aggData && r.aggData[l] !== void 0; - if (o && s.filterValueGetter ? c = this.executeFilterValueGetter(s.filterValueGetter, u, e, r) : this.isTreeData && d ? c = r.aggData[l] : this.isTreeData && s.valueGetter ? c = this.executeValueGetter(s.valueGetter, u, e, r) : this.isTreeData && a && u ? c = To(u, a, e.isFieldContainsDots()) : p ? c = r.groupData[l] : d ? c = r.aggData[l] : s.valueGetter ? c = this.executeValueGetter(s.valueGetter, u, e, r) : a && u && (c = To(u, a, e.isFieldContainsDots())), this.cellExpressions && typeof c == "string" && c.indexOf("=") === 0) { + if (o && s.filterValueGetter ? c = this.executeFilterValueGetter(s.filterValueGetter, u, e, r) : this.isTreeData && d ? c = r.aggData[l] : this.isTreeData && s.valueGetter ? c = this.executeValueGetter(s.valueGetter, u, e, r) : this.isTreeData && a && u ? c = Po(u, a, e.isFieldContainsDots()) : p ? c = r.groupData[l] : d ? c = r.aggData[l] : s.valueGetter ? c = this.executeValueGetter(s.valueGetter, u, e, r) : a && u && (c = Po(u, a, e.isFieldContainsDots())), this.cellExpressions && typeof c == "string" && c.indexOf("=") === 0) { var f = c.substring(1); c = this.executeValueGetter(f, u, e, r); } @@ -27305,15 +27305,15 @@ var $g = function() { return typeof s == "string" || s == null || (s = String(s), s === "[object Object]" && K(function() { console.warn("AG Grid: a column you are grouping or pivoting by has objects as values. If you want to group by complex objects then either a) use a colDef.keyCreator (se AG Grid docs) or b) to toString() on the object to return a key"); }, "getKeyForNode - warn about [object,object]")), s; - }, _r([ + }, Or([ h("expressionService") - ], t.prototype, "expressionService", void 0), _r([ + ], t.prototype, "expressionService", void 0), Or([ h("columnModel") - ], t.prototype, "columnModel", void 0), _r([ + ], t.prototype, "columnModel", void 0), Or([ h("valueCache") - ], t.prototype, "valueCache", void 0), _r([ + ], t.prototype, "valueCache", void 0), Or([ b - ], t.prototype, "init", null), t = _r([ + ], t.prototype, "init", null), t = Or([ A("valueService") ], t), t; }(T) @@ -27324,7 +27324,7 @@ var $g = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var qg = function() { +var Qg = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -27348,14 +27348,14 @@ var qg = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Qg = function(n, t) { +}, Xg = function(n, t) { return function(e, r) { t(e, r, n); }; -}, Xg = ( +}, Jg = ( /** @class */ function(n) { - qg(t, n); + Qg(t, n); function t() { var e = n !== null && n.apply(this, arguments) || this; return e.expressionToFunctionCache = {}, e; @@ -27381,7 +27381,7 @@ var qg = function() { }, t.prototype.createFunctionBody = function(e) { return e.indexOf("return") >= 0 ? e : "return " + e + ";"; }, Us([ - Qg(0, Ce("loggerFactory")) + Xg(0, Ce("loggerFactory")) ], t.prototype, "setBeans", null), t = Us([ A("expressionService") ], t), t; @@ -27393,7 +27393,7 @@ var qg = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var Jg = function() { +var Zg = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -27409,7 +27409,7 @@ var Jg = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), Zg = function(n, t, e, r) { +}(), ey = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -27417,10 +27417,10 @@ var Jg = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, ey = ( +}, ty = ( /** @class */ function(n) { - Jg(t, n); + Zg(t, n); function t() { var e = n !== null && n.apply(this, arguments) || this; return e.templateCache = {}, e.waitingCallbacks = {}, e; @@ -27448,7 +27448,7 @@ var Jg = function() { var s = o[i]; s(); } - }, t = Zg([ + }, t = ey([ A("templateService") ], t), t; }(T) @@ -27459,7 +27459,7 @@ var Jg = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var ty = function() { +var ry = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -27483,14 +27483,14 @@ var ty = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, ry = function(n, t) { +}, oy = function(n, t) { return function(e, r) { t(e, r, n); }; -}, oy = ( +}, iy = ( /** @class */ function(n) { - ty(t, n); + ry(t, n); function t() { return n !== null && n.apply(this, arguments) || this; } @@ -27501,7 +27501,7 @@ var ty = function() { }, t.prototype.isLogging = function() { return this.logging; }, zs([ - ry(0, Ce("gridOptionsService")) + oy(0, Ce("gridOptionsService")) ], t.prototype, "setBeans", null), t = zs([ A("loggerFactory") ], t), t; @@ -27525,7 +27525,7 @@ var ty = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var iy = function() { +var ny = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -27541,7 +27541,7 @@ var iy = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), Bt = function(n, t, e, r) { +}(), Wt = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -27549,10 +27549,10 @@ var iy = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, ny = ( +}, sy = ( /** @class */ function(n) { - iy(t, n); + ny(t, n); function t() { return n !== null && n.apply(this, arguments) || this; } @@ -27623,17 +27623,17 @@ var iy = function() { return this.gridOptionsService.getNum("headerHeight") === 0 ? this.focusService.focusGridView(o[0]) : this.focusService.focusFirstHeader(); }, t.prototype.forceFocusOutOfContainer = function(e) { e === void 0 && (e = !1), this.view.forceFocusOutOfContainer(e); - }, Bt([ + }, Wt([ h("focusService") - ], t.prototype, "focusService", void 0), Bt([ + ], t.prototype, "focusService", void 0), Wt([ h("resizeObserverService") - ], t.prototype, "resizeObserverService", void 0), Bt([ + ], t.prototype, "resizeObserverService", void 0), Wt([ h("columnModel") - ], t.prototype, "columnModel", void 0), Bt([ + ], t.prototype, "columnModel", void 0), Wt([ h("ctrlsService") - ], t.prototype, "ctrlsService", void 0), Bt([ + ], t.prototype, "ctrlsService", void 0), Wt([ h("mouseEventService") - ], t.prototype, "mouseEventService", void 0), Bt([ + ], t.prototype, "mouseEventService", void 0), Wt([ h("dragAndDropService") ], t.prototype, "dragAndDropService", void 0), t; }(T) @@ -27644,7 +27644,7 @@ var iy = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var sy = function() { +var ay = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -27660,7 +27660,7 @@ var sy = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), Rr = function(n, t, e, r) { +}(), Tr = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -27668,10 +27668,10 @@ var sy = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, ay = ( +}, ly = ( /** @class */ function(n) { - sy(t, n); + ay(t, n); function t(e) { var r = n.call(this) || this; return r.eGridDiv = e, r; @@ -27687,7 +27687,7 @@ var sy = function() { return e.addCssClass(i); }, addOrRemoveKeyboardFocusClass: function(i) { - return e.addOrRemoveCssClass(Fr.AG_KEYBOARD_FOCUS, i); + return e.addOrRemoveCssClass(Mr.AG_KEYBOARD_FOCUS, i); }, forceFocusOutOfContainer: this.forceFocusOutOfContainer.bind(this), updateLayoutClasses: this.updateLayoutClasses.bind(this), @@ -27699,7 +27699,7 @@ var sy = function() { e.getGui().style.cursor = i ?? ""; } }; - this.ctrl = this.createManagedBean(new ny()); + this.ctrl = this.createManagedBean(new sy()); var o = this.createTemplate(); this.setTemplate(o), this.ctrl.setComp(r, this.eGridDiv, this.getGui()), this.insertGridIntoDom(), this.initialiseTabGuard({ // we want to override the default behaviour to do nothing for onTabKeyDown @@ -27739,20 +27739,20 @@ var sy = function() { this.gridBodyComp.getGui() ]; return this.sideBarComp && e.push(this.sideBarComp.getGui()), e.filter(function(r) { - return nr(r); + return ar(r); }); - }, Rr([ + }, Tr([ h("loggerFactory") - ], t.prototype, "loggerFactory", void 0), Rr([ + ], t.prototype, "loggerFactory", void 0), Tr([ P("gridBody") - ], t.prototype, "gridBodyComp", void 0), Rr([ + ], t.prototype, "gridBodyComp", void 0), Tr([ P("sideBar") - ], t.prototype, "sideBarComp", void 0), Rr([ + ], t.prototype, "sideBarComp", void 0), Tr([ P("rootWrapperBody") - ], t.prototype, "eRootWrapperBody", void 0), Rr([ + ], t.prototype, "eRootWrapperBody", void 0), Tr([ b ], t.prototype, "postConstruct", null), t; - }(ni) + }(si) ); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue @@ -27760,7 +27760,7 @@ var sy = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var ly = function() { +var uy = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -27784,7 +27784,7 @@ var ly = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Ro = function(n, t) { +}, To = function(n, t) { var e = typeof Symbol == "function" && n[Symbol.iterator]; if (!e) return n; @@ -27803,14 +27803,14 @@ var ly = function() { } } return i; -}, Or = function() { +}, br = function() { for (var n = [], t = 0; t < arguments.length; t++) - n = n.concat(Ro(arguments[t])); + n = n.concat(To(arguments[t])); return n; -}, uy = ( +}, cy = ( /** @class */ function(n) { - ly(t, n); + uy(t, n); function t() { return n !== null && n.apply(this, arguments) || this; } @@ -27825,7 +27825,7 @@ var ly = function() { var u = this.columnModel.getSourceColumnsForGroupColumn(r), c = u == null ? void 0 : u.filter(function(d) { return d.getColDef().sortable; }); - c && (l = Or(l, c)); + c && (l = br(l, c)); } l.forEach(function(d) { return d.setSort(o, s); @@ -27839,7 +27839,7 @@ var ly = function() { }); var l = a.filter(function(c) { return c !== s; - }), u = s.getSort() ? Or(l, [s]) : l; + }), u = s.getSort() ? br(l, [s]) : l; u.forEach(function(c, p) { return c.setSortIndex(p); }); @@ -27882,7 +27882,7 @@ var ly = function() { var s = this.columnModel.getRowGroupColumns().filter(function(c) { return !!c.getSort(); }), a = this.gridOptionsService.isColumnsSortingCoupledToGroup() && !!s.length; - a && (i = Or(new Set( + a && (i = br(new Set( // if linked sorting, replace all columns with the display group column for index purposes, and ensure uniqueness i.map(function(c) { var p; @@ -27910,15 +27910,15 @@ var ly = function() { u.set(c, u.get(p)); }), u; }, t.prototype.getColumnsWithSortingOrdered = function(r) { - return r === void 0 && (r = !1), Or(this.getIndexedSortMap(r).entries()).sort(function(o, i) { - var s = Ro(o, 2); + return r === void 0 && (r = !1), br(this.getIndexedSortMap(r).entries()).sort(function(o, i) { + var s = To(o, 2); s[0]; - var a = s[1], l = Ro(i, 2); + var a = s[1], l = To(i, 2); l[0]; var u = l[1]; return a - u; }).map(function(o) { - var i = Ro(o, 1), s = i[0]; + var i = To(o, 1), s = i[0]; return s; }); }, t.prototype.getSortModel = function() { @@ -27942,7 +27942,7 @@ var ly = function() { var o = this.columnModel.getSourceColumnsForGroupColumn(r); if (!this.canColumnDisplayMixedSort(r) || !(o != null && o.length)) return r.getSort(); - var i = !!r.getColDef().field, s = i ? Or([r], o) : o, a = s[0].getSort(), l = s.every(function(u) { + var i = !!r.getColDef().field, s = i ? br([r], o) : o, a = s[0].getSort(), l = s.every(function(u) { return u.getSort() == a; }); return l ? a : "mixed"; @@ -27963,7 +27963,7 @@ var ly = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var cy = function() { +var py = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -27979,7 +27979,7 @@ var cy = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), py = function(n, t, e, r) { +}(), dy = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -27987,10 +27987,10 @@ var cy = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, dy = ( +}, hy = ( /** @class */ function(n) { - cy(t, n); + py(t, n); function t() { return n !== null && n.apply(this, arguments) || this; } @@ -28008,7 +28008,7 @@ var cy = function() { this.eventService.dispatchEvent(e); }, t.prototype.isHovered = function(e) { return !!this.selectedColumns && this.selectedColumns.indexOf(e) >= 0; - }, t = py([ + }, t = dy([ A("columnHoverService") ], t), t; }(T) @@ -28019,7 +28019,7 @@ var cy = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var hy = function() { +var fy = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -28035,7 +28035,7 @@ var hy = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), zi = function(n, t, e, r) { +}(), Ki = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -28043,10 +28043,10 @@ var hy = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, fy = ( +}, vy = ( /** @class */ function(n) { - hy(t, n); + fy(t, n); function t() { var e = n !== null && n.apply(this, arguments) || this; return e.executeNextFuncs = [], e.executeLaterFuncs = [], e.active = !1, e.animationThreadCount = 0, e; @@ -28086,11 +28086,11 @@ var hy = function() { return o(); }); }, 300)); - }, zi([ + }, Ki([ h("ctrlsService") - ], t.prototype, "ctrlsService", void 0), zi([ + ], t.prototype, "ctrlsService", void 0), Ki([ b - ], t.prototype, "postConstruct", null), t = zi([ + ], t.prototype, "postConstruct", null), t = Ki([ A("columnAnimationService") ], t), t; }(T) @@ -28101,7 +28101,7 @@ var hy = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var vy = function() { +var gy = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -28117,7 +28117,7 @@ var vy = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), Ki = function(n, t, e, r) { +}(), $i = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -28125,10 +28125,10 @@ var vy = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, gy = ( +}, yy = ( /** @class */ function(n) { - vy(t, n); + gy(t, n); function t() { return n !== null && n.apply(this, arguments) || this; } @@ -28154,11 +28154,11 @@ var vy = function() { } else this.isBodyRendered = !1; } - }, Ki([ + }, $i([ h("ctrlsService") - ], t.prototype, "ctrlsService", void 0), Ki([ + ], t.prototype, "ctrlsService", void 0), $i([ b - ], t.prototype, "postConstruct", null), t = Ki([ + ], t.prototype, "postConstruct", null), t = $i([ A("paginationAutoPageSizeService") ], t), t; }(T) @@ -28169,7 +28169,7 @@ var vy = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var yy = function() { +var Cy = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -28193,10 +28193,10 @@ var yy = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Cy = ( +}, my = ( /** @class */ function(n) { - yy(t, n); + Cy(t, n); function t() { var e = n !== null && n.apply(this, arguments) || this; return e.cacheVersion = 0, e; @@ -28225,7 +28225,7 @@ var yy = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var my = function() { +var wy = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -28241,7 +28241,7 @@ var my = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), co = function(n, t, e, r) { +}(), ho = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -28249,17 +28249,17 @@ var my = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, wy = "paste", Sy = ( +}, Sy = "paste", Ey = ( /** @class */ function(n) { - my(t, n); + wy(t, n); function t() { return n !== null && n.apply(this, arguments) || this; } return t.prototype.init = function() { this.rowModel.getType() === "clientSide" && (this.clientSideRowModel = this.rowModel), this.addManagedListener(this.eventService, v.EVENT_CELL_VALUE_CHANGED, this.onCellValueChanged.bind(this)); }, t.prototype.onCellValueChanged = function(e) { - e.source !== wy && this.doChangeDetection(e.node, e.column); + e.source !== Sy && this.doChangeDetection(e.node, e.column); }, t.prototype.doChangeDetection = function(e, r) { if (!this.gridOptionsService.is("suppressChangeDetection")) { if (this.clientSideRowModel && !e.isRowPinned()) { @@ -28268,13 +28268,13 @@ var my = function() { } this.rowRenderer.refreshCells(); } - }, co([ + }, ho([ h("rowModel") - ], t.prototype, "rowModel", void 0), co([ + ], t.prototype, "rowModel", void 0), ho([ h("rowRenderer") - ], t.prototype, "rowRenderer", void 0), co([ + ], t.prototype, "rowRenderer", void 0), ho([ b - ], t.prototype, "init", null), t = co([ + ], t.prototype, "init", null), t = ho([ A("changeDetectionService") ], t), t; }(T) @@ -28285,7 +28285,7 @@ var my = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var Ey = function() { +var _y = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -28309,10 +28309,10 @@ var Ey = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, _y = ( +}, Ry = ( /** @class */ function(n) { - Ey(t, n); + _y(t, n); function t() { return n !== null && n.apply(this, arguments) || this; } @@ -28359,7 +28359,7 @@ var Ey = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var Ry = function() { +var Oy = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -28375,7 +28375,7 @@ var Ry = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), $i = function(n, t, e, r) { +}(), Yi = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -28383,10 +28383,10 @@ var Ry = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Oy = ( +}, Ty = ( /** @class */ function(n) { - Ry(t, n); + Oy(t, n); function t() { return n !== null && n.apply(this, arguments) || this; } @@ -28476,11 +28476,11 @@ var Ry = function() { }; }, t.prototype.retrieve = function(e) { return this.componentMetaData[e]; - }, $i([ + }, Yi([ h("agComponentUtils") - ], t.prototype, "agComponentUtils", void 0), $i([ + ], t.prototype, "agComponentUtils", void 0), Yi([ b - ], t.prototype, "postConstruct", null), t = $i([ + ], t.prototype, "postConstruct", null), t = Yi([ A("componentMetadataProvider") ], t), t; }(T) @@ -28491,7 +28491,7 @@ var Ry = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var Ty = function() { +var by = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -28507,7 +28507,7 @@ var Ty = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), Yi = function(n, t, e, r) { +}(), qi = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -28515,7 +28515,7 @@ var Ty = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, by = function(n, t) { +}, Py = function(n, t) { var e = typeof Symbol == "function" && n[Symbol.iterator]; if (!e) return n; @@ -28534,38 +28534,38 @@ var Ty = function() { } } return i; -}, Py = function() { +}, Dy = function() { for (var n = [], t = 0; t < arguments.length; t++) - n = n.concat(by(arguments[t])); + n = n.concat(Py(arguments[t])); return n; -}, Dy = 25, qs = 10, qi = 8, Ay = 4, Qi = 4, Xi = 6, Fy = { +}, Ay = 25, qs = 10, Qi = 8, Fy = 4, Xi = 4, Ji = 6, Ly = { // this item is required for custom themes "ag-theme-custom": { headerHeight: 25, headerCellMinWidth: 24, - listItemHeight: Ay * 5, + listItemHeight: Fy * 5, rowHeight: 25, chartMenuPanelWidth: 220 }, "ag-theme-material": { - headerHeight: qi * 7, + headerHeight: Qi * 7, headerCellMinWidth: 48, - listItemHeight: qi * 4, - rowHeight: qi * 6, + listItemHeight: Qi * 4, + rowHeight: Qi * 6, chartMenuPanelWidth: 240 }, "ag-theme-balham": { - headerHeight: Qi * 8, + headerHeight: Xi * 8, headerCellMinWidth: 24, - listItemHeight: Qi * 6, - rowHeight: Qi * 7, + listItemHeight: Xi * 6, + rowHeight: Xi * 7, chartMenuPanelWidth: 220 }, "ag-theme-alpine": { - headerHeight: Xi * 8, + headerHeight: Ji * 8, headerCellMinWidth: 36, - listItemHeight: Xi * 4, - rowHeight: Xi * 7, + listItemHeight: Ji * 4, + rowHeight: Ji * 7, chartMenuPanelWidth: 240 } }, Qs = { @@ -28574,10 +28574,10 @@ var Ty = function() { listItemHeight: ["ag-virtual-list-item"], rowHeight: ["ag-row"], chartMenuPanelWidth: ["ag-chart-docked-container"] -}, Ly = ( +}, My = ( /** @class */ function(n) { - Ty(t, n); + by(t, n); function t() { var e = n !== null && n.apply(this, arguments) || this; return e.calculatedSizes = {}, e; @@ -28603,11 +28603,11 @@ var Ty = function() { return s ?? (this.calculatedSizes[o][e] = this.calculateValueForSassProperty(e, o, i), this.calculatedSizes[o][e]); } }, t.prototype.calculateValueForSassProperty = function(e, r, o) { - var i, s = "ag-theme-" + (r.match("material") ? "material" : r.match("balham") ? "balham" : r.match("alpine") ? "alpine" : "custom"), a = Fy[s][e], l = this.gridOptionsService.getDocument(); + var i, s = "ag-theme-" + (r.match("material") ? "material" : r.match("balham") ? "balham" : r.match("alpine") ? "alpine" : "custom"), a = Ly[s][e], l = this.gridOptionsService.getDocument(); if (o || (o = this.eGridDiv), !Qs[e]) return a; var u = Qs[e], c = l.createElement("div"), p = Array.from(o.classList); - (i = c.classList).add.apply(i, Py([r], p)), c.style.position = "absolute"; + (i = c.classList).add.apply(i, Dy([r], p)), c.style.position = "absolute"; var d = u.reduce(function(y, C) { var m = l.createElement("div"); return m.style.position = "static", m.classList.add(C), y.appendChild(m), m; @@ -28640,7 +28640,7 @@ var Ty = function() { var o; return (o = this.getSassVariable(r)) !== null && o !== void 0 ? o : e; }, t.prototype.getDefaultRowHeight = function() { - return this.getFromTheme(Dy, "rowHeight"); + return this.getFromTheme(Ay, "rowHeight"); }, t.prototype.getListItemHeight = function() { return this.getFromTheme(20, "listItemHeight"); }, t.prototype.setRowHeightVariable = function(e) { @@ -28651,11 +28651,11 @@ var Ty = function() { return O(e) ? Math.max(e, qs) : qs; }, t.prototype.destroy = function() { this.calculatedSizes = null, this.mutationObserver && this.mutationObserver.disconnect(), n.prototype.destroy.call(this); - }, Yi([ + }, qi([ h("eGridDiv") - ], t.prototype, "eGridDiv", void 0), Yi([ + ], t.prototype, "eGridDiv", void 0), qi([ b - ], t.prototype, "postConstruct", null), t = Yi([ + ], t.prototype, "postConstruct", null), t = qi([ A("environment") ], t), t; }(T) @@ -28666,7 +28666,7 @@ var Ty = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var My = function() { +var Iy = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -28682,7 +28682,7 @@ var My = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), po = function(n, t, e, r) { +}(), fo = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -28690,14 +28690,14 @@ var My = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Iy = function(n, t) { +}, xy = function(n, t) { return function(e, r) { t(e, r, n); }; -}, xy = ( +}, Ny = ( /** @class */ function(n) { - My(t, n); + Iy(t, n); function t() { var e = n !== null && n.apply(this, arguments) || this; return e.scrollY = 0, e.uiBodyHeight = 0, e; @@ -28705,7 +28705,7 @@ var My = function() { return t.prototype.agWire = function(e) { this.logger = e.create("RowContainerHeightService"); }, t.prototype.postConstruct = function() { - this.addManagedListener(this.eventService, v.EVENT_BODY_HEIGHT_CHANGED, this.updateOffset.bind(this)), this.maxDivHeight = Xa(), this.logger.log("maxDivHeight = " + this.maxDivHeight); + this.addManagedListener(this.eventService, v.EVENT_BODY_HEIGHT_CHANGED, this.updateOffset.bind(this)), this.maxDivHeight = Ja(), this.logger.log("maxDivHeight = " + this.maxDivHeight); }, t.prototype.isStretching = function() { return this.stretching; }, t.prototype.getDivStretchOffset = function() { @@ -28740,13 +28740,13 @@ var My = function() { return e; var r = this.modelHeight - this.getUiBodyHeight(), o = e / r, i = this.maxScrollY * o; return i; - }, po([ + }, fo([ h("ctrlsService") - ], t.prototype, "ctrlsService", void 0), po([ - Iy(0, Ce("loggerFactory")) - ], t.prototype, "agWire", null), po([ + ], t.prototype, "ctrlsService", void 0), fo([ + xy(0, Ce("loggerFactory")) + ], t.prototype, "agWire", null), fo([ b - ], t.prototype, "postConstruct", null), t = po([ + ], t.prototype, "postConstruct", null), t = fo([ A("rowContainerHeightService") ], t), t; }(T) @@ -28757,7 +28757,7 @@ var My = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var Ny = function() { +var Gy = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -28781,10 +28781,10 @@ var Ny = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Gy = ( +}, Hy = ( /** @class */ function(n) { - Ny(t, n); + Gy(t, n); function t() { return n !== null && n.apply(this, arguments) || this; } @@ -28826,7 +28826,7 @@ var Ny = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var Hy = function() { +var Vy = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -28850,10 +28850,10 @@ var Hy = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Vy = ( +}, By = ( /** @class */ function(n) { - Hy(t, n); + Vy(t, n); function t() { var e = n.call(this) || this; return e.previousAndFirstButtonsDisabled = !1, e.nextButtonDisabled = !1, e.lastButtonDisabled = !1, e.areListenersSetup = !1, e; @@ -28989,7 +28989,7 @@ var Hy = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var By = function() { +var Wy = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -29005,7 +29005,7 @@ var By = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), Wt = function(n, t, e, r) { +}(), jt = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -29013,14 +29013,14 @@ var By = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Kt; +}, $t; (function(n) { n[n.Loading = 0] = "Loading", n[n.NoRows = 1] = "NoRows"; -})(Kt || (Kt = {})); -var Wy = ( +})($t || ($t = {})); +var jy = ( /** @class */ function(n) { - By(t, n); + Wy(t, n); function t() { var e = n.call(this, t.TEMPLATE) || this; return e.inProgress = !1, e.destroyRequested = !1, e.manuallyDisplayed = !1, e; @@ -29032,16 +29032,16 @@ var Wy = ( this.createManagedBean(new is(this)), this.setDisplayed(!1, { skipAriaHidden: !0 }), this.addManagedListener(this.eventService, v.EVENT_ROW_DATA_UPDATED, this.onRowDataUpdated.bind(this)), this.addManagedListener(this.eventService, v.EVENT_NEW_COLUMNS_LOADED, this.onNewColumnsLoaded.bind(this)), this.gridOptionsService.isRowModelType("clientSide") && !this.gridOptionsService.get("rowData") && this.showLoadingOverlay(), this.gridApi.registerOverlayWrapperComp(this); }, t.prototype.setWrapperTypeClass = function(e) { var r = this.eOverlayWrapper.classList; - r.toggle("ag-overlay-loading-wrapper", e === Kt.Loading), r.toggle("ag-overlay-no-rows-wrapper", e === Kt.NoRows); + r.toggle("ag-overlay-loading-wrapper", e === $t.Loading), r.toggle("ag-overlay-no-rows-wrapper", e === $t.NoRows); }, t.prototype.showLoadingOverlay = function() { if (!this.gridOptionsService.is("suppressLoadingOverlay")) { var e = {}, r = this.userComponentFactory.getLoadingOverlayCompDetails(e), o = r.newAgStackInstance(); - this.showOverlay(o, Kt.Loading); + this.showOverlay(o, $t.Loading); } }, t.prototype.showNoRowsOverlay = function() { if (!this.gridOptionsService.is("suppressNoRowsOverlay")) { var e = {}, r = this.userComponentFactory.getNoRowsOverlayCompDetails(e), o = r.newAgStackInstance(); - this.showOverlay(o, Kt.NoRows); + this.showOverlay(o, $t.NoRows); } }, t.prototype.showOverlay = function(e, r) { var o = this; @@ -29070,17 +29070,17 @@ var Wy = (
-
`, Wt([ + `, jt([ h("userComponentFactory") - ], t.prototype, "userComponentFactory", void 0), Wt([ + ], t.prototype, "userComponentFactory", void 0), jt([ h("paginationProxy") - ], t.prototype, "paginationProxy", void 0), Wt([ + ], t.prototype, "paginationProxy", void 0), jt([ h("gridApi") - ], t.prototype, "gridApi", void 0), Wt([ + ], t.prototype, "gridApi", void 0), jt([ h("columnModel") - ], t.prototype, "columnModel", void 0), Wt([ + ], t.prototype, "columnModel", void 0), jt([ P("eOverlayWrapper") - ], t.prototype, "eOverlayWrapper", void 0), Wt([ + ], t.prototype, "eOverlayWrapper", void 0), jt([ b ], t.prototype, "postConstruct", null), t; }(W) @@ -29091,7 +29091,7 @@ var Wy = ( * @link https://www.ag-grid.com/ * @license MIT */ -var jy = function() { +var ky = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -29107,7 +29107,7 @@ var jy = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), ho = function(n, t, e, r) { +}(), vo = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -29115,10 +29115,10 @@ var jy = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, ky = ( +}, Uy = ( /** @class */ function(n) { - jy(t, n); + ky(t, n); function t() { return n !== null && n.apply(this, arguments) || this; } @@ -29165,13 +29165,13 @@ var jy = function() { return e.forEach(function(i) { (o === void 0 || r.before(i, o)) && (o = i); }), o; - }, ho([ + }, vo([ h("rowModel") - ], t.prototype, "rowModel", void 0), ho([ + ], t.prototype, "rowModel", void 0), vo([ h("pinnedRowModel") - ], t.prototype, "pinnedRowModel", void 0), ho([ + ], t.prototype, "pinnedRowModel", void 0), vo([ h("paginationProxy") - ], t.prototype, "paginationProxy", void 0), t = ho([ + ], t.prototype, "paginationProxy", void 0), t = vo([ A("rowPositionUtils") ], t), t; }(T) @@ -29182,7 +29182,7 @@ var jy = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var Uy = function() { +var zy = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -29198,7 +29198,7 @@ var Uy = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), zy = function(n, t, e, r) { +}(), Ky = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -29206,10 +29206,10 @@ var Uy = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Ky = ( +}, $y = ( /** @class */ function(n) { - Uy(t, n); + zy(t, n); function t() { return n !== null && n.apply(this, arguments) || this; } @@ -29222,7 +29222,7 @@ var Uy = function() { }, t.prototype.equals = function(e, r) { var o = e.column === r.column, i = e.rowPinned === r.rowPinned, s = e.rowIndex === r.rowIndex; return o && i && s; - }, t = zy([ + }, t = Ky([ A("cellPositionUtils") ], t), t; }(T) @@ -29233,7 +29233,7 @@ var Uy = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var $y = function() { +var Yy = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -29249,7 +29249,7 @@ var $y = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), br = ( +}(), Dr = ( /** @class */ function() { function n(t) { @@ -29257,16 +29257,16 @@ var $y = function() { } return n; }() -), Ji = ( +), Zi = ( /** @class */ function(n) { - $y(t, n); + Yy(t, n); function t(e, r, o, i) { var s = n.call(this, e) || this; return s.initialRange = r, s.finalRange = o, s.ranges = i, s; } return t; - }(br) + }(Dr) ), Js = ( /** @class */ function() { @@ -29291,7 +29291,7 @@ var $y = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var Yy = function() { +var qy = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -29307,15 +29307,15 @@ var Yy = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), Yo = function() { - return Yo = Object.assign || function(n) { +}(), Qo = function() { + return Qo = Object.assign || function(n) { for (var t, e = 1, r = arguments.length; e < r; e++) { t = arguments[e]; for (var o in t) Object.prototype.hasOwnProperty.call(t, o) && (n[o] = t[o]); } return n; - }, Yo.apply(this, arguments); + }, Qo.apply(this, arguments); }, Ke = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") @@ -29324,7 +29324,7 @@ var Yy = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, qy = function(n, t) { +}, Qy = function(n, t) { var e = typeof Symbol == "function" && n[Symbol.iterator]; if (!e) return n; @@ -29343,14 +29343,14 @@ var Yy = function() { } } return i; -}, Qy = function() { +}, Xy = function() { for (var n = [], t = 0; t < arguments.length; t++) - n = n.concat(qy(arguments[t])); + n = n.concat(Qy(arguments[t])); return n; -}, Xy = ( +}, Jy = ( /** @class */ function(n) { - Yy(t, n); + qy(t, n); function t() { var e = n !== null && n.apply(this, arguments) || this; return e.cellValueChanges = [], e.activeCellEdit = null, e.activeRowEdit = null, e.isPasting = !1, e.isRangeInAction = !1, e.onCellValueChanged = function(r) { @@ -29413,7 +29413,7 @@ var Yy = function() { var a = e.pop(); return !a || !a.cellValueChanges ? !1 : (this.processAction(a, function(l) { return l[i]; - }, s), a instanceof Ji ? this.processRange(a.ranges || [a[o]]) : this.processCell(a.cellValueChanges), r.push(a), !0); + }, s), a instanceof Zi ? this.processRange(a.ranges || [a[o]]) : this.processCell(a.cellValueChanges), r.push(a), !0); }, t.prototype.processAction = function(e, r, o) { var i = this; e.cellValueChanges.forEach(function(s) { @@ -29453,14 +29453,14 @@ var Yy = function() { if (l) { a.ensureIndexVisible(o), a.ensureColumnVisible(l); var u = { rowIndex: o, column: l, rowPinned: s }; - this.focusService.setFocusedCell(Yo(Yo({}, u), { forceBrowserFocus: !0 })), r && this.rangeService.setRangeToCell(u); + this.focusService.setFocusedCell(Qo(Qo({}, u), { forceBrowserFocus: !0 })), r && this.rangeService.setRangeToCell(u); } }, t.prototype.addRowEditingListeners = function() { var e = this; this.addManagedListener(this.eventService, v.EVENT_ROW_EDITING_STARTED, function(r) { e.activeRowEdit = { rowIndex: r.rowIndex, rowPinned: r.rowPinned }; }), this.addManagedListener(this.eventService, v.EVENT_ROW_EDITING_STOPPED, function() { - var r = new br(e.cellValueChanges); + var r = new Dr(e.cellValueChanges); e.pushActionsToUndoStack(r), e.activeRowEdit = null; }); }, t.prototype.addCellEditingListeners = function() { @@ -29471,7 +29471,7 @@ var Yy = function() { e.activeCellEdit = null; var o = r.valueChanged && !e.activeRowEdit && !e.isPasting && !e.isRangeInAction; if (o) { - var i = new br(e.cellValueChanges); + var i = new Dr(e.cellValueChanges); e.pushActionsToUndoStack(i); } }); @@ -29480,7 +29480,7 @@ var Yy = function() { this.addManagedListener(this.eventService, v.EVENT_PASTE_START, function() { e.isPasting = !0; }), this.addManagedListener(this.eventService, v.EVENT_PASTE_END, function() { - var r = new br(e.cellValueChanges); + var r = new Dr(e.cellValueChanges); e.pushActionsToUndoStack(r), e.isPasting = !1; }); }, t.prototype.addFillListeners = function() { @@ -29488,7 +29488,7 @@ var Yy = function() { this.addManagedListener(this.eventService, v.EVENT_FILL_START, function() { e.isRangeInAction = !0; }), this.addManagedListener(this.eventService, v.EVENT_FILL_END, function(r) { - var o = new Ji(e.cellValueChanges, r.initialRange, r.finalRange); + var o = new Zi(e.cellValueChanges, r.initialRange, r.finalRange); e.pushActionsToUndoStack(o), e.isRangeInAction = !1; }); }, t.prototype.addCellKeyListeners = function() { @@ -29497,7 +29497,7 @@ var Yy = function() { e.isRangeInAction = !0; }), this.addManagedListener(this.eventService, v.EVENT_KEY_SHORTCUT_CHANGED_CELL_END, function() { var r; - e.rangeService && e.gridOptionsService.isEnableRangeSelection() ? r = new Ji(e.cellValueChanges, void 0, void 0, Qy(e.rangeService.getCellRanges())) : r = new br(e.cellValueChanges), e.pushActionsToUndoStack(r), e.isRangeInAction = !1; + e.rangeService && e.gridOptionsService.isEnableRangeSelection() ? r = new Zi(e.cellValueChanges, void 0, void 0, Xy(e.rangeService.getCellRanges())) : r = new Dr(e.cellValueChanges), e.pushActionsToUndoStack(r), e.isRangeInAction = !1; }); }, t.prototype.pushActionsToUndoStack = function(e) { this.undoStack.push(e), this.cellValueChanges = [], this.redoStack.clear(); @@ -29539,7 +29539,7 @@ var Yy = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var Jy = function() { +var Zy = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -29555,7 +29555,7 @@ var Jy = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), Zi = function(n, t, e, r) { +}(), en = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -29563,10 +29563,10 @@ var Jy = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, Zy = ( +}, eC = ( /** @class */ function(n) { - Jy(t, n); + Zy(t, n); function t() { return n !== null && n.apply(this, arguments) || this; } @@ -29632,11 +29632,11 @@ var Jy = function() { column: i }; } - }, Zi([ + }, en([ h("columnModel") - ], t.prototype, "columnModel", void 0), Zi([ + ], t.prototype, "columnModel", void 0), en([ h("ctrlsService") - ], t.prototype, "ctrlsService", void 0), t = Zi([ + ], t.prototype, "ctrlsService", void 0), t = en([ A("headerPositionUtils") ], t), t; }(T) @@ -29647,7 +29647,7 @@ var Jy = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var eC = function(n, t, e, r) { +var tC = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -29655,7 +29655,7 @@ var eC = function(n, t, e, r) { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, tC = ( +}, rC = ( /** @class */ function() { function n() { @@ -29679,12 +29679,12 @@ var eC = function(n, t, e, r) { u && i.push(c); }), i; }, n.prototype.createDefFromGroup = function(t) { - var e = Oo(t.getColGroupDef(), ["children"]); + var e = bo(t.getColGroupDef(), ["children"]); return e && (e.groupId = t.getGroupId()), e; }, n.prototype.createDefFromColumn = function(t, e, r) { - var o = Oo(t.getColDef()); + var o = bo(t.getColDef()); return o.colId = t.getColId(), o.width = t.getActualWidth(), o.rowGroup = t.isRowGroupActive(), o.rowGroupIndex = t.isRowGroupActive() ? e.indexOf(t) : null, o.pivot = t.isPivotActive(), o.pivotIndex = t.isPivotActive() ? r.indexOf(t) : null, o.aggFunc = t.isValueActive() ? t.getAggFunc() : null, o.hide = t.isVisible() ? void 0 : !0, o.pinned = t.isPinned() ? t.getPinned() : null, o.sort = t.getSort() ? t.getSort() : null, o.sortIndex = t.getSortIndex() != null ? t.getSortIndex() : null, o; - }, n = eC([ + }, n = tC([ A("columnDefFactory") ], n), n; }() @@ -29695,7 +29695,7 @@ var eC = function(n, t, e, r) { * @link https://www.ag-grid.com/ * @license MIT */ -var en = function(n, t, e, r) { +var tn = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -29703,7 +29703,7 @@ var en = function(n, t, e, r) { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, rC = ( +}, oC = ( /** @class */ function() { function n() { @@ -29750,11 +29750,11 @@ var en = function(n, t, e, r) { this.stylingService.processClassRules(this.gridOptionsService.get("rowClassRules"), o, e, r); }, n.prototype.calculateRowLevel = function(t) { return t.group ? t.level : t.parent ? t.parent.level + 1 : 0; - }, en([ + }, tn([ h("stylingService") - ], n.prototype, "stylingService", void 0), en([ + ], n.prototype, "stylingService", void 0), tn([ h("gridOptionsService") - ], n.prototype, "gridOptionsService", void 0), n = en([ + ], n.prototype, "gridOptionsService", void 0), n = tn([ A("rowCssClassCalculator") ], n), n; }() @@ -29765,7 +29765,7 @@ var en = function(n, t, e, r) { * @link https://www.ag-grid.com/ * @license MIT */ -var oC = function() { +var iC = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -29781,7 +29781,7 @@ var oC = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), fo = function(n, t, e, r) { +}(), go = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -29789,10 +29789,10 @@ var oC = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, iC = ( +}, nC = ( /** @class */ function(n) { - oC(t, n); + iC(t, n); function t() { return n !== null && n.apply(this, arguments) || this; } @@ -29850,13 +29850,13 @@ var oC = function() { } if (!(e.group && r.getColDef().showRowGroup)) return this.valueService.getValue(r, e, !1, !1); - }, fo([ + }, go([ h("valueService") - ], t.prototype, "valueService", void 0), fo([ + ], t.prototype, "valueService", void 0), go([ h("columnModel") - ], t.prototype, "columnModel", void 0), fo([ + ], t.prototype, "columnModel", void 0), go([ b - ], t.prototype, "init", null), t = fo([ + ], t.prototype, "init", null), t = go([ A("rowNodeSorter") ], t), t; }(T) @@ -29867,7 +29867,7 @@ var oC = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var nC = function() { +var sC = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -29883,7 +29883,7 @@ var nC = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), sC = function(n, t, e, r) { +}(), aC = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -29891,10 +29891,10 @@ var nC = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, aC = ( +}, lC = ( /** @class */ function(n) { - nC(t, n); + sC(t, n); function t() { var r = n !== null && n.apply(this, arguments) || this; return r.ready = !1, r.readyCallbacks = [], r; @@ -30009,7 +30009,7 @@ var nC = function() { } }; var e; - return t.NAME = "ctrlsService", t = e = sC([ + return t.NAME = "ctrlsService", t = e = aC([ A(e.NAME) ], t), t; }(T) @@ -30020,7 +30020,7 @@ var nC = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var lC = function() { +var uC = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -30036,7 +30036,7 @@ var lC = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), uC = function(n, t, e, r) { +}(), cC = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -30044,10 +30044,10 @@ var lC = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, cC = ( +}, pC = ( /** @class */ function(n) { - lC(t, n); + uC(t, n); function t() { var e = n !== null && n.apply(this, arguments) || this; return e.registry = {}, e; @@ -30058,7 +30058,7 @@ var lC = function() { var r = this.registry[e]; if (r != null) return new r(); - }, t = uC([ + }, t = cC([ A("ctrlsFactory") ], t), t; }(T) @@ -30069,7 +30069,7 @@ var lC = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var pC = function() { +var dC = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -30085,7 +30085,7 @@ var pC = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), vo = function(n, t, e, r) { +}(), yo = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -30093,18 +30093,18 @@ var pC = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, zl = ( +}, Kl = ( /** @class */ function(n) { - pC(t, n); + dC(t, n); function t(e, r) { var o = n.call(this, e) || this; return o.direction = r, o.hideTimeout = null, o; } return t.prototype.postConstruct = function() { - this.addManagedListener(this.eventService, v.EVENT_SCROLL_VISIBILITY_CHANGED, this.onScrollVisibilityChanged.bind(this)), this.onScrollVisibilityChanged(), this.addOrRemoveCssClass("ag-apple-scrollbar", Bn() || St()); + this.addManagedListener(this.eventService, v.EVENT_SCROLL_VISIBILITY_CHANGED, this.onScrollVisibilityChanged.bind(this)), this.onScrollVisibilityChanged(), this.addOrRemoveCssClass("ag-apple-scrollbar", Bn() || _t()); }, t.prototype.initialiseInvisibleScrollbar = function() { - this.invisibleScrollbar === void 0 && (this.invisibleScrollbar = Yt(), this.invisibleScrollbar && (this.hideAndShowInvisibleScrollAsNeeded(), this.addActiveListenerToggles())); + this.invisibleScrollbar === void 0 && (this.invisibleScrollbar = qt(), this.invisibleScrollbar && (this.hideAndShowInvisibleScrollAsNeeded(), this.addActiveListenerToggles())); }, t.prototype.addActiveListenerToggles = function() { var e = this, r = ["mouseenter", "mousedown", "touchstart"], o = ["mouseleave", "touchend"], i = this.getGui(); r.forEach(function(s) { @@ -30131,13 +30131,13 @@ var pC = function() { return this.eViewport; }, t.prototype.getContainer = function() { return this.eContainer; - }, vo([ + }, yo([ P("eViewport") - ], t.prototype, "eViewport", void 0), vo([ + ], t.prototype, "eViewport", void 0), yo([ P("eContainer") - ], t.prototype, "eContainer", void 0), vo([ + ], t.prototype, "eContainer", void 0), yo([ h("scrollVisibleService") - ], t.prototype, "scrollVisibleService", void 0), vo([ + ], t.prototype, "scrollVisibleService", void 0), yo([ h("ctrlsService") ], t.prototype, "ctrlsService", void 0), t; }(W) @@ -30148,7 +30148,7 @@ var pC = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var dC = function() { +var hC = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -30164,7 +30164,7 @@ var dC = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), Tr = function(n, t, e, r) { +}(), Pr = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -30172,10 +30172,10 @@ var dC = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, hC = ( +}, fC = ( /** @class */ function(n) { - dC(t, n); + hC(t, n); function t() { return n.call(this, t.TEMPLATE, "horizontal") || this; } @@ -30204,25 +30204,25 @@ var dC = function() { a && (s += i), Ve(this.eLeftSpacer, s), this.eLeftSpacer.classList.toggle("ag-scroller-corner", s <= i); }, t.prototype.setScrollVisible = function() { var e = this.scrollVisibleService.isHorizontalScrollShowing(), r = this.invisibleScrollbar, o = this.gridOptionsService.is("suppressHorizontalScroll"), i = e && this.gridOptionsService.getScrollbarWidth() || 0, s = i === 0 && r ? 16 : i, a = o ? 0 : s; - this.addOrRemoveCssClass("ag-scrollbar-invisible", r), At(this.getGui(), a), At(this.eViewport, a), At(this.eContainer, a), this.setDisplayed(e, { skipAriaHidden: !0 }); + this.addOrRemoveCssClass("ag-scrollbar-invisible", r), Lt(this.getGui(), a), Lt(this.eViewport, a), Lt(this.eContainer, a), this.setDisplayed(e, { skipAriaHidden: !0 }); }, t.TEMPLATE = ``, Tr([ + `, Pr([ P("eLeftSpacer") - ], t.prototype, "eLeftSpacer", void 0), Tr([ + ], t.prototype, "eLeftSpacer", void 0), Pr([ P("eRightSpacer") - ], t.prototype, "eRightSpacer", void 0), Tr([ + ], t.prototype, "eRightSpacer", void 0), Pr([ h("columnModel") - ], t.prototype, "columnModel", void 0), Tr([ + ], t.prototype, "columnModel", void 0), Pr([ h("pinnedRowModel") - ], t.prototype, "pinnedRowModel", void 0), Tr([ + ], t.prototype, "pinnedRowModel", void 0), Pr([ b ], t.prototype, "postConstruct", null), t; - }(zl) + }(Kl) ); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue @@ -30230,7 +30230,7 @@ var dC = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var fC = function() { +var vC = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -30246,7 +30246,7 @@ var fC = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), tn = function(n, t, e, r) { +}(), rn = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -30254,10 +30254,10 @@ var fC = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, vC = ( +}, gC = ( /** @class */ function(n) { - fC(t, n); + vC(t, n); function t() { return n !== null && n.apply(this, arguments) || this; } @@ -30271,11 +30271,11 @@ var fC = function() { return this.rightWidth; }, t.prototype.getPinnedLeftWidth = function() { return this.leftWidth; - }, tn([ + }, rn([ h("columnModel") - ], t.prototype, "columnModel", void 0), tn([ + ], t.prototype, "columnModel", void 0), rn([ b - ], t.prototype, "postConstruct", null), t = tn([ + ], t.prototype, "postConstruct", null), t = rn([ A("pinnedWidthService") ], t), t; }(T) @@ -30286,7 +30286,7 @@ var fC = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var gC = function() { +var yC = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -30302,7 +30302,7 @@ var gC = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), go = function(n, t, e, r) { +}(), Co = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -30310,10 +30310,10 @@ var gC = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, yC = ( +}, CC = ( /** @class */ function(n) { - gC(t, n); + yC(t, n); function t() { var e = n !== null && n.apply(this, arguments) || this; return e.events = [], e; @@ -30333,13 +30333,13 @@ var gC = function() { }), r.events = []; }; this.dispatchExpandedDebounced == null && (this.dispatchExpandedDebounced = this.animationFrameService.debounce(o)), this.dispatchExpandedDebounced(); - }, go([ + }, Co([ h("animationFrameService") - ], t.prototype, "animationFrameService", void 0), go([ + ], t.prototype, "animationFrameService", void 0), Co([ h("rowModel") - ], t.prototype, "rowModel", void 0), go([ + ], t.prototype, "rowModel", void 0), Co([ b - ], t.prototype, "postConstruct", null), t = go([ + ], t.prototype, "postConstruct", null), t = Co([ A("rowNodeEventThrottle") ], t), t; }(T) @@ -30359,7 +30359,7 @@ var On = function() { } return n; }, On.apply(this, arguments); -}, dt = function(n, t, e, r) { +}, ht = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -30371,7 +30371,7 @@ var On = function() { return function(e, r) { t(e, r, n); }; -}, CC = function(n, t) { +}, mC = function(n, t) { var e = typeof Symbol == "function" && n[Symbol.iterator]; if (!e) return n; @@ -30390,12 +30390,12 @@ var On = function() { } } return i; -}, mC = function() { +}, wC = function() { for (var n = [], t = 0; t < arguments.length; t++) - n = n.concat(CC(arguments[t])); + n = n.concat(mC(arguments[t])); return n; }; -function wC(n) { +function SC(n) { if (typeof n == "number") return n; if (typeof n == "string") @@ -30404,11 +30404,11 @@ function wC(n) { function ea(n) { return n === !0 || n === "true"; } -var SC = ( +var EC = ( /** @class */ function() { function n() { - this.destroyed = !1, this.domDataKey = "__AG_" + Math.random().toString(), this.propertyEventService = new wt(); + this.destroyed = !1, this.domDataKey = "__AG_" + Math.random().toString(), this.propertyEventService = new Et(); } return Object.defineProperty(n.prototype, "context", { // This is quicker then having code call gridOptionsService.get('context') @@ -30420,7 +30420,7 @@ var SC = ( }), n.prototype.agWire = function(t, e) { this.gridOptions.api = t, this.gridOptions.columnApi = e, this.api = t, this.columnApi = e; }, n.prototype.init = function() { - this.gridOptionLookup = new Set(mC(Eo.ALL_PROPERTIES, Eo.EVENT_CALLBACKS)); + this.gridOptionLookup = new Set(wC(Ro.ALL_PROPERTIES, Ro.EVENT_CALLBACKS)); var t = !this.is("suppressAsyncEvents"); this.eventService.addGlobalListener(this.globalEventHandler.bind(this), t), this.getScrollbarWidth(); }, n.prototype.destroy = function() { @@ -30430,7 +30430,7 @@ var SC = ( }, n.prototype.get = function(t) { return this.gridOptions[t]; }, n.prototype.getNum = function(t) { - return wC(this.gridOptions[t]); + return SC(this.gridOptions[t]); }, n.prototype.getCallback = function(t) { return this.mergeGridCommonParams(this.gridOptions[t]); }, n.prototype.exists = function(t) { @@ -30460,12 +30460,12 @@ var SC = ( this.propertyEventService.removeEventListener(t, e); }, n.prototype.globalEventHandler = function(t, e) { if (!this.destroyed) { - var r = Eo.getCallbackForEvent(t); + var r = Ro.getCallbackForEvent(t); typeof this.gridOptions[r] == "function" && this.gridOptions[r](e); } }, n.prototype.getScrollbarWidth = function() { if (this.scrollbarWidth == null) { - var t = typeof this.gridOptions.scrollbarWidth == "number" && this.gridOptions.scrollbarWidth >= 0, e = t ? this.gridOptions.scrollbarWidth : el(); + var t = typeof this.gridOptions.scrollbarWidth == "number" && this.gridOptions.scrollbarWidth >= 0, e = t ? this.gridOptions.scrollbarWidth : tl(); e != null && (this.scrollbarWidth = e, this.eventService.dispatchEvent({ type: v.EVENT_SCROLLBAR_WIDTH_CHANGED })); @@ -30555,22 +30555,22 @@ var SC = ( return this.gridOptions.groupDisplayType ? pn("multipleColumns", this.gridOptions.groupDisplayType) : this.is("groupHideOpenParents"); }, n.prototype.isGroupUseEntireRow = function(t) { return t ? !1 : this.gridOptions.groupDisplayType ? pn("groupRows", this.gridOptions.groupDisplayType) : !1; - }, dt([ + }, ht([ h("gridOptions") - ], n.prototype, "gridOptions", void 0), dt([ + ], n.prototype, "gridOptions", void 0), ht([ h("eventService") - ], n.prototype, "eventService", void 0), dt([ + ], n.prototype, "eventService", void 0), ht([ h("environment") - ], n.prototype, "environment", void 0), dt([ + ], n.prototype, "environment", void 0), ht([ h("eGridDiv") - ], n.prototype, "eGridDiv", void 0), dt([ + ], n.prototype, "eGridDiv", void 0), ht([ Zs(0, Ce("gridApi")), Zs(1, Ce("columnApi")) - ], n.prototype, "agWire", null), dt([ + ], n.prototype, "agWire", null), ht([ b - ], n.prototype, "init", null), dt([ + ], n.prototype, "init", null), ht([ fe - ], n.prototype, "destroy", null), n = dt([ + ], n.prototype, "destroy", null), n = ht([ A("gridOptionsService") ], n), n; }() @@ -30581,7 +30581,7 @@ var SC = ( * @link https://www.ag-grid.com/ * @license MIT */ -var EC = function() { +var _C = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -30597,7 +30597,7 @@ var EC = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), _C = function(n, t, e, r) { +}(), RC = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -30605,10 +30605,10 @@ var EC = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, RC = ( +}, OC = ( /** @class */ function(n) { - EC(t, n); + _C(t, n); function t() { return n !== null && n.apply(this, arguments) || this; } @@ -30638,7 +30638,7 @@ var EC = function() { } return l ?? s; }; - }, t = _C([ + }, t = RC([ A("localeService") ], t), t; }(T) @@ -30649,7 +30649,7 @@ var EC = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var OC = function() { +var TC = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -30665,7 +30665,7 @@ var OC = function() { } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), TC = function(n, t, e, r) { +}(), bC = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -30673,15 +30673,15 @@ var OC = function() { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, bC = ( +}, PC = ( /** @class */ function(n) { - OC(t, n); + TC(t, n); function t() { return n.call(this, t.TEMPLATE, "vertical") || this; } return t.prototype.postConstruct = function() { - n.prototype.postConstruct.call(this), this.createManagedBean(new Wl(this.eContainer)), this.ctrlsService.registerFakeVScrollComp(this); + n.prototype.postConstruct.call(this), this.createManagedBean(new jl(this.eContainer)), this.ctrlsService.registerFakeVScrollComp(this); }, t.prototype.setScrollVisible = function() { var e = this.scrollVisibleService.isVerticalScrollShowing(), r = this.invisibleScrollbar, o = e && this.gridOptionsService.getScrollbarWidth() || 0, i = o === 0 && r ? 16 : o; this.addOrRemoveCssClass("ag-scrollbar-invisible", r), Ve(this.getGui(), i), Ve(this.eViewport, i), Ve(this.eContainer, i), this.setDisplayed(e, { skipAriaHidden: !0 }); @@ -30689,10 +30689,10 @@ var OC = function() {
- `, TC([ + `, bC([ b ], t.prototype, "postConstruct", null), t; - }(zl) + }(Kl) ); /** * @ag-grid-community/core - Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue @@ -30700,7 +30700,7 @@ var OC = function() { * @link https://www.ag-grid.com/ * @license MIT */ -var PC = function(n, t) { +var DC = function(n, t) { var e = typeof Symbol == "function" && n[Symbol.iterator]; if (!e) return n; @@ -30721,9 +30721,9 @@ var PC = function(n, t) { return i; }, ta = function() { for (var n = [], t = 0; t < arguments.length; t++) - n = n.concat(PC(arguments[t])); + n = n.concat(DC(arguments[t])); return n; -}, Kl = ( +}, $l = ( /** @class */ function() { function n(t, e, r) { @@ -30731,8 +30731,8 @@ var PC = function(n, t) { console.error("AG Grid: no gridOptions provided to the grid"); return; } - this.gridOptions = e, new DC().create(t, e, function(o) { - var i = new ay(t); + this.gridOptions = e, new AC().create(t, e, function(o) { + var i = new ly(t); o.createBean(i); }, void 0, r); } @@ -30740,7 +30740,7 @@ var PC = function(n, t) { this.gridOptions && this.gridOptions.api && this.gridOptions.api.destroy(); }, n; }() -), DC = ( +), AC = ( /** @class */ function() { function n() { @@ -30756,7 +30756,7 @@ var PC = function(n, t) { return e.debug; }), f = new Rn("Context", function() { return p.debug; - }), g = new hu(p, f), y = g.getBean("beans"); + }), g = new fu(p, f), y = g.getBean("beans"); this.registerModuleUserComponents(y, l), this.registerStackComponents(y, l), this.registerControllers(y, l), r(g), y.ctrlsService.whenReady(function() { s.setColumnsAndData(y), s.dispatchGridReadyEvent(y); var C = N.isRegistered(F.EnterpriseCoreModule); @@ -30790,7 +30790,7 @@ var PC = function(n, t) { }); }, n.prototype.createProvidedBeans = function(t, e, r) { var o = r ? r.frameworkOverrides : null; - x(o) && (o = new Ig()); + x(o) && (o = new xg()); var i = { gridOptions: e, eGridDiv: t, @@ -30800,26 +30800,26 @@ var PC = function(n, t) { return r && r.providedBeanInstances && Object.assign(i, r.providedBeanInstances), i; }, n.prototype.createAgStackComponentsList = function(t) { var e = [ - { componentName: "AgCheckbox", componentClass: Gr }, - { componentName: "AgRadioButton", componentClass: Sl }, - { componentName: "AgToggleButton", componentClass: Zv }, - { componentName: "AgInputTextField", componentClass: sr }, - { componentName: "AgInputTextArea", componentClass: tg }, + { componentName: "AgCheckbox", componentClass: Vr }, + { componentName: "AgRadioButton", componentClass: El }, + { componentName: "AgToggleButton", componentClass: eg }, + { componentName: "AgInputTextField", componentClass: lr }, + { componentName: "AgInputTextArea", componentClass: rg }, { componentName: "AgInputNumberField", componentClass: es }, - { componentName: "AgInputRange", componentClass: og }, - { componentName: "AgSelect", componentClass: Io }, - { componentName: "AgSlider", componentClass: ng }, - { componentName: "AgGridBody", componentClass: sf }, - { componentName: "AgHeaderRoot", componentClass: vv }, + { componentName: "AgInputRange", componentClass: ig }, + { componentName: "AgSelect", componentClass: No }, + { componentName: "AgSlider", componentClass: sg }, + { componentName: "AgGridBody", componentClass: af }, + { componentName: "AgHeaderRoot", componentClass: gv }, { componentName: "AgSortIndicator", componentClass: rs }, - { componentName: "AgPagination", componentClass: Vy }, - { componentName: "AgOverlayWrapper", componentClass: Wy }, - { componentName: "AgGroupComponent", componentClass: ag }, - { componentName: "AgPanel", componentClass: Ul }, - { componentName: "AgDialog", componentClass: Eg }, - { componentName: "AgRowContainer", componentClass: Ef }, - { componentName: "AgFakeHorizontalScroll", componentClass: hC }, - { componentName: "AgFakeVerticalScroll", componentClass: bC } + { componentName: "AgPagination", componentClass: By }, + { componentName: "AgOverlayWrapper", componentClass: jy }, + { componentName: "AgGroupComponent", componentClass: lg }, + { componentName: "AgPanel", componentClass: zl }, + { componentName: "AgDialog", componentClass: _g }, + { componentName: "AgRowContainer", componentClass: _f }, + { componentName: "AgFakeHorizontalScroll", componentClass: fC }, + { componentName: "AgFakeVerticalScroll", componentClass: PC } ], r = this.extractModuleEntity(t, function(o) { return o.agStackComponents ? o.agStackComponents : []; }); @@ -30840,70 +30840,70 @@ var PC = function(n, t) { } if (N.assertRegistered(o[t], "rowModelType = '" + t + "'")) { var i = [ - Bl, - ky, - Ky, - Zy, - gy, + Wl, + Uy, + $y, + eC, + yy, + Gd, + yd, + Ry, + Ty, + Ov, + Id, + Ny, + Cv, + OC, + Hu, + Uv, Nd, - gd, - _y, - Oy, - Rv, - Md, - xy, - yv, - RC, - Gu, - kv, - xd, - nc, - wt, - SC, - Ag, - zg, - Hd, - Zu, - cv, - qv, - Hv, - Xg, - Fu, - ey, - Wg, - df, - Cy, - Yg, - oy, - rc, - Pv, - mv, - pe, + sc, + Et, + EC, + Fg, Kg, - Fr, - cf, - Ly, - Hg, - Wv, - Xv, - lf, - uy, - dy, - fy, - Gy, - Wu, - Sy, - Tv, - Xy, - lc, - tC, + Vd, + ec, + pv, + Qv, + Vv, + Jg, + Lu, + ty, + jg, + hf, + my, + qg, + iy, + oc, + Dv, + wv, + pe, + $g, + Mr, + pf, + My, + Vg, + jv, + Jv, + uf, + cy, + hy, + vy, + Hy, + ju, + Ey, + bv, + Jy, + uc, rC, - $v, - iC, - aC, - vC, - yC, - cC + oC, + Yv, + nC, + lC, + gC, + CC, + pC ], s = this.extractModuleEntity(r, function(l) { return l.beans ? l.beans : []; }); @@ -30942,14 +30942,14 @@ var ra; * @link https://www.ag-grid.com/ * @license MIT */ -var ar = typeof global > "u" ? {} : global; -ar.HTMLElement = typeof HTMLElement > "u" ? {} : HTMLElement; -ar.HTMLButtonElement = typeof HTMLButtonElement > "u" ? {} : HTMLButtonElement; -ar.HTMLSelectElement = typeof HTMLSelectElement > "u" ? {} : HTMLSelectElement; -ar.HTMLInputElement = typeof HTMLInputElement > "u" ? {} : HTMLInputElement; -ar.Node = typeof Node > "u" ? {} : Node; -ar.MouseEvent = typeof MouseEvent > "u" ? {} : MouseEvent; -var AC = function(n, t) { +var ur = typeof global > "u" ? {} : global; +ur.HTMLElement = typeof HTMLElement > "u" ? {} : HTMLElement; +ur.HTMLButtonElement = typeof HTMLButtonElement > "u" ? {} : HTMLButtonElement; +ur.HTMLSelectElement = typeof HTMLSelectElement > "u" ? {} : HTMLSelectElement; +ur.HTMLInputElement = typeof HTMLInputElement > "u" ? {} : HTMLInputElement; +ur.Node = typeof Node > "u" ? {} : Node; +ur.MouseEvent = typeof MouseEvent > "u" ? {} : MouseEvent; +var FC = function(n, t) { var e = typeof Symbol == "function" && n[Symbol.iterator]; if (!e) return n; @@ -30970,9 +30970,9 @@ var AC = function(n, t) { return i; }, oa = function() { for (var n = [], t = 0; t < arguments.length; t++) - n = n.concat(AC(arguments[t])); + n = n.concat(FC(arguments[t])); return n; -}, FC = ( +}, LC = ( /** @class */ function() { function n(t, e, r, o, i, s) { @@ -31076,7 +31076,7 @@ var AC = function(n, t) { return e === -1 ? !0 : t < e; }, n.TOP_LEVEL = 0, n.ROOT_NODE_ID = "ROOT_NODE_ID", n; }() -), LC = function() { +), MC = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -31100,7 +31100,7 @@ var AC = function(n, t) { for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, MC = function(n, t) { +}, IC = function(n, t) { var e = typeof Symbol == "function" && n[Symbol.iterator]; if (!e) return n; @@ -31119,18 +31119,18 @@ var AC = function(n, t) { } } return i; -}, yo = function() { +}, mo = function() { for (var n = [], t = 0; t < arguments.length; t++) - n = n.concat(MC(arguments[t])); + n = n.concat(IC(arguments[t])); return n; }, Ye; (function(n) { n[n.Normal = 0] = "Normal", n[n.AfterFilter = 1] = "AfterFilter", n[n.AfterFilterAndSort = 2] = "AfterFilterAndSort", n[n.PivotNodes = 3] = "PivotNodes"; })(Ye || (Ye = {})); -var IC = ( +var xC = ( /** @class */ function(n) { - LC(t, n); + MC(t, n); function t() { var e = n !== null && n.apply(this, arguments) || this; return e.onRowHeightChanged_debounced = G.debounce(e.onRowHeightChanged.bind(e), 100), e.rowsToDisplay = [], e; @@ -31148,7 +31148,7 @@ var IC = ( keepRenderedRows: !0, animate: r }); - this.addManagedPropertyListener("groupRemoveSingleChildren", i), this.addManagedPropertyListener("groupRemoveLowestSingleChildren", i), this.rootNode = new j(this.beans), this.nodeManager = new FC(this.rootNode, this.gridOptionsService, this.eventService, this.columnModel, this.selectionService, this.beans); + this.addManagedPropertyListener("groupRemoveSingleChildren", i), this.addManagedPropertyListener("groupRemoveLowestSingleChildren", i), this.rootNode = new j(this.beans), this.nodeManager = new LC(this.rootNode, this.gridOptionsService, this.eventService, this.columnModel, this.selectionService, this.beans); }, t.prototype.start = function() { var e = this.gridOptionsService.get("rowData"); e && this.setRowData(e); @@ -31212,10 +31212,10 @@ var IC = ( if (!r) { var o = this.getRowIndexAtPixel(e); if (r = this.getRow(o || 0), !r) - return at.Below; + return lt.Below; } var i = r.rowTop, s = r.rowHeight; - return e - i < s / 2 ? at.Above : at.Below; + return e - i < s / 2 ? lt.Above : lt.Below; }, t.prototype.getLastHighlightedRowNode = function() { return this.lastHighlightedRow; }, t.prototype.isLastRowIndexKnown = function() { @@ -31380,7 +31380,7 @@ var IC = ( }); }, t.prototype.forEachNode = function(e, r) { r === void 0 && (r = !1), this.recursivelyWalkNodesAndCallback({ - nodes: yo(this.rootNode.childrenAfterGroup || []), + nodes: mo(this.rootNode.childrenAfterGroup || []), callback: e, recursionType: Ye.Normal, index: 0, @@ -31388,7 +31388,7 @@ var IC = ( }); }, t.prototype.forEachNodeAfterFilter = function(e, r) { r === void 0 && (r = !1), this.recursivelyWalkNodesAndCallback({ - nodes: yo(this.rootNode.childrenAfterAggFilter || []), + nodes: mo(this.rootNode.childrenAfterAggFilter || []), callback: e, recursionType: Ye.AfterFilter, index: 0, @@ -31396,7 +31396,7 @@ var IC = ( }); }, t.prototype.forEachNodeAfterFilterAndSort = function(e, r) { r === void 0 && (r = !1), this.recursivelyWalkNodesAndCallback({ - nodes: yo(this.rootNode.childrenAfterSort || []), + nodes: mo(this.rootNode.childrenAfterSort || []), callback: e, recursionType: Ye.AfterFilterAndSort, index: 0, @@ -31432,7 +31432,7 @@ var IC = ( break; } d && (l = this.recursivelyWalkNodesAndCallback({ - nodes: yo(d), + nodes: mo(d), callback: i, recursionType: s, index: l, @@ -31645,7 +31645,7 @@ var IC = ( A("rowModel") ], t), t; }(T) -), xC = function() { +), NC = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -31669,10 +31669,10 @@ var IC = ( for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, NC = ( +}, GC = ( /** @class */ function(n) { - xC(t, n); + NC(t, n); function t() { return n !== null && n.apply(this, arguments) || this; } @@ -31685,7 +31685,7 @@ var IC = ( A("filterStage") ], t), t; }(T) -), GC = function() { +), HC = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -31701,7 +31701,7 @@ var IC = ( } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), Co = function(n, t, e, r) { +}(), wo = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -31709,10 +31709,10 @@ var IC = ( for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, HC = ( +}, VC = ( /** @class */ function(n) { - GC(t, n); + HC(t, n); function t() { return n !== null && n.apply(this, arguments) || this; } @@ -31721,17 +31721,17 @@ var IC = ( return !!r.columnModel.getGroupDisplayColumnForGroup(l.column.getId()); }); this.sortService.sort(o, i, s, e.rowNodeTransactions, e.changedPath, a); - }, Co([ + }, wo([ h("sortService") - ], t.prototype, "sortService", void 0), Co([ + ], t.prototype, "sortService", void 0), wo([ h("sortController") - ], t.prototype, "sortController", void 0), Co([ + ], t.prototype, "sortController", void 0), wo([ h("columnModel") - ], t.prototype, "columnModel", void 0), t = Co([ + ], t.prototype, "columnModel", void 0), t = wo([ A("sortStage") ], t), t; }(T) -), VC = function() { +), BC = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -31747,7 +31747,7 @@ var IC = ( } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), rn = function(n, t, e, r) { +}(), on = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -31755,10 +31755,10 @@ var IC = ( for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, BC = ( +}, WC = ( /** @class */ function(n) { - VC(t, n); + BC(t, n); function t() { return n !== null && n.apply(this, arguments) || this; } @@ -31792,15 +31792,15 @@ var IC = ( return e.detailNode; var r = new j(this.beans); return r.detail = !0, r.selectable = !1, r.parent = e, G.exists(e.id) && (r.id = "detail_" + e.id), r.data = e.data, r.level = e.level + 1, e.detailNode = r, r; - }, rn([ + }, on([ h("columnModel") - ], t.prototype, "columnModel", void 0), rn([ + ], t.prototype, "columnModel", void 0), on([ h("beans") - ], t.prototype, "beans", void 0), t = rn([ + ], t.prototype, "beans", void 0), t = on([ A("flattenStage") ], t), t; }(T) -), WC = function() { +), jC = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -31816,7 +31816,7 @@ var IC = ( } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), mo = function(n, t, e, r) { +}(), So = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -31824,10 +31824,10 @@ var IC = ( for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, jC = ( +}, kC = ( /** @class */ function(n) { - WC(t, n); + jC(t, n); function t() { return n !== null && n.apply(this, arguments) || this; } @@ -31952,17 +31952,17 @@ var IC = ( } }); }); - }, mo([ + }, So([ h("columnModel") - ], t.prototype, "columnModel", void 0), mo([ + ], t.prototype, "columnModel", void 0), So([ h("rowNodeSorter") - ], t.prototype, "rowNodeSorter", void 0), mo([ + ], t.prototype, "rowNodeSorter", void 0), So([ b - ], t.prototype, "init", null), t = mo([ + ], t.prototype, "init", null), t = So([ A("sortService") ], t), t; }(T) -), kC = function() { +), UC = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -31986,10 +31986,10 @@ var IC = ( for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, UC = ( +}, zC = ( /** @class */ function(n) { - kC(t, n); + UC(t, n); function t() { return n !== null && n.apply(this, arguments) || this; } @@ -32029,7 +32029,7 @@ var IC = ( A("filterService") ], t), t; }(T) -), zC = function() { +), KC = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -32045,7 +32045,7 @@ var IC = ( } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), wo = function(n, t, e, r) { +}(), Eo = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -32053,7 +32053,7 @@ var IC = ( for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, KC = function(n, t) { +}, $C = function(n, t) { var e = typeof Symbol == "function" && n[Symbol.iterator]; if (!e) return n; @@ -32072,10 +32072,10 @@ var IC = ( } } return i; -}, $C = ( +}, YC = ( /** @class */ function(n) { - zC(t, n); + KC(t, n); function t() { return n !== null && n.apply(this, arguments) || this; } @@ -32087,7 +32087,7 @@ var IC = ( }, t.prototype.setRowData = function(e) { var r = this.createTransactionForRowData(e); if (r) { - var o = KC(r, 2), i = o[0], s = o[1]; + var o = $C(r, 2), i = o[0], s = o[1]; this.clientSideRowModel.updateRowData(i, s); } }, t.prototype.createTransactionForRowData = function(e) { @@ -32115,22 +32115,22 @@ var IC = ( }), G.iterateObject(i, function(l, u) { u && o.remove.push(u.data); }), [o, a]; - }, wo([ + }, Eo([ h("rowModel") - ], t.prototype, "rowModel", void 0), wo([ + ], t.prototype, "rowModel", void 0), Eo([ h("rowRenderer") - ], t.prototype, "rowRenderer", void 0), wo([ + ], t.prototype, "rowRenderer", void 0), Eo([ b - ], t.prototype, "postConstruct", null), t = wo([ + ], t.prototype, "postConstruct", null), t = Eo([ A("immutableService") ], t), t; }(T) -), YC = "29.3.5", qC = { - version: YC, +), qC = "29.3.5", QC = { + version: qC, moduleName: F.ClientSideRowModelModule, rowModel: "clientSide", - beans: [IC, NC, HC, BC, jC, UC, $C] -}, QC = function() { + beans: [xC, GC, VC, WC, kC, zC, YC] +}, XC = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -32146,7 +32146,7 @@ var IC = ( } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), on = function(n, t, e, r) { +}(), nn = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -32157,7 +32157,7 @@ var IC = ( }, sa = ( /** @class */ function(n) { - QC(t, n); + XC(t, n); function t(e, r, o) { var i = n.call(this, e) || this; return i.parentCache = r, i.params = o, i.startRow = e * o.blockSize, i.endRow = i.startRow + o.blockSize, i; @@ -32231,15 +32231,15 @@ var IC = ( this.rowNodes.forEach(function(e) { e.clearRowTopAndRowIndex(); }); - }, on([ + }, nn([ h("beans") - ], t.prototype, "beans", void 0), on([ + ], t.prototype, "beans", void 0), nn([ b - ], t.prototype, "postConstruct", null), on([ + ], t.prototype, "postConstruct", null), nn([ fe ], t.prototype, "destroyRowNodes", null), t; }(_n) -), XC = function() { +), JC = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -32255,7 +32255,7 @@ var IC = ( } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), So = function(n, t, e, r) { +}(), _o = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -32263,14 +32263,14 @@ var IC = ( for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, JC = function(n, t) { +}, ZC = function(n, t) { return function(e, r) { t(e, r, n); }; -}, ZC = ( +}, em = ( /** @class */ function(n) { - XC(t, n); + JC(t, n); function t(e) { var r = n.call(this) || this; return r.lastRowIndexKnown = !1, r.blocks = {}, r.blockCount = 0, r.rowCount = e.initialRowCount, r.params = e, r; @@ -32346,7 +32346,7 @@ var IC = ( }, t.prototype.setRowCount = function(e, r) { this.rowCount = e, G.exists(r) && (this.lastRowIndexKnown = r), this.lastRowIndexKnown || this.rowCount % this.params.blockSize === 0 && this.rowCount++, this.onCacheUpdated(); }, t.prototype.forEachNodeDeep = function(e) { - var r = this, o = new er(); + var r = this, o = new rr(); this.getBlocksInOrder().forEach(function(i) { return i.forEachNode(e, o, r.rowCount); }); @@ -32379,7 +32379,7 @@ var IC = ( return e.removeBlockFromCache(r); }), this.lastRowIndexKnown = !1, this.rowCount === 0 && (this.rowCount = this.params.initialRowCount), this.onCacheUpdated(); }, t.prototype.getRowNodesInRange = function(e, r) { - var o = this, i = [], s = -1, a = !1, l = new er(); + var o = this, i = [], s = -1, a = !1, l = new rr(); G.missing(e) && (a = !0); var u = !1; this.getBlocksInOrder().forEach(function(p) { @@ -32396,17 +32396,17 @@ var IC = ( }); var c = u || a; return c ? [] : i; - }, t.MAX_EMPTY_BLOCKS_TO_KEEP = 2, So([ + }, t.MAX_EMPTY_BLOCKS_TO_KEEP = 2, _o([ h("rowRenderer") - ], t.prototype, "rowRenderer", void 0), So([ + ], t.prototype, "rowRenderer", void 0), _o([ h("focusService") - ], t.prototype, "focusService", void 0), So([ - JC(0, Ce("loggerFactory")) - ], t.prototype, "setBeans", null), So([ + ], t.prototype, "focusService", void 0), _o([ + ZC(0, Ce("loggerFactory")) + ], t.prototype, "setBeans", null), _o([ fe ], t.prototype, "destroyAllBlocks", null), t; }(T) -), em = function() { +), tm = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -32422,7 +32422,7 @@ var IC = ( } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), ht = function(n, t, e, r) { +}(), ft = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -32430,10 +32430,10 @@ var IC = ( for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, tm = ( +}, rm = ( /** @class */ function(n) { - em(t, n); + tm(t, n); function t() { return n !== null && n.apply(this, arguments) || this; } @@ -32520,8 +32520,8 @@ var IC = ( blockSize: this.defaultIfInvalid(this.gridOptionsService.getNum("cacheBlockSize"), 100), // the cache could create this, however it is also used by the pages, so handy to create it // here as the settings are also passed to the pages - lastAccessedSequence: new er() - }, this.infiniteCache = this.createBean(new ZC(this.cacheParams)); + lastAccessedSequence: new rr() + }, this.infiniteCache = this.createBean(new em(this.cacheParams)); }, t.prototype.defaultIfInvalid = function(e, r) { return e > 0 ? e : r; }, t.prototype.destroyCache = function() { @@ -32562,30 +32562,30 @@ var IC = ( return this.infiniteCache ? this.infiniteCache.isLastRowIndexKnown() : !1; }, t.prototype.setRowCount = function(e, r) { this.infiniteCache && this.infiniteCache.setRowCount(e, r); - }, ht([ + }, ft([ h("filterManager") - ], t.prototype, "filterManager", void 0), ht([ + ], t.prototype, "filterManager", void 0), ft([ h("sortController") - ], t.prototype, "sortController", void 0), ht([ + ], t.prototype, "sortController", void 0), ft([ h("selectionService") - ], t.prototype, "selectionService", void 0), ht([ + ], t.prototype, "selectionService", void 0), ft([ h("rowRenderer") - ], t.prototype, "rowRenderer", void 0), ht([ + ], t.prototype, "rowRenderer", void 0), ft([ h("rowNodeBlockLoader") - ], t.prototype, "rowNodeBlockLoader", void 0), ht([ + ], t.prototype, "rowNodeBlockLoader", void 0), ft([ b - ], t.prototype, "init", null), ht([ + ], t.prototype, "init", null), ft([ fe - ], t.prototype, "destroyDatasource", null), t = ht([ + ], t.prototype, "destroyDatasource", null), t = ft([ A("rowModel") ], t), t; }(T) -), rm = "29.3.5", om = { - version: rm, +), om = "29.3.5", im = { + version: om, moduleName: F.InfiniteRowModelModule, rowModel: "infinite", - beans: [tm] -}, im = ( + beans: [rm] +}, nm = ( /** @class */ function() { function n() { @@ -32600,7 +32600,7 @@ var IC = ( return r; }, n; }() -), nm = ( +), sm = ( /** @class */ function() { function n(t) { @@ -32675,7 +32675,7 @@ var IC = ( }) : i ?? ""; }, n; }() -), sm = ( +), am = ( /** @class */ function() { function n() { @@ -32696,7 +32696,7 @@ var IC = ( }, 0); }, n; }() -), am = function() { +), lm = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -32713,10 +32713,10 @@ var IC = ( t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; }(), aa = `\r -`, lm = ( +`, um = ( /** @class */ function(n) { - am(t, n); + lm(t, n); function t(e) { var r = n.call(this, e) || this; r.isFirstLine = !0, r.result = ""; @@ -32765,8 +32765,8 @@ var IC = ( }, t.prototype.beginNewLine = function() { this.isFirstLine || (this.result += aa), this.isFirstLine = !1; }, t; - }(nm) -), um = function() { + }(sm) +), cm = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -32782,7 +32782,7 @@ var IC = ( } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), jt = function(n, t, e, r) { +}(), kt = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -32790,10 +32790,10 @@ var IC = ( for (var a = n.length - 1; a >= 0; a--) (s = n[a]) && (i = (o < 3 ? s(i) : o > 3 ? s(t, e, i) : s(t, e)) || i); return o > 3 && i && Object.defineProperty(t, e, i), i; -}, cm = ( +}, pm = ( /** @class */ function(n) { - um(t, n); + cm(t, n); function t() { return n !== null && n.apply(this, arguments) || this; } @@ -32809,7 +32809,7 @@ var IC = ( if (this.isExportSuppressed()) return console.warn("AG Grid: Export cancelled. Export is not allowed as per your configuration."), ""; var r = this.getMergedParams(e), o = this.getData(r), i = new Blob(["\uFEFF", o], { type: "text/plain" }); - return sm.download(this.getFileName(r.fileName), i), o; + return am.download(this.getFileName(r.fileName), i), o; }, t.prototype.exportDataAsCsv = function(e) { return this.export(e); }, t.prototype.getDataAsCsv = function(e, r) { @@ -32822,7 +32822,7 @@ var IC = ( return "csv"; }, t.prototype.createSerializingSession = function(e) { var r = this, o = r.columnModel, i = r.valueService, s = r.gridOptionsService, a = e, l = a.processCellCallback, u = a.processHeaderCallback, c = a.processGroupHeaderCallback, p = a.processRowGroupCallback, d = a.suppressQuotes, f = a.columnSeparator; - return new lm({ + return new um({ columnModel: o, valueService: i, gridOptionsService: s, @@ -32835,21 +32835,21 @@ var IC = ( }); }, t.prototype.isExportSuppressed = function() { return this.gridOptionsService.is("suppressCsvExport"); - }, jt([ + }, kt([ h("columnModel") - ], t.prototype, "columnModel", void 0), jt([ + ], t.prototype, "columnModel", void 0), kt([ h("valueService") - ], t.prototype, "valueService", void 0), jt([ + ], t.prototype, "valueService", void 0), kt([ h("gridSerializer") - ], t.prototype, "gridSerializer", void 0), jt([ + ], t.prototype, "gridSerializer", void 0), kt([ h("gridOptionsService") - ], t.prototype, "gridOptionsService", void 0), jt([ + ], t.prototype, "gridOptionsService", void 0), kt([ b - ], t.prototype, "postConstruct", null), t = jt([ + ], t.prototype, "postConstruct", null), t = kt([ A("csvCreator") ], t), t; - }(im) -), pm = function() { + }(nm) +), dm = function() { var n = function(t, e) { return n = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, o) { r.__proto__ = o; @@ -32865,7 +32865,7 @@ var IC = ( } t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r()); }; -}(), ft = function(n, t, e, r) { +}(), vt = function(n, t, e, r) { var o = arguments.length, i = o < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, e) : r, s; if (typeof Reflect == "object" && typeof Reflect.decorate == "function") i = Reflect.decorate(n, t, e, r); @@ -32877,10 +32877,10 @@ var IC = ( (function(n) { n[n.HEADER_GROUPING = 0] = "HEADER_GROUPING", n[n.HEADER = 1] = "HEADER", n[n.BODY = 2] = "BODY"; })(la || (la = {})); -var dm = ( +var hm = ( /** @class */ function(n) { - pm(t, n); + dm(t, n); function t() { return n !== null && n.apply(this, arguments) || this; } @@ -32945,7 +32945,7 @@ var dm = ( return console.warn("AG Grid: Since v25.2 the `columnGroups` param has deprecated, and groups are exported by default."); }, "gridSerializer-columnGroups"); else { - var s = new Ma(), a = o.displayedGroupCreator.createDisplayedGroups(r, o.columnModel.getGridBalancedTree(), s, null); + var s = new Ia(), a = o.displayedGroupCreator.createDisplayedGroups(r, o.columnModel.getGridBalancedTree(), s, null); o.recursivelyAddHeaderGroups(a, i, e.processGroupHeaderCallback); } return i; @@ -33026,7 +33026,7 @@ var dm = ( if (r && r.length) return this.columnModel.getGridColumns(r); if (e && !o) { - var i = this.gridOptionsService.isTreeData() ? this.columnModel.getGridColumns([Mr]) : []; + var i = this.gridOptionsService.isTreeData() ? this.columnModel.getGridColumns([xr]) : []; return i.concat(this.columnModel.getAllPrimaryColumns() || []); } return this.columnModel.getAllDisplayedColumns(); @@ -33054,30 +33054,30 @@ var dm = ( }, []); s.onColumn(u, c || "", a++, u.getLeafColumns().length - 1, p); }); - }, ft([ + }, vt([ h("displayedGroupCreator") - ], t.prototype, "displayedGroupCreator", void 0), ft([ + ], t.prototype, "displayedGroupCreator", void 0), vt([ h("columnModel") - ], t.prototype, "columnModel", void 0), ft([ + ], t.prototype, "columnModel", void 0), vt([ h("rowModel") - ], t.prototype, "rowModel", void 0), ft([ + ], t.prototype, "rowModel", void 0), vt([ h("pinnedRowModel") - ], t.prototype, "pinnedRowModel", void 0), ft([ + ], t.prototype, "pinnedRowModel", void 0), vt([ h("selectionService") - ], t.prototype, "selectionService", void 0), ft([ + ], t.prototype, "selectionService", void 0), vt([ h("rowNodeSorter") - ], t.prototype, "rowNodeSorter", void 0), ft([ + ], t.prototype, "rowNodeSorter", void 0), vt([ h("sortController") - ], t.prototype, "sortController", void 0), t = ft([ + ], t.prototype, "sortController", void 0), t = vt([ A("gridSerializer") ], t), t; }(T) -), hm = "29.3.5", fm = { - version: hm, +), fm = "29.3.5", vm = { + version: fm, moduleName: F.CsvExportModule, - beans: [cm, dm] -}, vm = [qC, om, fm]; -N.registerModules(vm); + beans: [pm, hm] +}, gm = [QC, im, vm]; +N.registerModules(gm); /*! ***************************************************************************** Copyright (c) Microsoft Corporation. @@ -33101,7 +33101,7 @@ var xe = function() { } return t; }, xe.apply(this, arguments); -}, gm = ( +}, ym = ( /** @class */ function() { function n(t) { @@ -33117,31 +33117,31 @@ var xe = function() { }); }, n; }() -), ir; +), sr; (function(n) { n[n.Add = 0] = "Add", n[n.Remove = 1] = "Remove"; -})(ir || (ir = {})); -var ym = ( +})(sr || (sr = {})); +var Cm = ( /** @class */ function() { function n() { this.notifications = []; } return n.prototype.push = function(t) { - this.notifications.push(t), this.updateFn(t, ir.Add, this.notifications); + this.notifications.push(t), this.updateFn(t, sr.Add, this.notifications); }, n.prototype.splice = function(t, e) { var r = this.notifications.splice(t, e)[0]; - return this.updateFn(r, ir.Remove, this.notifications), r; + return this.updateFn(r, sr.Remove, this.notifications), r; }, n.prototype.indexOf = function(t) { return this.notifications.indexOf(t); }, n.prototype.onUpdate = function(t) { this.updateFn = t; }, n; }() -), yt; +), Ct; (function(n) { n.Dismiss = "dismiss", n.Click = "click"; -})(yt || (yt = {})); +})(Ct || (Ct = {})); var ua = { types: [ { @@ -33170,7 +33170,7 @@ var ua = { y: "bottom" }, dismissible: !1 -}, Cm = ( +}, mm = ( /** @class */ function() { function n() { @@ -33190,7 +33190,7 @@ var ua = { var r; this.events = xe(xe({}, this.events), (r = {}, r[t] = e, r)); }, n.prototype.update = function(t, e) { - e === ir.Add ? this.addNotification(t) : e === ir.Remove && this.removeNotification(t); + e === sr.Add ? this.addNotification(t) : e === sr.Remove && this.removeNotification(t); }, n.prototype.removeNotification = function(t) { var e = this, r = this._popRenderedNotification(t), o; if (r) { @@ -33241,12 +33241,12 @@ var ua = { }); w.appendChild(E), a.appendChild(w), i.classList.add("notyf__toast--dismissible"), E.addEventListener("click", function(D) { var M, I; - (I = (M = e.events)[yt.Dismiss]) === null || I === void 0 || I.call(M, { target: t, event: D }), D.stopPropagation(); + (I = (M = e.events)[Ct.Dismiss]) === null || I === void 0 || I.call(M, { target: t, event: D }), D.stopPropagation(); }); } i.addEventListener("click", function(D) { var M, I; - return (I = (M = e.events)[yt.Click]) === null || I === void 0 ? void 0 : I.call(M, { target: t, event: D }); + return (I = (M = e.events)[Ct.Click]) === null || I === void 0 ? void 0 : I.call(M, { target: t, event: D }); }); var R = this.getYPosition(r) === "top" ? "upper" : "lower"; return i.classList.add("notyf__toast--" + R), i; @@ -33274,21 +33274,21 @@ var ua = { return "animationend"; }, n; }() -), mm = ( +), wm = ( /** @class */ function() { function n(t) { var e = this; - this.dismiss = this._removeNotification, this.notifications = new ym(), this.view = new Cm(); + this.dismiss = this._removeNotification, this.notifications = new Cm(), this.view = new mm(); var r = this.registerTypes(t); this.options = xe(xe({}, ua), t), this.options.types = r, this.notifications.onUpdate(function(o, i) { return e.view.update(o, i); - }), this.view.on(yt.Dismiss, function(o) { + }), this.view.on(Ct.Dismiss, function(o) { var i = o.target, s = o.event; - e._removeNotification(i), i.triggerEvent(yt.Dismiss, s); - }), this.view.on(yt.Click, function(o) { + e._removeNotification(i), i.triggerEvent(Ct.Dismiss, s); + }), this.view.on(Ct.Click, function(o) { var i = o.target, s = o.event; - return i.triggerEvent(yt.Click, s); + return i.triggerEvent(Ct.Click, s); }); } return n.prototype.error = function(t) { @@ -33303,7 +33303,7 @@ var ua = { return s === t.type; }) || {}, r = xe(xe({}, e), t); this.assignProps(["ripple", "position", "dismissible"], r); - var o = new gm(r); + var o = new ym(r); return this._pushNotification(o), o; }, n.prototype.dismissAll = function() { for (; this.notifications.splice(0, 1); ) @@ -33339,7 +33339,59 @@ var ua = { }, n; }() ); -const ca = (n) => { +const Sm = ` + + +`, Em = ` + + +`, _m = ` + + + +`, Yl = ` + + + + + + +`, Rm = ` + + + +`, Om = ` + + + + + + + +`, Tm = ` + + + +`, ql = (n, t = 300) => { + let e; + return function(...r) { + clearTimeout(e), e = setTimeout(() => n.apply(this, r), t); + }; +}, bm = (n) => (n + "").replace(/[/][/].*$/gm, "").replace(/\s+/g, "").replace(/[/][*][^/*]*[*][/]/g, "").split("){", 1)[0].replace(/^[^(]*[(]/, "").replace(/=[^,]+/g, "").split(",").filter(Boolean); +function ca(n) { + const t = n.getFullYear(), e = (n.getMonth() + 1).toString().padStart(2, "0"), r = n.getDate().toString().padStart(2, "0"), o = n.getHours().toString().padStart(2, "0"), i = n.getMinutes().toString().padStart(2, "0"), s = n.getSeconds().toString().padStart(2, "0"); + return `${t}-${e}-${r} ${o}:${i}:${s}`; +} +const pa = (n) => { let t; const e = /* @__PURE__ */ new Set(), r = (l, u) => { const c = typeof l == "function" ? l(t) : l; @@ -33353,26 +33405,7 @@ const ca = (n) => { ), e.clear(); } }; return t = n(r, o, a), a; -}, cs = (n) => n ? ca(n) : ca, wm = (n) => { - const t = cs()(() => n), { getState: e, setState: r, subscribe: o } = t, i = { - refresh: async () => fetch("/agent-scheduler/v1/queue?limit=1000").then((s) => s.json()).then((s) => { - r(s); - }), - pauseQueue: async () => fetch("/agent-scheduler/v1/pause", { method: "POST" }).then((s) => s.json()).then((s) => (i.refresh(), s)), - resumeQueue: async () => fetch("/agent-scheduler/v1/resume", { method: "POST" }).then((s) => s.json()).then((s) => (i.refresh(), s)), - runTask: async (s) => fetch(`/agent-scheduler/v1/run/${s}`, { method: "POST" }).then((a) => a.json()).then((a) => (i.refresh(), a)), - moveTask: async (s, a) => fetch(`/agent-scheduler/v1/move/${s}/${a}`, { method: "POST" }).then((l) => l.json()).then((l) => (i.refresh(), l)), - deleteTask: async (s) => fetch(`/agent-scheduler/v1/delete/${s}`, { method: "POST" }).then( - (a) => a.json() - ) - }; - return { getState: e, setState: r, subscribe: o, ...i }; -}, $l = (n, t = 300) => { - let e; - return function(...r) { - clearTimeout(e), e = setTimeout(() => n.apply(this, r), t); - }; -}, Sm = (n) => (n + "").replace(/[/][/].*$/gm, "").replace(/\s+/g, "").replace(/[/][*][^/*]*[*][/]/g, "").split("){", 1)[0].replace(/^[^(]*[(]/, "").replace(/=[^,]+/g, "").split(",").filter(Boolean), Em = (n) => { +}, cs = (n) => n ? pa(n) : pa, Pm = (n) => { const t = cs()(() => n), { getState: e, setState: r, subscribe: o } = t, i = { refresh: async (s) => { const { limit: a = 1e3, offset: l = 0 } = s ?? {}, u = e().status ?? ""; @@ -33393,66 +33426,40 @@ const ca = (n) => { ) }; return { getState: e, setState: r, subscribe: o, ...i }; -}, _m = (n) => { +}, Dm = (n) => { + const t = cs()(() => n), { getState: e, setState: r, subscribe: o } = t, i = { + refresh: async () => fetch("/agent-scheduler/v1/queue?limit=1000").then((s) => s.json()).then((s) => { + r(s); + }), + pauseQueue: async () => fetch("/agent-scheduler/v1/pause", { method: "POST" }).then((s) => s.json()).then((s) => (i.refresh(), s)), + resumeQueue: async () => fetch("/agent-scheduler/v1/resume", { method: "POST" }).then((s) => s.json()).then((s) => (i.refresh(), s)), + runTask: async (s) => fetch(`/agent-scheduler/v1/run/${s}`, { method: "POST" }).then((a) => a.json()).then((a) => (i.refresh(), a)), + moveTask: async (s, a) => fetch(`/agent-scheduler/v1/move/${s}/${a}`, { method: "POST" }).then((l) => l.json()).then((l) => (i.refresh(), l)), + deleteTask: async (s) => fetch(`/agent-scheduler/v1/delete/${s}`, { method: "POST" }).then( + (a) => a.json() + ) + }; + return { getState: e, setState: r, subscribe: o, ...i }; +}, Am = (n) => { const t = cs(() => n), { getState: e, setState: r, subscribe: o } = t; return { getState: e, setState: r, subscribe: o, ...{ - selectSelectedTab: (s) => { + setSelectedTab: (s) => { r({ selectedTab: s }); } } }; -}, Yl = ` - - - - - - -`, Rm = ` - - - -`, Om = ` - - - -`, Tm = ` - - - -`, bm = ` - - - - - - - -`, Pm = ` - - -`, Dm = ` - - -`, pa = new mm(), nn = _m({ +}; +const da = new wm(), st = Am({ + uiAsTab: !0, selectedTab: "pending" -}), qo = wm({ +}), Jt = Dm({ current_task_id: null, total_pending_tasks: 0, pending_tasks: [], paused: !1 -}), Qo = Em({ +}), Xo = Pm({ total: 0, tasks: [] -}), $t = { +}), Yt = { // default col def properties get applied to all columns defaultColDef: { sortable: !1, @@ -33492,7 +33499,8 @@ const ca = (n) => { { field: "params.prompt", headerName: "Prompt", - minWidth: 400, + minWidth: 200, + maxWidth: 400, autoHeight: !0, wrapText: !0, cellStyle: { "line-height": "24px", "padding-top": "8px", "padding-bottom": "8px" } @@ -33500,7 +33508,8 @@ const ca = (n) => { { field: "params.negative_prompt", headerName: "Negative Prompt", - minWidth: 400, + minWidth: 200, + maxWidth: 400, autoHeight: !0, wrapText: !0, cellStyle: { "line-height": "24px", "padding-top": "8px", "padding-bottom": "8px" } @@ -33537,18 +33546,35 @@ const ca = (n) => { headerName: "Size", minWidth: 110, maxWidth: 110, - valueGetter: ({ data: n }) => n ? `${n.params.width}x${n.params.height}` : "" + valueGetter: ({ data: n }) => { + var t; + return (t = n == null ? void 0 : n.params) != null && t.width ? `${n.params.width}x${n.params.height}` : ""; + } }, { field: "params.batch", headerName: "Batching", minWidth: 100, maxWidth: 100, - valueGetter: ({ data: n }) => n ? `${n.params.n_iter}x${n.params.batch_size}` : "1x1" + valueGetter: ({ data: n }) => { + var t; + return (t = n == null ? void 0 : n.params) != null && t.n_iter ? `${n.params.n_iter}x${n.params.batch_size}` : "1x1"; + } } ] }, - { field: "created_at", headerName: "Date", minWidth: 200 } + { + field: "created_at", + headerName: "Queued At", + minWidth: 170, + valueFormatter: ({ value: n }) => n && ca(new Date(n)) + }, + { + field: "updated_at", + headerName: "Updated At", + minWidth: 170, + valueFormatter: ({ value: n }) => n && ca(new Date(n)) + } ], getRowId: ({ data: n }) => n.id, rowSelection: "single", @@ -33562,8 +33588,8 @@ const ca = (n) => { enableBrowserTooltips: !0, readOnlyEdit: !0, onCellEditRequest: ({ data: n, newValue: t, api: e, colDef: r }) => { - r.field === "name" && t && (e.showLoadingOverlay(), Qo.renameTask(n.id, t).then((o) => { - Mt(o); + r.field === "name" && t && (e.showLoadingOverlay(), Xo.renameTask(n.id, t).then((o) => { + wt(o); const s = { update: [{ ...n, name: t }] }; @@ -33571,23 +33597,24 @@ const ca = (n) => { })); } }; -function ql(n) { +function Ql(n) { const t = gradioApp().querySelector(n); if (!t) throw new Error(`search container ${n} not found`); return t.className = "ts-search", t.innerHTML = `
- ${Om} + ${Tm}
`, t; } -function Mt(n) { - n.success ? pa.success(n.message) : pa.error(n.message); +function wt(n) { + n.success ? da.success(n.message) : da.error(n.message); } -function Am(n, t) { +window.notify = wt; +function Fm(n, t) { var o; - const e = Sm(requestProgress), r = gradioApp().querySelector( + const e = bm(requestProgress), r = gradioApp().querySelector( "#agent_scheduler_current_task_images" ); if (e.includes("progressbarContainer")) @@ -33611,48 +33638,49 @@ function Am(n, t) { ); } } -function Fm() { +function Lm() { + st.subscribe((t, e) => { + (!t.uiAsTab || t.selectedTab !== e.selectedTab) && (t.selectedTab === "pending" ? Jt.refresh() : Xo.refresh()); + }); const n = new MutationObserver(function(t) { t.forEach((e) => { const r = e.target; - r.style.display === "block" && (r.id === "tab_agent_scheduler" ? nn.getState().selectedTab === "pending" ? qo.refresh() : Qo.refresh() : r.id === "agent_scheduler_pending_tasks_tab" ? (nn.selectSelectedTab("pending"), qo.refresh()) : r.id === "agent_scheduler_history_tab" && (nn.selectSelectedTab("history"), Qo.refresh())); + r.style.display === "block" && (r.id === "tab_agent_scheduler" ? st.getState().selectedTab === "pending" ? Jt.refresh() : Xo.refresh() : r.id === "agent_scheduler_pending_tasks_tab" ? st.setSelectedTab("pending") : r.id === "agent_scheduler_history_tab" && st.setSelectedTab("history")); }); }); - n.observe(document.getElementById("tab_agent_scheduler"), { attributeFilter: ["style"] }), n.observe(document.getElementById("agent_scheduler_pending_tasks_tab"), { + document.getElementById("tab_agent_scheduler") ? n.observe(document.getElementById("tab_agent_scheduler"), { + attributeFilter: ["style"] + }) : st.setState({ uiAsTab: !1 }), n.observe(document.getElementById("agent_scheduler_pending_tasks_tab"), { attributeFilter: ["style"] }), n.observe(document.getElementById("agent_scheduler_history_tab"), { attributeFilter: ["style"] }); } -function Lm() { - const n = qo; - window.submit_enqueue = function() { - var u = randomId(), c = create_submit_args(arguments); - c[0] = u; - const p = document.querySelector("#txt2img_enqueue"); +function Mm() { + const n = Jt; + window.submit_enqueue = function(...u) { + const c = window.submit(...u), p = document.querySelector("#txt2img_enqueue"); return p && (p.innerHTML = "Queued", setTimeout(() => { - p.innerHTML = "Enqueue"; + p.innerHTML = "Enqueue", st.getState().uiAsTab || st.getState().selectedTab === "pending" && Jt.refresh(); }, 1e3)), c; - }, window.submit_enqueue_img2img = function() { - var u = randomId(), c = create_submit_args(arguments); - c[0] = u, c[1] = get_tab_index("mode_img2img"); - const p = document.querySelector("#img2img_enqueue"); + }, window.submit_enqueue_img2img = function(...u) { + const c = window.submit_img2img(...u), p = document.querySelector("#img2img_enqueue"); return p && (p.innerHTML = "Queued", setTimeout(() => { - p.innerHTML = "Enqueue"; + p.innerHTML = "Enqueue", st.getState().uiAsTab || st.getState().selectedTab === "pending" && Jt.refresh(); }, 1e3)), c; }; const t = gradioApp().querySelector(".interrogate-col"); t.childElementCount > 2 && t.classList.add("has-queue-button"); const e = gradioApp().querySelector("#agent_scheduler_action_refresh"), r = gradioApp().querySelector("#agent_scheduler_action_pause"), o = gradioApp().querySelector("#agent_scheduler_action_resume"); - e.addEventListener("click", n.refresh), r.addEventListener("click", () => n.pauseQueue().then(Mt)), o.addEventListener("click", () => n.resumeQueue().then(Mt)); + e.addEventListener("click", n.refresh), r.addEventListener("click", () => n.pauseQueue().then(wt)), o.addEventListener("click", () => n.resumeQueue().then(wt)); const i = (l) => { - l && Am(l, n.refresh); + l && Fm(l, n.refresh); }; n.subscribe((l, u) => { u.current_task_id !== l.current_task_id && i(l.current_task_id), l.paused ? (r.classList.add("hide"), o.classList.remove("hide")) : (r.classList.remove("hide"), o.classList.add("hide")); }); const s = { - ...$t, + ...Yt, // each entry here represents one column columnDefs: [ { @@ -33660,7 +33688,7 @@ function Lm() { hide: !0, sort: "asc" }, - ...$t.columnDefs || [], + ...Yt.columnDefs || [], { headerName: "Action", pinned: "right", @@ -33674,10 +33702,10 @@ function Lm() { const p = `
`, d = document.createElement("div"); @@ -33687,7 +33715,7 @@ function Lm() { l.showLoadingOverlay(), n.runTask(u).then(() => l.hideOverlay()); }), f.querySelector("button.ts-btn-delete").addEventListener("click", () => { l.showLoadingOverlay(), n.deleteTask(u).then((C) => { - Mt(C), l.applyTransaction({ + wt(C), l.applyTransaction({ remove: [c] }), l.hideOverlay(); }); @@ -33695,19 +33723,36 @@ function Lm() { } } ], - onGridReady: ({ api: l }) => { - ql("#agent_scheduler_action_search").querySelector("input.ts-search-input").addEventListener( + onColumnMoved({ columnApi: l }) { + const u = l.getColumnState(), c = JSON.stringify(u); + localStorage.setItem("agent_scheduler:queue_col_state", c); + }, + onSortChanged({ columnApi: l }) { + const u = l.getColumnState(), c = JSON.stringify(u); + localStorage.setItem("agent_scheduler:queue_col_state", c); + }, + onColumnResized({ columnApi: l }) { + const u = l.getColumnState(), c = JSON.stringify(u); + localStorage.setItem("agent_scheduler:queue_col_state", c); + }, + onGridReady: ({ api: l, columnApi: u }) => { + Ql("#agent_scheduler_action_search").querySelector("input.ts-search-input").addEventListener( "keyup", - $l((p) => { - l.setQuickFilter(p.target.value); + ql((f) => { + l.setQuickFilter(f.target.value); }, 200) - ), n.subscribe((p) => { - if (l.setRowData(p.pending_tasks), p.current_task_id) { - const d = l.getRowNode(p.current_task_id); - d && l.refreshCells({ rowNodes: [d], force: !0 }); + ), n.subscribe((f) => { + if (l.setRowData(f.pending_tasks), f.current_task_id) { + const g = l.getRowNode(f.current_task_id); + g && l.refreshCells({ rowNodes: [g], force: !0 }); } - l.sizeColumnsToFit(); + u.autoSizeAllColumns(); }); + const d = localStorage.getItem("agent_scheduler:queue_col_state"); + if (d) { + const f = JSON.parse(d); + u.applyColumnState({ state: f, applyOrder: !0 }); + } }, onRowDragEnd: ({ api: l, node: u, overNode: c }) => { var f, g; @@ -33717,10 +33762,10 @@ function Lm() { }, a = gradioApp().querySelector( "#agent_scheduler_pending_tasks_grid" ); - document.querySelector(".dark") && (a.className = "ag-theme-alpine-dark"), a.style.height = "calc(100vh - 300px)", new Kl(a, s); + document.querySelector(".dark") && (a.className = "ag-theme-alpine-dark"), a.style.height = "calc(100vh - 300px)", new $l(a, s); } -function Mm() { - const n = Qo; +function Im() { + const n = Xo; gradioApp().querySelector("#agent_scheduler_action_refresh_history").addEventListener("click", () => { n.refresh(); }); @@ -33745,9 +33790,9 @@ function Mm() { n.onFilterStatus(a == null ? void 0 : a.toLowerCase()); }; const i = { - ...$t, + ...Yt, defaultColDef: { - ...$t.defaultColDef, + ...Yt.defaultColDef, sortable: !0 }, // each entry here represents one column @@ -33762,11 +33807,11 @@ function Mm() { cellClass: "cursor-pointer pt-3", cellRenderer: ({ data: a, value: l }) => { if (a) - return l ? `${Dm}` : `${Pm}`; + return l ? `${Em}` : `${Sm}`; }, onCellClicked: ({ data: a, event: l, api: u }) => { a && (l == null || l.stopPropagation(), l == null || l.preventDefault(), n.bookmarkTask(a.id, !a.bookmarked).then((c) => { - Mt(c), u.applyTransaction({ + wt(c), u.applyTransaction({ update: [{ ...a, bookmarked: !a.bookmarked }] }); })); @@ -33778,10 +33823,10 @@ function Mm() { sort: "desc" }, { - ...($t.columnDefs || [])[0], + ...(Yt.columnDefs || [])[0], rowDrag: !1 }, - ...($t.columnDefs || []).slice(1), + ...(Yt.columnDefs || []).slice(1), { headerName: "Action", pinned: "right", @@ -33795,7 +33840,7 @@ function Mm() { const c = `