@platforma-sdk/ui-vue 1.88.13 → 1.88.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.
@@ -36,7 +36,7 @@ transforming...
36
36
  rendering chunks...
37
37
  
38
38
  [unplugin:dts] Start generate declaration files...
39
- [unplugin:dts] Declaration files built in 4784ms.
39
+ [unplugin:dts] Declaration files built in 5199ms.
40
40
  
41
41
  computing gzip size...
42
42
  dist/components/PlAnnotations/components/PlAnnotations.vue_vue_type_style_index_0_lang.css 0.04 kB │ gzip: 0.06 kB
@@ -267,10 +267,10 @@ dist/components/PlAdvancedFilter/PlAdvancedFilter.vue_vue_type_script_setup_true
267
267
  dist/components/PlAdvancedFilter/FilterEditor.vue_vue_type_script_setup_true_lang.js 11.71 kB │ gzip: 3.31 kB │ map: 28.56 kB
268
268
  dist/components/PlAgDataTable/PlAgDataTableV2.vue_vue_type_script_setup_true_lang.js 12.79 kB │ gzip: 4.03 kB │ map: 36.30 kB
269
269
 
270
- ✓ built in 5.58s
271
- [PLUGIN_TIMINGS] JavaScript callbacks ran for 5.5s of this 5.6s build (99%).
270
+ ✓ built in 6.06s
271
+ [PLUGIN_TIMINGS] JavaScript callbacks ran for 6.0s of this 6.0s build (99%).
272
272
  The slowest callbacks, timed inside each callback (the wait before a callback starts is excluded, the time it awaits is included):
273
- - plugin unplugin-dts buildStart (82%, 4.5s, 1 call)
273
+ - plugin unplugin-dts buildStart (82%, 4.9s, 1 call)
274
274
  Additional callback time came from the callbacks below and from callbacks under 1s.
275
275
  2 callbacks are listed without a time. Their calls overlapped, so the time inside one call includes work from other calls. To find their cost, profile the build with `node --cpu-prof`:
276
276
  - plugin sourcemaps load (144 calls)
@@ -6,5 +6,5 @@ Checking formatting...
6
6
  Checking formatting...
7
7
 
8
8
  All matched files use the correct format.
9
- Finished in 1262ms on 159 files using 16 threads.
9
+ Finished in 1241ms on 159 files using 16 threads.
10
10
  Format check completed successfully
@@ -4,5 +4,5 @@ $ ts-builder linter --check
4
4
  Linting project...
5
5
  ↳ oxlint --config /home/runner/_work/platforma/platforma/sdk/ui-vue/.oxlintrc.json --deny-warnings
6
6
  Found 0 warnings and 0 errors.
7
- Finished in 36ms on 142 files with 108 rules using 16 threads.
7
+ Finished in 30ms on 142 files with 108 rules using 16 threads.
8
8
  Linting completed successfully
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @platforma-sdk/ui-vue
2
2
 
3
+ ## 1.88.15
4
+
5
+ ### Patch Changes
6
+
7
+ - @platforma-sdk/model@1.88.15
8
+ - @milaboratories/pf-spec-driver@1.5.17
9
+ - @milaboratories/uikit@2.17.6
10
+
11
+ ## 1.88.14
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [9aea514]
16
+ - @milaboratories/pl-model-common@1.55.2
17
+ - @milaboratories/columns-collection-driver@0.2.15
18
+ - @milaboratories/pf-spec-driver@1.5.16
19
+ - @platforma-sdk/model@1.88.14
20
+ - @milaboratories/uikit@2.17.5
21
+
3
22
  ## 1.88.13
4
23
 
5
24
  ### Patch Changes
@@ -1 +1 @@
1
- {"version":3,"file":"PlAnnotations.vue_vue_type_script_setup_true_lang.js","names":["$style","_openBlock","_createBlock","_unref","_withCtx","_createVNode","AnnotationsSidebar","_normalizeClass","FilterSidebar","_createCommentVNode","AnnotationsSidebar_default","FilterSidebar_default","PlAnnotations_vue_vue_type_script_setup_true_lang_default","props","__props","selectedStepId","shallowRef","selectedStep","computed","isNil","step","confirmResetSchema","useConfirm","handleDeleteSchema","updateSelectedStepId","id","updateSelectedStep","produce","idx","draft","s","openBlock","createBlock","unref","PlSidebarGroup","withCtx","createVNode","normalizeClass","_ctx","createCommentVNode"],"sources":["../../../../src/components/PlAnnotations/components/PlAnnotations.vue"],"sourcesContent":["<script lang=\"ts\">\nimport type { Props as BaseProps } from \"./FilterSidebar.vue\";\nexport type Props = Omit<BaseProps, \"step\" | \"onUpdateStep\"> & {\n annotation: Annotation;\n onUpdateAnnotation: (annotation: Annotation) => void;\n onDeleteSchema?: () => void;\n};\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, effect, shallowRef } from \"vue\";\n\nimport { isNil } from \"@milaboratories/helpers\";\nimport { produce } from \"immer\";\nimport { PlSidebarGroup, useConfirm } from \"@milaboratories/uikit\";\n\nimport type { Annotation, Filter } from \"../types\";\nimport AnnotationsSidebar from \"./AnnotationsSidebar.vue\";\nimport FilterSidebar from \"./FilterSidebar.vue\";\n\nconst props = defineProps<Props>();\n\nconst selectedStepId = shallowRef<undefined | number>(undefined);\n\nconst selectedStep = computed(() => {\n return isNil(selectedStepId.value) || isNil(props.annotation)\n ? undefined\n : props.annotation.steps.find((step) => step.id === selectedStepId.value);\n});\n\neffect(function setDefaultStepId() {\n if (selectedStepId.value === undefined && props.annotation.steps.length > 0) {\n selectedStepId.value = props.annotation.steps[0].id;\n }\n});\n\nconst confirmResetSchema = useConfirm({\n title: \"Reset Schema\",\n message: \"Are you sure you want to reset the schema? This action cannot be undone.\",\n confirmLabel: \"Yes, reset\",\n cancelLabel: \"No, cancel\",\n});\n\nasync function handleDeleteSchema() {\n if (await confirmResetSchema()) {\n selectedStepId.value = undefined;\n props.onDeleteSchema?.();\n }\n}\n\nfunction updateSelectedStepId(id: undefined | number) {\n selectedStepId.value = id;\n}\n\nfunction updateSelectedStep(step: Filter) {\n props.onUpdateAnnotation(\n produce(props.annotation, (draft) => {\n const idx = draft.steps.findIndex((s) => s.id === step.id);\n if (idx !== -1) {\n draft.steps[idx] = step;\n }\n }),\n );\n}\n</script>\n\n<template>\n <PlSidebarGroup data-testid=\"pl-annotations\">\n <template #item-0>\n <AnnotationsSidebar\n :annotation=\"props.annotation\"\n :selected-step-id=\"selectedStepId\"\n :on-update-annotation=\"props.onUpdateAnnotation\"\n :on-update-selected-step-id=\"updateSelectedStepId\"\n :class=\"$style.sidebarItem\"\n @delete-schema=\"handleDeleteSchema\"\n />\n </template>\n <template #item-1>\n <FilterSidebar\n v-if=\"selectedStep\"\n :step=\"selectedStep\"\n :on-update-step=\"updateSelectedStep\"\n :class=\"$style.sidebarItem\"\n :columns=\"props.columns\"\n :get-suggest-options=\"props.getSuggestOptions\"\n :hasSelectedColumns=\"props.hasSelectedColumns\"\n :getValuesForSelectedColumns=\"props.getValuesForSelectedColumns\"\n />\n </template>\n </PlSidebarGroup>\n</template>\n\n<style module>\n.sidebarItem {\n width: 100%;\n height: 100%;\n}\n</style>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;EAoBA,IAAMa,IAAQC,GAERC,IAAiBC,EAA+B,KAAA,CAAS,GAEzDC,IAAeC,QACZC,EAAMJ,EAAe,KAAK,KAAKI,EAAMN,EAAM,UAAU,IACxD,KAAA,IACAA,EAAM,WAAW,MAAM,MAAM,MAASO,EAAK,OAAOL,EAAe,KAAK,CAC3E;EAED,EAAO,WAA4B;GACjC,AAAIA,EAAe,UAAU,KAAA,KAAaF,EAAM,WAAW,MAAM,SAAS,MACxE,EAAe,QAAQA,EAAM,WAAW,MAAM,EAAE,CAAC;EAErD,CAAC;EAED,IAAMQ,IAAqBC,EAAW;GACpC,OAAO;GACP,SAAS;GACT,cAAc;GACd,aAAa;EACf,CAAC;EAED,eAAeC,IAAqB;GAClC,AAAI,MAAMF,EAAmB,MAC3B,EAAe,QAAQ,KAAA,GACvBR,EAAM,iBAAiB;EAE3B;EAEA,SAASW,EAAqB,GAAwB;GACpD,EAAe,QAAQC;EACzB;EAEA,SAASC,EAAmB,GAAc;GACxC,EAAM,mBACJC,EAAQd,EAAM,aAAa,MAAU;IACnC,IAAMe,IAAMC,EAAM,MAAM,WAAW,MAAMC,EAAE,OAAOV,EAAK,EAAE;IACzD,AAAIQ,MAAQ,OACV,EAAM,MAAMA,KAAOR;GAEvB,CAAC,CACH;EACF;E,kBAIEnB,EAAA,GAAAC,EAuBiBC,EAAA+B,CAAA,GAAA,EAvBD,eAAY,iBAAgB,GAAA;GAC/B,UAAM9B,QAQb,CAPFC,EAOEC,GAAA;IANC,YAAYO,EAAM;IAClB,oBAAkBE,EAAA;IAClB,wBAAsBF,EAAM;IAC5B,8BAA4BW;IAC5B,OAAKjB,EAAEP,EAAAA,OAAO,WAAW;IACzB,gBAAeuB;;;;;;;GAGT,UAAMnB,QAUb,CARMa,EAAA,SADRhB,EAAA,GAAAC,EASEM,GAAA;;IAPC,MAAMS,EAAA;IACN,kBAAgBS;IAChB,OAAKnB,EAAEP,EAAAA,OAAO,WAAW;IACzB,SAASa,EAAM;IACf,uBAAqBA,EAAM;IAC3B,oBAAoBA,EAAM;IAC1B,6BAA6BA,EAAM"}
1
+ {"version":3,"file":"PlAnnotations.vue_vue_type_script_setup_true_lang.js","names":["$style","_openBlock","_createBlock","_unref","_withCtx","_createVNode","AnnotationsSidebar","_normalizeClass","FilterSidebar","_createCommentVNode","AnnotationsSidebar_default","FilterSidebar_default","PlAnnotations_vue_vue_type_script_setup_true_lang_default","props","__props","selectedStepId","shallowRef","selectedStep","computed","isNil","step","confirmResetSchema","useConfirm","handleDeleteSchema","updateSelectedStepId","id","updateSelectedStep","produce","idx","draft","s","openBlock","createBlock","unref","PlSidebarGroup","withCtx","createVNode","normalizeClass","_ctx","createCommentVNode"],"sources":["../../../../src/components/PlAnnotations/components/PlAnnotations.vue"],"sourcesContent":["<script lang=\"ts\">\nimport type { Props as BaseProps } from \"./FilterSidebar.vue\";\nexport type Props = Omit<BaseProps, \"step\" | \"onUpdateStep\"> & {\n annotation: Annotation;\n onUpdateAnnotation: (annotation: Annotation) => void;\n onDeleteSchema?: () => void;\n};\n</script>\n\n<script setup lang=\"ts\">\nimport { computed, effect, shallowRef } from \"vue\";\n\nimport { isNil } from \"@milaboratories/helpers\";\nimport { produce } from \"immer\";\nimport { PlSidebarGroup, useConfirm } from \"@milaboratories/uikit\";\n\nimport type { Annotation, Filter } from \"../types\";\nimport AnnotationsSidebar from \"./AnnotationsSidebar.vue\";\nimport FilterSidebar from \"./FilterSidebar.vue\";\n\nconst props = defineProps<Props>();\n\nconst selectedStepId = shallowRef<undefined | number>(undefined);\n\nconst selectedStep = computed(() => {\n return isNil(selectedStepId.value) || isNil(props.annotation)\n ? undefined\n : props.annotation.steps.find((step) => step.id === selectedStepId.value);\n});\n\neffect(function setDefaultStepId() {\n if (selectedStepId.value === undefined && props.annotation.steps.length > 0) {\n selectedStepId.value = props.annotation.steps[0].id;\n }\n});\n\nconst confirmResetSchema = useConfirm({\n title: \"Reset Schema\",\n message: \"Are you sure you want to reset the schema? This action cannot be undone.\",\n confirmLabel: \"Yes, reset\",\n cancelLabel: \"No, cancel\",\n});\n\nasync function handleDeleteSchema() {\n if (await confirmResetSchema()) {\n selectedStepId.value = undefined;\n props.onDeleteSchema?.();\n }\n}\n\nfunction updateSelectedStepId(id: undefined | number) {\n selectedStepId.value = id;\n}\n\nfunction updateSelectedStep(step: Filter) {\n props.onUpdateAnnotation(\n produce(props.annotation, (draft) => {\n const idx = draft.steps.findIndex((s) => s.id === step.id);\n if (idx !== -1) {\n draft.steps[idx] = step;\n }\n }),\n );\n}\n</script>\n\n<template>\n <PlSidebarGroup data-testid=\"pl-annotations\">\n <template #item-0>\n <AnnotationsSidebar\n :annotation=\"props.annotation\"\n :selected-step-id=\"selectedStepId\"\n :on-update-annotation=\"props.onUpdateAnnotation\"\n :on-update-selected-step-id=\"updateSelectedStepId\"\n :class=\"$style.sidebarItem\"\n @delete-schema=\"handleDeleteSchema\"\n />\n </template>\n <template #item-1>\n <FilterSidebar\n v-if=\"selectedStep\"\n :step=\"selectedStep\"\n :on-update-step=\"updateSelectedStep\"\n :class=\"$style.sidebarItem\"\n :columns=\"props.columns\"\n :get-suggest-options=\"props.getSuggestOptions\"\n :hasSelectedColumns=\"props.hasSelectedColumns\"\n :getValuesForSelectedColumns=\"props.getValuesForSelectedColumns\"\n />\n </template>\n </PlSidebarGroup>\n</template>\n\n<style module>\n.sidebarItem {\n width: 100%;\n height: 100%;\n}\n</style>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;EAoBA,IAAMa,IA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,oBAAoBA,EAAM;IAC1B,6BAA6BA,EAAM"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platforma-sdk/ui-vue",
3
- "version": "1.88.13",
3
+ "version": "1.88.15",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
@@ -11,11 +11,11 @@
11
11
  }
12
12
  },
13
13
  "dependencies": {
14
- "@milaboratories/columns-collection-driver": "0.2.14",
15
- "@milaboratories/pf-spec-driver": "1.5.15",
16
- "@milaboratories/pl-model-common": "1.55.1",
17
- "@milaboratories/uikit": "2.17.4",
18
- "@platforma-sdk/model": "1.88.13",
14
+ "@milaboratories/columns-collection-driver": "0.2.15",
15
+ "@milaboratories/pf-spec-driver": "1.5.17",
16
+ "@milaboratories/pl-model-common": "1.55.2",
17
+ "@milaboratories/uikit": "2.17.6",
18
+ "@platforma-sdk/model": "1.88.15",
19
19
  "@types/d3-format": "^3.0.4",
20
20
  "@types/node": "~24.19.2",
21
21
  "@types/semver": "^7.7.0",