@platforma-sdk/ui-vue 1.37.13 → 1.37.15

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 (46) hide show
  1. package/.turbo/turbo-build.log +24 -20
  2. package/.turbo/turbo-type-check.log +1 -1
  3. package/CHANGELOG.md +14 -0
  4. package/dist/AgGridVue/createAgGridColDef.d.ts.map +1 -1
  5. package/dist/AgGridVue/createAgGridColDef.js.map +1 -1
  6. package/dist/components/PlAgDataTable/PlAgDataTableV2.vue.d.ts.map +1 -1
  7. package/dist/components/PlAgDataTable/PlAgDataTableV2.vue2.js +87 -67
  8. package/dist/components/PlAgDataTable/PlAgDataTableV2.vue2.js.map +1 -1
  9. package/dist/components/PlAgDataTable/PlAgOverlayLoading.vue.d.ts +4 -4
  10. package/dist/components/PlAgDataTable/PlAgOverlayLoading.vue.d.ts.map +1 -1
  11. package/dist/components/PlAgDataTable/PlAgOverlayLoading.vue.js +23 -18
  12. package/dist/components/PlAgDataTable/PlAgOverlayLoading.vue.js.map +1 -1
  13. package/dist/components/PlAgDataTable/PlAgOverlayNoRows.vue.d.ts +3 -1
  14. package/dist/components/PlAgDataTable/PlAgOverlayNoRows.vue.d.ts.map +1 -1
  15. package/dist/components/PlAgDataTable/PlAgOverlayNoRows.vue.js +12 -7
  16. package/dist/components/PlAgDataTable/PlAgOverlayNoRows.vue.js.map +1 -1
  17. package/dist/lib/ui/uikit/dist/components/DataTable/TableComponent.vue.js +1 -1
  18. package/dist/lib/ui/uikit/dist/components/PlAccordion/PlAccordionSection.vue2.js +27 -27
  19. package/dist/lib/ui/uikit/dist/components/PlAccordion/PlAccordionSection.vue2.js.map +1 -1
  20. package/dist/lib/ui/uikit/dist/components/PlAutocomplete/PlAutocomplete.vue.js.map +1 -1
  21. package/dist/lib/ui/uikit/dist/components/PlDropdown/OptionList.vue.js +88 -0
  22. package/dist/lib/ui/uikit/dist/components/PlDropdown/OptionList.vue.js.map +1 -0
  23. package/dist/lib/ui/uikit/dist/components/PlDropdown/PlDropdown.vue.js +105 -117
  24. package/dist/lib/ui/uikit/dist/components/PlDropdown/PlDropdown.vue.js.map +1 -1
  25. package/dist/lib/ui/uikit/dist/components/PlDropdown/useGroupBy.js +33 -0
  26. package/dist/lib/ui/uikit/dist/components/PlDropdown/useGroupBy.js.map +1 -0
  27. package/dist/lib/ui/uikit/dist/components/PlDropdownRef/PlDropdownRef.vue.js +8 -7
  28. package/dist/lib/ui/uikit/dist/components/PlDropdownRef/PlDropdownRef.vue.js.map +1 -1
  29. package/dist/lib/ui/uikit/dist/components/PlFileDialog/Remote.vue.js +4 -4
  30. package/dist/lib/ui/uikit/dist/components/PlSlideModal/PlSlideModal.vue.js +1 -1
  31. package/dist/lib/ui/uikit/dist/helpers/utils.js +2 -1
  32. package/dist/lib/ui/uikit/dist/helpers/utils.js.map +1 -1
  33. package/dist/lib/ui/uikit/dist/sdk/model/dist/index.js +1 -1
  34. package/dist/lib/ui/uikit/dist/sdk/model/dist/index.js.map +1 -1
  35. package/dist/lib/ui/uikit/dist/utils/TextLabel.vue.js +26 -0
  36. package/dist/lib/ui/uikit/dist/utils/TextLabel.vue.js.map +1 -0
  37. package/dist/lib/ui/uikit/dist/utils/TextLabel.vue2.js +22 -0
  38. package/dist/lib/ui/uikit/dist/utils/TextLabel.vue2.js.map +1 -0
  39. package/dist/plugins/Monetization/MonetizationSidebar.vue.js +2 -2
  40. package/dist/sdk/model/dist/index.js +1 -1
  41. package/dist/sdk/model/dist/index.js.map +1 -1
  42. package/package.json +6 -6
  43. package/src/AgGridVue/createAgGridColDef.ts +2 -1
  44. package/src/components/PlAgDataTable/PlAgDataTableV2.vue +23 -0
  45. package/src/components/PlAgDataTable/PlAgOverlayLoading.vue +12 -5
  46. package/src/components/PlAgDataTable/PlAgOverlayNoRows.vue +10 -1
@@ -1,16 +1,16 @@
1
1
   WARN  Issue while reading "/home/runner/_work/platforma/platforma/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
2
2
 
3
- > @platforma-sdk/ui-vue@1.37.13 build /home/runner/_work/platforma/platforma/sdk/ui-vue
3
+ > @platforma-sdk/ui-vue@1.37.15 build /home/runner/_work/platforma/platforma/sdk/ui-vue
4
4
  > vite build
5
5
 
6
6
  vite v6.3.5 building for production...
7
7
  transforming...
8
- ✓ 899 modules transformed.
8
+ ✓ 903 modules transformed.
9
9
  rendering chunks...
10
10
 
11
11
  [vite:dts] Start generate declaration files...
12
12
  computing gzip size...
13
- [vite:dts] Declaration files built in 5127ms.
13
+ [vite:dts] Declaration files built in 4555ms.
14
14
 
15
15
  dist/_virtual/re.js  0.08 kB │ gzip: 0.10 kB │ map: 0.09 kB
16
16
  dist/_virtual/lodash2.js  0.09 kB │ gzip: 0.10 kB │ map: 0.09 kB
@@ -40,18 +40,18 @@ computing gzip size...
40
40
  dist/components/PlTableFilters/PlTableFilters.vue2.js  0.12 kB │ gzip: 0.12 kB │ map: 0.10 kB
41
41
  dist/components/PlAgCsvExporter/PlAgCsvExporter.vue2.js  0.12 kB │ gzip: 0.12 kB │ map: 0.11 kB
42
42
  dist/lib/ui/uikit/dist/helpers/math.js  0.12 kB │ gzip: 0.13 kB │ map: 0.36 kB
43
- dist/components/PlAgColumnHeader/PlAgColumnHeader.vue2.js  0.12 kB │ gzip: 0.12 kB │ map: 0.11 kB
44
43
  dist/components/PlAgCellProgress/PlAgCellProgress.vue2.js  0.12 kB │ gzip: 0.12 kB │ map: 0.11 kB
44
+ dist/components/PlAgColumnHeader/PlAgColumnHeader.vue2.js  0.12 kB │ gzip: 0.12 kB │ map: 0.11 kB
45
45
  dist/components/PlAgRowNumHeader.vue2.js  0.12 kB │ gzip: 0.12 kB │ map: 0.11 kB
46
46
  dist/components/PlTableFilters/PlTableAddFilter.vue2.js  0.12 kB │ gzip: 0.12 kB │ map: 0.11 kB
47
47
  dist/lib/ui/uikit/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/constant.js  0.12 kB │ gzip: 0.12 kB │ map: 0.40 kB
48
48
  dist/lib/ui/uikit/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/constant.js  0.12 kB │ gzip: 0.12 kB │ map: 0.40 kB
49
49
  dist/components/PlAgDataTable/PlAgOverlayLoading.vue2.js  0.12 kB │ gzip: 0.12 kB │ map: 0.11 kB
50
- dist/components/PlAgRowNumCheckbox/PlAgRowNumCheckbox.vue2.js  0.12 kB │ gzip: 0.12 kB │ map: 0.11 kB
51
50
  dist/components/PlTableFilters/PlTableFilterEntry.vue2.js  0.12 kB │ gzip: 0.12 kB │ map: 0.11 kB
51
+ dist/components/PlAgRowNumCheckbox/PlAgRowNumCheckbox.vue2.js  0.12 kB │ gzip: 0.12 kB │ map: 0.11 kB
52
52
  dist/plugins/Monetization/MonetizationSidebar.vue2.js  0.13 kB │ gzip: 0.12 kB │ map: 0.11 kB
53
- dist/components/PlAgGridColumnManager/PlAgGridColumnManager.vue2.js  0.13 kB │ gzip: 0.12 kB │ map: 0.11 kB
54
53
  dist/components/PlAgTextAndButtonCell/PlAgTextAndButtonCell.vue2.js  0.13 kB │ gzip: 0.12 kB │ map: 0.11 kB
54
+ dist/components/PlAgGridColumnManager/PlAgGridColumnManager.vue2.js  0.13 kB │ gzip: 0.12 kB │ map: 0.11 kB
55
55
  dist/lib/ui/uikit/dist/components/PlRadio/keys.js  0.13 kB │ gzip: 0.13 kB │ map: 0.46 kB
56
56
  dist/lib/ui/uikit/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/size.js  0.13 kB │ gzip: 0.13 kB │ map: 0.49 kB
57
57
  dist/components/ValueOrErrorsComponent.vue2.js  0.13 kB │ gzip: 0.12 kB │ map: 0.11 kB
@@ -137,8 +137,8 @@ computing gzip size...
137
137
  dist/lib/ui/uikit/dist/assets/icons/icon-assets-min/24_linetype-solid.svg.js  0.26 kB │ gzip: 0.22 kB │ map: 0.48 kB
138
138
  dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/defaultLocale.js  0.26 kB │ gzip: 0.21 kB │ map: 0.87 kB
139
139
  dist/lib/ui/uikit/dist/assets/icons/icon-assets-min/24_color-stroke.svg.js  0.26 kB │ gzip: 0.22 kB │ map: 0.49 kB
140
- dist/lib/ui/uikit/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/init.js  0.26 kB │ gzip: 0.18 kB │ map: 1.11 kB
141
140
  dist/lib/ui/uikit/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/selection.js  0.26 kB │ gzip: 0.20 kB │ map: 0.60 kB
141
+ dist/lib/ui/uikit/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/init.js  0.26 kB │ gzip: 0.18 kB │ map: 1.11 kB
142
142
  dist/lib/ui/uikit/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/node.js  0.26 kB │ gzip: 0.19 kB │ map: 0.82 kB
143
143
  dist/lib/ui/uikit/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/select.js  0.26 kB │ gzip: 0.20 kB │ map: 0.73 kB
144
144
  dist/lib/ui/uikit/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/each.js  0.26 kB │ gzip: 0.21 kB │ map: 0.88 kB
@@ -471,7 +471,6 @@ computing gzip size...
471
471
  dist/lib/ui/uikit/dist/composition/useFormState.js  0.57 kB │ gzip: 0.32 kB │ map: 1.70 kB
472
472
  dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatTypes.js  0.57 kB │ gzip: 0.30 kB │ map: 1.58 kB
473
473
  dist/lib/ui/uikit/dist/node_modules/.pnpm/d3-format@3.1.0/node_modules/d3-format/src/formatTypes.js  0.57 kB │ gzip: 0.30 kB │ map: 1.60 kB
474
- dist/components/PlAgDataTable/PlAgOverlayNoRows.vue.js  0.57 kB │ gzip: 0.38 kB │ map: 0.12 kB
475
474
  dist/lib/ui/uikit/dist/assets/icons/icon-assets-min/24_pin.svg.js  0.57 kB │ gzip: 0.36 kB │ map: 0.77 kB
476
475
  dist/lib/ui/uikit/dist/components/PlSvg/PlSvg.vue3.js  0.58 kB │ gzip: 0.34 kB │ map: 0.11 kB
477
476
  dist/lib/ui/uikit/dist/assets/icons/icon-assets-min/16_cell-type-subset.svg.js  0.58 kB │ gzip: 0.37 kB │ map: 0.80 kB
@@ -523,6 +522,7 @@ computing gzip size...
523
522
  dist/lib/ui/uikit/dist/components/PlFileDialog/utils.js  0.66 kB │ gzip: 0.42 kB │ map: 2.48 kB
524
523
  dist/lib/ui/uikit/dist/assets/icons/icon-assets-min/24_filter.svg.js  0.66 kB │ gzip: 0.40 kB │ map: 0.89 kB
525
524
  dist/lib/ui/uikit/dist/components/PlRadio/PlRadioGroup.vue3.js  0.66 kB │ gzip: 0.42 kB │ map: 0.12 kB
525
+ dist/lib/ui/uikit/dist/utils/TextLabel.vue.js  0.66 kB │ gzip: 0.38 kB │ map: 1.26 kB
526
526
  dist/lib/ui/uikit/dist/composition/useQuery.js  0.66 kB │ gzip: 0.36 kB │ map: 1.55 kB
527
527
  dist/lib/ui/uikit/dist/components/PlElementList/PlElementList.vue3.js  0.67 kB │ gzip: 0.42 kB │ map: 0.12 kB
528
528
  dist/lib/ui/uikit/dist/assets/icons/icon-assets-min/24_cpu.svg.js  0.67 kB │ gzip: 0.38 kB │ map: 0.87 kB
@@ -532,6 +532,7 @@ computing gzip size...
532
532
  dist/lib/ui/uikit/dist/assets/icons/icon-assets-min/24_layers.svg.js  0.68 kB │ gzip: 0.36 kB │ map: 0.91 kB
533
533
  dist/lib/ui/uikit/dist/components/PlAccordion/PlAccordion.vue.js  0.68 kB │ gzip: 0.42 kB │ map: 0.86 kB
534
534
  dist/lib/ui/uikit/dist/assets/icons/icon-assets-min/24_venn.svg.js  0.69 kB │ gzip: 0.45 kB │ map: 0.91 kB
535
+ dist/components/PlAgDataTable/PlAgOverlayNoRows.vue.js  0.69 kB │ gzip: 0.44 kB │ map: 1.47 kB
535
536
  dist/components/PlAgDataTableToolsPanel/useDataTableToolsPanelTarget.js  0.69 kB │ gzip: 0.39 kB │ map: 1.38 kB
536
537
  dist/lib/ui/uikit/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/select.js  0.69 kB │ gzip: 0.41 kB │ map: 1.90 kB
537
538
  dist/lib/ui/uikit/dist/assets/icons/icon-assets-min/24_calendar.svg.js  0.70 kB │ gzip: 0.35 kB │ map: 0.97 kB
@@ -552,6 +553,7 @@ computing gzip size...
552
553
  dist/lib/ui/uikit/dist/components/contextMenu/Menu.vue2.js  0.74 kB │ gzip: 0.46 kB │ map: 2.11 kB
553
554
  dist/lib/ui/uikit/dist/assets/icons/icon-assets-min/24_graph.svg.js  0.74 kB │ gzip: 0.39 kB │ map: 0.97 kB
554
555
  dist/lib/ui/uikit/dist/assets/icons/icon-assets-min/24_bar-trend.svg.js  0.75 kB │ gzip: 0.40 kB │ map: 1.00 kB
556
+ dist/lib/ui/uikit/dist/components/PlDropdown/useGroupBy.js  0.75 kB │ gzip: 0.41 kB │ map: 2.49 kB
555
557
  dist/lib/ui/uikit/dist/assets/icons/icon-assets-min/24_delete-bin.svg.js  0.75 kB │ gzip: 0.39 kB │ map: 1.03 kB
556
558
  dist/node_modules/.pnpm/semver@7.7.2/node_modules/semver/functions/diff.js  0.75 kB │ gzip: 0.39 kB │ map: 2.46 kB
557
559
  dist/lib/ui/uikit/dist/assets/icons/icon-assets-min/24_help-outline.svg.js  0.75 kB │ gzip: 0.48 kB │ map: 0.97 kB
@@ -598,6 +600,7 @@ computing gzip size...
598
600
  dist/lib/ui/uikit/dist/layout/PlGrid/PlGrid.vue.js  0.92 kB │ gzip: 0.56 kB │ map: 0.84 kB
599
601
  dist/lib/ui/uikit/dist/utils/useLabelNotch.js  0.93 kB │ gzip: 0.51 kB │ map: 2.38 kB
600
602
  dist/lib/ui/uikit/dist/assets/icons/icon-assets-min/24_view-show.svg.js  0.93 kB │ gzip: 0.55 kB │ map: 1.14 kB
603
+ dist/lib/ui/uikit/dist/utils/TextLabel.vue2.js  0.93 kB │ gzip: 0.53 kB │ map: 0.11 kB
601
604
  dist/lib/ui/uikit/dist/components/PlChartHistogram/PlChartHistogram.vue3.js  0.93 kB │ gzip: 0.56 kB │ map: 0.12 kB
602
605
  dist/lib/ui/uikit/dist/assets/icons/icon-assets-min/24_theme-dark.svg.js  0.94 kB │ gzip: 0.48 kB │ map: 1.15 kB
603
606
  dist/lib/ui/uikit/dist/components/PlIcon16/PlIcon16.vue2.js  0.95 kB │ gzip: 0.51 kB │ map: 1.59 kB
@@ -605,8 +608,8 @@ computing gzip size...
605
608
  dist/lib/ui/uikit/dist/assets/icons/icon-assets-min/24_dendrogram-X-line.svg.js  0.95 kB │ gzip: 0.39 kB │ map: 1.27 kB
606
609
  dist/lib/ui/uikit/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/bisector.js  0.96 kB │ gzip: 0.40 kB │ map: 3.15 kB
607
610
  dist/lib/ui/uikit/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/attrTween.js  0.97 kB │ gzip: 0.42 kB │ map: 2.60 kB
608
- dist/lib/ui/uikit/dist/assets/icons/icon-assets-min/24_lasso.svg.js  0.97 kB │ gzip: 0.57 kB │ map: 1.18 kB
609
611
  dist/lib/ui/uikit/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/selection/transition.js  0.97 kB │ gzip: 0.53 kB │ map: 2.34 kB
612
+ dist/lib/ui/uikit/dist/assets/icons/icon-assets-min/24_lasso.svg.js  0.97 kB │ gzip: 0.57 kB │ map: 1.18 kB
610
613
  dist/lib/ui/uikit/dist/layout/PlRow/PlRow.vue.js  0.98 kB │ gzip: 0.57 kB │ map: 0.64 kB
611
614
  dist/lib/ui/uikit/dist/composition/useTheme.js  0.98 kB │ gzip: 0.50 kB │ map: 2.43 kB
612
615
  dist/components/ValueOrErrorsComponent.vue.js  0.98 kB │ gzip: 0.50 kB │ map: 1.34 kB
@@ -660,7 +663,6 @@ computing gzip size...
660
663
  dist/lib/ui/uikit/dist/components/PlSectionSeparator/PlSectionSeparator.vue3.js  1.24 kB │ gzip: 0.61 kB │ map: 0.12 kB
661
664
  dist/lib/ui/uikit/dist/assets/icons/icon-assets-min/24_annotate.svg.js  1.24 kB │ gzip: 0.68 kB │ map: 1.49 kB
662
665
  dist/plugins/Monetization/UserCabinetCard.vue3.js  1.24 kB │ gzip: 0.66 kB │ map: 0.11 kB
663
- dist/components/PlAgDataTable/PlAgOverlayLoading.vue.js  1.25 kB │ gzip: 0.62 kB │ map: 0.14 kB
664
666
  dist/lib/ui/uikit/dist/helpers/dom.js  1.26 kB │ gzip: 0.54 kB │ map: 4.52 kB
665
667
  dist/lib/ui/uikit/dist/components/PlChartHistogram/drawBins.js  1.26 kB │ gzip: 0.59 kB │ map: 3.17 kB
666
668
  dist/lib/ui/uikit/dist/components/PlChartStackedBar/Legends.vue2.js  1.26 kB │ gzip: 0.62 kB │ map: 2.29 kB
@@ -686,6 +688,7 @@ computing gzip size...
686
688
  dist/lib/ui/uikit/dist/assets/icons/icon-assets-min/24_sina.svg.js  1.35 kB │ gzip: 0.40 kB │ map: 1.63 kB
687
689
  dist/lib/ui/uikit/dist/node_modules/.pnpm/d3-array@3.2.4/node_modules/d3-array/src/ticks.js  1.36 kB │ gzip: 0.57 kB │ map: 4.37 kB
688
690
  dist/lib/ui/uikit/dist/assets/icons/icon-assets-min/24_color-none.svg.js  1.36 kB │ gzip: 0.64 kB │ map: 1.61 kB
691
+ dist/components/PlAgDataTable/PlAgOverlayLoading.vue.js  1.36 kB │ gzip: 0.68 kB │ map: 1.40 kB
689
692
  dist/defineApp.js  1.36 kB │ gzip: 0.72 kB │ map: 4.74 kB
690
693
  dist/createModel.js  1.38 kB │ gzip: 0.65 kB │ map: 3.91 kB
691
694
  dist/lib/ui/uikit/dist/composition/useScroll.js  1.40 kB │ gzip: 0.57 kB │ map: 3.78 kB
@@ -714,14 +717,14 @@ computing gzip size...
714
717
  dist/lib/ui/uikit/dist/components/PlRadio/PlRadio.vue3.js  1.56 kB │ gzip: 0.76 kB │ map: 0.11 kB
715
718
  dist/lib/ui/uikit/dist/components/contextMenu/Menu.vue.js  1.58 kB │ gzip: 0.77 kB │ map: 0.11 kB
716
719
  dist/components/PlAgCsvExporter/export-csv.js  1.60 kB │ gzip: 0.73 kB │ map: 3.74 kB
717
- dist/AgGridVue/createAgGridColDef.js  1.61 kB │ gzip: 0.72 kB │ map: 9.34 kB
720
+ dist/AgGridVue/createAgGridColDef.js  1.61 kB │ gzip: 0.72 kB │ map: 9.40 kB
718
721
  dist/lib/ui/uikit/dist/node_modules/.pnpm/@vueuse_integrations@13.3.0_axios@1.8.1_focus-trap@7.6.0_sortablejs@1.15.6_vue@3.5.13_typescript@5.6.3_/node_modules/@vueuse/integrations/useSortable.js  1.61 kB │ gzip: 0.80 kB │ map: 4.03 kB
719
722
  dist/lib/ui/uikit/dist/components/PlTabs/PlTabs.vue.js  1.61 kB │ gzip: 0.80 kB │ map: 2.14 kB
720
- dist/lib/ui/uikit/dist/components/PlDropdownRef/PlDropdownRef.vue.js  1.61 kB │ gzip: 0.73 kB │ map: 3.40 kB
721
723
  dist/lib/ui/uikit/dist/node_modules/.pnpm/d3-interpolate@3.0.1/node_modules/d3-interpolate/src/transform/index.js  1.62 kB │ gzip: 0.65 kB │ map: 4.71 kB
722
724
  dist/lib/ui/uikit/dist/node_modules/.pnpm/d3-selection@3.0.0/node_modules/d3-selection/src/selection/on.js  1.63 kB │ gzip: 0.68 kB │ map: 4.38 kB
723
725
  dist/lib/ui/uikit/dist/components/PlFileDialog/Shortcuts.vue2.js  1.63 kB │ gzip: 0.60 kB │ map: 0.14 kB
724
726
  dist/plugins/Monetization/RunStatus.vue3.js  1.63 kB │ gzip: 0.77 kB │ map: 0.11 kB
727
+ dist/lib/ui/uikit/dist/components/PlDropdownRef/PlDropdownRef.vue.js  1.64 kB │ gzip: 0.74 kB │ map: 3.45 kB
725
728
  dist/components/PlMultiSequenceAlignment/MultiSequenceAlignmentView.vue3.js  1.64 kB │ gzip: 0.78 kB │ map: 0.12 kB
726
729
  dist/aggrid.js  1.66 kB │ gzip: 0.79 kB │ map: 3.09 kB
727
730
  dist/lib/ui/uikit/dist/components/PlSvg/registry.js  1.66 kB │ gzip: 0.86 kB │ map: 4.41 kB
@@ -758,7 +761,7 @@ computing gzip size...
758
761
  dist/lib/ui/uikit/dist/components/InputRange.vue.js  2.24 kB │ gzip: 0.91 kB │ map: 3.75 kB
759
762
  dist/lib/ui/uikit/dist/components/PlLoaderCircular/PlLoaderCircular.vue.js  2.25 kB │ gzip: 0.95 kB │ map: 0.14 kB
760
763
  dist/components/PlAgTextAndButtonCell/PlAgTextAndButtonCell.vue.js  2.26 kB │ gzip: 1.06 kB │ map: 2.83 kB
761
- dist/lib/ui/uikit/dist/helpers/utils.js  2.26 kB │ gzip: 0.88 kB │ map: 6.59 kB
764
+ dist/lib/ui/uikit/dist/helpers/utils.js  2.28 kB │ gzip: 0.89 kB │ map: 6.63 kB
762
765
  dist/plugins/Monetization/useInfo.js  2.29 kB │ gzip: 0.87 kB │ map: 4.32 kB
763
766
  dist/lib/ui/uikit/dist/components/Scrollable.vue.js  2.30 kB │ gzip: 0.88 kB │ map: 3.54 kB
764
767
  dist/lib/ui/uikit/dist/node_modules/.pnpm/@vueuse_core@13.3.0_vue@3.5.13_typescript@5.6.3_/node_modules/@vueuse/core/index.js  2.31 kB │ gzip: 1.02 kB │ map: 248.40 kB
@@ -768,9 +771,9 @@ computing gzip size...
768
771
  dist/lib/util/helpers/dist/index.js  2.40 kB │ gzip: 1.01 kB │ map: 20.17 kB
769
772
  dist/lib/ui/uikit/dist/colors/gradient.js  2.44 kB │ gzip: 0.98 kB │ map: 6.48 kB
770
773
  dist/lib/ui/uikit/dist/components/PlTabs/pl-tabs.module.scss.js  2.49 kB │ gzip: 0.90 kB │ map: 0.12 kB
771
- dist/lib/ui/uikit/dist/components/PlAccordion/PlAccordionSection.vue2.js  2.51 kB │ gzip: 1.13 kB │ map: 2.76 kB
772
774
  dist/lib/ui/uikit/dist/node_modules/.pnpm/d3-scale@4.0.2/node_modules/d3-scale/src/continuous.js  2.53 kB │ gzip: 0.94 kB │ map: 7.07 kB
773
775
  dist/plugins/Monetization/LimitCard.vue3.js  2.55 kB │ gzip: 0.92 kB │ map: 0.11 kB
776
+ dist/lib/ui/uikit/dist/components/PlAccordion/PlAccordionSection.vue2.js  2.57 kB │ gzip: 1.15 kB │ map: 2.90 kB
774
777
  dist/node_modules/.pnpm/@vueuse_shared@13.3.0_vue@3.5.13_typescript@5.5.4_/node_modules/@vueuse/shared/index.js  2.57 kB │ gzip: 1.13 kB │ map: 50.11 kB
775
778
  dist/plugins/Monetization/LimitCard.vue2.js  2.61 kB │ gzip: 0.88 kB │ map: 4.83 kB
776
779
  dist/lib/ui/uikit/dist/components/DataTable/TdCell.vue.js  2.61 kB │ gzip: 1.04 kB │ map: 4.63 kB
@@ -782,6 +785,7 @@ computing gzip size...
782
785
  dist/lib/ui/uikit/dist/node_modules/.pnpm/d3-transition@3.0.1_d3-selection@3.0.0/node_modules/d3-transition/src/transition/schedule.js  2.74 kB │ gzip: 1.07 kB │ map: 8.14 kB
783
786
  dist/lib/ui/uikit/dist/components/PlEditableTitle/PlEditableTitle.vue.js  2.75 kB │ gzip: 1.18 kB │ map: 3.19 kB
784
787
  dist/lib/ui/uikit/dist/components/PlCheckboxGroup/PlCheckboxGroup.vue.js  2.80 kB │ gzip: 1.25 kB │ map: 2.65 kB
788
+ dist/lib/ui/uikit/dist/components/PlDropdown/OptionList.vue.js  2.92 kB │ gzip: 1.09 kB │ map: 3.07 kB
785
789
  dist/composition/fileContent.js  2.92 kB │ gzip: 1.06 kB │ map: 8.69 kB
786
790
  dist/lib/ui/uikit/dist/components/PlChartHistogram/histogram.js  2.98 kB │ gzip: 0.99 kB │ map: 7.83 kB
787
791
  dist/components/PlAgDataTable/sources/row-number.js  3.10 kB │ gzip: 1.34 kB │ map: 8.35 kB
@@ -853,15 +857,15 @@ computing gzip size...
853
857
  dist/lib/ui/uikit/dist/demo-site-data/all-css-variables.js  11.00 kB │ gzip: 1.76 kB │ map: 18.24 kB
854
858
  dist/components/PlTableFilters/PlTableFilters.vue.js  13.75 kB │ gzip: 4.06 kB │ map: 18.77 kB
855
859
  dist/lib/ui/uikit/dist/components/PlDropdownLine/PlDropdownLine.vue.js  14.70 kB │ gzip: 3.91 kB │ map: 12.75 kB
856
- dist/lib/ui/uikit/dist/components/PlDropdown/PlDropdown.vue.js  16.71 kB │ gzip: 4.87 kB │ map: 14.51 kB
860
+ dist/lib/ui/uikit/dist/components/PlDropdown/PlDropdown.vue.js  16.32 kB │ gzip: 4.79 kB │ map: 14.65 kB
857
861
  dist/lib/ui/uikit/dist/components/PlDropdownLegacy/PlDropdownLegacy.vue.js  17.39 kB │ gzip: 4.84 kB │ map: 14.46 kB
858
- dist/lib/ui/uikit/dist/components/PlAutocomplete/PlAutocomplete.vue.js  17.76 kB │ gzip: 5.14 kB │ map: 17.10 kB
862
+ dist/lib/ui/uikit/dist/components/PlAutocomplete/PlAutocomplete.vue.js  17.76 kB │ gzip: 5.14 kB │ map: 17.09 kB
859
863
  dist/lib/ui/uikit/dist/components/PlDropdownMulti/PlDropdownMulti.vue.js  20.23 kB │ gzip: 5.27 kB │ map: 12.97 kB
860
864
  dist/components/PlAgDataTable/PlAgOverlayNoRows.vue3.js  35.48 kB │ gzip: 26.70 kB │ map: 0.11 kB
861
865
  dist/node_modules/.pnpm/lru-cache@11.1.0/node_modules/lru-cache/dist/esm/index.js  37.21 kB │ gzip: 9.81 kB │ map: 127.30 kB
862
866
  dist/lib/ui/uikit/dist/components/PlSvg/PlSvg.vue2.js  38.60 kB │ gzip: 3.37 kB │ map: 11.55 kB
863
867
  dist/components/PlAgDataTable/pl-ag-overlay-loading.module.scss.js  41.43 kB │ gzip: 30.91 kB │ map: 0.12 kB
864
- dist/components/PlAgDataTable/PlAgDataTableV2.vue2.js  46.38 kB │ gzip: 30.14 kB │ map: 24.06 kB
868
+ dist/components/PlAgDataTable/PlAgDataTableV2.vue2.js  46.99 kB │ gzip: 30.23 kB │ map: 25.16 kB
865
869
  dist/lib/ui/uikit/dist/components/PlFileDialog/pl-file-dialog.module.scss.js  47.73 kB │ gzip: 16.34 kB │ map: 0.14 kB
866
870
  dist/components/PlAgDataTable/PlAgRowCount.vue.js  48.12 kB │ gzip: 29.94 kB │ map: 2.74 kB
867
871
  dist/components/PlAgRowNumCheckbox/PlAgRowNumCheckbox.vue.js  48.57 kB │ gzip: 30.18 kB │ map: 2.48 kB
@@ -874,6 +878,6 @@ computing gzip size...
874
878
  dist/node_modules/.pnpm/zod@3.23.8/node_modules/zod/lib/index.js  83.81 kB │ gzip: 17.26 kB │ map: 241.15 kB
875
879
  dist/node_modules/.pnpm/lodash@4.17.21/node_modules/lodash/lodash.js 128.45 kB │ gzip: 31.07 kB │ map: 723.83 kB
876
880
  dist/lib/ui/uikit/dist/index.js 497.54 kB │ gzip: 191.69 kB │ map: 0.18 kB
877
- dist/lib/ui/uikit/dist/components/PlSlideModal/PlSlideModal.vue.js 601.36 kB │ gzip: 204.40 kB │ map: 0.23 kB
878
- dist/lib/ui/uikit/dist/components/DataTable/TableComponent.vue.js 602.69 kB │ gzip: 204.99 kB │ map: 0.27 kB
879
- ✓ built in 9.07s
881
+ dist/lib/ui/uikit/dist/components/PlSlideModal/PlSlideModal.vue.js 601.41 kB │ gzip: 204.41 kB │ map: 0.23 kB
882
+ dist/lib/ui/uikit/dist/components/DataTable/TableComponent.vue.js 602.75 kB │ gzip: 205.00 kB │ map: 0.27 kB
883
+ ✓ built in 8.60s
@@ -1,5 +1,5 @@
1
1
   WARN  Issue while reading "/home/runner/_work/platforma/platforma/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
2
2
 
3
- > @platforma-sdk/ui-vue@1.37.13 type-check /home/runner/_work/platforma/platforma/sdk/ui-vue
3
+ > @platforma-sdk/ui-vue@1.37.15 type-check /home/runner/_work/platforma/platforma/sdk/ui-vue
4
4
  > vue-tsc --noEmit --project ./tsconfig.json
5
5
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @platforma-sdk/ui-vue
2
2
 
3
+ ## 1.37.15
4
+
5
+ ### Patch Changes
6
+
7
+ - de26a80: PlAgDataTableV2: make overlay text props reactive
8
+
9
+ ## 1.37.14
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies [8236387]
14
+ - @milaboratories/uikit@2.2.96
15
+ - @platforma-sdk/model@1.37.14
16
+
3
17
  ## 1.37.13
4
18
 
5
19
  ### Patch Changes
@@ -1 +1 @@
1
- {"version":3,"file":"createAgGridColDef.d.ts","sourceRoot":"","sources":["../../src/AgGridVue/createAgGridColDef.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAEtE,OAAO,KAAK,EAAE,cAAc,EAAuB,MAAM,uBAAuB,CAAC;AAEjF,OAAO,EAAoB,yBAAyB,EAAE,MAAM,gCAAgC,CAAC;AAG7F;;GAEG;AACH,KAAK,cAAc,GAAG,aAAa,GAAG,SAAS,GAAG,MAAM,CAAC;AAWzD;;;;;GAKG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B;;;;;OAKG;IACH,MAAM,EAAE,cAAc,CAAC;IACvB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC1B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,SAAS,CAAC;AAEd;;;;;;;;;;GAUG;AACH,MAAM,MAA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;WAGG;QACH,OAAO,CAAC,EAAE,CAAC,MAAM,EAAE,mBAAmB,KAAK,IAAI,CAAC;KACjD,CAAC;CACH;AAED;;GAEG;AACH,MAAM,MAAM,cAAc,CAAC,KAAK,EAAE,MAAM,EAAE,CAAC,SAAS,MAAM,cAAc,CAAC,KAAK,EAAE,MAAM,CAAC,IAAI,cAAc,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;AA8D5H;;;;;;;;;;;;GAYG;AACH,wBAAgB,kBAAkB,CAAC,KAAK,EAAE,MAAM,GAAG,GAAG,EAAE,GAAG,EAAE,cAAc,CAAC,KAAK,EAAE,MAAM,CAAC,GAAG,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,CA6BjH"}
@@ -1 +1 @@
1
- {"version":3,"file":"createAgGridColDef.js","sources":["../../src/AgGridVue/createAgGridColDef.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\nimport type { ColDef, ICellRendererParams } from 'ag-grid-enterprise';\nimport { PlAgCellProgress } from '../components/PlAgCellProgress';\nimport type { MaskIconName16, PlProgressCellProps } from '@milaboratories/uikit';\nimport { tapIf } from '@milaboratories/helpers';\nimport { PlAgColumnHeader, PlAgHeaderComponentParams } from '../components/PlAgColumnHeader';\nimport { PlAgTextAndButtonCell } from '../components/PlAgTextAndButtonCell';\n\n/**\n * Represents the available progress statuses for a cell.\n */\ntype ProgressStatus = 'not_started' | 'running' | 'done';\n\n/**\n * Human-readable labels for each {@link ProgressStatus}.\n */\nconst progressStatusLabels: Record<ProgressStatus, string> = {\n not_started: 'Not Started',\n running: 'Running',\n done: 'Done',\n};\n\n/**\n * Defines the configuration for rendering a progress overlay in a grid cell.\n *\n * When provided, a progress overlay will be rendered. If the value is\n * `undefined`, no progress overlay is shown.\n */\nexport type ColDefProgress = {\n /**\n * The progress status which influences default text and styling:\n * - `'not_started'`: Typically renders gray text without a progress bar.\n * - `'running'`: Indicates an active progress state.\n * - `'done'`: Implies completion (commonly rendered as 100%).\n */\n status: ProgressStatus;\n /**\n * A number (or numeric string) between 0 and 100 that indicates progress.\n * If omitted or invalid, it implies an infinite or indeterminate progress state\n */\n percent?: number | string;\n /**\n * The main label displayed on the left side of the cell.\n */\n text?: string;\n /**\n * Additional text, often used to display the percentage by default.\n */\n suffix?: string;\n /**\n * If provided, this message takes precedence over `text` to indicate an error.\n */\n error?: string;\n} | undefined;\n\n/**\n * Callback function type to dynamically generate a {@link ColDefProgress} configuration\n * for a cell based on its rendering parameters.\n *\n * @typeParam TData - The type of the row data.\n * @typeParam TValue - The type of the cell value.\n *\n * @param cellData - The parameters provided by AG Grid's cell renderer.\n * @returns A {@link ColDefProgress} object to configure the progress overlay,\n * or `undefined` if no progress overlay should be rendered.\n */\nexport type ColDefProgressCallback<TData = any, TValue = any> = (\n value: TValue,\n cellData: ICellRendererParams<TData, TValue>\n) => ColDefProgress;\n\n/**\n * Extended AG Grid column definition that supports additional properties for\n * progress overlays and layout customization.\n *\n * @typeParam TData - The type of the row data.\n * @typeParam TValue - The type of the cell value.\n *\n * @property progress - An optional callback to provide progress overlay configuration.\n * @property noGutters - If `true`, removes padding from the cell.\n */\nexport interface ColDefExtended<TData, TValue = any> extends ColDef<TData, TValue> {\n progress?: ColDefProgressCallback<TData, TValue>;\n noGutters?: boolean;\n headerComponentParams?: PlAgHeaderComponentParams;\n textWithButton?: true | {\n /**\n * Button icon MaskIconName16\n */\n icon?: MaskIconName16;\n /**\n * Button label\n */\n btnLabel?: string;\n /**\n * If invokeRowsOnDoubleClick = true, clicking a button inside the row\n * triggers the doubleClick event for the entire row. In this case,\n * the handler passed to the component is not called, even if it is defined.\n *\n * If invokeRowsOnDoubleClick = false, the doubleClick event for the row\n * is not triggered, but the provided handler will be called, receiving\n * the ICellRendererParams as an argument.\n */\n invokeRowsOnDoubleClick?: boolean;\n /**\n * plHandler parameter is a click handler that is invoked when\n * the invokeRowsOnDoubleClick property is set to false.\n */\n onClick?: (params: ICellRendererParams) => void;\n };\n}\n\n/**\n * Utility type to infer the type of a specific property key from a {@link ColDefExtended}. Maybe not useful\n */\nexport type InferColDefKey<TData, TValue, K extends keyof ColDefExtended<TData, TValue>> = ColDefExtended<TData, TValue>[K];\n\n/**\n * Returns a style object that removes horizontal and vertical padding from an AG Grid cell.\n */\nfunction noGuttersStyle() {\n return {\n '--ag-cell-horizontal-padding': '0px',\n '--ag-cell-vertical-padding': '0px',\n };\n}\n\n/**\n * Creates the configuration object for a progress cell renderer component.\n *\n * @param params - The properties for the progress cell component, conforming to {@link PlProgressCellProps}.\n * @returns An object containing the progress component and its parameters.\n */\nfunction createProgressComponent(params: PlProgressCellProps) {\n return {\n component: PlAgCellProgress,\n params,\n };\n}\n\n/**\n * Enhances the given column definition to support a progress overlay if a progress callback is provided.\n *\n * This function modifies the column definition by:\n * - Merging no-gutters styles into the cell style.\n * - Overriding the `cellRendererSelector` to return a progress component when a valid progress configuration is present.\n *\n * @typeParam TData - The type of the row data.\n * @param def - The extended column definition to be augmented.\n */\nfunction handleProgress<TData>(def: ColDefExtended<TData>) {\n if (def.progress) {\n const progress = def.progress;\n\n const cellRendererSelector = def.cellRendererSelector;\n\n // Ensure no padding in the cell when a progress overlay is rendered.\n def.cellStyle = Object.assign({}, def.cellStyle ?? {}, noGuttersStyle());\n\n def.cellRendererSelector = (cellData) => {\n const pt = progress(cellData.value, cellData);\n\n if (!pt) {\n return cellRendererSelector?.(cellData);\n }\n\n return createProgressComponent({\n progress: tapIf(Number(pt.percent), (n) => Number.isFinite(n) ? (n < 0 ? 0 : n) : undefined),\n progressString: pt.suffix ?? (pt.status === 'running' ? `${pt.percent ?? 0}%` : ''),\n step: pt.text ?? progressStatusLabels[pt.status],\n stage: pt.status,\n error: pt.error,\n });\n };\n }\n}\n\n/**\n * Creates an AG Grid column definition with extended features such as progress overlays and gutter removal.\n *\n * This function processes an extended column definition by:\n * - Applying progress rendering logic via {@link handleProgress} if a progress callback is provided.\n * - Merging no-gutters styles if the `noGutters` flag is set.\n * - Removing the internal properties (`progress` and `noGutters`) from the final definition.\n *\n * @typeParam TData - The type of the row data.\n * @typeParam TValue - The type of the cell value.\n * @param def - The extended column definition containing custom properties.\n * @returns The processed column definition ready for use with AG Grid.\n */\nexport function createAgGridColDef<TData, TValue = any>(def: ColDefExtended<TData, TValue>): ColDef<TData, TValue> {\n handleProgress(def);\n\n if (def.noGutters) {\n def.cellStyle = Object.assign({}, def.cellStyle ?? {}, noGuttersStyle());\n }\n\n if (def.headerComponentParams) {\n def.headerComponent = PlAgColumnHeader;\n }\n\n if (def.textWithButton) {\n def.cellRenderer = PlAgTextAndButtonCell;\n if (typeof def.textWithButton !== 'boolean') {\n def.cellRendererParams = def.textWithButton;\n } else {\n def.cellRendererParams = {\n invokeRowsOnDoubleClick: true,\n };\n }\n }\n\n delete def.textWithButton;\n\n delete def.progress;\n\n delete def.noGutters;\n\n return def;\n}\n"],"names":["progressStatusLabels","noGuttersStyle","createProgressComponent","params","PlAgCellProgress","handleProgress","def","progress","cellRendererSelector","cellData","pt","tapIf","n","createAgGridColDef","PlAgColumnHeader","PlAgTextAndButtonCell"],"mappings":";;;;AAgBA,MAAMA,IAAuD;AAAA,EAC3D,aAAa;AAAA,EACb,SAAS;AAAA,EACT,MAAM;AACR;AAoGA,SAASC,IAAiB;AACjB,SAAA;AAAA,IACL,gCAAgC;AAAA,IAChC,8BAA8B;AAAA,EAChC;AACF;AAQA,SAASC,EAAwBC,GAA6B;AACrD,SAAA;AAAA,IACL,WAAWC;AAAAA,IACX,QAAAD;AAAA,EACF;AACF;AAYA,SAASE,EAAsBC,GAA4B;AACzD,MAAIA,EAAI,UAAU;AAChB,UAAMC,IAAWD,EAAI,UAEfE,IAAuBF,EAAI;AAG7B,IAAAA,EAAA,YAAY,OAAO,OAAO,CAAA,GAAIA,EAAI,aAAa,IAAIL,GAAgB,GAEnEK,EAAA,uBAAuB,CAACG,MAAa;AACvC,YAAMC,IAAKH,EAASE,EAAS,OAAOA,CAAQ;AAE5C,aAAKC,IAIER,EAAwB;AAAA,QAC7B,UAAUS,EAAM,OAAOD,EAAG,OAAO,GAAG,CAACE,MAAM,OAAO,SAASA,CAAC,IAAKA,IAAI,IAAI,IAAIA,IAAK,MAAS;AAAA,QAC3F,gBAAgBF,EAAG,WAAWA,EAAG,WAAW,YAAY,GAAGA,EAAG,WAAW,CAAC,MAAM;AAAA,QAChF,MAAMA,EAAG,QAAQV,EAAqBU,EAAG,MAAM;AAAA,QAC/C,OAAOA,EAAG;AAAA,QACV,OAAOA,EAAG;AAAA,MAAA,CACX,IATQF,KAAA,gBAAAA,EAAuBC;AAAA,IAUlC;AAAA,EAAA;AAEJ;AAeO,SAASI,EAAwCP,GAA2D;AACjH,SAAAD,EAAeC,CAAG,GAEdA,EAAI,cACFA,EAAA,YAAY,OAAO,OAAO,CAAA,GAAIA,EAAI,aAAa,IAAIL,GAAgB,IAGrEK,EAAI,0BACNA,EAAI,kBAAkBQ,IAGpBR,EAAI,mBACNA,EAAI,eAAeS,GACf,OAAOT,EAAI,kBAAmB,YAChCA,EAAI,qBAAqBA,EAAI,iBAE7BA,EAAI,qBAAqB;AAAA,IACvB,yBAAyB;AAAA,EAC3B,IAIJ,OAAOA,EAAI,gBAEX,OAAOA,EAAI,UAEX,OAAOA,EAAI,WAEJA;AACT;"}
1
+ {"version":3,"file":"createAgGridColDef.js","sources":["../../src/AgGridVue/createAgGridColDef.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\nimport type { ColDef, ICellRendererParams } from 'ag-grid-enterprise';\nimport { PlAgCellProgress } from '../components/PlAgCellProgress';\nimport type { MaskIconName16, PlProgressCellProps } from '@milaboratories/uikit';\nimport { tapIf } from '@milaboratories/helpers';\nimport type { PlAgHeaderComponentParams } from '../components/PlAgColumnHeader';\nimport { PlAgColumnHeader } from '../components/PlAgColumnHeader';\nimport { PlAgTextAndButtonCell } from '../components/PlAgTextAndButtonCell';\n\n/**\n * Represents the available progress statuses for a cell.\n */\ntype ProgressStatus = 'not_started' | 'running' | 'done';\n\n/**\n * Human-readable labels for each {@link ProgressStatus}.\n */\nconst progressStatusLabels: Record<ProgressStatus, string> = {\n not_started: 'Not Started',\n running: 'Running',\n done: 'Done',\n};\n\n/**\n * Defines the configuration for rendering a progress overlay in a grid cell.\n *\n * When provided, a progress overlay will be rendered. If the value is\n * `undefined`, no progress overlay is shown.\n */\nexport type ColDefProgress = {\n /**\n * The progress status which influences default text and styling:\n * - `'not_started'`: Typically renders gray text without a progress bar.\n * - `'running'`: Indicates an active progress state.\n * - `'done'`: Implies completion (commonly rendered as 100%).\n */\n status: ProgressStatus;\n /**\n * A number (or numeric string) between 0 and 100 that indicates progress.\n * If omitted or invalid, it implies an infinite or indeterminate progress state\n */\n percent?: number | string;\n /**\n * The main label displayed on the left side of the cell.\n */\n text?: string;\n /**\n * Additional text, often used to display the percentage by default.\n */\n suffix?: string;\n /**\n * If provided, this message takes precedence over `text` to indicate an error.\n */\n error?: string;\n} | undefined;\n\n/**\n * Callback function type to dynamically generate a {@link ColDefProgress} configuration\n * for a cell based on its rendering parameters.\n *\n * @typeParam TData - The type of the row data.\n * @typeParam TValue - The type of the cell value.\n *\n * @param cellData - The parameters provided by AG Grid's cell renderer.\n * @returns A {@link ColDefProgress} object to configure the progress overlay,\n * or `undefined` if no progress overlay should be rendered.\n */\nexport type ColDefProgressCallback<TData = any, TValue = any> = (\n value: TValue,\n cellData: ICellRendererParams<TData, TValue>\n) => ColDefProgress;\n\n/**\n * Extended AG Grid column definition that supports additional properties for\n * progress overlays and layout customization.\n *\n * @typeParam TData - The type of the row data.\n * @typeParam TValue - The type of the cell value.\n *\n * @property progress - An optional callback to provide progress overlay configuration.\n * @property noGutters - If `true`, removes padding from the cell.\n */\nexport interface ColDefExtended<TData, TValue = any> extends ColDef<TData, TValue> {\n progress?: ColDefProgressCallback<TData, TValue>;\n noGutters?: boolean;\n headerComponentParams?: PlAgHeaderComponentParams;\n textWithButton?: true | {\n /**\n * Button icon MaskIconName16\n */\n icon?: MaskIconName16;\n /**\n * Button label\n */\n btnLabel?: string;\n /**\n * If invokeRowsOnDoubleClick = true, clicking a button inside the row\n * triggers the doubleClick event for the entire row. In this case,\n * the handler passed to the component is not called, even if it is defined.\n *\n * If invokeRowsOnDoubleClick = false, the doubleClick event for the row\n * is not triggered, but the provided handler will be called, receiving\n * the ICellRendererParams as an argument.\n */\n invokeRowsOnDoubleClick?: boolean;\n /**\n * plHandler parameter is a click handler that is invoked when\n * the invokeRowsOnDoubleClick property is set to false.\n */\n onClick?: (params: ICellRendererParams) => void;\n };\n}\n\n/**\n * Utility type to infer the type of a specific property key from a {@link ColDefExtended}. Maybe not useful\n */\nexport type InferColDefKey<TData, TValue, K extends keyof ColDefExtended<TData, TValue>> = ColDefExtended<TData, TValue>[K];\n\n/**\n * Returns a style object that removes horizontal and vertical padding from an AG Grid cell.\n */\nfunction noGuttersStyle() {\n return {\n '--ag-cell-horizontal-padding': '0px',\n '--ag-cell-vertical-padding': '0px',\n };\n}\n\n/**\n * Creates the configuration object for a progress cell renderer component.\n *\n * @param params - The properties for the progress cell component, conforming to {@link PlProgressCellProps}.\n * @returns An object containing the progress component and its parameters.\n */\nfunction createProgressComponent(params: PlProgressCellProps) {\n return {\n component: PlAgCellProgress,\n params,\n };\n}\n\n/**\n * Enhances the given column definition to support a progress overlay if a progress callback is provided.\n *\n * This function modifies the column definition by:\n * - Merging no-gutters styles into the cell style.\n * - Overriding the `cellRendererSelector` to return a progress component when a valid progress configuration is present.\n *\n * @typeParam TData - The type of the row data.\n * @param def - The extended column definition to be augmented.\n */\nfunction handleProgress<TData>(def: ColDefExtended<TData>) {\n if (def.progress) {\n const progress = def.progress;\n\n const cellRendererSelector = def.cellRendererSelector;\n\n // Ensure no padding in the cell when a progress overlay is rendered.\n def.cellStyle = Object.assign({}, def.cellStyle ?? {}, noGuttersStyle());\n\n def.cellRendererSelector = (cellData) => {\n const pt = progress(cellData.value, cellData);\n\n if (!pt) {\n return cellRendererSelector?.(cellData);\n }\n\n return createProgressComponent({\n progress: tapIf(Number(pt.percent), (n) => Number.isFinite(n) ? (n < 0 ? 0 : n) : undefined),\n progressString: pt.suffix ?? (pt.status === 'running' ? `${pt.percent ?? 0}%` : ''),\n step: pt.text ?? progressStatusLabels[pt.status],\n stage: pt.status,\n error: pt.error,\n });\n };\n }\n}\n\n/**\n * Creates an AG Grid column definition with extended features such as progress overlays and gutter removal.\n *\n * This function processes an extended column definition by:\n * - Applying progress rendering logic via {@link handleProgress} if a progress callback is provided.\n * - Merging no-gutters styles if the `noGutters` flag is set.\n * - Removing the internal properties (`progress` and `noGutters`) from the final definition.\n *\n * @typeParam TData - The type of the row data.\n * @typeParam TValue - The type of the cell value.\n * @param def - The extended column definition containing custom properties.\n * @returns The processed column definition ready for use with AG Grid.\n */\nexport function createAgGridColDef<TData, TValue = any>(def: ColDefExtended<TData, TValue>): ColDef<TData, TValue> {\n handleProgress(def);\n\n if (def.noGutters) {\n def.cellStyle = Object.assign({}, def.cellStyle ?? {}, noGuttersStyle());\n }\n\n if (def.headerComponentParams) {\n def.headerComponent = PlAgColumnHeader;\n }\n\n if (def.textWithButton) {\n def.cellRenderer = PlAgTextAndButtonCell;\n if (typeof def.textWithButton !== 'boolean') {\n def.cellRendererParams = def.textWithButton;\n } else {\n def.cellRendererParams = {\n invokeRowsOnDoubleClick: true,\n };\n }\n }\n\n delete def.textWithButton;\n\n delete def.progress;\n\n delete def.noGutters;\n\n return def;\n}\n"],"names":["progressStatusLabels","noGuttersStyle","createProgressComponent","params","PlAgCellProgress","handleProgress","def","progress","cellRendererSelector","cellData","pt","tapIf","n","createAgGridColDef","PlAgColumnHeader","PlAgTextAndButtonCell"],"mappings":";;;;AAiBA,MAAMA,IAAuD;AAAA,EAC3D,aAAa;AAAA,EACb,SAAS;AAAA,EACT,MAAM;AACR;AAoGA,SAASC,IAAiB;AACjB,SAAA;AAAA,IACL,gCAAgC;AAAA,IAChC,8BAA8B;AAAA,EAChC;AACF;AAQA,SAASC,EAAw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