@platforma-sdk/ui-vue 1.47.5 → 1.48.2

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 (226) hide show
  1. package/.turbo/turbo-build.log +6 -207
  2. package/.turbo/turbo-lint.log +5 -0
  3. package/.turbo/turbo-type-check.log +2 -2
  4. package/CHANGELOG.md +21 -0
  5. package/dist/AgGridVue/createAgGridColDef.d.ts +1 -0
  6. package/dist/AgGridVue/createAgGridColDef.d.ts.map +1 -0
  7. package/dist/AgGridVue/index.d.ts +1 -0
  8. package/dist/AgGridVue/index.d.ts.map +1 -0
  9. package/dist/AgGridVue/selection.d.ts +1 -0
  10. package/dist/AgGridVue/selection.d.ts.map +1 -0
  11. package/dist/AgGridVue/useAgGridOptions.d.ts +2 -11
  12. package/dist/AgGridVue/useAgGridOptions.d.ts.map +1 -0
  13. package/dist/AgGridVue/useAgGridOptions.js +16 -25
  14. package/dist/AgGridVue/useAgGridOptions.js.map +1 -1
  15. package/dist/aggrid.d.ts +1 -0
  16. package/dist/aggrid.d.ts.map +1 -0
  17. package/dist/components/BlockLayout.vue.d.ts +1 -0
  18. package/dist/components/BlockLayout.vue.d.ts.map +1 -0
  19. package/dist/components/BlockLoader.vue.d.ts +1 -0
  20. package/dist/components/BlockLoader.vue.d.ts.map +1 -0
  21. package/dist/components/LoaderPage.vue.d.ts +1 -0
  22. package/dist/components/LoaderPage.vue.d.ts.map +1 -0
  23. package/dist/components/NotFound.vue.d.ts +1 -0
  24. package/dist/components/NotFound.vue.d.ts.map +1 -0
  25. package/dist/components/PlAdvancedFilter/FilterEditor.vue.d.ts +1 -0
  26. package/dist/components/PlAdvancedFilter/FilterEditor.vue.d.ts.map +1 -0
  27. package/dist/components/PlAdvancedFilter/OperandButton.vue.d.ts +1 -0
  28. package/dist/components/PlAdvancedFilter/OperandButton.vue.d.ts.map +1 -0
  29. package/dist/components/PlAdvancedFilter/PlAdvancedFilter.vue.d.ts +1 -0
  30. package/dist/components/PlAdvancedFilter/PlAdvancedFilter.vue.d.ts.map +1 -0
  31. package/dist/components/PlAdvancedFilter/constants.d.ts +1 -0
  32. package/dist/components/PlAdvancedFilter/constants.d.ts.map +1 -0
  33. package/dist/components/PlAdvancedFilter/index.d.ts +1 -0
  34. package/dist/components/PlAdvancedFilter/index.d.ts.map +1 -0
  35. package/dist/components/PlAdvancedFilter/types.d.ts +1 -0
  36. package/dist/components/PlAdvancedFilter/types.d.ts.map +1 -0
  37. package/dist/components/PlAdvancedFilter/utils.d.ts +1 -0
  38. package/dist/components/PlAdvancedFilter/utils.d.ts.map +1 -0
  39. package/dist/components/PlAgCellFile/PlAgCellFile.vue.d.ts +1 -0
  40. package/dist/components/PlAgCellFile/PlAgCellFile.vue.d.ts.map +1 -0
  41. package/dist/components/PlAgCellFile/index.d.ts +1 -0
  42. package/dist/components/PlAgCellFile/index.d.ts.map +1 -0
  43. package/dist/components/PlAgCellProgress/PlAgCellProgress.vue.d.ts +1 -0
  44. package/dist/components/PlAgCellProgress/PlAgCellProgress.vue.d.ts.map +1 -0
  45. package/dist/components/PlAgCellProgress/index.d.ts +1 -0
  46. package/dist/components/PlAgCellProgress/index.d.ts.map +1 -0
  47. package/dist/components/PlAgCellStatusTag/PlAgCellStatusTag.vue.d.ts +1 -0
  48. package/dist/components/PlAgCellStatusTag/PlAgCellStatusTag.vue.d.ts.map +1 -0
  49. package/dist/components/PlAgCellStatusTag/index.d.ts +1 -0
  50. package/dist/components/PlAgCellStatusTag/index.d.ts.map +1 -0
  51. package/dist/components/PlAgChartHistogramCell/PlAgChartHistogramCell.vue.d.ts +1 -0
  52. package/dist/components/PlAgChartHistogramCell/PlAgChartHistogramCell.vue.d.ts.map +1 -0
  53. package/dist/components/PlAgChartHistogramCell/index.d.ts +1 -0
  54. package/dist/components/PlAgChartHistogramCell/index.d.ts.map +1 -0
  55. package/dist/components/PlAgChartStackedBarCell/PlAgChartStackedBarCell.vue.d.ts +1 -0
  56. package/dist/components/PlAgChartStackedBarCell/PlAgChartStackedBarCell.vue.d.ts.map +1 -0
  57. package/dist/components/PlAgChartStackedBarCell/index.d.ts +1 -0
  58. package/dist/components/PlAgChartStackedBarCell/index.d.ts.map +1 -0
  59. package/dist/components/PlAgColumnHeader/PlAgColumnHeader.vue.d.ts +1 -0
  60. package/dist/components/PlAgColumnHeader/PlAgColumnHeader.vue.d.ts.map +1 -0
  61. package/dist/components/PlAgColumnHeader/index.d.ts +1 -0
  62. package/dist/components/PlAgColumnHeader/index.d.ts.map +1 -0
  63. package/dist/components/PlAgColumnHeader/types.d.ts +1 -0
  64. package/dist/components/PlAgColumnHeader/types.d.ts.map +1 -0
  65. package/dist/components/PlAgCsvExporter/PlAgCsvExporter.vue.d.ts +1 -0
  66. package/dist/components/PlAgCsvExporter/PlAgCsvExporter.vue.d.ts.map +1 -0
  67. package/dist/components/PlAgCsvExporter/export-csv.d.ts +1 -0
  68. package/dist/components/PlAgCsvExporter/export-csv.d.ts.map +1 -0
  69. package/dist/components/PlAgCsvExporter/index.d.ts +1 -0
  70. package/dist/components/PlAgCsvExporter/index.d.ts.map +1 -0
  71. package/dist/components/PlAgDataTable/PlAgDataTableSheets.vue.d.ts +1 -0
  72. package/dist/components/PlAgDataTable/PlAgDataTableSheets.vue.d.ts.map +1 -0
  73. package/dist/components/PlAgDataTable/PlAgDataTableV2.vue.d.ts +1 -0
  74. package/dist/components/PlAgDataTable/PlAgDataTableV2.vue.d.ts.map +1 -0
  75. package/dist/components/PlAgDataTable/PlAgOverlayLoading.vue.d.ts +1 -0
  76. package/dist/components/PlAgDataTable/PlAgOverlayLoading.vue.d.ts.map +1 -0
  77. package/dist/components/PlAgDataTable/PlAgOverlayLoading.vue.js +26 -29
  78. package/dist/components/PlAgDataTable/PlAgOverlayLoading.vue.js.map +1 -1
  79. package/dist/components/PlAgDataTable/PlAgOverlayNoRows.vue.d.ts +1 -0
  80. package/dist/components/PlAgDataTable/PlAgOverlayNoRows.vue.d.ts.map +1 -0
  81. package/dist/components/PlAgDataTable/PlAgRowCount.vue.d.ts +1 -0
  82. package/dist/components/PlAgDataTable/PlAgRowCount.vue.d.ts.map +1 -0
  83. package/dist/components/PlAgDataTable/index.d.ts +1 -0
  84. package/dist/components/PlAgDataTable/index.d.ts.map +1 -0
  85. package/dist/components/PlAgDataTable/sources/common.d.ts +1 -0
  86. package/dist/components/PlAgDataTable/sources/common.d.ts.map +1 -0
  87. package/dist/components/PlAgDataTable/sources/focus-row.d.ts +1 -0
  88. package/dist/components/PlAgDataTable/sources/focus-row.d.ts.map +1 -0
  89. package/dist/components/PlAgDataTable/sources/menu-items.d.ts +1 -0
  90. package/dist/components/PlAgDataTable/sources/menu-items.d.ts.map +1 -0
  91. package/dist/components/PlAgDataTable/sources/row-number.d.ts +1 -0
  92. package/dist/components/PlAgDataTable/sources/row-number.d.ts.map +1 -0
  93. package/dist/components/PlAgDataTable/sources/table-source-v2.d.ts +1 -0
  94. package/dist/components/PlAgDataTable/sources/table-source-v2.d.ts.map +1 -0
  95. package/dist/components/PlAgDataTable/sources/table-state-v2.d.ts +1 -0
  96. package/dist/components/PlAgDataTable/sources/table-state-v2.d.ts.map +1 -0
  97. package/dist/components/PlAgDataTable/sources/value-rendering.d.ts +1 -0
  98. package/dist/components/PlAgDataTable/sources/value-rendering.d.ts.map +1 -0
  99. package/dist/components/PlAgDataTable/types.d.ts +5 -5
  100. package/dist/components/PlAgDataTable/types.d.ts.map +1 -0
  101. package/dist/components/PlAgDataTable/types.js.map +1 -1
  102. package/dist/components/PlAgGridColumnManager/PlAgGridColumnManager.vue.d.ts +1 -0
  103. package/dist/components/PlAgGridColumnManager/PlAgGridColumnManager.vue.d.ts.map +1 -0
  104. package/dist/components/PlAgGridColumnManager/index.d.ts +1 -0
  105. package/dist/components/PlAgGridColumnManager/index.d.ts.map +1 -0
  106. package/dist/components/PlAgGridColumnManager/useFilteredItems.d.ts +1 -0
  107. package/dist/components/PlAgGridColumnManager/useFilteredItems.d.ts.map +1 -0
  108. package/dist/components/PlAgRowNumCheckbox/PlAgRowNumCheckbox.vue.d.ts +1 -0
  109. package/dist/components/PlAgRowNumCheckbox/PlAgRowNumCheckbox.vue.d.ts.map +1 -0
  110. package/dist/components/PlAgRowNumCheckbox/index.d.ts +1 -0
  111. package/dist/components/PlAgRowNumCheckbox/index.d.ts.map +1 -0
  112. package/dist/components/PlAgRowNumHeader.vue.d.ts +1 -0
  113. package/dist/components/PlAgRowNumHeader.vue.d.ts.map +1 -0
  114. package/dist/components/PlAgTextAndButtonCell/PlAgTextAndButtonCell.vue.d.ts +1 -0
  115. package/dist/components/PlAgTextAndButtonCell/PlAgTextAndButtonCell.vue.d.ts.map +1 -0
  116. package/dist/components/PlAgTextAndButtonCell/index.d.ts +1 -0
  117. package/dist/components/PlAgTextAndButtonCell/index.d.ts.map +1 -0
  118. package/dist/components/PlAnnotations/components/AnnotationsSidebar.vue.d.ts +1 -0
  119. package/dist/components/PlAnnotations/components/AnnotationsSidebar.vue.d.ts.map +1 -0
  120. package/dist/components/PlAnnotations/components/FilterSidebar.vue.d.ts +1 -0
  121. package/dist/components/PlAnnotations/components/FilterSidebar.vue.d.ts.map +1 -0
  122. package/dist/components/PlAnnotations/components/PlAnnotations.vue.d.ts +1 -0
  123. package/dist/components/PlAnnotations/components/PlAnnotations.vue.d.ts.map +1 -0
  124. package/dist/components/PlAnnotations/components/PlAnnotations.vue2.js.map +1 -1
  125. package/dist/components/PlAnnotations/components/PlAnnotationsModal.vue.d.ts +1 -0
  126. package/dist/components/PlAnnotations/components/PlAnnotationsModal.vue.d.ts.map +1 -0
  127. package/dist/components/PlAnnotations/index.d.ts +1 -0
  128. package/dist/components/PlAnnotations/index.d.ts.map +1 -0
  129. package/dist/components/PlAnnotations/types.d.ts +1 -0
  130. package/dist/components/PlAnnotations/types.d.ts.map +1 -0
  131. package/dist/components/PlAnnotations/utils.d.ts +1 -0
  132. package/dist/components/PlAnnotations/utils.d.ts.map +1 -0
  133. package/dist/components/PlAppErrorNotificationAlert/PlAppErrorNotificationAlert.vue.d.ts +1 -0
  134. package/dist/components/PlAppErrorNotificationAlert/PlAppErrorNotificationAlert.vue.d.ts.map +1 -0
  135. package/dist/components/PlAppErrorNotificationAlert/index.d.ts +1 -0
  136. package/dist/components/PlAppErrorNotificationAlert/index.d.ts.map +1 -0
  137. package/dist/components/PlBtnExportArchive/Item.vue.d.ts +1 -0
  138. package/dist/components/PlBtnExportArchive/Item.vue.d.ts.map +1 -0
  139. package/dist/components/PlBtnExportArchive/PlBtnExportArchive.vue.d.ts +1 -0
  140. package/dist/components/PlBtnExportArchive/PlBtnExportArchive.vue.d.ts.map +1 -0
  141. package/dist/components/PlBtnExportArchive/Summary.vue.d.ts +1 -0
  142. package/dist/components/PlBtnExportArchive/Summary.vue.d.ts.map +1 -0
  143. package/dist/components/PlBtnExportArchive/index.d.ts +1 -0
  144. package/dist/components/PlBtnExportArchive/index.d.ts.map +1 -0
  145. package/dist/components/PlBtnExportArchive/types.d.ts +1 -0
  146. package/dist/components/PlBtnExportArchive/types.d.ts.map +1 -0
  147. package/dist/components/PlTableFilters/PlTableAddFilterV2.vue.d.ts +1 -0
  148. package/dist/components/PlTableFilters/PlTableAddFilterV2.vue.d.ts.map +1 -0
  149. package/dist/components/PlTableFilters/PlTableFilterEntryV2.vue.d.ts +1 -0
  150. package/dist/components/PlTableFilters/PlTableFilterEntryV2.vue.d.ts.map +1 -0
  151. package/dist/components/PlTableFilters/PlTableFiltersV2.vue.d.ts +1 -0
  152. package/dist/components/PlTableFilters/PlTableFiltersV2.vue.d.ts.map +1 -0
  153. package/dist/components/PlTableFilters/filters-state.d.ts +1 -0
  154. package/dist/components/PlTableFilters/filters-state.d.ts.map +1 -0
  155. package/dist/components/PlTableFilters/filters_logic.d.ts +1 -0
  156. package/dist/components/PlTableFilters/filters_logic.d.ts.map +1 -0
  157. package/dist/components/PlTableFilters/index.d.ts +1 -0
  158. package/dist/components/PlTableFilters/index.d.ts.map +1 -0
  159. package/dist/components/PlTableFilters/types.d.ts +1 -0
  160. package/dist/components/PlTableFilters/types.d.ts.map +1 -0
  161. package/dist/components/ValueOrErrorsComponent.vue.d.ts +1 -0
  162. package/dist/components/ValueOrErrorsComponent.vue.d.ts.map +1 -0
  163. package/dist/composition/fileContent.d.ts +1 -0
  164. package/dist/composition/fileContent.d.ts.map +1 -0
  165. package/dist/computedResult.d.ts +1 -0
  166. package/dist/computedResult.d.ts.map +1 -0
  167. package/dist/createModel.d.ts +1 -0
  168. package/dist/createModel.d.ts.map +1 -0
  169. package/dist/defineApp.d.ts +1 -0
  170. package/dist/defineApp.d.ts.map +1 -0
  171. package/dist/defineStore.d.ts +1 -0
  172. package/dist/defineStore.d.ts.map +1 -0
  173. package/dist/index.d.ts +1 -0
  174. package/dist/index.d.ts.map +1 -0
  175. package/dist/internal/UpdateSerializer.d.ts +1 -0
  176. package/dist/internal/UpdateSerializer.d.ts.map +1 -0
  177. package/dist/internal/createAppModel.d.ts +1 -0
  178. package/dist/internal/createAppModel.d.ts.map +1 -0
  179. package/dist/internal/createAppV1.d.ts +4 -3
  180. package/dist/internal/createAppV1.d.ts.map +1 -0
  181. package/dist/internal/createAppV2.d.ts +4 -3
  182. package/dist/internal/createAppV2.d.ts.map +1 -0
  183. package/dist/internal/createAppV2.test.d.ts +1 -0
  184. package/dist/internal/createAppV2.test.d.ts.map +1 -0
  185. package/dist/internal/test-helpers/BlockMock.d.ts +1 -0
  186. package/dist/internal/test-helpers/BlockMock.d.ts.map +1 -0
  187. package/dist/internal/test-helpers/createMockApi.d.ts +1 -0
  188. package/dist/internal/test-helpers/createMockApi.d.ts.map +1 -0
  189. package/dist/internal/test-helpers/utils.d.ts +1 -0
  190. package/dist/internal/test-helpers/utils.d.ts.map +1 -0
  191. package/dist/internal/v1.static-test.d.ts +1 -0
  192. package/dist/internal/v1.static-test.d.ts.map +1 -0
  193. package/dist/internal/v2.static-test.d.ts +1 -0
  194. package/dist/internal/v2.static-test.d.ts.map +1 -0
  195. package/dist/lib.d.ts +1 -0
  196. package/dist/lib.d.ts.map +1 -0
  197. package/dist/objectHash.d.ts +1 -0
  198. package/dist/objectHash.d.ts.map +1 -0
  199. package/dist/plugins/Monetization/EndOfPeriod.vue.d.ts +1 -0
  200. package/dist/plugins/Monetization/EndOfPeriod.vue.d.ts.map +1 -0
  201. package/dist/plugins/Monetization/LimitCard.vue.d.ts +1 -0
  202. package/dist/plugins/Monetization/LimitCard.vue.d.ts.map +1 -0
  203. package/dist/plugins/Monetization/MonetizationSidebar.vue.d.ts +1 -0
  204. package/dist/plugins/Monetization/MonetizationSidebar.vue.d.ts.map +1 -0
  205. package/dist/plugins/Monetization/RunStatus.vue.d.ts +1 -0
  206. package/dist/plugins/Monetization/RunStatus.vue.d.ts.map +1 -0
  207. package/dist/plugins/Monetization/UserCabinetCard.vue.d.ts +1 -0
  208. package/dist/plugins/Monetization/UserCabinetCard.vue.d.ts.map +1 -0
  209. package/dist/plugins/Monetization/index.d.ts +1 -0
  210. package/dist/plugins/Monetization/index.d.ts.map +1 -0
  211. package/dist/plugins/Monetization/useButtonTarget.d.ts +1 -0
  212. package/dist/plugins/Monetization/useButtonTarget.d.ts.map +1 -0
  213. package/dist/plugins/Monetization/useInfo.d.ts +1 -0
  214. package/dist/plugins/Monetization/useInfo.d.ts.map +1 -0
  215. package/dist/plugins/Monetization/validation.d.ts +1 -0
  216. package/dist/plugins/Monetization/validation.d.ts.map +1 -0
  217. package/dist/types.d.ts +1 -0
  218. package/dist/types.d.ts.map +1 -0
  219. package/dist/urls.d.ts +1 -0
  220. package/dist/urls.d.ts.map +1 -0
  221. package/dist/utils.d.ts +1 -0
  222. package/dist/utils.d.ts.map +1 -0
  223. package/package.json +8 -8
  224. package/src/AgGridVue/useAgGridOptions.ts +3 -18
  225. package/src/components/PlAgDataTable/PlAgOverlayLoading.vue +19 -9
  226. package/src/components/PlAgDataTable/types.ts +4 -5
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BlockLoader.vue.d.ts","sourceRoot":"","sources":["../../src/components/BlockLoader.vue"],"names":[],"mappings":"AAgCA,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC;CACrC,CAAC;;AAkEF,wBAMG"}
@@ -1,2 +1,3 @@
1
1
  declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
2
2
  export default _default;
3
+ //# sourceMappingURL=LoaderPage.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LoaderPage.vue.d.ts","sourceRoot":"","sources":["../../src/components/LoaderPage.vue"],"names":[],"mappings":";AAmDA,wBAMG"}
@@ -1,2 +1,3 @@
1
1
  declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
2
2
  export default _default;
3
+ //# sourceMappingURL=NotFound.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NotFound.vue.d.ts","sourceRoot":"","sources":["../../src/components/NotFound.vue"],"names":[],"mappings":";AA0FA,wBAMG"}
@@ -25,3 +25,4 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
25
25
  "onUpdate:filter"?: ((value: EditableFilter) => any) | undefined;
26
26
  }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
27
27
  export default _default;
28
+ //# sourceMappingURL=FilterEditor.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FilterEditor.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PlAdvancedFilter/FilterEditor.vue"],"names":[],"mappings":"AAyaA,OAAO,EAAuD,KAAK,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEhH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAG1D,OAAO,KAAK,EAAE,cAAc,EAAE,OAAO,EAAE,wBAAwB,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAKnG,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;IACnB,aAAa,EAAE,gBAAgB,EAAE,CAAC;IAClC,gBAAgB,EAAE,OAAO,sBAAsB,CAAC;IAChD,iBAAiB,EAAE,CAAC,MAAM,EAAE;QAAE,QAAQ,EAAE,wBAAwB,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,OAAO,GAAG,OAAO,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE,KACpI,cAAc,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,GAAG,OAAO,CAAC,cAAc,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAC,CAAC;IACjF,QAAQ,EAAE,CAAC,QAAQ,EAAE,wBAAwB,KAAK,IAAI,CAAC;IACvD,eAAe,EAAE,CAAC,EAAE,EAAE,OAAO,KAAK,IAAI,CAAC;CACxC,CAAC;AAsKF,KAAK,iBAAiB,GAAG;IACzB,QAAQ,EAAE,cAAc,CAAC;CACxB,GAAG,WAAW,CAAC;;;;;;AAmZhB,wBAOG"}
@@ -6,3 +6,4 @@ type __VLS_Props = {
6
6
  };
7
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, {}, HTMLDivElement>;
8
8
  export default _default;
9
+ //# sourceMappingURL=OperandButton.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"OperandButton.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PlAdvancedFilter/OperandButton.vue"],"names":[],"mappings":"AAuDA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC;AAEvC,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,OAAO,CAAC;IAChB,QAAQ,EAAE,OAAO,CAAC;IAClB,QAAQ,EAAE,CAAC,EAAE,EAAE,OAAO,KAAK,IAAI,CAAC;CACjC,CAAC;;AA0DF,wBAOG"}
@@ -46,3 +46,4 @@ type __VLS_WithTemplateSlots<T, S> = T & {
46
46
  $slots: S;
47
47
  };
48
48
  };
49
+ //# sourceMappingURL=PlAdvancedFilter.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PlAdvancedFilter.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PlAdvancedFilter/PlAdvancedFilter.vue"],"names":[],"mappings":"AAgTA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAI3D,OAAO,EAAwC,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAC3F,OAAO,KAAK,EAA4C,wBAAwB,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAKhI,KAAK,WAAW,GAAG;IACjB,6EAA6E;IAC7E,KAAK,EAAE,gBAAgB,EAAE,CAAC;IAC1B,qCAAqC;IACrC,gBAAgB,CAAC,EAAE,OAAO,sBAAsB,CAAC;IACjD,wHAAwH;IACxH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,oEAAoE;IACpE,oBAAoB,CAAC,EAAE,OAAO,CAAC;IAC/B,yFAAyF;IACzF,iBAAiB,EAAE,CAAC,MAAM,EAAE;QAAE,QAAQ,EAAE,wBAAwB,CAAC;QAAC,OAAO,CAAC,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAC;QAAC,UAAU,EAAE,OAAO,GAAG,OAAO,CAAA;KAAE,KACpI,cAAc,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,GAAG,OAAO,CAAC,cAAc,CAAC,MAAM,GAAG,MAAM,CAAC,EAAE,CAAC,CAAC;CAClF,CAAC;AAoJF,KAAK,iBAAiB,GAAG;IACzB,SAAS,EAAE,UAAU,CAAC;CACrB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WA6QT,OAAO,IAA6B;;qCAVR,GAAG;;;;EAe5C;AA6BD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;eAjdP,OAAO;sBAFA,OAAO,sBAAsB;0BAIzB,OAAO;wFAwd9B,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AA0BpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -2,3 +2,4 @@ import { EditableFilter, SupportedFilterTypes } from './types';
2
2
  export declare const SUPPORTED_FILTER_TYPES: ("isNotNA" | "isNA" | "patternEquals" | "patternNotEquals" | "patternContainSubsequence" | "patternNotContainSubsequence" | "patternMatchesRegularExpression" | "patternFuzzyContainSubsequence" | "inSet" | "notInSet" | "topN" | "bottomN" | "equal" | "notEqual" | "lessThan" | "greaterThan" | "lessThanOrEqual" | "greaterThanOrEqual")[];
3
3
  export declare const DEFAULT_FILTER_TYPE: SupportedFilterTypes;
4
4
  export declare const DEFAULT_FILTERS: Record<SupportedFilterTypes, EditableFilter>;
5
+ //# sourceMappingURL=constants.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../src/components/PlAdvancedFilter/constants.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAA4B,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAG9F,eAAO,MAAM,sBAAsB,gVAmBP,CAAC;AAE7B,eAAO,MAAM,mBAAmB,EAAE,oBAA6B,CAAC;AAGhE,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,oBAAoB,EAAE,cAAc,CAmBxE,CAAC"}
@@ -4,3 +4,4 @@ export declare const PlAdvancedFilterSupportedFilters: ("isNotNA" | "isNA" | "pa
4
4
  export type PlAdvancedFilterItem = SourceOptionInfo;
5
5
  export type PlAdvancedFilterFilter = RootFilter;
6
6
  export { PlAdvancedFilterColumnId };
7
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/PlAdvancedFilter/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,MAAM,YAAY,CAAC;AAEzF,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AACrE,eAAO,MAAM,gCAAgC,gVAAyB,CAAC;AACvE,MAAM,MAAM,oBAAoB,GAAG,gBAAgB,CAAC;AACpD,MAAM,MAAM,sBAAsB,GAAG,UAAU,CAAC;AAChD,OAAO,EAAE,wBAAwB,EAAE,CAAC"}
@@ -51,3 +51,4 @@ export type SourceOptionInfo = {
51
51
  axesToBeFixed?: FixedAxisInfo[];
52
52
  };
53
53
  export {};
54
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/PlAdvancedFilter/types.ts"],"names":[],"mappings":"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"}
@@ -24,3 +24,4 @@ export declare function getFilterInfo(filterType: SupportedFilterTypes): {
24
24
  supportedFor: (spec: NormalizedSpecData) => boolean;
25
25
  };
26
26
  export declare function isValidColumnId(id: unknown): id is PlAdvancedFilterColumnId;
27
+ //# sourceMappingURL=utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/components/PlAdvancedFilter/utils.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAmE,SAAS,EAAE,MAAM,sBAAsB,CAAC;AACvH,OAAO,EAA6F,KAAK,QAAQ,EAAE,KAAK,WAAW,EAA4B,MAAM,sBAAsB,CAAC;AAE5L,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC;AAC1C,OAAO,EAAqB,KAAK,cAAc,EAAE,KAAK,wBAAwB,EAAE,KAAK,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAE3H,wBAAgB,QAAQ,WAEvB;AAED,wBAAgB,cAAc,CAAC,gBAAgB,EAAE,MAAM,GAAG,UAAU,CAYnE;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B,SAAS,EAAE,SAAS,CAAC;IACrB,WAAW,EAAE,WAAW,CAAC,aAAa,CAAC,CAAC;IACxC,MAAM,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC;CAC/B,CAAC;AACF,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,WAAW,GAAG,QAAQ,GAAG,kBAAkB,CAElF;AAED,wBAAgB,kBAAkB,CAAC,IAAI,CAAC,EAAE,WAAW,GAAG,QAAQ,GAAG,OAAO,CAMzE;AAED,wBAAgB,iBAAiB,CAAC,IAAI,CAAC,EAAE,WAAW,GAAG,QAAQ,GAAG,OAAO,CAMxE;AAED,wBAAgB,eAAe,CAAC,MAAM,EAAE,cAAc,GAAG,MAAM,IAAI,OAAO,CAAC,cAAc,EAAE;IACzF,IAAI,EAAE,OAAO,GACT,UAAU,GACV,UAAU,GACV,iBAAiB,GACjB,aAAa,GACb,oBAAoB,CAAC;CAC1B,CAAC,CAOD;AAED,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,cAAc,GAAG,MAAM,IAAI,OAAO,CAAC,cAAc,EAAE;IAAE,IAAI,EAAE,MAAM,GAAG,SAAS,CAAA;CAAE,CAAC,CAIxH;AAED,wBAAgB,cAAc,CAAC,MAAM,EAAE,cAAc,GAAG,MAAM,IAAI,OAAO,CAAC,cAAc,EAAE;IACxF,IAAI,EAAE,eAAe,GACjB,kBAAkB,GAClB,2BAA2B,GAC3B,8BAA8B,GAC9B,iCAAiC,GACjC,gCAAgC,CAAC;CACtC,CAAC,CAOD;AAED,wBAAgB,aAAa,CAAC,UAAU,EAAE,oBAAoB,GAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,YAAY,EAAE,CAAC,IAAI,EAAE,kBAAkB,KAAK,OAAO,CAAA;CAAE,CAEtI;AAED,wBAAgB,eAAe,CAAC,EAAE,EAAE,OAAO,GAAG,EAAE,IAAI,wBAAwB,CAU3E"}
@@ -23,3 +23,4 @@ type __VLS_Props = {
23
23
  };
24
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>;
25
25
  export default _default;
26
+ //# sourceMappingURL=PlAgCellFile.vue.d.ts.map
@@ -0,0 +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 +1,2 @@
1
1
  export { default as PlAgCellFile } from './PlAgCellFile.vue';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/PlAgCellFile/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAC"}
@@ -5,3 +5,4 @@ type __VLS_Props = {
5
5
  };
6
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>;
7
7
  export default _default;
8
+ //# sourceMappingURL=PlAgCellProgress.vue.d.ts.map
@@ -0,0 +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 +1,2 @@
1
1
  export { default as PlAgCellProgress } from './PlAgCellProgress.vue';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/PlAgCellProgress/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC"}
@@ -7,3 +7,4 @@ type __VLS_Props = {
7
7
  };
8
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>;
9
9
  export default _default;
10
+ //# sourceMappingURL=PlAgCellStatusTag.vue.d.ts.map
@@ -0,0 +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 +1,2 @@
1
1
  export { default as PlAgCellStatusTag } from './PlAgCellStatusTag.vue';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/PlAgCellStatusTag/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,yBAAyB,CAAC"}
@@ -8,3 +8,4 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
8
8
  root: HTMLDivElement;
9
9
  }, HTMLDivElement>;
10
10
  export default _default;
11
+ //# sourceMappingURL=PlAgChartHistogramCell.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PlAgChartHistogramCell.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PlAgChartHistogramCell/PlAgChartHistogramCell.vue"],"names":[],"mappings":"AAqDA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,EACL,KAAK,mBAAmB,EACxB,gBAAgB,EACjB,MAAM,uBAAuB,CAAC;AAI/B,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 +1,2 @@
1
1
  export { default as PlAgChartHistogramCell } from './PlAgChartHistogramCell.vue';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/PlAgChartHistogramCell/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,sBAAsB,EAAE,MAAM,8BAA8B,CAAC"}
@@ -5,3 +5,4 @@ type __VLS_Props = {
5
5
  };
6
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>;
7
7
  export default _default;
8
+ //# sourceMappingURL=PlAgChartStackedBarCell.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PlAgChartStackedBarCell.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PlAgChartStackedBarCell/PlAgChartStackedBarCell.vue"],"names":[],"mappings":"AAsCA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC9D,OAAO,KAAK,EACV,yBAAyB,EAC1B,MAAM,uBAAuB,CAAC;AAM/B,KAAK,WAAW,GAAG;IACjB,MAAM,EAAE,mBAAmB,CAAC,OAAO,EAAE,yBAAyB,GAAG,SAAS,CAAC,CAAC;CAC7E,CAAC;;AA8DF,wBAOG"}
@@ -1 +1,2 @@
1
1
  export { default as PlAgChartStackedBarCell } from './PlAgChartStackedBarCell.vue';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/PlAgChartStackedBarCell/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,+BAA+B,CAAC"}
@@ -7,3 +7,4 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
7
7
  menuActivatorBtn: HTMLDivElement;
8
8
  }, HTMLDivElement>;
9
9
  export default _default;
10
+ //# sourceMappingURL=PlAgColumnHeader.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PlAgColumnHeader.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PlAgColumnHeader/PlAgColumnHeader.vue"],"names":[],"mappings":"AA6EA,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;;;;AAiKzE,wBAQG"}
@@ -1,2 +1,3 @@
1
1
  export { default as PlAgColumnHeader } from './PlAgColumnHeader.vue';
2
2
  export * from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/PlAgColumnHeader/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAErE,cAAc,SAAS,CAAC"}
@@ -3,3 +3,4 @@ export type PlAgHeaderComponentParams = {
3
3
  type?: PlAgHeaderComponentType;
4
4
  tooltip?: string;
5
5
  };
6
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/PlAgColumnHeader/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,uBAAuB,GAAG,MAAM,GAAG,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,UAAU,GAAG,UAAU,CAAC;AAEpG,MAAM,MAAM,yBAAyB,GAAG;IACtC,IAAI,CAAC,EAAE,uBAAuB,CAAC;IAC/B,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
@@ -4,3 +4,4 @@ type __VLS_Props = {
4
4
  };
5
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>;
6
6
  export default _default;
7
+ //# sourceMappingURL=PlAgCsvExporter.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PlAgCsvExporter.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PlAgCsvExporter/PlAgCsvExporter.vue"],"names":[],"mappings":"AA+BA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAKlD,KAAK,WAAW,GAAG;IACjB,GAAG,EAAE,OAAO,CAAC;CACd,CAAC;;AAoFF,wBAOG"}
@@ -1,2 +1,3 @@
1
1
  import { GridApi } from 'ag-grid-enterprise';
2
2
  export declare function exportCsv(gridApi: GridApi, completed: () => void): Promise<void | GridApi<any>>;
3
+ //# sourceMappingURL=export-csv.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"export-csv.d.ts","sourceRoot":"","sources":["../../../src/components/PlAgCsvExporter/export-csv.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,OAAO,EAGb,MAAM,oBAAoB,CAAC;AAgB5B,wBAAsB,SAAS,CAAC,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,IAAI,gCAoDtE"}
@@ -1 +1,2 @@
1
1
  export { default as PlAgCsvExporter } from './PlAgCsvExporter.vue';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/PlAgCsvExporter/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC"}
@@ -28,3 +28,4 @@ type __VLS_WithTemplateSlots<T, S> = T & {
28
28
  $slots: S;
29
29
  };
30
30
  };
31
+ //# sourceMappingURL=PlAgDataTableSheets.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PlAgDataTableSheets.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PlAgDataTable/PlAgDataTableSheets.vue"],"names":[],"mappings":"AAkIA,OAAO,KAAK,EAEV,qBAAqB,EACtB,MAAM,sBAAsB,CAAC;AAQ9B,OAAO,KAAK,EACV,yBAAyB,EAE1B,MAAM,SAAS,CAAC;AAQjB,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,QAAQ,CAAC,yBAAyB,CAAC,CAAC;CAC/C,CAAC;AAwEF,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,qBAAqB,EAAE,CAAC;CACpC,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WA2DT,OAAO,IAA6B;;wBAXtB,GAAG;uBACJ,GAAG;;;;EAe7B;AAaD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;kFAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAYpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -89,3 +89,4 @@ type __VLS_WithTemplateSlots<T, S> = T & {
89
89
  $slots: S;
90
90
  };
91
91
  };
92
+ //# sourceMappingURL=PlAgDataTableV2.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PlAgDataTableV2.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PlAgDataTable/PlAgDataTableV2.vue"],"names":[],"mappings":"AA6oBA,OAAO,KAAK,EACV,MAAM,EAEN,kBAAkB,EAClB,gBAAgB,EAGhB,SAAS,EAEV,MAAM,sBAAsB,CAAC;AAS9B,OAAO,KAAK,EACV,wBAAwB,EAQzB,MAAM,oBAAoB,CAAC;AAiB5B,OAAO,KAAK,EAEV,kBAAkB,EAGlB,qBAAqB,EAItB,MAAM,SAAS,CAAC;AASjB,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,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;AAweF,KAAK,iBAAiB,GAAG;IACzB,UAAU,EAAE,kBAAkB,CAAC;IAC/B,WAAW,CAAC,EAAE,gBAAgB,CAAC;CAC9B,GAAG,WAAW,CAAC;AAMhB,iBAAS,cAAc;WAuGT,OAAO,IAA6B;;iCAXZ,GAAG;gCACJ,GAAG;;;;EAevC;AAsBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;6FASnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -7,3 +7,4 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
7
7
  refresh: (newParams: PlAgOverlayLoadingParams) => void;
8
8
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
9
9
  export default _default;
10
+ //# sourceMappingURL=PlAgOverlayLoading.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PlAgOverlayLoading.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PlAgDataTable/PlAgOverlayLoading.vue"],"names":[],"mappings":"AAmDA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAIxD,KAAK,WAAW,GAAG;IACjB,8EAA8E;IAC9E,MAAM,EAAE,wBAAwB,CAAC;CAClC,CAAC;;yBAmBqB,wBAAwB;;AA2E/C,wBAQG"}
@@ -1,41 +1,38 @@
1
- import { defineComponent as c, ref as i, createBlock as d, openBlock as r, unref as a, normalizeClass as t, withCtx as m, createElementBlock as u, createCommentVNode as y, createElementVNode as n, toDisplayString as f } from "vue";
2
- import { PlSplash as g } from "@milaboratories/uikit";
1
+ import { defineComponent as m, ref as u, computed as d, createElementBlock as l, openBlock as n, normalizeClass as r, unref as t, createBlock as f, createElementVNode as s, toDisplayString as v, mergeProps as y } from "vue";
2
+ import { PlPlaceholder as g } from "@milaboratories/uikit";
3
3
  import o from "./pl-ag-overlay-loading.module.scss.js";
4
- const k = /* @__PURE__ */ c({
4
+ const P = /* @__PURE__ */ m({
5
5
  __name: "PlAgOverlayLoading",
6
6
  props: {
7
7
  params: {}
8
8
  },
9
- setup(s, { expose: p }) {
10
- const e = i(s.params);
9
+ setup(c, { expose: p }) {
10
+ const a = u(c.params), i = d(() => {
11
+ const e = a.value.loadingText;
12
+ return e ? typeof e == "string" ? { title: e } : e : {};
13
+ });
11
14
  return p({
12
- refresh: (l) => {
13
- e.value = l;
15
+ refresh: (e) => {
16
+ a.value = e;
14
17
  }
15
- }), (l, x) => (r(), d(a(g), {
16
- loading: !e.value.notReady,
17
- type: e.value.overlayType ?? "table",
18
- "loading-text": e.value.loadingText ?? "Loading",
19
- class: t(a(o).container)
20
- }, {
21
- default: m(() => [
22
- e.value.notReady ? (r(), u("div", {
23
- key: 0,
24
- class: t(a(o).notReadyWrapper)
25
- }, [
26
- n("div", {
27
- class: t(a(o).iconCatInBag)
28
- }, null, 2),
29
- n("h3", {
30
- class: t(a(o).text)
31
- }, f(e.value.notReadyText || "No datasource"), 3)
32
- ], 2)) : y("", !0)
33
- ]),
34
- _: 1
35
- }, 8, ["loading", "type", "loading-text", "class"]));
18
+ }), (e, _) => (n(), l("div", {
19
+ class: r(t(o).container)
20
+ }, [
21
+ a.value.notReady ? (n(), l("div", {
22
+ key: 0,
23
+ class: r(t(o).notReadyWrapper)
24
+ }, [
25
+ s("div", {
26
+ class: r(t(o).iconCatInBag)
27
+ }, null, 2),
28
+ s("h3", {
29
+ class: r(t(o).text)
30
+ }, v(a.value.notReadyText || "No datasource"), 3)
31
+ ], 2)) : (n(), f(t(g), y({ key: 1 }, i.value, { variant: "table" }), null, 16))
32
+ ], 2));
36
33
  }
37
34
  });
38
35
  export {
39
- k as default
36
+ P as default
40
37
  };
41
38
  //# sourceMappingURL=PlAgOverlayLoading.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PlAgOverlayLoading.vue.js","sources":["../../../src/components/PlAgDataTable/PlAgOverlayLoading.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { PlSplash } from '@milaboratories/uikit';\nimport { ref } from 'vue';\nimport style from './pl-ag-overlay-loading.module.scss';\nimport type { PlAgOverlayLoadingParams } from './types';\n\n// @TODO move this component from this folder\n\nconst props = defineProps<{\n /** Required object that contains props from loadingOverlayComponentParams. */\n params: PlAgOverlayLoadingParams;\n}>();\n\nconst params = ref(props.params);\n\ndefineExpose({\n refresh: (newParams: PlAgOverlayLoadingParams) => {\n params.value = newParams;\n },\n});\n</script>\n\n<template>\n <PlSplash\n :loading=\"!params.notReady\"\n :type=\"params.overlayType ?? 'table'\"\n :loading-text=\"params.loadingText ?? 'Loading'\"\n :class=\"style.container\"\n >\n <div v-if=\"params.notReady\" :class=\"style.notReadyWrapper\">\n <div :class=\"style.iconCatInBag\" />\n <h3 :class=\"style.text\">{{ params.notReadyText || 'No datasource' }}</h3>\n </div>\n </PlSplash>\n</template>\n"],"names":["params","ref","__props","__expose","newParams","_createBlock","_unref","PlSplash","_normalizeClass","style","_createElementBlock","_createElementVNode","_toDisplayString"],"mappings":";;;;;;;;;AAaA,UAAMA,IAASC,EALDC,EAKW,MAAM;AAE/B,WAAAC,EAAa;AAAA,MACX,SAAS,CAACC,MAAwC;AAChD,QAAAJ,EAAO,QAAQI;AAAA,MACjB;AAAA,IAAA,CACD,mBAICC,EAUWC,EAAAC,CAAA,GAAA;AAAA,MATR,SAAO,CAAGP,EAAA,MAAO;AAAA,MACjB,MAAMA,EAAA,MAAO,eAAW;AAAA,MACxB,gBAAcA,EAAA,MAAO,eAAW;AAAA,MAChC,OAAKQ,EAAEF,EAAAG,CAAA,EAAM,SAAS;AAAA,IAAA;iBAEvB,MAGM;AAAA,QAHKT,EAAA,MAAO,iBAAlBU,EAGM,OAAA;AAAA;UAHuB,OAAKF,EAAEF,EAAAG,CAAA,EAAM,eAAe;AAAA,QAAA;UACvDE,EAAmC,OAAA;AAAA,YAA7B,OAAKH,EAAEF,EAAAG,CAAA,EAAM,YAAY;AAAA,UAAA;UAC/BE,EAAyE,MAAA;AAAA,YAApE,OAAKH,EAAEF,EAAAG,CAAA,EAAM,IAAI;AAAA,UAAA,GAAKG,EAAAZ,EAAA,MAAO,gBAAY,eAAA,GAAA,CAAA;AAAA,QAAA;;;;;;"}
1
+ {"version":3,"file":"PlAgOverlayLoading.vue.js","sources":["../../../src/components/PlAgDataTable/PlAgOverlayLoading.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { PlPlaceholder } from '@milaboratories/uikit';\nimport type { PlPlaceholderProps } from '@milaboratories/uikit';\nimport { computed, ref } from 'vue';\nimport style from './pl-ag-overlay-loading.module.scss';\nimport type { PlAgOverlayLoadingParams } from './types';\n\n// @TODO move this component from this folder\n\nconst props = defineProps<{\n /** Required object that contains props from loadingOverlayComponentParams. */\n params: PlAgOverlayLoadingParams;\n}>();\n\nconst params = ref(props.params);\n\nconst placeholderTexts = computed<\n Pick<PlPlaceholderProps, 'title' | 'subtitle'>\n>(() => {\n const loadingText = params.value.loadingText;\n if (!loadingText) {\n return {};\n }\n if (typeof loadingText === 'string') {\n return { title: loadingText };\n }\n return loadingText;\n});\n\ndefineExpose({\n refresh: (newParams: PlAgOverlayLoadingParams) => {\n params.value = newParams;\n },\n});\n</script>\n\n<template>\n <div :class=\"style.container\">\n <div v-if=\"params.notReady\" :class=\"style.notReadyWrapper\">\n <div :class=\"style.iconCatInBag\" />\n <h3 :class=\"style.text\">{{ params.notReadyText || 'No datasource' }}</h3>\n </div>\n <PlPlaceholder v-else v-bind=\"placeholderTexts\" variant=\"table\" />\n </div>\n</template>\n"],"names":["params","ref","__props","placeholderTexts","computed","loadingText","__expose","newParams","_createElementBlock","_normalizeClass","_unref","style","_createElementVNode","_toDisplayString","_openBlock","_createBlock","_mergeProps"],"mappings":";;;;;;;;;AAcA,UAAMA,IAASC,EALDC,EAKW,MAAM,GAEzBC,IAAmBC,EAEvB,MAAM;AACN,YAAMC,IAAcL,EAAO,MAAM;AACjC,aAAKK,IAGD,OAAOA,KAAgB,WAClB,EAAE,OAAOA,EAAA,IAEXA,IALE,CAAA;AAAA,IAMX,CAAC;AAED,WAAAC,EAAa;AAAA,MACX,SAAS,CAACC,MAAwC;AAChD,QAAAP,EAAO,QAAQO;AAAA,MACjB;AAAA,IAAA,CACD,mBAICC,EAMM,OAAA;AAAA,MANA,OAAKC,EAAEC,EAAAC,CAAA,EAAM,SAAS;AAAA,IAAA;MACfX,EAAA,MAAO,iBAAlBQ,EAGM,OAAA;AAAA;QAHuB,OAAKC,EAAEC,EAAAC,CAAA,EAAM,eAAe;AAAA,MAAA;QACvDC,EAAmC,OAAA;AAAA,UAA7B,OAAKH,EAAEC,EAAAC,CAAA,EAAM,YAAY;AAAA,QAAA;QAC/BC,EAAyE,MAAA;AAAA,UAApE,OAAKH,EAAEC,EAAAC,CAAA,EAAM,IAAI;AAAA,QAAA,GAAKE,EAAAb,EAAA,MAAO,gBAAY,eAAA,GAAA,CAAA;AAAA,MAAA,UAEhDc,KAAAC,EAAkEL,MAAlEM,EAAkE,EAAA,KAAA,KAApCb,SAAgB,EAAE,SAAQ,SAAO,GAAA,MAAA,EAAA;AAAA,IAAA;;;"}
@@ -6,3 +6,4 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {
6
6
  refresh: (newParams: PlAgOverlayNoRowsParams) => void;
7
7
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
8
8
  export default _default;
9
+ //# sourceMappingURL=PlAgOverlayNoRows.vue.d.ts.map
@@ -0,0 +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"}
@@ -6,3 +6,4 @@ type __VLS_Props = {
6
6
  };
7
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>;
8
8
  export default _default;
9
+ //# sourceMappingURL=PlAgRowCount.vue.d.ts.map
@@ -0,0 +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"}
@@ -5,3 +5,4 @@ export * from './types';
5
5
  export * from './sources/row-number';
6
6
  export * from './sources/focus-row';
7
7
  export * from './sources/menu-items';
8
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/PlAgDataTable/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AAEvE,cAAc,SAAS,CAAC;AACxB,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC"}
@@ -4,3 +4,4 @@ export declare const PTableHidden: {
4
4
  };
5
5
  export type PTableHidden = typeof PTableHidden;
6
6
  export declare function isPTableHidden(value: PTableValue | PTableHidden): value is PTableHidden;
7
+ //# sourceMappingURL=common.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"common.d.ts","sourceRoot":"","sources":["../../../../src/components/PlAgDataTable/sources/common.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAExD,eAAO,MAAM,YAAY;;CAA8B,CAAC;AACxD,MAAM,MAAM,YAAY,GAAG,OAAO,YAAY,CAAC;AAE/C,wBAAgB,cAAc,CAAC,KAAK,EAAE,WAAW,GAAG,YAAY,GAAG,KAAK,IAAI,YAAY,CAEvF"}
@@ -7,3 +7,4 @@ export declare class DeferredCircular<T> {
7
7
  reset(): void;
8
8
  }
9
9
  export declare function ensureNodeVisible<TData>(api: GridApi<TData>, selector: (row: IRowNode<TData>) => boolean): boolean;
10
+ //# sourceMappingURL=focus-row.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"focus-row.d.ts","sourceRoot":"","sources":["../../../../src/components/PlAgDataTable/sources/focus-row.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAC;AAkB5D,qBAAa,gBAAgB,CAAC,CAAC;IAC7B,OAAO,CAAC,QAAQ,CAA4B;IAE5C,IAAW,OAAO,IAAI,OAAO,CAAC,CAAC,CAAC,CAE/B;IAEM,OAAO,CAAC,GAAG,EAAE,CAAC,GAAG,IAAI;IAI5B,IAAW,QAAQ,IAAI,OAAO,CAE7B;IAEM,KAAK,IAAI,IAAI;CAKrB;AAED,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,GAAG,EAAE,OAAO,CAAC,KAAK,CAAC,EAAE,QAAQ,EAAE,CAAC,GAAG,EAAE,QAAQ,CAAC,KAAK,CAAC,KAAK,OAAO,GAAG,OAAO,CAkBlH"}
@@ -1,2 +1,3 @@
1
1
  import { DefaultMenuItem, MenuItemDef } from 'ag-grid-enterprise';
2
2
  export declare function defaultMainMenuItems(): (MenuItemDef | DefaultMenuItem)[];
3
+ //# sourceMappingURL=menu-items.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"menu-items.d.ts","sourceRoot":"","sources":["../../../../src/components/PlAgDataTable/sources/menu-items.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAEvE,wBAAgB,oBAAoB,IAAI,CAAC,WAAW,GAAG,eAAe,CAAC,EAAE,CAOxE"}
@@ -2,3 +2,4 @@ import { ColDef, GridApi } from 'ag-grid-enterprise';
2
2
  export declare const PlAgDataTableRowNumberColId = "\"##RowNumberColumnId##\"";
3
3
  export declare function makeRowNumberColDef<TData = any>(): ColDef<TData>;
4
4
  export declare function autoSizeRowNumberColumn(gridApi: GridApi): void;
5
+ //# sourceMappingURL=row-number.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"row-number.d.ts","sourceRoot":"","sources":["../../../../src/components/PlAgDataTable/sources/row-number.ts"],"names":[],"mappings":"AACA,OAAO,EAAwB,KAAK,MAAM,EAAE,KAAK,OAAO,EAA0B,MAAM,oBAAoB,CAAC;AAK7G,eAAO,MAAM,2BAA2B,8BAA4B,CAAC;AAKrE,wBAAgB,mBAAmB,CAAC,KAAK,GAAG,GAAG,KAAK,MAAM,CAAC,KAAK,CAAC,CA+BhE;AAqED,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,OAAO,QAoCvD"}
@@ -27,3 +27,4 @@ export type PlAgCellButtonAxisParams = {
27
27
  * Calculates column definition for a given p-table column
28
28
  */
29
29
  export declare function makeColDef(iCol: number, spec: PTableColumnSpec, labeledSpec: PTableColumnSpec, hiddenColIds: PlTableColumnIdJson[] | undefined, cellButtonAxisParams?: PlAgCellButtonAxisParams): ColDef<PlAgDataTableV2Row, PTableValue | PTableHidden>;
30
+ //# sourceMappingURL=table-source-v2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"table-source-v2.d.ts","sourceRoot":"","sources":["../../../../src/components/PlAgDataTable/sources/table-source-v2.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,QAAQ,EACR,cAAc,EACd,sBAAsB,EACtB,WAAW,EAEZ,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAKL,KAAK,YAAY,EACjB,KAAK,gBAAgB,EAErB,KAAK,MAAM,EACX,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,SAAS,EAEd,KAAK,mBAAmB,EASzB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAEV,MAAM,EACN,OAAO,EAIP,kBAAkB,EACnB,MAAM,oBAAoB,CAAC;AAI5B,OAAO,KAAK,EAAE,kBAAkB,EAAgB,MAAM,UAAU,CAAC;AACjE,OAAO,EACL,YAAY,EACb,MAAM,UAAU,CAAC;AAIlB,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE/B,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAEpD,wBAAgB,aAAa,CAAC,MAAM,EAAE,gBAAgB,GAAG,MAAM,IAAI,sBAAsB,CAExF;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,gBAAgB,GAAG,cAAc,CAaxE;AA8BD,6DAA6D;AAC7D,wBAAsB,oBAAoB,CAAC,EACzC,UAAU,EACV,QAAQ,EACR,KAAK,EACL,MAAM,EACN,mBAAmB,EACnB,YAAY,EACZ,oBAAoB,GACrB,EAAE;IACD,UAAU,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACxB,QAAQ,EAAE,YAAY,CAAC;IACvB,KAAK,EAAE,gBAAgB,CAAC;IACxB,MAAM,EAAE,gBAAgB,EAAE,CAAC;IAC3B,mBAAmB,EAAE,gBAAgB,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,CAAC;IACnE,YAAY,CAAC,EAAE,mBAAmB,EAAE,CAAC;IACrC,oBAAoB,CAAC,EAAE,wBAAwB,CAAC;CACjD,GAAG,OAAO,CAAC,IAAI,CAAC,kBAAkB,CAAC,kBAAkB,CAAC,EAAE,YAAY,GAAG,sBAAsB,CAAC,GAAG;IAAE,QAAQ,EAAE,QAAQ,CAAA;CAAE,CAAC,CAsLxH;AAED,MAAM,MAAM,wBAAwB,GAAG;IACrC,uBAAuB,CAAC,EAAE,MAAM,CAAC;IACjC,iCAAiC,CAAC,EAAE,OAAO,CAAC;IAC5C,OAAO,EAAE,CAAC,GAAG,CAAC,EAAE,SAAS,KAAK,IAAI,CAAC;CACpC,CAAC;AAEF;;GAEG;AACH,wBAAgB,UAAU,CACxB,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,gBAAgB,EACtB,WAAW,EAAE,gBAAgB,EAC7B,YAAY,EAAE,mBAAmB,EAAE,GAAG,SAAS,EAC/C,oBAAoB,CAAC,EAAE,wBAAwB,GAC9C,MAAM,CAAC,kBAAkB,EAAE,WAAW,GAAG,YAAY,CAAC,CA6ExD"}
@@ -6,3 +6,4 @@ export declare function useTableState(tableStateDenormalized: Ref<PlDataTableSta
6
6
  sheetsState: WritableComputedRef<PlDataTableSheetState[]>;
7
7
  filtersState: WritableComputedRef<PlDataTableFilterState[]>;
8
8
  };
9
+ //# sourceMappingURL=table-state-v2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"table-state-v2.d.ts","sourceRoot":"","sources":["../../../../src/components/PlAgDataTable/sources/table-state-v2.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,wBAAwB,EAC7B,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,EACvB,KAAK,sBAAsB,EAO5B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAGL,KAAK,GAAG,EACR,KAAK,mBAAmB,EACzB,MAAM,KAAK,CAAC;AACb,OAAO,KAAK,EACV,qBAAqB,EACtB,MAAM,UAAU,CAAC;AAuFlB,wBAAgB,aAAa,CAC3B,sBAAsB,EAAE,GAAG,CAAC,kBAAkB,CAAC,EAC/C,QAAQ,EAAE,GAAG,CAAC,qBAAqB,CAAC,GACnC;IACC,SAAS,EAAE,mBAAmB,CAAC,wBAAwB,CAAC,CAAC;IACzD,WAAW,EAAE,mBAAmB,CAAC,qBAAqB,EAAE,CAAC,CAAC;IAC1D,YAAY,EAAE,mBAAmB,CAAC,sBAAsB,EAAE,CAAC,CAAC;CAC7D,CAsGF"}
@@ -8,3 +8,4 @@ export type ColumnRenderingSpec = {
8
8
  fontFamily?: string;
9
9
  };
10
10
  export declare function getColumnRenderingSpec(spec: PTableColumnSpec): ColumnRenderingSpec;
11
+ //# sourceMappingURL=value-rendering.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"value-rendering.d.ts","sourceRoot":"","sources":["../../../../src/components/PlAgDataTable/sources/value-rendering.ts"],"names":[],"mappings":"AAAA,OAAO,EAML,KAAK,gBAAgB,EACrB,KAAK,WAAW,EACjB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAC;AAC7D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;AAG7C,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAEnD,wBAAgB,mBAAmB,CAAC,KAAK,EAAE,WAAW,GAAG,YAAY,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,CAUrG;AAED,MAAM,MAAM,mBAAmB,GAAG;IAChC,cAAc,EAAE,kBAAkB,CAAC,kBAAkB,EAAE,WAAW,GAAG,YAAY,CAAC,CAAC;IACnF,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,wBAAgB,sBAAsB,CAAC,IAAI,EAAE,gBAAgB,GAAG,mBAAmB,CAgClF"}
@@ -114,15 +114,14 @@ export type PlAgOverlayLoadingParams = {
114
114
  /**
115
115
  * Prop to override default "Loading" text
116
116
  */
117
- loadingText?: string;
117
+ loadingText?: string | {
118
+ title: string;
119
+ subtitle: string | string[];
120
+ };
118
121
  /**
119
122
  * Prop to override default "No datasource" text (So why props name is notReady? Good question)
120
123
  */
121
124
  notReadyText?: string;
122
- /**
123
- * Use "transparent" to make table headers visible below the loading layer
124
- */
125
- overlayType?: 'transparent';
126
125
  };
127
126
  export type PlAgOverlayNoRowsParams = {
128
127
  /**
@@ -147,3 +146,4 @@ export type PlDataTableSheetNormalized = {
147
146
  defaultValue: string | number;
148
147
  };
149
148
  export {};
149
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/components/PlAgDataTable/types.ts"],"names":[],"mappings":"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"}
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sources":["../../../src/components/PlAgDataTable/types.ts"],"sourcesContent":["import {\n type JsonCompatible,\n type AxisId,\n type CanonicalizedJson,\n type ListOptionBase,\n type PlDataTableModel,\n type PlDataTableSheet,\n type PlDataTableSheetState,\n type PlTableFilter,\n type PlTableFilterType,\n type PTableColumnId,\n type PTableColumnSpec,\n type PTableKey,\n type PTableValue,\n} from '@platforma-sdk/model';\nimport type { PTableHidden } from './sources/common';\nimport type { ComputedRef, MaybeRefOrGetter } from 'vue';\nimport { computed, toValue } from 'vue';\nimport canonicalize from 'canonicalize';\nimport { deepClone } from '@milaboratories/helpers';\n\nexport type PlDataTableFilterConfig = {\n options?: PlTableFilterType[];\n default?: PlTableFilter;\n};\n\nexport type PlDataTableSettingsV2Base =\n | { sourceId: null }\n | {\n /** Unique source id for state caching */\n sourceId: string;\n /** Sheets that we want to show in our table */\n sheets: PlDataTableSheet[];\n /** Result of `createPlDataTableV2` */\n model: PlDataTableModel | undefined;\n };\n\n/** Data table V2 settings */\nexport type PlDataTableSettingsV2 = PlDataTableSettingsV2Base & {\n /** Callback configuring filters for the table */\n filtersConfig: (info: {\n sourceId: string;\n column: PTableColumnSpec;\n }) => PlDataTableFilterConfig;\n};\n\ntype OptionsBasic = {\n /** Block output created by `createPlDataTableV2` */\n model: MaybeRefOrGetter<PlDataTableModel | undefined>;\n /**\n * Sheets for partitioned data sources.\n * Do not set if data source is never partitioned.\n */\n sheets?: MaybeRefOrGetter<PlDataTableSheet[] | undefined>;\n};\n\ntype OptionsSimple = OptionsBasic & {\n /**\n * Callback configuring filters for the table.\n * If not provided, filtering will be disabled.\n */\n filtersConfig?: (info: {\n column: PTableColumnSpec;\n }) => PlDataTableFilterConfig;\n};\n\ntype OptionsAdvanced<T> = OptionsBasic & {\n /**\n * Block property (such as inputAnchor) used to produce the data source.\n * Mandatory for cases when the table can change without block run.\n * Skip when the table is changed only after block run.\n * Ask developers for help if you don't know what to set here.\n */\n sourceId: MaybeRefOrGetter<T | undefined>;\n /**\n * Callback configuring filters for the table.\n * If not provided, filtering will be disabled.\n * Parameter `sourceId` should be compared using `isJsonEqual` from `@milaboratories/helpers`.\n */\n filtersConfig?: (info: {\n sourceId: JsonCompatible<T>;\n column: PTableColumnSpec;\n }) => PlDataTableFilterConfig;\n};\n\nexport function usePlDataTableSettingsV2<T>(options: OptionsAdvanced<T>): ComputedRef<PlDataTableSettingsV2>;\nexport function usePlDataTableSettingsV2(options: OptionsSimple): ComputedRef<PlDataTableSettingsV2>;\nexport function usePlDataTableSettingsV2<T>(options: OptionsAdvanced<T> | OptionsSimple): ComputedRef<PlDataTableSettingsV2> {\n const fc = options.filtersConfig;\n const filtersConfigValue = typeof fc === 'function'\n ? (ops: {\n sourceId: string;\n column: PTableColumnSpec;\n }) => {\n try {\n return fc({\n sourceId: JSON.parse(ops.sourceId) as JsonCompatible<T>,\n column: ops.column,\n });\n } catch (e) {\n console.error(`filtersConfig failed for sourceId: ${ops.sourceId}, column: ${JSON.stringify(ops.column)} - using default config`, e);\n return {};\n }\n }\n : () => ({});\n return computed(() => {\n const modelValue = deepClone(toValue(options.model));\n let settingsBase: PlDataTableSettingsV2Base;\n if ('sourceId' in options) {\n const sourceIdValue = deepClone(toValue(options.sourceId));\n if (options.sheets) {\n const sheetsValue = deepClone(toValue(options.sheets));\n settingsBase = sourceIdValue && sheetsValue\n ? {\n sourceId: canonicalize(sourceIdValue)!,\n sheets: sheetsValue,\n model: modelValue,\n }\n : { sourceId: null };\n } else {\n settingsBase = sourceIdValue\n ? {\n sourceId: canonicalize(sourceIdValue)!,\n sheets: [],\n model: modelValue,\n }\n : { sourceId: null };\n }\n } else {\n if (options.sheets) {\n const sheetsValue = deepClone(toValue(options.sheets));\n settingsBase = sheetsValue\n ? {\n sourceId: canonicalize('static')!,\n sheets: sheetsValue,\n model: modelValue,\n }\n : { sourceId: null };\n } else {\n settingsBase = modelValue\n ? {\n sourceId: canonicalize('static')!,\n sheets: [],\n model: modelValue,\n }\n : { sourceId: null };\n }\n }\n return {\n ...settingsBase,\n filtersConfig: filtersConfigValue,\n };\n });\n};\n\n/** PlTableFilters restriction entry */\nexport type PlTableFiltersRestriction = {\n /** Spec of the column for which filter types should be restricted */\n column: PTableColumnId;\n /** List of filter types applicable to the column */\n allowedFilterTypes: PlTableFilterType[];\n};\n\n/** PlTableFilters default settings entry */\nexport type PlTableFiltersDefault = {\n /** Spec of the column the default should be applied */\n column: PTableColumnId;\n /** Filter entry */\n default: PlTableFilter;\n};\n\n/** PlAgDataTable controller contains all exported methods */\nexport type PlAgDataTableV2Controller = {\n /**\n * Scroll table to make row with provided key visible\n * Warning: works reliably only in client side mode.\n * @returns `true` if row was found and focused, `false` otherwise\n */\n focusRow: (rowKey: PTableKey) => Promise<boolean>;\n /**\n * Update selection in the table.\n * @param axesIds - axes ids identifying axes key values in `selectedKeys`\n * @param selectedKeys - axes keys of the rows to select\n * Warning: update will be ignored if axes ids cannot be correctly resolved\n * @returns `true` if selection was updated, `false` otherwise\n */\n updateSelection: ({\n axesSpec,\n selectedKeys,\n }: {\n axesSpec: AxisId[];\n selectedKeys: PTableKey[];\n }) => Promise<boolean>;\n};\n\nexport type PlTableRowId = PTableKey;\n\nexport type PlTableRowIdJson = CanonicalizedJson<PTableKey>;\n\n/** PlAgDataTableV2 row */\nexport type PlAgDataTableV2Row = {\n /** Axes key */\n axesKey: PTableKey;\n /** Unique row identifier */\n id: PlTableRowIdJson;\n /** Row values by column; sheet axes and labeled axes are excluded */\n [field: `${number}`]: PTableValue | PTableHidden;\n};\n\nexport type PlAgOverlayLoadingParams = {\n /**\n * Required flag, that shows catInBag icon with message if `true`, shows PlSplash component if `false`.\n */\n notReady?: boolean;\n /**\n * Prop to override default \"Loading\" text\n */\n loadingText?: string;\n /**\n * Prop to override default \"No datasource\" text (So why props name is notReady? Good question)\n */\n notReadyText?: string;\n /**\n * Use \"transparent\" to make table headers visible below the loading layer\n */\n overlayType?: 'transparent';\n};\n\nexport type PlAgOverlayNoRowsParams = {\n /**\n * Prop to override default \"Empty\" text\n */\n text?: string;\n};\n\nexport type PlDataTableSheetsSettings = {\n /** User-provided sheets for the sourceId */\n sheets: PlDataTableSheet[];\n /** Persisted selection for the sourceId */\n cachedState: PlDataTableSheetState[];\n};\n\nexport type PlDataTableSheetNormalized = {\n /** id of the axis */\n axisId: AxisId;\n /** sheet prefix */\n prefix: string;\n /** options to show in the filter dropdown */\n options: ListOptionBase<string | number>[];\n /** default (selected) value */\n defaultValue: string | number;\n};\n"],"names":["usePlDataTableSettingsV2","options","fc","filtersConfigValue","ops","e","computed","modelValue","deepClone","toValue","settingsBase","sourceIdValue","sheetsValue","canonicalize"],"mappings":";;;AAuFO,SAASA,EAA4BC,GAAiF;AAC3H,QAAMC,IAAKD,EAAQ,eACbE,IAAqB,OAAOD,KAAO,aACrC,CAACE,MAGK;AACJ,QAAI;AACF,aAAOF,EAAG;AAAA,QACR,UAAU,KAAK,MAAME,EAAI,QAAQ;AAAA,QACjC,QAAQA,EAAI;AAAA,MAAA,CACb;AAAA,IACH,SAASC,GAAG;AACV,qBAAQ,MAAM,sCAAsCD,EAAI,QAAQ,aAAa,KAAK,UAAUA,EAAI,MAAM,CAAC,2BAA2BC,CAAC,GAC5H,CAAA;AAAA,IACT;AAAA,EACF,IACA,OAAO,CAAA;AACX,SAAOC,EAAS,MAAM;AACpB,UAAMC,IAAaC,EAAUC,EAAQR,EAAQ,KAAK,CAAC;AACnD,QAAIS;AACJ,QAAI,cAAcT,GAAS;AACzB,YAAMU,IAAgBH,EAAUC,EAAQR,EAAQ,QAAQ,CAAC;AACzD,UAAIA,EAAQ,QAAQ;AAClB,cAAMW,IAAcJ,EAAUC,EAAQR,EAAQ,MAAM,CAAC;AACrD,QAAAS,IAAeC,KAAiBC,IAC5B;AAAA,UACE,UAAUC,EAAaF,CAAa;AAAA,UACpC,QAAQC;AAAA,UACR,OAAOL;AAAA,QAAA,IAET,EAAE,UAAU,KAAA;AAAA,MAClB;AACE,QAAAG,IAAeC,IACX;AAAA,UACE,UAAUE,EAAaF,CAAa;AAAA,UACpC,QAAQ,CAAA;AAAA,UACR,OAAOJ;AAAA,QAAA,IAET,EAAE,UAAU,KAAA;AAAA,IAEpB,WACMN,EAAQ,QAAQ;AAClB,YAAMW,IAAcJ,EAAUC,EAAQR,EAAQ,MAAM,CAAC;AACrD,MAAAS,IAAeE,IACX;AAAA,QACE,UAAUC,EAAa,QAAQ;AAAA,QAC/B,QAAQD;AAAA,QACR,OAAOL;AAAA,MAAA,IAET,EAAE,UAAU,KAAA;AAAA,IAClB;AACE,MAAAG,IAAeH,IACX;AAAA,QACE,UAAUM,EAAa,QAAQ;AAAA,QAC/B,QAAQ,CAAA;AAAA,QACR,OAAON;AAAA,MAAA,IAET,EAAE,UAAU,KAAA;AAGpB,WAAO;AAAA,MACL,GAAGG;AAAA,MACH,eAAeP;AAAA,IAAA;AAAA,EAEnB,CAAC;AACH;"}
1
+ {"version":3,"file":"types.js","sources":["../../../src/components/PlAgDataTable/types.ts"],"sourcesContent":["import {\n type JsonCompatible,\n type AxisId,\n type CanonicalizedJson,\n type ListOptionBase,\n type PlDataTableModel,\n type PlDataTableSheet,\n type PlDataTableSheetState,\n type PlTableFilter,\n type PlTableFilterType,\n type PTableColumnId,\n type PTableColumnSpec,\n type PTableKey,\n type PTableValue,\n} from '@platforma-sdk/model';\nimport type { PTableHidden } from './sources/common';\nimport type { ComputedRef, MaybeRefOrGetter } from 'vue';\nimport { computed, toValue } from 'vue';\nimport canonicalize from 'canonicalize';\nimport { deepClone } from '@milaboratories/helpers';\n\nexport type PlDataTableFilterConfig = {\n options?: PlTableFilterType[];\n default?: PlTableFilter;\n};\n\nexport type PlDataTableSettingsV2Base =\n | { sourceId: null }\n | {\n /** Unique source id for state caching */\n sourceId: string;\n /** Sheets that we want to show in our table */\n sheets: PlDataTableSheet[];\n /** Result of `createPlDataTableV2` */\n model: PlDataTableModel | undefined;\n };\n\n/** Data table V2 settings */\nexport type PlDataTableSettingsV2 = PlDataTableSettingsV2Base & {\n /** Callback configuring filters for the table */\n filtersConfig: (info: {\n sourceId: string;\n column: PTableColumnSpec;\n }) => PlDataTableFilterConfig;\n};\n\ntype OptionsBasic = {\n /** Block output created by `createPlDataTableV2` */\n model: MaybeRefOrGetter<PlDataTableModel | undefined>;\n /**\n * Sheets for partitioned data sources.\n * Do not set if data source is never partitioned.\n */\n sheets?: MaybeRefOrGetter<PlDataTableSheet[] | undefined>;\n};\n\ntype OptionsSimple = OptionsBasic & {\n /**\n * Callback configuring filters for the table.\n * If not provided, filtering will be disabled.\n */\n filtersConfig?: (info: {\n column: PTableColumnSpec;\n }) => PlDataTableFilterConfig;\n};\n\ntype OptionsAdvanced<T> = OptionsBasic & {\n /**\n * Block property (such as inputAnchor) used to produce the data source.\n * Mandatory for cases when the table can change without block run.\n * Skip when the table is changed only after block run.\n * Ask developers for help if you don't know what to set here.\n */\n sourceId: MaybeRefOrGetter<T | undefined>;\n /**\n * Callback configuring filters for the table.\n * If not provided, filtering will be disabled.\n * Parameter `sourceId` should be compared using `isJsonEqual` from `@milaboratories/helpers`.\n */\n filtersConfig?: (info: {\n sourceId: JsonCompatible<T>;\n column: PTableColumnSpec;\n }) => PlDataTableFilterConfig;\n};\n\nexport function usePlDataTableSettingsV2<T>(options: OptionsAdvanced<T>): ComputedRef<PlDataTableSettingsV2>;\nexport function usePlDataTableSettingsV2(options: OptionsSimple): ComputedRef<PlDataTableSettingsV2>;\nexport function usePlDataTableSettingsV2<T>(options: OptionsAdvanced<T> | OptionsSimple): ComputedRef<PlDataTableSettingsV2> {\n const fc = options.filtersConfig;\n const filtersConfigValue = typeof fc === 'function'\n ? (ops: {\n sourceId: string;\n column: PTableColumnSpec;\n }) => {\n try {\n return fc({\n sourceId: JSON.parse(ops.sourceId) as JsonCompatible<T>,\n column: ops.column,\n });\n } catch (e) {\n console.error(`filtersConfig failed for sourceId: ${ops.sourceId}, column: ${JSON.stringify(ops.column)} - using default config`, e);\n return {};\n }\n }\n : () => ({});\n return computed(() => {\n const modelValue = deepClone(toValue(options.model));\n let settingsBase: PlDataTableSettingsV2Base;\n if ('sourceId' in options) {\n const sourceIdValue = deepClone(toValue(options.sourceId));\n if (options.sheets) {\n const sheetsValue = deepClone(toValue(options.sheets));\n settingsBase = sourceIdValue && sheetsValue\n ? {\n sourceId: canonicalize(sourceIdValue)!,\n sheets: sheetsValue,\n model: modelValue,\n }\n : { sourceId: null };\n } else {\n settingsBase = sourceIdValue\n ? {\n sourceId: canonicalize(sourceIdValue)!,\n sheets: [],\n model: modelValue,\n }\n : { sourceId: null };\n }\n } else {\n if (options.sheets) {\n const sheetsValue = deepClone(toValue(options.sheets));\n settingsBase = sheetsValue\n ? {\n sourceId: canonicalize('static')!,\n sheets: sheetsValue,\n model: modelValue,\n }\n : { sourceId: null };\n } else {\n settingsBase = modelValue\n ? {\n sourceId: canonicalize('static')!,\n sheets: [],\n model: modelValue,\n }\n : { sourceId: null };\n }\n }\n return {\n ...settingsBase,\n filtersConfig: filtersConfigValue,\n };\n });\n};\n\n/** PlTableFilters restriction entry */\nexport type PlTableFiltersRestriction = {\n /** Spec of the column for which filter types should be restricted */\n column: PTableColumnId;\n /** List of filter types applicable to the column */\n allowedFilterTypes: PlTableFilterType[];\n};\n\n/** PlTableFilters default settings entry */\nexport type PlTableFiltersDefault = {\n /** Spec of the column the default should be applied */\n column: PTableColumnId;\n /** Filter entry */\n default: PlTableFilter;\n};\n\n/** PlAgDataTable controller contains all exported methods */\nexport type PlAgDataTableV2Controller = {\n /**\n * Scroll table to make row with provided key visible\n * Warning: works reliably only in client side mode.\n * @returns `true` if row was found and focused, `false` otherwise\n */\n focusRow: (rowKey: PTableKey) => Promise<boolean>;\n /**\n * Update selection in the table.\n * @param axesIds - axes ids identifying axes key values in `selectedKeys`\n * @param selectedKeys - axes keys of the rows to select\n * Warning: update will be ignored if axes ids cannot be correctly resolved\n * @returns `true` if selection was updated, `false` otherwise\n */\n updateSelection: ({\n axesSpec,\n selectedKeys,\n }: {\n axesSpec: AxisId[];\n selectedKeys: PTableKey[];\n }) => Promise<boolean>;\n};\n\nexport type PlTableRowId = PTableKey;\n\nexport type PlTableRowIdJson = CanonicalizedJson<PTableKey>;\n\n/** PlAgDataTableV2 row */\nexport type PlAgDataTableV2Row = {\n /** Axes key */\n axesKey: PTableKey;\n /** Unique row identifier */\n id: PlTableRowIdJson;\n /** Row values by column; sheet axes and labeled axes are excluded */\n [field: `${number}`]: PTableValue | PTableHidden;\n};\n\nexport type PlAgOverlayLoadingParams = {\n /**\n * Required flag, that shows catInBag icon with message if `true`, shows PlSplash component if `false`.\n */\n notReady?: boolean;\n /**\n * Prop to override default \"Loading\" text\n */\n loadingText?: string | {\n title: string;\n subtitle: string | string[];\n };\n /**\n * Prop to override default \"No datasource\" text (So why props name is notReady? Good question)\n */\n notReadyText?: string;\n};\n\nexport type PlAgOverlayNoRowsParams = {\n /**\n * Prop to override default \"Empty\" text\n */\n text?: string;\n};\n\nexport type PlDataTableSheetsSettings = {\n /** User-provided sheets for the sourceId */\n sheets: PlDataTableSheet[];\n /** Persisted selection for the sourceId */\n cachedState: PlDataTableSheetState[];\n};\n\nexport type PlDataTableSheetNormalized = {\n /** id of the axis */\n axisId: AxisId;\n /** sheet prefix */\n prefix: string;\n /** options to show in the filter dropdown */\n options: ListOptionBase<string | number>[];\n /** default (selected) value */\n defaultValue: string | number;\n};\n"],"names":["usePlDataTableSettingsV2","options","fc","filtersConfigValue","ops","e","computed","modelValue","deepClone","toValue","settingsBase","sourceIdValue","sheetsValue","canonicalize"],"mappings":";;;AAuFO,SAASA,EAA4BC,GAAiF;AAC3H,QAAMC,IAAKD,EAAQ,eACbE,IAAqB,OAAOD,KAAO,aACrC,CAACE,MAGK;AACJ,QAAI;AACF,aAAOF,EAAG;AAAA,QACR,UAAU,KAAK,MAAME,EAAI,QAAQ;AAAA,QACjC,QAAQA,EAAI;AAAA,MAAA,CACb;AAAA,IACH,SAASC,GAAG;AACV,qBAAQ,MAAM,sCAAsCD,EAAI,QAAQ,aAAa,KAAK,UAAUA,EAAI,MAAM,CAAC,2BAA2BC,CAAC,GAC5H,CAAA;AAAA,IACT;AAAA,EACF,IACA,OAAO,CAAA;AACX,SAAOC,EAAS,MAAM;AACpB,UAAMC,IAAaC,EAAUC,EAAQR,EAAQ,KAAK,CAAC;AACnD,QAAIS;AACJ,QAAI,cAAcT,GAAS;AACzB,YAAMU,IAAgBH,EAAUC,EAAQR,EAAQ,QAAQ,CAAC;AACzD,UAAIA,EAAQ,QAAQ;AAClB,cAAMW,IAAcJ,EAAUC,EAAQR,EAAQ,MAAM,CAAC;AACrD,QAAAS,IAAeC,KAAiBC,IAC5B;AAAA,UACE,UAAUC,EAAaF,CAAa;AAAA,UACpC,QAAQC;AAAA,UACR,OAAOL;AAAA,QAAA,IAET,EAAE,UAAU,KAAA;AAAA,MAClB;AACE,QAAAG,IAAeC,IACX;AAAA,UACE,UAAUE,EAAaF,CAAa;AAAA,UACpC,QAAQ,CAAA;AAAA,UACR,OAAOJ;AAAA,QAAA,IAET,EAAE,UAAU,KAAA;AAAA,IAEpB,WACMN,EAAQ,QAAQ;AAClB,YAAMW,IAAcJ,EAAUC,EAAQR,EAAQ,MAAM,CAAC;AACrD,MAAAS,IAAeE,IACX;AAAA,QACE,UAAUC,EAAa,QAAQ;AAAA,QAC/B,QAAQD;AAAA,QACR,OAAOL;AAAA,MAAA,IAET,EAAE,UAAU,KAAA;AAAA,IAClB;AACE,MAAAG,IAAeH,IACX;AAAA,QACE,UAAUM,EAAa,QAAQ;AAAA,QAC/B,QAAQ,CAAA;AAAA,QACR,OAAON;AAAA,MAAA,IAET,EAAE,UAAU,KAAA;AAGpB,WAAO;AAAA,MACL,GAAGG;AAAA,MACH,eAAeP;AAAA,IAAA;AAAA,EAEnB,CAAC;AACH;"}