@platforma-sdk/ui-vue 1.83.0 → 1.83.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. package/.turbo/turbo-build.log +37 -16
  2. package/.turbo/turbo-formatter$colon$check.log +2 -2
  3. package/.turbo/turbo-linter$colon$check.log +2 -2
  4. package/.turbo/turbo-types$colon$check.log +2 -2
  5. package/CHANGELOG.md +39 -0
  6. package/dist/components/BlockLayout.vue.d.ts +2 -1
  7. package/dist/components/BlockLayout.vue.d.ts.map +1 -1
  8. package/dist/components/BlockLoader.vue.d.ts +2 -1
  9. package/dist/components/BlockLoader.vue.d.ts.map +1 -1
  10. package/dist/components/LoaderPage.vue.d.ts +2 -1
  11. package/dist/components/LoaderPage.vue.d.ts.map +1 -1
  12. package/dist/components/NotFound.vue.d.ts +2 -1
  13. package/dist/components/NotFound.vue.d.ts.map +1 -1
  14. package/dist/components/PlAdvancedFilter/FilterEditor.vue.d.ts +2 -1
  15. package/dist/components/PlAdvancedFilter/FilterEditor.vue.d.ts.map +1 -1
  16. package/dist/components/PlAdvancedFilter/OperandButton.vue.d.ts +2 -1
  17. package/dist/components/PlAdvancedFilter/OperandButton.vue.d.ts.map +1 -1
  18. package/dist/components/PlAdvancedFilter/PlAdvancedFilter.js.map +1 -1
  19. package/dist/components/PlAdvancedFilter/PlAdvancedFilter.style.js.map +1 -1
  20. package/dist/components/PlAdvancedFilter/PlAdvancedFilter.vue.d.ts +19 -12
  21. package/dist/components/PlAdvancedFilter/PlAdvancedFilter.vue.d.ts.map +1 -1
  22. package/dist/components/PlAdvancedFilter/PlAdvancedFilter.vue2.js.map +1 -1
  23. package/dist/components/PlAgCellFile/PlAgCellFile.vue.d.ts +2 -1
  24. package/dist/components/PlAgCellFile/PlAgCellFile.vue.d.ts.map +1 -1
  25. package/dist/components/PlAgCellProgress/PlAgCellProgress.vue.d.ts +2 -1
  26. package/dist/components/PlAgCellProgress/PlAgCellProgress.vue.d.ts.map +1 -1
  27. package/dist/components/PlAgCellStatusTag/PlAgCellStatusTag.vue.d.ts +2 -1
  28. package/dist/components/PlAgCellStatusTag/PlAgCellStatusTag.vue.d.ts.map +1 -1
  29. package/dist/components/PlAgChartHistogramCell/PlAgChartHistogramCell.vue.d.ts +2 -3
  30. package/dist/components/PlAgChartHistogramCell/PlAgChartHistogramCell.vue.d.ts.map +1 -1
  31. package/dist/components/PlAgChartStackedBarCell/PlAgChartStackedBarCell.vue.d.ts +2 -1
  32. package/dist/components/PlAgChartStackedBarCell/PlAgChartStackedBarCell.vue.d.ts.map +1 -1
  33. package/dist/components/PlAgColumnHeader/PlAgColumnHeader.vue.d.ts +2 -3
  34. package/dist/components/PlAgColumnHeader/PlAgColumnHeader.vue.d.ts.map +1 -1
  35. package/dist/components/PlAgCsvExporter/PlAgCsvExporter.vue.d.ts +2 -1
  36. package/dist/components/PlAgCsvExporter/PlAgCsvExporter.vue.d.ts.map +1 -1
  37. package/dist/components/PlAgDataTable/PlAgDataTableSheets.vue.d.ts +12 -14
  38. package/dist/components/PlAgDataTable/PlAgDataTableSheets.vue.d.ts.map +1 -1
  39. package/dist/components/PlAgDataTable/PlAgDataTableV2.vue.d.ts +17 -24
  40. package/dist/components/PlAgDataTable/PlAgDataTableV2.vue.d.ts.map +1 -1
  41. package/dist/components/PlAgDataTable/PlAgDataTableV2.vue2.js +1 -1
  42. package/dist/components/PlAgDataTable/PlAgOverlayLoading.vue.d.ts +3 -2
  43. package/dist/components/PlAgDataTable/PlAgOverlayLoading.vue.d.ts.map +1 -1
  44. package/dist/components/PlAgDataTable/PlAgOverlayNoRows.vue.d.ts +3 -2
  45. package/dist/components/PlAgDataTable/PlAgOverlayNoRows.vue.d.ts.map +1 -1
  46. package/dist/components/PlAgDataTable/PlAgRowCount.vue.d.ts +2 -1
  47. package/dist/components/PlAgDataTable/PlAgRowCount.vue.d.ts.map +1 -1
  48. package/dist/components/PlAgDataTable/compositions/useFilterableColumns.d.ts +16 -16
  49. package/dist/components/PlAgGridColumnManager/PlAgGridColumnManager.vue.d.ts +2 -1
  50. package/dist/components/PlAgGridColumnManager/PlAgGridColumnManager.vue.d.ts.map +1 -1
  51. package/dist/components/PlAgRowNumCheckbox/PlAgRowNumCheckbox.vue.d.ts +2 -1
  52. package/dist/components/PlAgRowNumCheckbox/PlAgRowNumCheckbox.vue.d.ts.map +1 -1
  53. package/dist/components/PlAgRowNumHeader.vue.d.ts +2 -1
  54. package/dist/components/PlAgRowNumHeader.vue.d.ts.map +1 -1
  55. package/dist/components/PlAgTextAndButtonCell/PlAgTextAndButtonCell.vue.d.ts +2 -1
  56. package/dist/components/PlAgTextAndButtonCell/PlAgTextAndButtonCell.vue.d.ts.map +1 -1
  57. package/dist/components/PlAnnotations/components/AnnotationsSidebar.js.map +1 -1
  58. package/dist/components/PlAnnotations/components/AnnotationsSidebar.style.js.map +1 -1
  59. package/dist/components/PlAnnotations/components/AnnotationsSidebar.vue.d.ts +3 -2
  60. package/dist/components/PlAnnotations/components/AnnotationsSidebar.vue.d.ts.map +1 -1
  61. package/dist/components/PlAnnotations/components/AnnotationsSidebar.vue2.js +1 -1
  62. package/dist/components/PlAnnotations/components/AnnotationsSidebar.vue2.js.map +1 -1
  63. package/dist/components/PlAnnotations/components/FilterSidebar.js.map +1 -1
  64. package/dist/components/PlAnnotations/components/FilterSidebar.style.js.map +1 -1
  65. package/dist/components/PlAnnotations/components/FilterSidebar.vue.d.ts +3 -2
  66. package/dist/components/PlAnnotations/components/FilterSidebar.vue.d.ts.map +1 -1
  67. package/dist/components/PlAnnotations/components/FilterSidebar.vue2.js +1 -1
  68. package/dist/components/PlAnnotations/components/FilterSidebar.vue2.js.map +1 -1
  69. package/dist/components/PlAnnotations/components/PlAnnotations.vue.d.ts +2 -1
  70. package/dist/components/PlAnnotations/components/PlAnnotations.vue.d.ts.map +1 -1
  71. package/dist/components/PlAnnotations/components/PlAnnotations.vue2.js.map +1 -1
  72. package/dist/components/PlAnnotations/components/PlAnnotationsModal.vue.d.ts +2 -1
  73. package/dist/components/PlAnnotations/components/PlAnnotationsModal.vue.d.ts.map +1 -1
  74. package/dist/components/PlAppErrorNotificationAlert/PlAppErrorNotificationAlert.vue.d.ts +2 -1
  75. package/dist/components/PlAppErrorNotificationAlert/PlAppErrorNotificationAlert.vue.d.ts.map +1 -1
  76. package/dist/components/PlBtnExportArchive/Item.vue.d.ts +2 -1
  77. package/dist/components/PlBtnExportArchive/Item.vue.d.ts.map +1 -1
  78. package/dist/components/PlBtnExportArchive/PlBtnExportArchive.vue.d.ts +7 -15
  79. package/dist/components/PlBtnExportArchive/PlBtnExportArchive.vue.d.ts.map +1 -1
  80. package/dist/components/PlBtnExportArchive/Summary.vue.d.ts +3 -2
  81. package/dist/components/PlBtnExportArchive/Summary.vue.d.ts.map +1 -1
  82. package/dist/components/PlDatasetSelector/PlDatasetSelector.vue.d.ts +10 -11
  83. package/dist/components/PlDatasetSelector/PlDatasetSelector.vue.d.ts.map +1 -1
  84. package/dist/components/PlTableFastSearch/PlTableFastSearch.vue.d.ts +4 -3
  85. package/dist/components/PlTableFastSearch/PlTableFastSearch.vue.d.ts.map +1 -1
  86. package/dist/components/PlTableFilters/PlTableFiltersV2.vue.d.ts +2 -1
  87. package/dist/components/PlTableFilters/PlTableFiltersV2.vue.d.ts.map +1 -1
  88. package/dist/internal/createAppV3.d.ts +1 -1
  89. package/dist/plugins/Monetization/EndOfPeriod.vue.d.ts +2 -1
  90. package/dist/plugins/Monetization/EndOfPeriod.vue.d.ts.map +1 -1
  91. package/dist/plugins/Monetization/LimitCard.vue.d.ts +2 -1
  92. package/dist/plugins/Monetization/LimitCard.vue.d.ts.map +1 -1
  93. package/dist/plugins/Monetization/MonetizationSidebar.vue.d.ts +2 -1
  94. package/dist/plugins/Monetization/MonetizationSidebar.vue.d.ts.map +1 -1
  95. package/dist/plugins/Monetization/RunStatus.vue.d.ts +7 -11
  96. package/dist/plugins/Monetization/RunStatus.vue.d.ts.map +1 -1
  97. package/dist/plugins/Monetization/UserCabinetCard.vue.d.ts +2 -1
  98. package/dist/plugins/Monetization/UserCabinetCard.vue.d.ts.map +1 -1
  99. package/package.json +9 -9
  100. package/src/components/PlAdvancedFilter/PlAdvancedFilter.vue +0 -2
  101. package/src/components/PlAnnotations/components/AnnotationsSidebar.vue +2 -2
  102. package/src/components/PlAnnotations/components/FilterSidebar.vue +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"PlAdvancedFilter.vue_vue_type_script_setup_true_lang.js","names":["$style"],"sources":["../../../src/components/PlAdvancedFilter/PlAdvancedFilter.vue"],"sourcesContent":["<script lang=\"ts\" setup generic=\"T extends RootFilter\">\nimport { PlBtnSecondary, PlCheckbox, PlElementList } from \"@milaboratories/uikit\";\nimport type { ListOptionBase } from \"@platforma-sdk/model\";\nimport { produce } from \"immer\";\nimport { computed } from \"vue\";\nimport FilterEditor from \"./FilterEditor.vue\";\nimport OperandButton from \"./OperandButton.vue\";\nimport { DEFAULT_FILTER_TYPE, DEFAULT_FILTERS, SUPPORTED_FILTER_TYPES } from \"./constants\";\nimport type {\n CommonFilter,\n EditableFilter,\n NodeFilter,\n Operand,\n PlAdvancedFilterColumnId,\n RootFilter,\n SourceOptionInfo,\n} from \"./types\";\nimport { createNewGroup, getNewId, isValidColumnId } from \"./utils\";\n\nconst props = withDefaults(\n defineProps<{\n filters: T;\n onUpdateFilters: (filters: T) => void;\n /** List of ids of sources (columns, axes) that can be selected in filters */\n options: SourceOptionInfo[];\n /** List of supported filter types */\n supportedFilters?: typeof SUPPORTED_FILTER_TYPES;\n /** If true - new filter can be added by droppind element into filter group; else new column is added by button click */\n enableDnd?: boolean;\n /** If true - \"Add group\" button is shown below the filter groups */\n enableAddGroupButton?: boolean;\n /** If true - eye icon is shown per group to toggle suppression */\n enableToggling?: boolean;\n /** Function to determine if a filter is pinned */\n isPinned?: (item: NodeFilter, index: number) => boolean;\n /** Function to determine if a filter is removable */\n isRemovable?: (item: NodeFilter, index: number) => boolean;\n /** Function to determine if a filter is draggable */\n isDraggable?: (item: NodeFilter, index: number) => boolean;\n /** Function to determine if a group is complete */\n isCompletedGroup?: (group: NodeFilter, index: number) => boolean;\n /** Loading function for unique values for Equal/InSet filters and fixed axes options. */\n getSuggestOptions: (params: {\n columnId: PlAdvancedFilterColumnId;\n axisIdx?: number;\n searchStr: string;\n searchType: \"value\" | \"label\";\n }) => ListOptionBase<string | number>[] | Promise<ListOptionBase<string | number>[]>;\n }>(),\n {\n supportedFilters: () => SUPPORTED_FILTER_TYPES,\n isCompletedGroup: () => false,\n isPinned: () => false,\n isRemovable: () => true,\n isDraggable: () => true,\n\n getSuggestModel: undefined,\n\n enableDnd: false,\n enableAddGroupButton: false,\n enableToggling: false,\n },\n);\nconst produceFiltersUpdate = (updater: (draft: T) => void) => {\n props.onUpdateFilters(produce(props.filters, updater));\n};\n\nconst firstColumnId = computed(() => props.options[0]?.id);\nconst emptyGroup: NodeFilter[] = [\n {\n id: -1,\n type: \"and\",\n filters: [],\n isExpanded: true,\n },\n];\n\nconst rootFilters = computed({\n get: () => props.filters.filters,\n set: (filters) => props.onUpdateFilters({ ...props.filters, filters: filters }),\n});\n\nfunction getRootGroups() {\n if (props.filters.type !== \"or\" && props.filters.type !== \"and\") {\n throw new Error('Invalid model structure, expected root to be \"or\" or \"and\" group');\n }\n return props.filters.filters;\n}\n\nfunction getDraftGroupContent(\n draft: RootFilter,\n idx: number,\n): Exclude<NodeFilter, { type: \"not\" }> {\n const group = draft.filters[idx];\n if (group.type === \"not\") {\n if (group.filter.type !== \"and\" && group.filter.type !== \"or\") {\n throw new Error('Invalid group structure, expected \"and\" or \"or\" group inside \"not\"');\n }\n return group.filter;\n }\n if (group.type !== \"and\" && group.type !== \"or\") {\n throw new Error('Invalid group structure, expected \"and\", \"or\" or \"not\" group');\n }\n return group;\n}\n\nfunction getNotContent<T extends CommonFilter>(item: T): Exclude<T, { type: \"not\" }> {\n return item.type === \"not\"\n ? (item.filter as Exclude<T, { type: \"not\" }>)\n : (item as Exclude<T, { type: \"not\" }>);\n}\n\nfunction addColumnToGroup(groupIdx: number, selectedSourceId: PlAdvancedFilterColumnId) {\n produceFiltersUpdate((draft: RootFilter) => {\n const group = getDraftGroupContent(draft, groupIdx);\n group.filters.push({\n ...DEFAULT_FILTERS[DEFAULT_FILTER_TYPE],\n column: selectedSourceId,\n id: getNewId(),\n isExpanded: true,\n } as CommonFilter);\n });\n}\n\nfunction removeFilterFromGroup(groupIdx: number, filterIdx: number) {\n produceFiltersUpdate((draft: RootFilter) => {\n const group = getDraftGroupContent(draft, groupIdx);\n const removingLastLeaf = group.filters.length === 1 && filterIdx === 0;\n\n if (removingLastLeaf && props.isRemovable(draft.filters[groupIdx], groupIdx)) {\n draft.filters.splice(groupIdx, 1);\n } else {\n group.filters.splice(filterIdx, 1);\n }\n });\n}\n\nfunction inverseRootNode(groupIdx: number) {\n produceFiltersUpdate((draft: RootFilter) => {\n const group = draft.filters[groupIdx];\n if (group.type === \"not\") {\n if (group.filter.type !== \"and\" && group.filter.type !== \"or\") {\n throw new Error('Invalid group structure, expected \"and\" or \"or\" group inside \"not\"');\n }\n draft.filters[groupIdx] = {\n ...draft.filters[groupIdx],\n ...group.filter,\n };\n } else {\n const type = draft.filters[groupIdx].type;\n if (type !== \"and\" && type !== \"or\" && type !== \"not\") {\n throw new Error('Invalid group structure, expected \"and\", \"or\" or \"not\" group');\n }\n draft.filters[groupIdx] = {\n ...draft.filters[groupIdx],\n id: getNewId(),\n type: \"not\",\n filter: draft.filters[groupIdx],\n };\n }\n });\n}\n\nfunction addGroup(selectedSourceId: PlAdvancedFilterColumnId) {\n produceFiltersUpdate((draft: RootFilter) => {\n draft.filters.push(createNewGroup(selectedSourceId));\n });\n}\n\nfunction updateFilter(groupIdx: number, filterIdx: number, updatedFilter: EditableFilter) {\n produceFiltersUpdate((draft: RootFilter) => {\n getDraftGroupContent(draft, groupIdx).filters[filterIdx] = updatedFilter as CommonFilter;\n });\n}\n\nfunction handleDropToExistingGroup(groupIdx: number, event: DragEvent) {\n const dataTransfer = event.dataTransfer;\n if (dataTransfer?.getData(\"text/plain\")) {\n const draggedId = dataTransfer.getData(\"text/plain\");\n if (isValidColumnId(draggedId)) {\n addColumnToGroup(groupIdx, draggedId);\n }\n }\n}\n\nfunction handleDropToNewGroup(event: DragEvent) {\n const dataTransfer = event.dataTransfer;\n if (dataTransfer?.getData(\"text/plain\")) {\n const draggedId = dataTransfer.getData(\"text/plain\");\n if (isValidColumnId(draggedId)) {\n addGroup(draggedId);\n }\n }\n}\n\nfunction dragOver(event: DragEvent) {\n event.preventDefault();\n}\n\nfunction toggleExpand(_: NodeFilter, index: number) {\n produceFiltersUpdate((draft: RootFilter) => {\n draft.filters[index].isExpanded = !draft.filters[index].isExpanded;\n });\n}\n\nfunction toggleSuppress(_: NodeFilter, index: number) {\n produceFiltersUpdate((draft: RootFilter) => {\n draft.filters[index].isSuppressed = !draft.filters[index].isSuppressed;\n });\n}\n\nfunction changeGroupOperand(index: number, v: Operand) {\n produceFiltersUpdate((draft: RootFilter) => {\n getDraftGroupContent(draft, index).type = v;\n });\n}\n\nfunction changeRootOperand(v: Operand) {\n produceFiltersUpdate((draft: RootFilter) => {\n draft.type = v;\n });\n}\n\nfunction validateFilter<T extends CommonFilter>(item: T): EditableFilter {\n if (item.type === \"and\" || item.type === \"or\" || item.type === \"not\") {\n throw new Error(\"Invalid filter structure, expected leaf filter\");\n }\n\n return item as EditableFilter;\n}\n</script>\n<template>\n <div>\n <PlElementList\n v-model:items=\"rootFilters\"\n :get-item-key=\"(filter) => filter.id\"\n :item-class=\"$style.filterGroup\"\n :item-class-content=\"$style.filterGroupContent\"\n :item-class-title=\"$style.filterGroupTitle\"\n :is-expanded=\"(filter) => filter.isExpanded === true\"\n :on-expand=\"toggleExpand\"\n :is-toggled=\"(item) => item.isSuppressed === true\"\n :on-toggle=\"toggleSuppress\"\n :is-pinned=\"(item, index) => props.isPinned?.(item, index) === true\"\n :is-pinnable=\"() => false\"\n :is-removable=\"(item, index) => props.isRemovable?.(item, index) === true\"\n :is-draggable=\"(item, index) => props.isDraggable?.(item, index) === true\"\n :disable-toggling=\"props.enableToggling !== true\"\n :disable-dragging=\"false\"\n :disable-removing=\"false\"\n >\n <template #item-title=\"{ item, index }\">\n <slot name=\"group-title\" :item=\"item\" :index=\"index\">Filter group</slot>\n </template>\n <template #item-content=\"{ item, index }\">\n <div\n :class=\"[$style.groupContent, { [$style.suppressedLabel]: item.isSuppressed }]\"\n dropzone=\"true\"\n @drop=\"(event) => handleDropToExistingGroup(index, event)\"\n @dragover=\"dragOver\"\n >\n <PlCheckbox\n :model-value=\"item.type === 'not'\"\n :class=\"$style.notCheckbox\"\n @update:model-value=\"inverseRootNode(index)\"\n >\n Filter Out\n </PlCheckbox>\n <template v-for=\"(_, filterIdx) in getNotContent(item).filters\" :key=\"filterIdx\">\n <FilterEditor\n :filter=\"validateFilter(getNotContent(item).filters[filterIdx])\"\n :operand=\"getNotContent(item).type\"\n :column-options=\"options\"\n :supported-filters=\"props.supportedFilters\"\n :get-suggest-options=\"props.getSuggestOptions\"\n :enable-dnd=\"Boolean(props.enableDnd)\"\n :is-last=\"filterIdx === getNotContent(item).filters.length - 1\"\n @delete=\"() => removeFilterFromGroup(index, filterIdx)\"\n @update-filter=\"(value) => updateFilter(index, filterIdx, value)\"\n @change-operand=\"(v) => changeGroupOperand(index, v)\"\n />\n </template>\n <div v-if=\"props.enableDnd\" :class=\"$style.dropzone\">\n <div>Drop dimensions here</div>\n </div>\n <PlBtnSecondary\n v-else-if=\"!props.isCompletedGroup(item, index)\"\n icon=\"add\"\n @click=\"addColumnToGroup(index, firstColumnId)\"\n >\n Add filter\n </PlBtnSecondary>\n </div>\n </template>\n <template #item-after=\"{ index }\">\n <OperandButton\n v-if=\"props.enableAddGroupButton || index < getRootGroups().length - 1\"\n :class=\"$style.buttonWrapper\"\n :active=\"props.filters.type\"\n :disabled=\"index === getRootGroups().length - 1\"\n :on-select=\"changeRootOperand\"\n />\n </template>\n </PlElementList>\n\n <!-- Last group - always empty, just for adding new groups -->\n <PlElementList\n v-if=\"props.enableAddGroupButton\"\n :items=\"emptyGroup\"\n :get-item-key=\"(group) => group.id\"\n :item-class=\"$style.filterGroup\"\n :item-class-content=\"$style.filterGroupContent\"\n :item-class-title=\"$style.filterGroupTitle\"\n :is-expanded=\"() => true\"\n :disableDragging=\"true\"\n :disableRemoving=\"true\"\n :disableToggling=\"true\"\n :disablePinning=\"true\"\n dropzone=\"true\"\n @drop=\"handleDropToNewGroup\"\n @dragover=\"dragOver\"\n >\n <template #item-title=\"{ item, index }\">\n <slot name=\"group-title\" :item=\"item\" :index=\"index + getRootGroups().length\"\n >Filter group</slot\n >\n </template>\n <template #item-content>\n <div v-if=\"enableDnd\" :class=\"$style.dropzone\">\n <div>Drop dimensions here</div>\n </div>\n <slot v-else name=\"add-group-buttons\">\n <PlBtnSecondary icon=\"add\" @click=\"addGroup(firstColumnId)\"> Add filter </PlBtnSecondary>\n </slot>\n </template>\n </PlElementList>\n </div>\n</template>\n<style module>\n.filterGroup {\n background: var(--bg-base-light);\n}\n.filterGroup:hover {\n background: rgba(99, 224, 36, 0.12);\n}\n.filterGroupTitle {\n background: none;\n}\n.filterGroupContent {\n padding: 4px 24px 24px 24px;\n}\n.groupContent {\n display: flex;\n flex-direction: column;\n gap: 12px;\n}\n.notCheckbox {\n margin: 4px 0;\n}\n.suppressedLabel {\n filter: grayscale(100%);\n pointer-events: none;\n}\n.dropzone {\n border-radius: 6px;\n border: 1.5px dashed var(--color-div-grey);\n color: var(--txt-03);\n font-family: Manrope;\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n height: 40px;\n cursor: default;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.buttonWrapper {\n margin-top: 8px;\n height: 56px;\n display: flex;\n align-items: center;\n}\n:global(.sortable-chosen) .buttonWrapper {\n visibility: hidden;\n}\n</style>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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BAAwB,IAAQ,GAAa,CAAG,SAAM,KAAA,GAAA,EADpE,EAME,GAAA;;IAJC,OAAK,EAAEA,EAAAA,OAAO,cAAa;IAC3B,QAAQ,EAAM,QAAQ;IACtB,UAAU,MAAU,GAAa,CAAG,SAAM;IAC1C,aAAW;;;;;;;;;;;;;;;;;;;MAOV,EAAM,wBAAA,GAAA,EADd,EA6BgB,EAAA,EAAA,EAAA;;GA3Bb,OAAO;GACP,iBAAe,MAAU,EAAM;GAC/B,cAAYA,EAAAA,OAAO;GACnB,sBAAoBA,EAAAA,OAAO;GAC3B,oBAAkBA,EAAAA,OAAO;GACzB,qBAAa;GACb,iBAAiB;GACjB,iBAAiB;GACjB,iBAAiB;GACjB,gBAAgB;GACjB,UAAS;GACR,QAAM;GACN,YAAU;;GAEA,cAAU,GAGlB,EAHsB,SAAM,eAAK,CAClC,EAEC,EAAA,QAAA,eAAA;IAF+B;IAAO,OAAO,IAAQ,GAAa,CAAG;YAErE,CAAA,AAAA,EAAA,OAAA,EADE,gBAAY,GAAA,CAAA,CAAA,CAAA,CAAA;GAGN,gBAAY,QAGf,CAFK,EAAA,aAAA,GAAA,EAAX,EAEM,OAAA;;IAFiB,OAAK,EAAEA,EAAAA,OAAO,SAAQ;oBAC3C,EAA+B,OAAA,MAA1B,wBAAoB,GAAA,CAAA,CAAA,EAAA,EAAA,IAE3B,EAEO,EAAA,QAAA,qBAAA,EAAA,KAAA,GAAA,QAAA,CADL,EAAyF,EAAA,EAAA,EAAA;IAAzE,MAAK;IAAO,SAAK,AAAA,EAAA,QAAA,MAAE,EAAS,EAAA,MAAa;;qBAAe,CAAA,GAAA,AAAA,EAAA,OAAA,CAAA,EAAZ,gBAAY,GAAA,CAAA,CAAA,CAAA"}
1
+ {"version":3,"file":"PlAdvancedFilter.vue_vue_type_script_setup_true_lang.js","names":["$style"],"sources":["../../../src/components/PlAdvancedFilter/PlAdvancedFilter.vue"],"sourcesContent":["<script lang=\"ts\" setup generic=\"T extends RootFilter\">\nimport { PlBtnSecondary, PlCheckbox, PlElementList } from \"@milaboratories/uikit\";\nimport type { ListOptionBase } from \"@platforma-sdk/model\";\nimport { produce } from \"immer\";\nimport { computed } from \"vue\";\nimport FilterEditor from \"./FilterEditor.vue\";\nimport OperandButton from \"./OperandButton.vue\";\nimport { DEFAULT_FILTER_TYPE, DEFAULT_FILTERS, SUPPORTED_FILTER_TYPES } from \"./constants\";\nimport type {\n CommonFilter,\n EditableFilter,\n NodeFilter,\n Operand,\n PlAdvancedFilterColumnId,\n RootFilter,\n SourceOptionInfo,\n} from \"./types\";\nimport { createNewGroup, getNewId, isValidColumnId } from \"./utils\";\n\nconst props = withDefaults(\n defineProps<{\n filters: T;\n onUpdateFilters: (filters: T) => void;\n /** List of ids of sources (columns, axes) that can be selected in filters */\n options: SourceOptionInfo[];\n /** List of supported filter types */\n supportedFilters?: typeof SUPPORTED_FILTER_TYPES;\n /** If true - new filter can be added by droppind element into filter group; else new column is added by button click */\n enableDnd?: boolean;\n /** If true - \"Add group\" button is shown below the filter groups */\n enableAddGroupButton?: boolean;\n /** If true - eye icon is shown per group to toggle suppression */\n enableToggling?: boolean;\n /** Function to determine if a filter is pinned */\n isPinned?: (item: NodeFilter, index: number) => boolean;\n /** Function to determine if a filter is removable */\n isRemovable?: (item: NodeFilter, index: number) => boolean;\n /** Function to determine if a filter is draggable */\n isDraggable?: (item: NodeFilter, index: number) => boolean;\n /** Function to determine if a group is complete */\n isCompletedGroup?: (group: NodeFilter, index: number) => boolean;\n /** Loading function for unique values for Equal/InSet filters and fixed axes options. */\n getSuggestOptions: (params: {\n columnId: PlAdvancedFilterColumnId;\n axisIdx?: number;\n searchStr: string;\n searchType: \"value\" | \"label\";\n }) => ListOptionBase<string | number>[] | Promise<ListOptionBase<string | number>[]>;\n }>(),\n {\n supportedFilters: () => SUPPORTED_FILTER_TYPES,\n isCompletedGroup: () => false,\n isPinned: () => false,\n isRemovable: () => true,\n isDraggable: () => true,\n\n enableDnd: false,\n enableAddGroupButton: false,\n enableToggling: false,\n },\n);\nconst produceFiltersUpdate = (updater: (draft: T) => void) => {\n props.onUpdateFilters(produce(props.filters, updater));\n};\n\nconst firstColumnId = computed(() => props.options[0]?.id);\nconst emptyGroup: NodeFilter[] = [\n {\n id: -1,\n type: \"and\",\n filters: [],\n isExpanded: true,\n },\n];\n\nconst rootFilters = computed({\n get: () => props.filters.filters,\n set: (filters) => props.onUpdateFilters({ ...props.filters, filters: filters }),\n});\n\nfunction getRootGroups() {\n if (props.filters.type !== \"or\" && props.filters.type !== \"and\") {\n throw new Error('Invalid model structure, expected root to be \"or\" or \"and\" group');\n }\n return props.filters.filters;\n}\n\nfunction getDraftGroupContent(\n draft: RootFilter,\n idx: number,\n): Exclude<NodeFilter, { type: \"not\" }> {\n const group = draft.filters[idx];\n if (group.type === \"not\") {\n if (group.filter.type !== \"and\" && group.filter.type !== \"or\") {\n throw new Error('Invalid group structure, expected \"and\" or \"or\" group inside \"not\"');\n }\n return group.filter;\n }\n if (group.type !== \"and\" && group.type !== \"or\") {\n throw new Error('Invalid group structure, expected \"and\", \"or\" or \"not\" group');\n }\n return group;\n}\n\nfunction getNotContent<T extends CommonFilter>(item: T): Exclude<T, { type: \"not\" }> {\n return item.type === \"not\"\n ? (item.filter as Exclude<T, { type: \"not\" }>)\n : (item as Exclude<T, { type: \"not\" }>);\n}\n\nfunction addColumnToGroup(groupIdx: number, selectedSourceId: PlAdvancedFilterColumnId) {\n produceFiltersUpdate((draft: RootFilter) => {\n const group = getDraftGroupContent(draft, groupIdx);\n group.filters.push({\n ...DEFAULT_FILTERS[DEFAULT_FILTER_TYPE],\n column: selectedSourceId,\n id: getNewId(),\n isExpanded: true,\n } as CommonFilter);\n });\n}\n\nfunction removeFilterFromGroup(groupIdx: number, filterIdx: number) {\n produceFiltersUpdate((draft: RootFilter) => {\n const group = getDraftGroupContent(draft, groupIdx);\n const removingLastLeaf = group.filters.length === 1 && filterIdx === 0;\n\n if (removingLastLeaf && props.isRemovable(draft.filters[groupIdx], groupIdx)) {\n draft.filters.splice(groupIdx, 1);\n } else {\n group.filters.splice(filterIdx, 1);\n }\n });\n}\n\nfunction inverseRootNode(groupIdx: number) {\n produceFiltersUpdate((draft: RootFilter) => {\n const group = draft.filters[groupIdx];\n if (group.type === \"not\") {\n if (group.filter.type !== \"and\" && group.filter.type !== \"or\") {\n throw new Error('Invalid group structure, expected \"and\" or \"or\" group inside \"not\"');\n }\n draft.filters[groupIdx] = {\n ...draft.filters[groupIdx],\n ...group.filter,\n };\n } else {\n const type = draft.filters[groupIdx].type;\n if (type !== \"and\" && type !== \"or\" && type !== \"not\") {\n throw new Error('Invalid group structure, expected \"and\", \"or\" or \"not\" group');\n }\n draft.filters[groupIdx] = {\n ...draft.filters[groupIdx],\n id: getNewId(),\n type: \"not\",\n filter: draft.filters[groupIdx],\n };\n }\n });\n}\n\nfunction addGroup(selectedSourceId: PlAdvancedFilterColumnId) {\n produceFiltersUpdate((draft: RootFilter) => {\n draft.filters.push(createNewGroup(selectedSourceId));\n });\n}\n\nfunction updateFilter(groupIdx: number, filterIdx: number, updatedFilter: EditableFilter) {\n produceFiltersUpdate((draft: RootFilter) => {\n getDraftGroupContent(draft, groupIdx).filters[filterIdx] = updatedFilter as CommonFilter;\n });\n}\n\nfunction handleDropToExistingGroup(groupIdx: number, event: DragEvent) {\n const dataTransfer = event.dataTransfer;\n if (dataTransfer?.getData(\"text/plain\")) {\n const draggedId = dataTransfer.getData(\"text/plain\");\n if (isValidColumnId(draggedId)) {\n addColumnToGroup(groupIdx, draggedId);\n }\n }\n}\n\nfunction handleDropToNewGroup(event: DragEvent) {\n const dataTransfer = event.dataTransfer;\n if (dataTransfer?.getData(\"text/plain\")) {\n const draggedId = dataTransfer.getData(\"text/plain\");\n if (isValidColumnId(draggedId)) {\n addGroup(draggedId);\n }\n }\n}\n\nfunction dragOver(event: DragEvent) {\n event.preventDefault();\n}\n\nfunction toggleExpand(_: NodeFilter, index: number) {\n produceFiltersUpdate((draft: RootFilter) => {\n draft.filters[index].isExpanded = !draft.filters[index].isExpanded;\n });\n}\n\nfunction toggleSuppress(_: NodeFilter, index: number) {\n produceFiltersUpdate((draft: RootFilter) => {\n draft.filters[index].isSuppressed = !draft.filters[index].isSuppressed;\n });\n}\n\nfunction changeGroupOperand(index: number, v: Operand) {\n produceFiltersUpdate((draft: RootFilter) => {\n getDraftGroupContent(draft, index).type = v;\n });\n}\n\nfunction changeRootOperand(v: Operand) {\n produceFiltersUpdate((draft: RootFilter) => {\n draft.type = v;\n });\n}\n\nfunction validateFilter<T extends CommonFilter>(item: T): EditableFilter {\n if (item.type === \"and\" || item.type === \"or\" || item.type === \"not\") {\n throw new Error(\"Invalid filter structure, expected leaf filter\");\n }\n\n return item as EditableFilter;\n}\n</script>\n<template>\n <div>\n <PlElementList\n v-model:items=\"rootFilters\"\n :get-item-key=\"(filter) => filter.id\"\n :item-class=\"$style.filterGroup\"\n :item-class-content=\"$style.filterGroupContent\"\n :item-class-title=\"$style.filterGroupTitle\"\n :is-expanded=\"(filter) => filter.isExpanded === true\"\n :on-expand=\"toggleExpand\"\n :is-toggled=\"(item) => item.isSuppressed === true\"\n :on-toggle=\"toggleSuppress\"\n :is-pinned=\"(item, index) => props.isPinned?.(item, index) === true\"\n :is-pinnable=\"() => false\"\n :is-removable=\"(item, index) => props.isRemovable?.(item, index) === true\"\n :is-draggable=\"(item, index) => props.isDraggable?.(item, index) === true\"\n :disable-toggling=\"props.enableToggling !== true\"\n :disable-dragging=\"false\"\n :disable-removing=\"false\"\n >\n <template #item-title=\"{ item, index }\">\n <slot name=\"group-title\" :item=\"item\" :index=\"index\">Filter group</slot>\n </template>\n <template #item-content=\"{ item, index }\">\n <div\n :class=\"[$style.groupContent, { [$style.suppressedLabel]: item.isSuppressed }]\"\n dropzone=\"true\"\n @drop=\"(event) => handleDropToExistingGroup(index, event)\"\n @dragover=\"dragOver\"\n >\n <PlCheckbox\n :model-value=\"item.type === 'not'\"\n :class=\"$style.notCheckbox\"\n @update:model-value=\"inverseRootNode(index)\"\n >\n Filter Out\n </PlCheckbox>\n <template v-for=\"(_, filterIdx) in getNotContent(item).filters\" :key=\"filterIdx\">\n <FilterEditor\n :filter=\"validateFilter(getNotContent(item).filters[filterIdx])\"\n :operand=\"getNotContent(item).type\"\n :column-options=\"options\"\n :supported-filters=\"props.supportedFilters\"\n :get-suggest-options=\"props.getSuggestOptions\"\n :enable-dnd=\"Boolean(props.enableDnd)\"\n :is-last=\"filterIdx === getNotContent(item).filters.length - 1\"\n @delete=\"() => removeFilterFromGroup(index, filterIdx)\"\n @update-filter=\"(value) => updateFilter(index, filterIdx, value)\"\n @change-operand=\"(v) => changeGroupOperand(index, v)\"\n />\n </template>\n <div v-if=\"props.enableDnd\" :class=\"$style.dropzone\">\n <div>Drop dimensions here</div>\n </div>\n <PlBtnSecondary\n v-else-if=\"!props.isCompletedGroup(item, index)\"\n icon=\"add\"\n @click=\"addColumnToGroup(index, firstColumnId)\"\n >\n Add filter\n </PlBtnSecondary>\n </div>\n </template>\n <template #item-after=\"{ index }\">\n <OperandButton\n v-if=\"props.enableAddGroupButton || index < getRootGroups().length - 1\"\n :class=\"$style.buttonWrapper\"\n :active=\"props.filters.type\"\n :disabled=\"index === getRootGroups().length - 1\"\n :on-select=\"changeRootOperand\"\n />\n </template>\n </PlElementList>\n\n <!-- Last group - always empty, just for adding new groups -->\n <PlElementList\n v-if=\"props.enableAddGroupButton\"\n :items=\"emptyGroup\"\n :get-item-key=\"(group) => group.id\"\n :item-class=\"$style.filterGroup\"\n :item-class-content=\"$style.filterGroupContent\"\n :item-class-title=\"$style.filterGroupTitle\"\n :is-expanded=\"() => true\"\n :disableDragging=\"true\"\n :disableRemoving=\"true\"\n :disableToggling=\"true\"\n :disablePinning=\"true\"\n dropzone=\"true\"\n @drop=\"handleDropToNewGroup\"\n @dragover=\"dragOver\"\n >\n <template #item-title=\"{ item, index }\">\n <slot name=\"group-title\" :item=\"item\" :index=\"index + getRootGroups().length\"\n >Filter group</slot\n >\n </template>\n <template #item-content>\n <div v-if=\"enableDnd\" :class=\"$style.dropzone\">\n <div>Drop dimensions here</div>\n </div>\n <slot v-else name=\"add-group-buttons\">\n <PlBtnSecondary icon=\"add\" @click=\"addGroup(firstColumnId)\"> Add filter </PlBtnSecondary>\n </slot>\n </template>\n </PlElementList>\n </div>\n</template>\n<style module>\n.filterGroup {\n background: var(--bg-base-light);\n}\n.filterGroup:hover {\n background: rgba(99, 224, 36, 0.12);\n}\n.filterGroupTitle {\n background: none;\n}\n.filterGroupContent {\n padding: 4px 24px 24px 24px;\n}\n.groupContent {\n display: flex;\n flex-direction: column;\n gap: 12px;\n}\n.notCheckbox {\n margin: 4px 0;\n}\n.suppressedLabel {\n filter: grayscale(100%);\n pointer-events: none;\n}\n.dropzone {\n border-radius: 6px;\n border: 1.5px dashed var(--color-div-grey);\n color: var(--txt-03);\n font-family: Manrope;\n font-size: 14px;\n font-style: normal;\n font-weight: 500;\n height: 40px;\n cursor: default;\n display: flex;\n justify-content: center;\n align-items: center;\n}\n.buttonWrapper {\n margin-top: 8px;\n height: 56px;\n display: flex;\n align-items: center;\n}\n:global(.sortable-chosen) .buttonWrapper {\n visibility: hidden;\n}\n</style>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmBA,IAAM,IAAQ,GA0CR,KAAwB,MAAgC;AAC5D,KAAM,gBAAgB,EAAQ,EAAM,SAAS,EAAQ,CAAC;KAGlD,IAAgB,QAAe,EAAM,QAAQ,IAAI,GAAG,EACpD,IAA2B,CAC/B;GACE,IAAI;GACJ,MAAM;GACN,SAAS,EAAE;GACX,YAAY;GACb,CACF,EAEK,IAAc,EAAS;GAC3B,WAAW,EAAM,QAAQ;GACzB,MAAM,MAAY,EAAM,gBAAgB;IAAE,GAAG,EAAM;IAAkB;IAAS,CAAC;GAChF,CAAC;EAEF,SAAS,IAAgB;AACvB,OAAI,EAAM,QAAQ,SAAS,QAAQ,EAAM,QAAQ,SAA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iB;GACjB,gBAAgB;GACjB,UAAS;GACR,QAAM;GACN,YAAU;;GAEA,cAAU,GAGlB,EAHsB,SAAM,eAAK,CAClC,EAEC,EAAA,QAAA,eAAA;IAF+B;IAAO,OAAO,IAAQ,GAAa,CAAG;YAErE,CAAA,AAAA,EAAA,OAAA,EADE,gBAAY,GAAA,CAAA,CAAA,CAAA,CAAA;GAGN,gBAAY,QAGf,CAFK,EAAA,aAAA,GAAA,EAAX,EAEM,OAAA;;IAFiB,OAAK,EAAEA,EAAAA,OAAO,SAAQ;oBAC3C,EAA+B,OAAA,MAA1B,wBAAoB,GAAA,CAAA,CAAA,EAAA,EAAA,IAE3B,EAEO,EAAA,QAAA,qBAAA,EAAA,KAAA,GAAA,QAAA,CADL,EAAyF,EAAA,EAAA,EAAA;IAAzE,MAAK;IAAO,SAAK,AAAA,EAAA,QAAA,MAAE,EAAS,EAAA,MAAa;;qBAAe,CAAA,GAAA,AAAA,EAAA,OAAA,CAAA,EAAZ,gBAAY,GAAA,CAAA,CAAA,CAAA"}
@@ -21,6 +21,7 @@ type __VLS_Props = {
21
21
  resolveProgress?: (v: ImportFileHandle | undefined) => ImportProgress | undefined;
22
22
  };
23
23
  };
24
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
24
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
25
+ declare const _default: typeof __VLS_export;
25
26
  export default _default;
26
27
  //# sourceMappingURL=PlAgCellFile.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PlAgCellFile.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PlAgCellFile/PlAgCellFile.vue"],"names":[],"mappings":"AAkEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAG7E,KAAK,WAAW,GAAG;IAGjB,MAAM,EAAE,mBAAmB,CAAC,OAAO,EAAE,gBAAgB,CAAC,GAAG;QACvD,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;QACtB,QAAQ,CAAC,EAAE,cAAc,CAAC;QAC1B;;;;;;;;;;;;;WAaG;QACH,eAAe,CAAC,EAAE,CAAC,CAAC,EAAE,gBAAgB,GAAG,SAAS,KAAK,cAAc,GAAG,SAAS,CAAC;KACnF,CAAC;CACH,CAAC;;AA4FF,wBAOG"}
1
+ {"version":3,"file":"PlAgCellFile.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PlAgCellFile/PlAgCellFile.vue"],"names":[],"mappings":"AAmEA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,KAAK,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAG7E,KAAK,WAAW,GAAG;IAGjB,MAAM,EAAE,mBAAmB,CAAC,OAAO,EAAE,gBAAgB,CAAC,GAAG;QACvD,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;QACtB,QAAQ,CAAC,EAAE,cAAc,CAAC;QAC1B;;;;;;;;;;;;;WAaG;QACH,eAAe,CAAC,EAAE,CAAC,CAAC,EAAE,gBAAgB,GAAG,SAAS,KAAK,cAAc,GAAG,SAAS,CAAC;KACnF,CAAC;CACH,CAAC;AAiFF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -3,6 +3,7 @@ import { ICellRendererParams } from 'ag-grid-enterprise';
3
3
  type __VLS_Props = {
4
4
  params: ICellRendererParams & PlProgressCellProps;
5
5
  };
6
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
6
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: typeof __VLS_export;
7
8
  export default _default;
8
9
  //# sourceMappingURL=PlAgCellProgress.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PlAgCellProgress.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PlAgCellProgress/PlAgCellProgress.vue"],"names":[],"mappings":"AAaA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAEjE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAE9D,KAAK,WAAW,GAAG;IAAE,MAAM,EAAE,mBAAmB,GAAG,mBAAmB,CAAA;CAAE,CAAC;;AAgDzE,wBAOG"}
1
+ {"version":3,"file":"PlAgCellProgress.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PlAgCellProgress/PlAgCellProgress.vue"],"names":[],"mappings":"AAcA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAEjE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAE9D,KAAK,WAAW,GAAG;IAAE,MAAM,EAAE,mBAAmB,GAAG,mBAAmB,CAAA;CAAE,CAAC;AAkCzE,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -5,6 +5,7 @@ type __VLS_Props = {
5
5
  type: PlStatusTagType;
6
6
  };
7
7
  };
8
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
8
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
9
10
  export default _default;
10
11
  //# sourceMappingURL=PlAgCellStatusTag.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PlAgCellStatusTag.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PlAgCellStatusTag/PlAgCellStatusTag.vue"],"names":[],"mappings":"AAsBA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAE9D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAE7D,KAAK,WAAW,GAAG;IAAE,MAAM,CAAC,EAAE,mBAAmB,GAAG;QAAE,IAAI,EAAE,eAAe,CAAA;KAAE,CAAA;CAAE,CAAC;;AAoDhF,wBAOG"}
1
+ {"version":3,"file":"PlAgCellStatusTag.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PlAgCellStatusTag/PlAgCellStatusTag.vue"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAE9D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAE7D,KAAK,WAAW,GAAG;IAAE,MAAM,CAAC,EAAE,mBAAmB,GAAG;QAAE,IAAI,EAAE,eAAe,CAAA;KAAE,CAAA;CAAE,CAAC;AAwChF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -4,8 +4,7 @@ type PlChartHistogramSettings = InferComponentProps<typeof PlChartHistogram>["se
4
4
  type __VLS_Props = {
5
5
  params: ICellRendererParams<unknown, PlChartHistogramSettings | undefined>;
6
6
  };
7
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
8
- root: HTMLDivElement;
9
- }, HTMLDivElement>;
7
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
8
+ declare const _default: typeof __VLS_export;
10
9
  export default _default;
11
10
  //# sourceMappingURL=PlAgChartHistogramCell.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PlAgChartHistogramCell.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PlAgChartHistogramCell/PlAgChartHistogramCell.vue"],"names":[],"mappings":"AAkDA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,EAAE,KAAK,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAInF,KAAK,wBAAwB,GAAG,mBAAmB,CAAC,OAAO,gBAAgB,CAAC,CAAC,UAAU,CAAC,CAAC;AAEzF,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,mBAAmB,CAAC,OAAO,EAAE,wBAAwB,GAAG,SAAS,CAAC,CAAC;CAC5E,CAAC;;;;AAiFF,wBAQG"}
1
+ {"version":3,"file":"PlAgChartHistogramCell.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PlAgChartHistogramCell/PlAgChartHistogramCell.vue"],"names":[],"mappings":"AAmDA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,EAAE,KAAK,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AAInF,KAAK,wBAAwB,GAAG,mBAAmB,CAAC,OAAO,gBAAgB,CAAC,CAAC,UAAU,CAAC,CAAC;AAEzF,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,mBAAmB,CAAC,OAAO,EAAE,wBAAwB,GAAG,SAAS,CAAC,CAAC;CAC5E,CAAC;AAkEF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -3,6 +3,7 @@ import { PlChartStackedBarSettings } from '@milaboratories/uikit';
3
3
  type __VLS_Props = {
4
4
  params: ICellRendererParams<unknown, PlChartStackedBarSettings | undefined>;
5
5
  };
6
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
6
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: typeof __VLS_export;
7
8
  export default _default;
8
9
  //# sourceMappingURL=PlAgChartStackedBarCell.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PlAgChartStackedBarCell.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PlAgChartStackedBarCell/PlAgChartStackedBarCell.vue"],"names":[],"mappings":"AAkCA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAIvE,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,mBAAmB,CAAC,OAAO,EAAE,yBAAyB,GAAG,SAAS,CAAC,CAAC;CAC7E,CAAC;;AA8DF,wBAOG"}
1
+ {"version":3,"file":"PlAgChartStackedBarCell.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PlAgChartStackedBarCell/PlAgChartStackedBarCell.vue"],"names":[],"mappings":"AAmCA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,uBAAuB,CAAC;AAIvE,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,mBAAmB,CAAC,OAAO,EAAE,yBAAyB,GAAG,SAAS,CAAC,CAAC;CAC7E,CAAC;AAiDF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -3,8 +3,7 @@ import { PlAgHeaderComponentParams } from './types';
3
3
  type __VLS_Props = {
4
4
  params: IHeaderParams & PlAgHeaderComponentParams;
5
5
  };
6
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
7
- menuActivatorBtn: HTMLDivElement;
8
- }, HTMLDivElement>;
6
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
7
+ declare const _default: typeof __VLS_export;
9
8
  export default _default;
10
9
  //# sourceMappingURL=PlAgColumnHeader.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PlAgColumnHeader.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PlAgColumnHeader/PlAgColumnHeader.vue"],"names":[],"mappings":"AA4FA,OAAO,KAAK,EAAE,aAAa,EAAiB,MAAM,oBAAoB,CAAC;AAIvE,OAAO,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;AAEzD,KAAK,WAAW,GAAG;IAAE,MAAM,EAAE,aAAa,GAAG,yBAAyB,CAAA;CAAE,CAAC;;;;AAuMzE,wBAQG"}
1
+ {"version":3,"file":"PlAgColumnHeader.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PlAgColumnHeader/PlAgColumnHeader.vue"],"names":[],"mappings":"AA6FA,OAAO,KAAK,EAAE,aAAa,EAAiB,MAAM,oBAAoB,CAAC;AAIvE,OAAO,4BAA4B,CAAC;AACpC,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,SAAS,CAAC;AAEzD,KAAK,WAAW,GAAG;IAAE,MAAM,EAAE,aAAa,GAAG,yBAAyB,CAAA;CAAE,CAAC;AA8MzE,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -5,6 +5,7 @@ type __VLS_Props = {
5
5
  tableHandle?: PTableHandle;
6
6
  columnsMeta?: PlDataTableColumnsMeta;
7
7
  };
8
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
8
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
9
10
  export default _default;
10
11
  //# sourceMappingURL=PlAgCsvExporter.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PlAgCsvExporter.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PlAgCsvExporter/PlAgCsvExporter.vue"],"names":[],"mappings":"AA2CA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,KAAK,EAAE,YAAY,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAOjF,KAAK,WAAW,GAAG;IACjB,GAAG,EAAE,OAAO,CAAC;IACb,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B,WAAW,CAAC,EAAE,sBAAsB,CAAC;CACtC,CAAC;;AA4FF,wBAMG"}
1
+ {"version":3,"file":"PlAgCsvExporter.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PlAgCsvExporter/PlAgCsvExporter.vue"],"names":[],"mappings":"AA4CA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,KAAK,EAAE,YAAY,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAOjF,KAAK,WAAW,GAAG;IACjB,GAAG,EAAE,OAAO,CAAC;IACb,WAAW,CAAC,EAAE,YAAY,CAAC;IAC3B,WAAW,CAAC,EAAE,sBAAsB,CAAC;CACtC,CAAC;AAuFF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -3,27 +3,25 @@ import { PlDataTableSheetsSettings } from './types';
3
3
  type __VLS_Props = {
4
4
  settings: Readonly<PlDataTableSheetsSettings>;
5
5
  };
6
- type __VLS_PublicProps = {
6
+ type __VLS_ModelProps = {
7
7
  modelValue?: PlDataTableSheetState[];
8
- } & __VLS_Props;
9
- declare function __VLS_template(): {
10
- attrs: Partial<{}>;
11
- slots: {
12
- before?(_: {}): any;
13
- after?(_: {}): any;
14
- };
15
- refs: {};
16
- rootEl: any;
17
8
  };
18
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
19
- declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
9
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
10
+ declare var __VLS_1: {}, __VLS_10: {};
11
+ type __VLS_Slots = {} & {
12
+ before?: (props: typeof __VLS_1) => any;
13
+ } & {
14
+ after?: (props: typeof __VLS_10) => any;
15
+ };
16
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
20
17
  "update:modelValue": (value: PlDataTableSheetState[]) => any;
21
18
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
22
19
  "onUpdate:modelValue"?: ((value: PlDataTableSheetState[]) => any) | undefined;
23
20
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
24
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
21
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
22
+ declare const _default: typeof __VLS_export;
25
23
  export default _default;
26
- type __VLS_WithTemplateSlots<T, S> = T & {
24
+ type __VLS_WithSlots<T, S> = T & {
27
25
  new (): {
28
26
  $slots: S;
29
27
  };
@@ -1 +1 @@
1
- {"version":3,"file":"PlAgDataTableSheets.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PlAgDataTable/PlAgDataTableSheets.vue"],"names":[],"mappings":"AA6GA,OAAO,KAAK,EAAoB,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AAGpF,OAAO,KAAK,EAAE,yBAAy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AAG,CAAA;CAAE,GAC3C;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAK9C,QAAA,MAAM,UAAU;;;;kFAGd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { AxisId, PlDataTableStateV2, PlSelectionModel, PTableKey } from '@platforma-sdk/model';
2
2
  import { CellRendererSelectorFunc } from 'ag-grid-enterprise';
3
- import { PlAgDataTableV2Row, PlDataTableSettingsV2 } from './types';
3
+ import { PlAgDataTableV2Controller, PlAgDataTableV2Row, PlDataTableSettingsV2 } from './types';
4
4
  type __VLS_Props = {
5
5
  /** Required component settings */
6
6
  settings: Readonly<PlDataTableSettingsV2>;
@@ -51,42 +51,35 @@ type __VLS_Props = {
51
51
  */
52
52
  cellRendererSelector?: CellRendererSelectorFunc<PlAgDataTableV2Row>;
53
53
  };
54
- type __VLS_PublicProps = {
54
+ type __VLS_ModelProps = {
55
55
  modelValue: PlDataTableStateV2;
56
+ /** Warning: selection model value updates are ignored, use updateSelection instead */
56
57
  "selection"?: PlSelectionModel;
57
- } & __VLS_Props;
58
- declare function __VLS_template(): {
59
- attrs: Partial<{}>;
60
- slots: {
61
- 'before-sheets'?(_: {}): any;
62
- 'after-sheets'?(_: {}): any;
63
- };
64
- refs: {};
65
- rootEl: HTMLDivElement;
66
58
  };
67
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
68
- declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {
69
- focusRow: (rowKey: PTableKey) => Promise<boolean>;
70
- updateSelection: ({ axesSpec, selectedKeys, }: {
71
- axesSpec: AxisId[];
72
- selectedKeys: PTableKey[];
73
- }) => Promise<boolean>;
74
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
59
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
60
+ declare var __VLS_27: {}, __VLS_30: {};
61
+ type __VLS_Slots = {} & {
62
+ 'before-sheets'?: (props: typeof __VLS_27) => any;
63
+ } & {
64
+ 'after-sheets'?: (props: typeof __VLS_30) => any;
65
+ };
66
+ declare const __VLS_base: import('vue').DefineComponent<__VLS_PublicProps, PlAgDataTableV2Controller, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
75
67
  "update:modelValue": (value: PlDataTableStateV2) => any;
76
68
  rowDoubleClicked: (key?: PTableKey | undefined) => any;
77
69
  cellButtonClicked: (key?: PTableKey | undefined) => any;
78
70
  newDataRendered: () => any;
79
- "update:selection": (value: PlSelectionModel) => any;
71
+ "update:selection": (value: PlSelectionModel | undefined) => any;
80
72
  }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
81
73
  "onUpdate:modelValue"?: ((value: PlDataTableStateV2) => any) | undefined;
82
74
  onRowDoubleClicked?: ((key?: PTableKey | undefined) => any) | undefined;
83
75
  onCellButtonClicked?: ((key?: PTableKey | undefined) => any) | undefined;
84
76
  onNewDataRendered?: (() => any) | undefined;
85
- "onUpdate:selection"?: ((value: PlSelectionModel) => any) | undefined;
86
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
87
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
77
+ "onUpdate:selection"?: ((value: PlSelectionModel | undefined) => any) | undefined;
78
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
79
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
80
+ declare const _default: typeof __VLS_export;
88
81
  export default _default;
89
- type __VLS_WithTemplateSlots<T, S> = T & {
82
+ type __VLS_WithSlots<T, S> = T & {
90
83
  new (): {
91
84
  $slots: S;
92
85
  };
@@ -1 +1 @@
1
- {"version":3,"file":"PlAgDataTableV2.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PlAgDataTable/PlAgDataTableV2.vue"],"names":[],"mappings":"AA4oBA,OAAO,KAAK,EACV,MAAM,EAGN,kBAAkB,EAClB,gBAAgB,EAGhB,SAAS,EACV,MAAM,sBAAsB,CAAC;AAS9B,OAAO,KAAK,EAAE,wBAAwB,EAAsB,MAAM,oBAAoB,CAAC;AAcvF,OAAO,KAAK,EAEV,kBAAkB,EAGlB,qBAAqB,EAGtB,MAAM,SAAS,CAAC;AAUjB,KAAK,WAAW,GAAG;IACjB,kCAAkC;IAClC,QAAQ,EAAE,QAAQ,CAAC,qBAAqB,CAAC,CAAC;IAE1C;;;;;OAKG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAE9B;;;;;OAKG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAE9B;;;;;OAKG;IACH,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAE3B;;OAEG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC;IAEjC;;;;;;OAMG;IACH,iCAAiC,CAAC,EAAE,OAAO,CAAC;IAE5C,wDAAwD;IACxD,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,wDAAwD;IACxD,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,yDAAyD;IACzD,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,gDAAgD;IAChD,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH,oBAAoB,CAAC,EAAE,wBAAwB,CAAC,kBAAkB,CAAC,CAAC;CACrE,CAAC;AA6eF,KAAK,iBAAiB,GAAG;IACzB,UAAU,EAAE,kBAAkB,CAAC;IAC/B,WAAW,CAAC,EAAE,gBAAgB,CAAC;CAC9B,GA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,CAAC,EAAE,MAAM,CAAC;IAErB,yDAAyD;IACzD,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,gDAAgD;IAChD,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IACH,oBAAoB,CAAC,EAAE,wBAAwB,CAAC,kBAAkB,CAAC,CAAC;CACrE,CAAC;AA2eF,KAAK,gBAAgB,GAAG;IACxB,UAAU,EAAE,kBAAkB,CAAC;IAC/B,sFAAsF;IACtF,WAAW,CAAC,EAAE,gBAAgB,CAAC;CAC9B,CAAC;AAMF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAsKxD,QAAA,IAAI,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AAC/C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GACrD;IAAE,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAKvD,QAAA,MAAM,UAAU;;;;;;;;;;;;kFAId,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -33,7 +33,7 @@ var j = /* @__PURE__ */ h({
33
33
  runningText: {},
34
34
  notReadyText: {},
35
35
  noRowsText: {},
36
- cellRendererSelector: { type: Function }
36
+ cellRendererSelector: {}
37
37
  }, {
38
38
  modelValue: { required: !0 },
39
39
  modelModifiers: {},
@@ -3,8 +3,9 @@ type __VLS_Props = {
3
3
  /** Required object that contains props from loadingOverlayComponentParams. */
4
4
  params: PlAgOverlayLoadingParams;
5
5
  };
6
- declare const _default: import('vue').DefineComponent<__VLS_Props, {
6
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {
7
7
  refresh: (newParams: PlAgOverlayLoadingParams) => void;
8
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
8
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
9
10
  export default _default;
10
11
  //# sourceMappingURL=PlAgOverlayLoading.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PlAgOverlayLoading.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PlAgDataTable/PlAgOverlayLoading.vue"],"names":[],"mappings":"AAwDA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAIxD,KAAK,WAAW,GAAG;IACjB,8EAA8E;IAC9E,MAAM,EAAE,wBAAwB,CAAC;CAClC,CAAC;;yBAMqB,wBAAwB;;AAiG/C,wBAQG"}
1
+ {"version":3,"file":"PlAgOverlayLoading.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PlAgDataTable/PlAgOverlayLoading.vue"],"names":[],"mappings":"AAyDA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAIxD,KAAK,WAAW,GAAG;IACjB,8EAA8E;IAC9E,MAAM,EAAE,wBAAwB,CAAC;CAClC,CAAC;AAuFF,QAAA,MAAM,YAAY;yBAjFK,wBAAwB;oPAoF7C,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -2,8 +2,9 @@ import { PlAgOverlayNoRowsParams } from './types';
2
2
  type __VLS_Props = {
3
3
  params: PlAgOverlayNoRowsParams;
4
4
  };
5
- declare const _default: import('vue').DefineComponent<__VLS_Props, {
5
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {
6
6
  refresh: (newParams: PlAgOverlayNoRowsParams) => void;
7
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
7
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
8
+ declare const _default: typeof __VLS_export;
8
9
  export default _default;
9
10
  //# sourceMappingURL=PlAgOverlayNoRows.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PlAgOverlayNoRows.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PlAgDataTable/PlAgOverlayNoRows.vue"],"names":[],"mappings":"AAoDA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAEvD,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,uBAAuB,CAAC;CACjC,CAAC;;yBAMqB,uBAAuB;;AAyD9C,wBAQG"}
1
+ {"version":3,"file":"PlAgOverlayNoRows.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PlAgDataTable/PlAgOverlayNoRows.vue"],"names":[],"mappings":"AAqDA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAEvD,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,uBAAuB,CAAC;CACjC,CAAC;AA8CF,QAAA,MAAM,YAAY;yBAxCK,uBAAuB;oPA2C5C,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -4,6 +4,7 @@ type __VLS_Props = {
4
4
  api: GridApi;
5
5
  };
6
6
  };
7
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
7
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
8
+ declare const _default: typeof __VLS_export;
8
9
  export default _default;
9
10
  //# sourceMappingURL=PlAgRowCount.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PlAgRowCount.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PlAgDataTable/PlAgRowCount.vue"],"names":[],"mappings":"AA+CA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAIlD,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE;QAAE,GAAG,EAAE,OAAO,CAAA;KAAE,CAAC;CAC1B,CAAC;;AAuEF,wBAMG"}
1
+ {"version":3,"file":"PlAgRowCount.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PlAgDataTable/PlAgRowCount.vue"],"names":[],"mappings":"AAgDA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAIlD,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE;QAAE,GAAG,EAAE,OAAO,CAAA;KAAE,CAAC;CAC1B,CAAC;AAwDF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -5,13 +5,13 @@ import { PlAgDataTableV2Row } from '../types';
5
5
  export declare function useFilterableColumns(getSourceId: () => string | null, getColumnDefs: () => null | undefined | ColDef<PlAgDataTableV2Row, PTableValue | PTableHidden>[]): readonly [import('vue').Ref<({
6
6
  type: "axis";
7
7
  id: {
8
- readonly type: import('@platforma-sdk/model').AxisValueType;
8
+ readonly type: import('@milaboratories/pl-model-common').AxisValueType;
9
9
  readonly name: string;
10
10
  readonly domain?: Record<string, string> | undefined;
11
11
  readonly contextDomain?: Record<string, string> | undefined;
12
12
  };
13
13
  spec: {
14
- readonly type: import('@platforma-sdk/model').AxisValueType;
14
+ readonly type: import('@milaboratories/pl-model-common').AxisValueType;
15
15
  readonly name: string;
16
16
  readonly domain?: Record<string, string> | undefined;
17
17
  readonly contextDomain?: Record<string, string> | undefined;
@@ -20,7 +20,7 @@ export declare function useFilterableColumns(getSourceId: () => string | null, g
20
20
  };
21
21
  } | {
22
22
  type: "column";
23
- id: import('@platforma-sdk/model').ColumnUniversalId;
23
+ id: import('@milaboratories/pl-model-common').ColumnUniversalId;
24
24
  spec: {
25
25
  readonly kind: "PColumn";
26
26
  readonly name: string;
@@ -30,7 +30,7 @@ export declare function useFilterableColumns(getSourceId: () => string | null, g
30
30
  readonly valueType: "Int" | "Long" | "Float" | "Double" | "String" | "Bytes";
31
31
  readonly parentAxes?: number[] | undefined;
32
32
  readonly axesSpec: {
33
- readonly type: import('@platforma-sdk/model').AxisValueType;
33
+ readonly type: import('@milaboratories/pl-model-common').AxisValueType;
34
34
  readonly name: string;
35
35
  readonly domain?: Record<string, string> | undefined;
36
36
  readonly contextDomain?: Record<string, string> | undefined;
@@ -41,13 +41,13 @@ export declare function useFilterableColumns(getSourceId: () => string | null, g
41
41
  })[], PTableColumnSpec[] | ({
42
42
  type: "axis";
43
43
  id: {
44
- readonly type: import('@platforma-sdk/model').AxisValueType;
44
+ readonly type: import('@milaboratories/pl-model-common').AxisValueType;
45
45
  readonly name: string;
46
46
  readonly domain?: Record<string, string> | undefined;
47
47
  readonly contextDomain?: Record<string, string> | undefined;
48
48
  };
49
49
  spec: {
50
- readonly type: import('@platforma-sdk/model').AxisValueType;
50
+ readonly type: import('@milaboratories/pl-model-common').AxisValueType;
51
51
  readonly name: string;
52
52
  readonly domain?: Record<string, string> | undefined;
53
53
  readonly contextDomain?: Record<string, string> | undefined;
@@ -56,7 +56,7 @@ export declare function useFilterableColumns(getSourceId: () => string | null, g
56
56
  };
57
57
  } | {
58
58
  type: "column";
59
- id: import('@platforma-sdk/model').ColumnUniversalId;
59
+ id: import('@milaboratories/pl-model-common').ColumnUniversalId;
60
60
  spec: {
61
61
  readonly kind: "PColumn";
62
62
  readonly name: string;
@@ -66,7 +66,7 @@ export declare function useFilterableColumns(getSourceId: () => string | null, g
66
66
  readonly valueType: "Int" | "Long" | "Float" | "Double" | "String" | "Bytes";
67
67
  readonly parentAxes?: number[] | undefined;
68
68
  readonly axesSpec: {
69
- readonly type: import('@platforma-sdk/model').AxisValueType;
69
+ readonly type: import('@milaboratories/pl-model-common').AxisValueType;
70
70
  readonly name: string;
71
71
  readonly domain?: Record<string, string> | undefined;
72
72
  readonly contextDomain?: Record<string, string> | undefined;
@@ -77,13 +77,13 @@ export declare function useFilterableColumns(getSourceId: () => string | null, g
77
77
  })[]>, import('vue').Ref<({
78
78
  type: "axis";
79
79
  id: {
80
- readonly type: import('@platforma-sdk/model').AxisValueType;
80
+ readonly type: import('@milaboratories/pl-model-common').AxisValueType;
81
81
  readonly name: string;
82
82
  readonly domain?: Record<string, string> | undefined;
83
83
  readonly contextDomain?: Record<string, string> | undefined;
84
84
  };
85
85
  spec: {
86
- readonly type: import('@platforma-sdk/model').AxisValueType;
86
+ readonly type: import('@milaboratories/pl-model-common').AxisValueType;
87
87
  readonly name: string;
88
88
  readonly domain?: Record<string, string> | undefined;
89
89
  readonly contextDomain?: Record<string, string> | undefined;
@@ -92,7 +92,7 @@ export declare function useFilterableColumns(getSourceId: () => string | null, g
92
92
  };
93
93
  } | {
94
94
  type: "column";
95
- id: import('@platforma-sdk/model').ColumnUniversalId;
95
+ id: import('@milaboratories/pl-model-common').ColumnUniversalId;
96
96
  spec: {
97
97
  readonly kind: "PColumn";
98
98
  readonly name: string;
@@ -102,7 +102,7 @@ export declare function useFilterableColumns(getSourceId: () => string | null, g
102
102
  readonly valueType: "Int" | "Long" | "Float" | "Double" | "String" | "Bytes";
103
103
  readonly parentAxes?: number[] | undefined;
104
104
  readonly axesSpec: {
105
- readonly type: import('@platforma-sdk/model').AxisValueType;
105
+ readonly type: import('@milaboratories/pl-model-common').AxisValueType;
106
106
  readonly name: string;
107
107
  readonly domain?: Record<string, string> | undefined;
108
108
  readonly contextDomain?: Record<string, string> | undefined;
@@ -113,13 +113,13 @@ export declare function useFilterableColumns(getSourceId: () => string | null, g
113
113
  })[], PTableColumnSpec[] | ({
114
114
  type: "axis";
115
115
  id: {
116
- readonly type: import('@platforma-sdk/model').AxisValueType;
116
+ readonly type: import('@milaboratories/pl-model-common').AxisValueType;
117
117
  readonly name: string;
118
118
  readonly domain?: Record<string, string> | undefined;
119
119
  readonly contextDomain?: Record<string, string> | undefined;
120
120
  };
121
121
  spec: {
122
- readonly type: import('@platforma-sdk/model').AxisValueType;
122
+ readonly type: import('@milaboratories/pl-model-common').AxisValueType;
123
123
  readonly name: string;
124
124
  readonly domain?: Record<string, string> | undefined;
125
125
  readonly contextDomain?: Record<string, string> | undefined;
@@ -128,7 +128,7 @@ export declare function useFilterableColumns(getSourceId: () => string | null, g
128
128
  };
129
129
  } | {
130
130
  type: "column";
131
- id: import('@platforma-sdk/model').ColumnUniversalId;
131
+ id: import('@milaboratories/pl-model-common').ColumnUniversalId;
132
132
  spec: {
133
133
  readonly kind: "PColumn";
134
134
  readonly name: string;
@@ -138,7 +138,7 @@ export declare function useFilterableColumns(getSourceId: () => string | null, g
138
138
  readonly valueType: "Int" | "Long" | "Float" | "Double" | "String" | "Bytes";
139
139
  readonly parentAxes?: number[] | undefined;
140
140
  readonly axesSpec: {
141
- readonly type: import('@platforma-sdk/model').AxisValueType;
141
+ readonly type: import('@milaboratories/pl-model-common').AxisValueType;
142
142
  readonly name: string;
143
143
  readonly domain?: Record<string, string> | undefined;
144
144
  readonly contextDomain?: Record<string, string> | undefined;
@@ -12,6 +12,7 @@ type __VLS_Props = {
12
12
  */
13
13
  width?: string;
14
14
  };
15
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
15
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
16
+ declare const _default: typeof __VLS_export;
16
17
  export default _default;
17
18
  //# sourceMappingURL=PlAgGridColumnManager.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PlAgGridColumnManager.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PlAgGridColumnManager/PlAgGridColumnManager.vue"],"names":[],"mappings":"AAqKA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAMlD,KAAK,WAAW,GAAG;IACjB;;;;;OAKG;IACH,GAAG,EAAE,OAAO,CAAC;IACb;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;;AAqRF,wBAMG"}
1
+ {"version":3,"file":"PlAgGridColumnManager.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PlAgGridColumnManager/PlAgGridColumnManager.vue"],"names":[],"mappings":"AAsKA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAMlD,KAAK,WAAW,GAAG;IACjB;;;;;OAKG;IACH,GAAG,EAAE,OAAO,CAAC;IACb;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAmSF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -2,6 +2,7 @@ import { ICellRendererParams } from 'ag-grid-enterprise';
2
2
  type __VLS_Props = {
3
3
  params: ICellRendererParams;
4
4
  };
5
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
5
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
6
+ declare const _default: typeof __VLS_export;
6
7
  export default _default;
7
8
  //# sourceMappingURL=PlAgRowNumCheckbox.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PlAgRowNumCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PlAgRowNumCheckbox/PlAgRowNumCheckbox.vue"],"names":[],"mappings":"AAuDA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAM9D,KAAK,WAAW,GAAG;IAAE,MAAM,EAAE,mBAAmB,CAAA;CAAE,CAAC;;AAsGnD,wBAOG"}
1
+ {"version":3,"file":"PlAgRowNumCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PlAgRowNumCheckbox/PlAgRowNumCheckbox.vue"],"names":[],"mappings":"AAwDA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAM9D,KAAK,WAAW,GAAG;IAAE,MAAM,EAAE,mBAAmB,CAAA;CAAE,CAAC;AA8FnD,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -2,6 +2,7 @@ import { IHeaderParams } from 'ag-grid-enterprise';
2
2
  type __VLS_Props = {
3
3
  params: IHeaderParams;
4
4
  };
5
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
5
+ declare const __VLS_export: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
6
+ declare const _default: typeof __VLS_export;
6
7
  export default _default;
7
8
  //# sourceMappingURL=PlAgRowNumHeader.vue.d.ts.map