@platforma-sdk/ui-vue 1.60.2 → 1.61.0

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.
@@ -1,6 +1,6 @@
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.60.2 build /home/runner/_work/platforma/platforma/sdk/ui-vue
3
+ > @platforma-sdk/ui-vue@1.61.0 build /home/runner/_work/platforma/platforma/sdk/ui-vue
4
4
  > ts-builder build --target browser-lib
5
5
 
6
6
  Building browser-lib project...
@@ -11,7 +11,7 @@ Building browser-lib project...
11
11
  rendering chunks...
12
12
 
13
13
  [vite:dts] Start generate declaration files...
14
- [vite:dts] Declaration files built in 4397ms.
14
+ [vite:dts] Declaration files built in 4906ms.
15
15
 
16
16
  computing gzip size...
17
17
  dist/components/PlAnnotations/components/PlAnnotations.vue?vue&type=style&index=0&lang.css 0.04 kB │ gzip: 0.06 kB
@@ -215,12 +215,12 @@ dist/components/PlAdvancedFilter/FilterEditor.vue_vue_type_script_setup_true_lan
215
215
  dist/components/PlAgDataTable/PlAgDataTableV2.vue_vue_type_script_setup_true_lang.js 11.52 kB │ gzip: 3.69 kB │ map: 27.97 kB
216
216
 
217
217
  [PLUGIN_TIMINGS] Warning: Your build spent significant time in plugins. Here is a breakdown:
218
- - sourcemaps (40%)
218
+ - sourcemaps (28%)
219
219
  - vite:dts (23%)
220
- - vite:css-post (11%)
221
- - vite:vue (9%)
222
- - vite:css (6%)
220
+ - vite:vue (13%)
221
+ - vite:css-post (9%)
222
+ - vite:css (9%)
223
223
  See https://rolldown.rs/options/checks#plugintimings for more details.
224
224
  
225
- ✓ built in 5.16s
225
+ ✓ built in 6.03s
226
226
  Build completed successfully
@@ -1,6 +1,6 @@
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.60.2 formatter:check /home/runner/_work/platforma/platforma/sdk/ui-vue
3
+ > @platforma-sdk/ui-vue@1.61.0 formatter:check /home/runner/_work/platforma/platforma/sdk/ui-vue
4
4
  > ts-builder formatter --check
5
5
 
6
6
  Checking formatting...
@@ -8,5 +8,5 @@ Checking formatting...
8
8
  Checking formatting...
9
9
 
10
10
  All matched files use the correct format.
11
- Finished in 4185ms on 127 files using 8 threads.
11
+ Finished in 5422ms on 127 files using 8 threads.
12
12
  Format check completed successfully
@@ -1,10 +1,10 @@
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.60.2 linter:check /home/runner/_work/platforma/platforma/sdk/ui-vue
3
+ > @platforma-sdk/ui-vue@1.61.0 linter:check /home/runner/_work/platforma/platforma/sdk/ui-vue
4
4
  > ts-builder linter --check
5
5
 
6
6
  Linting project...
7
7
  ↳ oxlint --config /home/runner/_work/platforma/platforma/sdk/ui-vue/.oxlintrc.json --deny-warnings
8
8
  Found 0 warnings and 0 errors.
9
- Finished in 30ms on 110 files with 98 rules using 8 threads.
9
+ Finished in 58ms on 110 files with 98 rules using 8 threads.
10
10
  Linting completed successfully
@@ -1,6 +1,6 @@
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.60.2 types:check /home/runner/_work/platforma/platforma/sdk/ui-vue
3
+ > @platforma-sdk/ui-vue@1.61.0 types:check /home/runner/_work/platforma/platforma/sdk/ui-vue
4
4
  > ts-builder type-check --target browser-lib
5
5
 
6
6
  ↳ vue-tsc.js --noEmit --project ./tsconfig.json --customConditions ,
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @platforma-sdk/ui-vue
2
2
 
3
+ ## 1.61.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [cfee265]
8
+ - @platforma-sdk/model@1.61.0
9
+ - @milaboratories/uikit@2.11.2
10
+
3
11
  ## 1.60.2
4
12
 
5
13
  ### Patch Changes
@@ -5,13 +5,13 @@ import { PlAgDataTableV2Row } from '../types';
5
5
  export declare function useFilterableColumns(getSourceId: () => string | null, getColumnDefs: () => null | undefined | ColDef<PlAgDataTableV2Row, PTableValue | PTableHidden>[]): readonly [import('vue').Ref<({
6
6
  type: "axis";
7
7
  id: {
8
- readonly type: import('@platforma-sdk/model').ValueType;
8
+ readonly type: import('@platforma-sdk/model').AxisValueType;
9
9
  readonly name: string;
10
10
  readonly domain?: Record<string, string> | undefined;
11
11
  readonly contextDomain?: Record<string, string> | undefined;
12
12
  };
13
13
  spec: {
14
- readonly type: import('@platforma-sdk/model').ValueType;
14
+ readonly type: import('@platforma-sdk/model').AxisValueType;
15
15
  readonly name: string;
16
16
  readonly domain?: Record<string, string> | undefined;
17
17
  readonly contextDomain?: Record<string, string> | undefined;
@@ -30,7 +30,7 @@ export declare function useFilterableColumns(getSourceId: () => string | null, g
30
30
  readonly valueType: "Int" | "Long" | "Float" | "Double" | "String" | "Bytes";
31
31
  readonly parentAxes?: number[] | undefined;
32
32
  readonly axesSpec: {
33
- readonly type: import('@platforma-sdk/model').ValueType;
33
+ readonly type: import('@platforma-sdk/model').AxisValueType;
34
34
  readonly name: string;
35
35
  readonly domain?: Record<string, string> | undefined;
36
36
  readonly contextDomain?: Record<string, string> | undefined;
@@ -41,13 +41,13 @@ export declare function useFilterableColumns(getSourceId: () => string | null, g
41
41
  })[], PTableColumnSpec[] | ({
42
42
  type: "axis";
43
43
  id: {
44
- readonly type: import('@platforma-sdk/model').ValueType;
44
+ readonly type: import('@platforma-sdk/model').AxisValueType;
45
45
  readonly name: string;
46
46
  readonly domain?: Record<string, string> | undefined;
47
47
  readonly contextDomain?: Record<string, string> | undefined;
48
48
  };
49
49
  spec: {
50
- readonly type: import('@platforma-sdk/model').ValueType;
50
+ readonly type: import('@platforma-sdk/model').AxisValueType;
51
51
  readonly name: string;
52
52
  readonly domain?: Record<string, string> | undefined;
53
53
  readonly contextDomain?: Record<string, string> | undefined;
@@ -66,7 +66,7 @@ export declare function useFilterableColumns(getSourceId: () => string | null, g
66
66
  readonly valueType: "Int" | "Long" | "Float" | "Double" | "String" | "Bytes";
67
67
  readonly parentAxes?: number[] | undefined;
68
68
  readonly axesSpec: {
69
- readonly type: import('@platforma-sdk/model').ValueType;
69
+ readonly type: import('@platforma-sdk/model').AxisValueType;
70
70
  readonly name: string;
71
71
  readonly domain?: Record<string, string> | undefined;
72
72
  readonly contextDomain?: Record<string, string> | undefined;
@@ -77,13 +77,13 @@ export declare function useFilterableColumns(getSourceId: () => string | null, g
77
77
  })[]>, import('vue').Ref<({
78
78
  type: "axis";
79
79
  id: {
80
- readonly type: import('@platforma-sdk/model').ValueType;
80
+ readonly type: import('@platforma-sdk/model').AxisValueType;
81
81
  readonly name: string;
82
82
  readonly domain?: Record<string, string> | undefined;
83
83
  readonly contextDomain?: Record<string, string> | undefined;
84
84
  };
85
85
  spec: {
86
- readonly type: import('@platforma-sdk/model').ValueType;
86
+ readonly type: import('@platforma-sdk/model').AxisValueType;
87
87
  readonly name: string;
88
88
  readonly domain?: Record<string, string> | undefined;
89
89
  readonly contextDomain?: Record<string, string> | undefined;
@@ -102,7 +102,7 @@ export declare function useFilterableColumns(getSourceId: () => string | null, g
102
102
  readonly valueType: "Int" | "Long" | "Float" | "Double" | "String" | "Bytes";
103
103
  readonly parentAxes?: number[] | undefined;
104
104
  readonly axesSpec: {
105
- readonly type: import('@platforma-sdk/model').ValueType;
105
+ readonly type: import('@platforma-sdk/model').AxisValueType;
106
106
  readonly name: string;
107
107
  readonly domain?: Record<string, string> | undefined;
108
108
  readonly contextDomain?: Record<string, string> | undefined;
@@ -113,13 +113,13 @@ export declare function useFilterableColumns(getSourceId: () => string | null, g
113
113
  })[], PTableColumnSpec[] | ({
114
114
  type: "axis";
115
115
  id: {
116
- readonly type: import('@platforma-sdk/model').ValueType;
116
+ readonly type: import('@platforma-sdk/model').AxisValueType;
117
117
  readonly name: string;
118
118
  readonly domain?: Record<string, string> | undefined;
119
119
  readonly contextDomain?: Record<string, string> | undefined;
120
120
  };
121
121
  spec: {
122
- readonly type: import('@platforma-sdk/model').ValueType;
122
+ readonly type: import('@platforma-sdk/model').AxisValueType;
123
123
  readonly name: string;
124
124
  readonly domain?: Record<string, string> | undefined;
125
125
  readonly contextDomain?: Record<string, string> | undefined;
@@ -138,7 +138,7 @@ export declare function useFilterableColumns(getSourceId: () => string | null, g
138
138
  readonly valueType: "Int" | "Long" | "Float" | "Double" | "String" | "Bytes";
139
139
  readonly parentAxes?: number[] | undefined;
140
140
  readonly axesSpec: {
141
- readonly type: import('@platforma-sdk/model').ValueType;
141
+ readonly type: import('@platforma-sdk/model').AxisValueType;
142
142
  readonly name: string;
143
143
  readonly domain?: Record<string, string> | undefined;
144
144
  readonly contextDomain?: Record<string, string> | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"PlAnnotations.vue_vue_type_script_setup_true_lang.js","names":["$style"],"sources":["../../../../src/components/PlAnnotations/components/PlAnnotations.vue"],"sourcesContent":["<script lang=\"ts\">\nimport type { Props as BaseProps } from \"./FilterSidebar.vue\";\nexport type Props = BaseProps & {\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 { PlSidebarGroup, useConfirm } from \"@milaboratories/uikit\";\n\nimport type { Annotation } from \"../types\";\nimport AnnotationsSidebar from \"./AnnotationsSidebar.vue\";\nimport FilterSidebar from \"./FilterSidebar.vue\";\n\n// Models\nconst annotation = defineModel<Annotation>(\"annotation\", { required: true });\n// Props\nconst props = defineProps<Props>();\n// State\nconst selectedStepId = shallowRef<number | undefined>(undefined);\nconst selectedStep = computed(() => {\n return isNil(selectedStepId.value) || isNil(annotation.value)\n ? undefined\n : annotation.value.steps.find((step) => step.id === selectedStepId.value);\n});\n\n// Watchers\neffect(function setDefaultStepId() {\n if (selectedStepId.value === undefined && annotation.value.steps.length > 0) {\n selectedStepId.value = annotation.value.steps[0].id;\n }\n});\n// Hooks\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// Actions\nasync function handleDeleteSchema() {\n if (await confirmResetSchema()) {\n selectedStepId.value = undefined;\n props.onDeleteSchema?.();\n }\n}\n</script>\n\n<template>\n <PlSidebarGroup>\n <template #item-0>\n <AnnotationsSidebar\n v-model:annotation=\"annotation\"\n v-model:selectedStepId=\"selectedStepId\"\n :class=\"$style.sidebarItem\"\n :columns=\"props.columns\"\n @delete-schema=\"handleDeleteSchema\"\n />\n </template>\n <template #item-1>\n <FilterSidebar\n v-if=\"selectedStep\"\n v-model:step=\"selectedStep\"\n :class=\"$style.sidebarItem\"\n :columns=\"props.columns\"\n :get-suggest-options=\"props.getSuggestOptions\"\n :selectedStepId=\"selectedStepId\"\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":";;;;;;;;;;;;;;;;;;;;EAkBA,IAAM,IAAa,EAAuB,GAAC,aAAiC,EAEtE,IAAQ,GAER,IAAiB,EAA+B,KAAA,EAAU,EAC1D,IAAe,QACZ,EAAM,EAAe,MAAM,IAAI,EAAM,EAAW,MAAK,GACxD,KAAA,IACA,EAAW,MAAM,MAAM,MAAM,MAAS,EAAK,OAAO,EAAe,MAAM,CAC3E;AAGF,IAAO,WAA4B;AACjC,GAAI,EAAe,UAAU,KAAA,KAAa,EAAW,MAAM,MAAM,SAAS,MACxE,EAAe,QAAQ,EAAW,MAAM,MAAM,GAAG;IAEnD;EAEF,IAAM,IAAqB,EAAW;GACpC,OAAO;GACP,SAAS;GACT,cAAc;GACd,aAAa;GACd,CAAC;EAEF,eAAe,IAAqB;AAClC,GAAI,MAAM,GAAoB,KAC5B,EAAe,QAAQ,KAAA,GACvB,EAAM,kBAAkB;;yBAM1B,EAsBiB,EAAA,EAAA,EAAA,MAAA;GArBJ,UAAM,QAOb,CANF,EAME,GAAA;IALQ,YAAY,EAAA;6CAAU,QAAA;IACtB,gBAAgB,EAAA;iDAAc,QAAA;IACrC,OAAK,EAAEA,EAAAA,OAAO,YAAW;IACzB,SAAS,EAAM;IACf,gBAAe;;;;;;;GAGT,UAAM,QAUb,CARM,EAAA,SAAA,GAAA,EADR,EASE,GAAA;;IAPQ,MAAM,EAAA;uCAAY,QAAA;IACzB,OAAK,EAAEA,EAAAA,OAAO,YAAW;IACzB,SAAS,EAAM;IACf,uBAAqB,EAAM;IAC3B,gBAAgB,EAAA;IAChB,oBAAoB,EAAM;IAC1B,6BAA6B,EAAM"}
1
+ {"version":3,"file":"PlAnnotations.vue_vue_type_script_setup_true_lang.js","names":["$style"],"sources":["../../../../src/components/PlAnnotations/components/PlAnnotations.vue"],"sourcesContent":["<script lang=\"ts\">\nimport type { Props as BaseProps } from \"./FilterSidebar.vue\";\nexport type Props = BaseProps & {\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 { PlSidebarGroup, useConfirm } from \"@milaboratories/uikit\";\n\nimport type { Annotation } from \"../types\";\nimport AnnotationsSidebar from \"./AnnotationsSidebar.vue\";\nimport FilterSidebar from \"./FilterSidebar.vue\";\n\n// Models\nconst annotation = defineModel<Annotation>(\"annotation\", { required: true });\n// Props\nconst props = defineProps<Props>();\n// State\nconst selectedStepId = shallowRef<number | undefined>(undefined);\nconst selectedStep = computed(() => {\n return isNil(selectedStepId.value) || isNil(annotation.value)\n ? undefined\n : annotation.value.steps.find((step) => step.id === selectedStepId.value);\n});\n\n// Watchers\neffect(function setDefaultStepId() {\n if (selectedStepId.value === undefined && annotation.value.steps.length > 0) {\n selectedStepId.value = annotation.value.steps[0].id;\n }\n});\n// Hooks\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// Actions\nasync function handleDeleteSchema() {\n if (await confirmResetSchema()) {\n selectedStepId.value = undefined;\n props.onDeleteSchema?.();\n }\n}\n</script>\n\n<template>\n <PlSidebarGroup>\n <template #item-0>\n <AnnotationsSidebar\n v-model:annotation=\"annotation\"\n v-model:selectedStepId=\"selectedStepId\"\n :class=\"$style.sidebarItem\"\n :columns=\"props.columns\"\n @delete-schema=\"handleDeleteSchema\"\n />\n </template>\n <template #item-1>\n <FilterSidebar\n v-if=\"selectedStep\"\n v-model:step=\"selectedStep\"\n :class=\"$style.sidebarItem\"\n :columns=\"props.columns\"\n :get-suggest-options=\"props.getSuggestOptions\"\n :selectedStepId=\"selectedStepId\"\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":";;;;;;;;;;;;;;;;;;;;EAkBA,IAAM,IAAa,EAAuB,GAAC,aAAiC,EAEtE,IAAQ,GAER,IAAiB,EAA+B,KAAA,EAAU,EAC1D,IAAe,QACZ,EAAM,EAAe,MAAM,IAAI,EAAM,EAAW,MAAK,GACxD,KAAA,IACA,EAAW,MAAM,MAAM,MAAM,MAAS,EAAK,OAAO,EAAe,MAAM,CAC3E;AAGF,IAAO,WAA4B;AACjC,GAAI,EAAe,UAAU,KAAA,KAAa,EAAW,MAAM,MAAM,SAAS,MACxE,EAAe,QAAQ,EAAW,MAAM,MAAM,GAAG;IAEnD;EAEF,IAAM,IAAqB,EAAW;GACpC,OAAO;GACP,SAAS;GACT,cAAc;GACd,aAAa;GACd,CAAC;EAEF,eAAe,IAAqB;AAClC,GAAI,MAAM,GAAoB,KAC5B,EAAe,QAAQ,KAAA,GACvB,EAAM,kBAAkB;;yBAM1B,EAsBiB,EAAA,EAAA,EAAA,MAAA;GArBJ,UAAM,QAOb,CANF,EAME,GAAA;IALQ,YAAY,EAAA;6CAAU,QAAA;IACtB,gBAAgB,EAAA;iDAAc,QAAA;IACrC,OAAK,EAAEA,EAAAA,OAAO,YAAW;IACzB,SAAS,EAAM;IACf,gBAAe;;;;;;;GAGT,UAAM,QAWH,CATJ,EAAA,SAAA,GAAA,EADR,EASE,GAAA;;IAPQ,MAAM,EAAA;uCAAY,QAAA;IACzB,OAAK,EAAEA,EAAAA,OAAO,YAAW;IACzB,SAAS,EAAM;IACf,uBAAqB,EAAM;IAC3B,gBAAgB,EAAA;IAChB,oBAAoB,EAAM;IAC1B,6BAA6B,EAAM"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platforma-sdk/ui-vue",
3
- "version": "1.60.2",
3
+ "version": "1.61.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
@@ -25,8 +25,8 @@
25
25
  "lru-cache": "^11.2.2",
26
26
  "vue": "^3.5.24",
27
27
  "zod": "~3.23.8",
28
- "@milaboratories/uikit": "2.11.1",
29
- "@platforma-sdk/model": "1.60.2"
28
+ "@milaboratories/uikit": "2.11.2",
29
+ "@platforma-sdk/model": "1.61.0"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@faker-js/faker": "^9.2.0",
@@ -42,8 +42,8 @@
42
42
  "vitest": "^4.0.18",
43
43
  "@milaboratories/build-configs": "1.5.2",
44
44
  "@milaboratories/helpers": "1.14.0",
45
- "@milaboratories/ts-builder": "1.3.0",
46
- "@milaboratories/ts-configs": "1.2.2"
45
+ "@milaboratories/ts-configs": "1.2.2",
46
+ "@milaboratories/ts-builder": "1.3.0"
47
47
  },
48
48
  "scripts": {
49
49
  "dev": "ts-builder serve --target browser-lib",