@platforma-sdk/ui-vue 1.55.1 → 1.56.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.55.1 build /home/runner/_work/platforma/platforma/sdk/ui-vue
3
+ > @platforma-sdk/ui-vue@1.56.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...
@@ -69,8 +69,8 @@ computing gzip size...
69
69
  dist/components/PlAdvancedFilter/PlAdvancedFilter.vue.js  0.30 kB │ gzip: 0.22 kB │ map: 0.11 kB
70
70
  dist/components/PlBtnExportArchive/PlBtnExportArchive.vue.js  0.31 kB │ gzip: 0.22 kB │ map: 0.11 kB
71
71
  dist/components/PlAnnotations/components/PlAnnotationsModal.vue.js  0.31 kB │ gzip: 0.22 kB │ map: 0.11 kB
72
- dist/components/PlAgDataTable/PlAgDataTableSheets.vue.js  0.31 kB │ gzip: 0.22 kB │ map: 0.11 kB
73
72
  dist/components/PlAnnotations/components/AnnotationsSidebar.vue.js  0.31 kB │ gzip: 0.22 kB │ map: 0.11 kB
73
+ dist/components/PlAgDataTable/PlAgDataTableSheets.vue.js  0.31 kB │ gzip: 0.22 kB │ map: 0.11 kB
74
74
  dist/components/PlAgGridColumnManager/PlAgGridColumnManager.vue.js  0.32 kB │ gzip: 0.23 kB │ map: 0.12 kB
75
75
  dist/lib/util/helpers/dist/strings.js  0.35 kB │ gzip: 0.24 kB │ map: 4.22 kB
76
76
  dist/components/PlAgDataTable/pl-ag-overlay-loading.module.scss.js  0.36 kB │ gzip: 0.22 kB │ map: 0.12 kB
@@ -96,7 +96,6 @@ computing gzip size...
96
96
  dist/components/PlAdvancedFilter/OperandButton.vue2.js  0.84 kB │ gzip: 0.51 kB │ map: 1.87 kB
97
97
  dist/components/PlAdvancedFilter/FilterEditor.vue3.js  0.87 kB │ gzip: 0.41 kB │ map: 0.12 kB
98
98
  dist/components/NotFound.vue.js  0.90 kB │ gzip: 0.54 kB │ map: 1.18 kB
99
- dist/components/PlTableFastSearch/PlTableFastSearch.vue.js  0.92 kB │ gzip: 0.51 kB │ map: 1.42 kB
100
99
  dist/components/PlAgDataTable/compositions/useFilterableColumns.js  0.93 kB │ gzip: 0.49 kB │ map: 3.42 kB
101
100
  dist/plugins/Monetization/LimitCard.vue3.js  0.97 kB │ gzip: 0.40 kB │ map: 0.11 kB
102
101
  dist/components/PlAgChartHistogramCell/PlAgChartHistogramCell.vue.js  1.00 kB │ gzip: 0.55 kB │ map: 2.09 kB
@@ -125,6 +124,7 @@ computing gzip size...
125
124
  dist/components/PlAdvancedFilter/constants.js  1.71 kB │ gzip: 0.52 kB │ map: 4.00 kB
126
125
  dist/internal/createAppModel.js  1.73 kB │ gzip: 0.77 kB │ map: 4.86 kB
127
126
  dist/internal/UpdateSerializer.js  1.89 kB │ gzip: 0.80 kB │ map: 4.70 kB
127
+ dist/components/PlTableFastSearch/PlTableFastSearch.vue.js  1.95 kB │ gzip: 0.85 kB │ map: 2.30 kB
128
128
  dist/components/PlAnnotations/components/PlAnnotationsModal.vue2.js  1.99 kB │ gzip: 0.86 kB │ map: 2.63 kB
129
129
  dist/components/PlAgDataTable/PlAgRowCount.vue.js  2.12 kB │ gzip: 0.76 kB │ map: 2.79 kB
130
130
  dist/plugins/Monetization/useInfo.js  2.18 kB │ gzip: 0.83 kB │ map: 4.93 kB
@@ -157,7 +157,7 @@ computing gzip size...
157
157
  dist/components/PlAdvancedFilter/FilterEditor.vue2.js 12.83 kB │ gzip: 3.28 kB │ map: 25.49 kB
158
158
  dist/components/PlAgDataTable/PlAgDataTableV2.vue2.js 12.92 kB │ gzip: 3.68 kB │ map: 29.49 kB
159
159
  dist/index.js 99.95 kB │ gzip: 64.35 kB │ map: 0.13 kB
160
- [vite:dts] Declaration files built in 4405ms.
160
+ [vite:dts] Declaration files built in 5821ms.
161
161
 
162
- ✓ built in 5.64s
162
+ ✓ built in 7.29s
163
163
  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.55.1 formatter:check /home/runner/_work/platforma/platforma/sdk/ui-vue
3
+ > @platforma-sdk/ui-vue@1.56.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 1389ms on 125 files using 8 threads.
11
+ Finished in 2082ms on 125 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.55.1 linter:check /home/runner/_work/platforma/platforma/sdk/ui-vue
3
+ > @platforma-sdk/ui-vue@1.56.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 27ms on 108 files with 98 rules using 8 threads.
9
+ Finished in 33ms on 108 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.55.1 types:check /home/runner/_work/platforma/platforma/sdk/ui-vue
3
+ > @platforma-sdk/ui-vue@1.56.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,21 @@
1
1
  # @platforma-sdk/ui-vue
2
2
 
3
+ ## 1.56.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [f2daf69]
8
+ - @platforma-sdk/model@1.56.0
9
+ - @milaboratories/uikit@2.10.29
10
+
11
+ ## 1.55.2
12
+
13
+ ### Patch Changes
14
+
15
+ - bc16fab: add helper with tooltip for table fast search
16
+ - Updated dependencies [bc16fab]
17
+ - @milaboratories/uikit@2.10.28
18
+
3
19
  ## 1.55.1
4
20
 
5
21
  ### Patch Changes
@@ -10,9 +10,9 @@ import "ag-grid-vue3";
10
10
  import "@milaboratories/uikit";
11
11
  import "ag-grid-enterprise";
12
12
  import { makeRowNumberColDef as w, autoSizeRowNumberColumn as R } from "../components/PlAgDataTable/sources/row-number.js";
13
- import { whenever as T } from "@vueuse/core";
14
13
  /* empty css */
15
14
  /* empty css */
15
+ import { whenever as T } from "@vueuse/core";
16
16
  import "fast-json-patch";
17
17
  /* empty css */
18
18
  import "../plugins/Monetization/validation.js";
@@ -1 +1 @@
1
- {"version":3,"file":"PlTableFastSearch.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PlTableFastSearch/PlTableFastSearch.vue"],"names":[],"mappings":"AAsDA,KAAK,iBAAiB,GAAG;IACzB,UAAU,EAAE,MAAM,CAAC;CAClB,CAAC;;;;;;AAsDF,wBAQG"}
1
+ {"version":3,"file":"PlTableFastSearch.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PlTableFastSearch/PlTableFastSearch.vue"],"names":[],"mappings":"AA+CA,KAAK,iBAAiB,GAAG;IACzB,UAAU,EAAE,MAAM,CAAC;CAClB,CAAC;;;;;;AA6FF,wBAQG"}
@@ -1,30 +1,54 @@
1
- import { defineComponent as d, useModel as n, ref as c, watch as u, createBlock as s, openBlock as i, unref as p } from "vue";
2
- import { PlSearchField as f } from "@milaboratories/uikit";
3
- import { useDebounceFn as V } from "@vueuse/core";
4
- const _ = /* @__PURE__ */ d({
1
+ import { defineComponent as o, useModel as r, createBlock as s, openBlock as i, unref as c, withCtx as m, createElementVNode as l, createTextVNode as a } from "vue";
2
+ import { PlSearchField as d } from "@milaboratories/uikit";
3
+ const x = /* @__PURE__ */ o({
5
4
  __name: "PlTableFastSearch",
6
5
  props: {
7
6
  modelValue: { required: !0 },
8
7
  modelModifiers: {}
9
8
  },
10
9
  emits: ["update:modelValue"],
11
- setup(r) {
12
- const o = n(r, "modelValue"), l = c(o.value ?? ""), t = V((e) => {
13
- o.value = e;
14
- }, 300);
15
- return u(l, (e) => {
16
- t(e);
17
- }), u(o, (e) => {
18
- e !== l.value && (l.value = e ?? "");
19
- }), (e, a) => (i(), s(p(f), {
20
- modelValue: l.value,
21
- "onUpdate:modelValue": a[0] || (a[0] = (m) => l.value = m),
10
+ setup(n) {
11
+ const u = r(n, "modelValue");
12
+ return (p, e) => (i(), s(c(d), {
13
+ modelValue: u.value,
14
+ "onUpdate:modelValue": e[0] || (e[0] = (t) => u.value = t),
22
15
  clearable: "",
23
16
  placeholder: "Search..."
24
- }, null, 8, ["modelValue"]));
17
+ }, {
18
+ helper: m(() => [...e[1] || (e[1] = [
19
+ l("b", null, "How table search works:", -1),
20
+ l("br", null, null, -1),
21
+ l("ul", null, [
22
+ l("li", null, [
23
+ l("b", null, "Exact match only."),
24
+ l("br"),
25
+ a(" No partials, wildcards, ranges, or regex. ")
26
+ ]),
27
+ l("li", null, [
28
+ l("b", null, "Scope:"),
29
+ a(" Searches all visible columns. To include a column, make it visible in Columns. ")
30
+ ]),
31
+ l("li", null, [
32
+ l("b", null, "Text columns:"),
33
+ a(" Exact string equality. Characters must match exactly (including case, spaces, and punctuation). ")
34
+ ]),
35
+ l("li", null, [
36
+ l("b", null, "Number columns:"),
37
+ a(" Exact numeric equality. 71 matches 71 and 71.0; it does not match 715 or 0.71/0.85. ")
38
+ ])
39
+ ], -1),
40
+ l("b", null, "Examples:", -1),
41
+ l("br", null, null, -1),
42
+ l("ul", null, [
43
+ l("li", null, "CASSLDRGTEAFF → shows rows where any visible column equals that full string."),
44
+ l("li", null, "85 → matches 85 / 85.0, not 0.85 or 850.")
45
+ ], -1)
46
+ ])]),
47
+ _: 1
48
+ }, 8, ["modelValue"]));
25
49
  }
26
50
  });
27
51
  export {
28
- _ as default
52
+ x as default
29
53
  };
30
54
  //# sourceMappingURL=PlTableFastSearch.vue.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PlTableFastSearch.vue.js","sources":["../../../src/components/PlTableFastSearch/PlTableFastSearch.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nimport { PlSearchField } from \"@milaboratories/uikit\";\nimport { ref, watch } from \"vue\";\nimport { useDebounceFn } from \"@vueuse/core\";\n\nconst model = defineModel<string>({ required: true });\n\nconst localValue = ref(model.value ?? \"\");\n\nconst emitDebounced = useDebounceFn((value: string) => {\n model.value = value;\n}, 300);\n\nwatch(localValue, (value) => {\n emitDebounced(value);\n});\n\nwatch(model, (value) => {\n if (value !== localValue.value) {\n localValue.value = value ?? \"\";\n }\n});\n</script>\n\n<template>\n <PlSearchField v-model=\"localValue\" clearable placeholder=\"Search...\" />\n</template>\n"],"names":["model","_useModel","__props","localValue","ref","emitDebounced","useDebounceFn","value","watch","_createBlock","_unref","PlSearchField","$event"],"mappings":";;;;;;;;;;;AAKA,UAAMA,IAAQC,EAAmBC,GAAA,YAAmB,GAE9CC,IAAaC,EAAIJ,EAAM,SAAS,EAAE,GAElCK,IAAgBC,EAAc,CAACC,MAAkB;AACrD,MAAAP,EAAM,QAAQO;AAAA,IAChB,GAAG,GAAG;AAEN,WAAAC,EAAML,GAAY,CAACI,MAAU;AAC3B,MAAAF,EAAcE,CAAK;AAAA,IACrB,CAAC,GAEDC,EAAMR,GAAO,CAACO,MAAU;AACtB,MAAIA,MAAUJ,EAAW,UACvBA,EAAW,QAAQI,KAAS;AAAA,IAEhC,CAAC,mBAICE,EAAwEC,EAAAC,CAAA,GAAA;AAAA,kBAAhDR,EAAA;AAAA,oDAAAA,EAAU,QAAAS;AAAA,MAAE,WAAA;AAAA,MAAU,aAAY;AAAA,IAAA;;;"}
1
+ {"version":3,"file":"PlTableFastSearch.vue.js","sources":["../../../src/components/PlTableFastSearch/PlTableFastSearch.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nimport { PlSearchField } from \"@milaboratories/uikit\";\n\nconst model = defineModel<string>({ required: true });\n</script>\n\n<template>\n <PlSearchField v-model=\"model\" clearable placeholder=\"Search...\">\n <template #helper>\n <b>How table search works:</b>\n <br />\n <ul>\n <li>\n <b>Exact match only.</b><br />\n No partials, wildcards, ranges, or regex.\n </li>\n <li>\n <b>Scope:</b> Searches all visible columns. To include a column, make it visible in\n Columns.\n </li>\n <li>\n <b>Text columns:</b> Exact string equality. Characters must match exactly (including case,\n spaces, and punctuation).\n </li>\n <li>\n <b>Number columns:</b> Exact numeric equality. 71 matches 71 and 71.0; it does not match\n 715 or 0.71/0.85.\n </li>\n </ul>\n <b>Examples:</b>\n <br />\n <ul>\n <li>CASSLDRGTEAFF shows rows where any visible column equals that full string.</li>\n <li>85 → matches 85 / 85.0, not 0.85 or 850.</li>\n </ul>\n </template>\n </PlSearchField>\n</template>\n"],"names":["model","_useModel","__props","_createBlock","_unref","PlSearchField","$event","_cache","_createElementVNode"],"mappings":";;;;;;;;;;AAGA,UAAMA,IAAQC,EAAmBC,GAAA,YAAmB;2BAIlDC,EA6BgBC,EAAAC,CAAA,GAAA;AAAA,kBA7BQL,EAAA;AAAA,oDAAAA,EAAK,QAAAM;AAAA,MAAE,WAAA;AAAA,MAAU,aAAY;AAAA,IAAA;MACxC,UACT,MAA8B,CAAA,GAAAC,EAAA,CAAA,MAAAA,EAAA,CAAA,IAAA;AAAA,QAA9BC,EAA8B,WAA3B,2BAAuB,EAAA;AAAA,QAC1BA,EAAM,MAAA,MAAA,MAAA,EAAA;AAAA,QACNA,EAiBK,MAAA,MAAA;AAAA,UAhBHA,EAGK,MAAA,MAAA;AAAA,YAFHA,EAAwB,WAArB,mBAAiB;AAAA,YAAIA,EAAM,IAAA;AAAA,cAAA,6CAEhC;AAAA,UAAA;UACAA,EAGK,MAAA,MAAA;AAAA,YAFHA,EAAa,WAAV,QAAM;AAAA,cAAI,kFAEf;AAAA,UAAA;UACAA,EAGK,MAAA,MAAA;AAAA,YAFHA,EAAoB,WAAjB,eAAa;AAAA,cAAI,mGAEtB;AAAA,UAAA;UACAA,EAGK,MAAA,MAAA;AAAA,YAFHA,EAAsB,WAAnB,iBAAe;AAAA,cAAI,uFAExB;AAAA,UAAA;;QAEFA,EAAgB,WAAb,aAAS,EAAA;AAAA,QACZA,EAAM,MAAA,MAAA,MAAA,EAAA;AAAA,QACNA,EAGK,MAAA,MAAA;AAAA,UAFHA,EAAqF,YAAjF,8EAA4E;AAAA,UAChFA,EAAiD,YAA7C,0CAAwC;AAAA,QAAA;;;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@platforma-sdk/ui-vue",
3
- "version": "1.55.1",
3
+ "version": "1.56.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "exports": {
@@ -26,8 +26,8 @@
26
26
  "lru-cache": "^11.2.2",
27
27
  "vue": "^3.5.24",
28
28
  "zod": "~3.23.8",
29
- "@milaboratories/uikit": "2.10.27",
30
- "@platforma-sdk/model": "1.55.0"
29
+ "@platforma-sdk/model": "1.56.0",
30
+ "@milaboratories/uikit": "2.10.29"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@faker-js/faker": "^9.2.0",
@@ -1,27 +1,38 @@
1
1
  <script lang="ts" setup>
2
2
  import { PlSearchField } from "@milaboratories/uikit";
3
- import { ref, watch } from "vue";
4
- import { useDebounceFn } from "@vueuse/core";
5
3
 
6
4
  const model = defineModel<string>({ required: true });
7
-
8
- const localValue = ref(model.value ?? "");
9
-
10
- const emitDebounced = useDebounceFn((value: string) => {
11
- model.value = value;
12
- }, 300);
13
-
14
- watch(localValue, (value) => {
15
- emitDebounced(value);
16
- });
17
-
18
- watch(model, (value) => {
19
- if (value !== localValue.value) {
20
- localValue.value = value ?? "";
21
- }
22
- });
23
5
  </script>
24
6
 
25
7
  <template>
26
- <PlSearchField v-model="localValue" clearable placeholder="Search..." />
8
+ <PlSearchField v-model="model" clearable placeholder="Search...">
9
+ <template #helper>
10
+ <b>How table search works:</b>
11
+ <br />
12
+ <ul>
13
+ <li>
14
+ <b>Exact match only.</b><br />
15
+ No partials, wildcards, ranges, or regex.
16
+ </li>
17
+ <li>
18
+ <b>Scope:</b> Searches all visible columns. To include a column, make it visible in
19
+ Columns.
20
+ </li>
21
+ <li>
22
+ <b>Text columns:</b> Exact string equality. Characters must match exactly (including case,
23
+ spaces, and punctuation).
24
+ </li>
25
+ <li>
26
+ <b>Number columns:</b> Exact numeric equality. 71 matches 71 and 71.0; it does not match
27
+ 715 or 0.71/0.85.
28
+ </li>
29
+ </ul>
30
+ <b>Examples:</b>
31
+ <br />
32
+ <ul>
33
+ <li>CASSLDRGTEAFF → shows rows where any visible column equals that full string.</li>
34
+ <li>85 → matches 85 / 85.0, not 0.85 or 850.</li>
35
+ </ul>
36
+ </template>
37
+ </PlSearchField>
27
38
  </template>