@milaboratories/uikit 2.4.0 → 2.4.1
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.
- package/.turbo/turbo-build.log +19 -19
- package/.turbo/turbo-type-check.log +1 -1
- package/CHANGELOG.md +7 -0
- package/dist/components/PlAutocomplete/PlAutocomplete.vue.js +1 -1
- package/dist/components/PlDropdown/PlDropdown.vue.js +1 -1
- package/dist/components/PlDropdownLegacy/PlDropdownLegacy.vue.js +1 -1
- package/dist/components/PlDropdownMulti/PlDropdownMulti.vue.js +1 -1
- package/dist/components/PlFileInput/PlFileInput.vue.js +11 -11
- package/dist/components/PlTextArea/PlTextArea.vue.js +1 -1
- package/dist/components/PlTextField/PlTextField.vue.js +1 -1
- package/dist/generated/components/svg/images/{SvgRequired.vue2.js → SvgRequired.vue.js} +1 -1
- package/dist/generated/components/svg/images/SvgRequired.vue.js.map +1 -0
- package/dist/lib/model/common/dist/index.js +182 -159
- package/dist/lib/model/common/dist/index.js.map +1 -1
- package/dist/sdk/model/dist/index.js +334 -322
- package/dist/sdk/model/dist/index.js.map +1 -1
- package/package.json +4 -4
- package/.turbo/turbo-test.log +0 -133
- package/dist/components/PlAccordion/ExpandTransition.vue2.js +0 -27
- package/dist/components/PlAccordion/ExpandTransition.vue2.js.map +0 -1
- package/dist/generated/components/svg/images/SvgRequired.vue2.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@milaboratories/uikit",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"d3-selection": "^3.0.0",
|
|
31
31
|
"d3-axis": "^3.0.0",
|
|
32
32
|
"resize-observer-polyfill": "^1.5.1",
|
|
33
|
-
"@
|
|
34
|
-
"@
|
|
33
|
+
"@platforma-sdk/model": "^1.42.15",
|
|
34
|
+
"@milaboratories/helpers": "^1.6.19"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@vitejs/plugin-vue": "^5.2.3",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"vue-tsc": "^2.2.10",
|
|
42
42
|
"yarpm": "^1.2.0",
|
|
43
43
|
"svgo": "^3.3.2",
|
|
44
|
-
"@milaboratories/ts-configs": "1.0.5",
|
|
45
44
|
"@milaboratories/eslint-config": "^1.0.4",
|
|
45
|
+
"@milaboratories/ts-configs": "1.0.5",
|
|
46
46
|
"@milaboratories/build-configs": "1.0.5"
|
|
47
47
|
},
|
|
48
48
|
"scripts": {
|
package/.turbo/turbo-test.log
DELETED
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
WARN Issue while reading "/home/runner/_work/platforma/platforma/.npmrc". Failed to replace env in config: ${NPMJS_TOKEN}
|
|
2
|
-
|
|
3
|
-
> @milaboratories/uikit@2.4.0 test /home/runner/_work/platforma/platforma/lib/ui/uikit
|
|
4
|
-
> vitest run
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
[1m[7m[36m RUN [39m[27m[22m [36mv2.1.9 [39m[90m/home/runner/_work/platforma/platforma/lib/ui/uikit[39m
|
|
8
|
-
|
|
9
|
-
[90mstdout[2m | src/components/PlChartHistogram/scales.spec.ts[2m > [22m[2mScales[2m > [22m[2mlogspace
|
|
10
|
-
[22m[39mres [
|
|
11
|
-
[33m1[39m,
|
|
12
|
-
[33m2.7825594022071245[39m,
|
|
13
|
-
[33m7.742636826811269[39m,
|
|
14
|
-
[33m21.544346900318835[39m,
|
|
15
|
-
[33m59.94842503189409[39m,
|
|
16
|
-
[33m166.8100537200059[39m,
|
|
17
|
-
[33m464.15888336127773[39m,
|
|
18
|
-
[33m1291.5496650148827[39m,
|
|
19
|
-
[33m3593.813663804626[39m,
|
|
20
|
-
[33m10000[39m
|
|
21
|
-
]
|
|
22
|
-
|
|
23
|
-
[32m✓[39m src/components/PlChartHistogram/scales.spec.ts [2m([22m[2m1 test[22m[2m)[22m[90m 6[2mms[22m[39m
|
|
24
|
-
TAP version 13
|
|
25
|
-
# Subtest: Test useValidation
|
|
26
|
-
ok 1 - Test useValidation
|
|
27
|
-
---
|
|
28
|
-
duration_ms: 2.370136
|
|
29
|
-
type: 'suite'
|
|
30
|
-
...
|
|
31
|
-
[32m✓[39m src/__tests__/compositions/useValidation.spec.ts [2m([22m[2m5 tests[22m[2m)[22m[90m 6[2mms[22m[39m
|
|
32
|
-
DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
|
|
33
|
-
|
|
34
|
-
More info: https://sass-lang.com/d/legacy-js-api
|
|
35
|
-
|
|
36
|
-
DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
|
|
37
|
-
|
|
38
|
-
More info: https://sass-lang.com/d/legacy-js-api
|
|
39
|
-
|
|
40
|
-
DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
|
|
41
|
-
|
|
42
|
-
More info: https://sass-lang.com/d/legacy-js-api
|
|
43
|
-
|
|
44
|
-
DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
|
|
45
|
-
|
|
46
|
-
More info: https://sass-lang.com/d/legacy-js-api
|
|
47
|
-
|
|
48
|
-
DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
|
|
49
|
-
|
|
50
|
-
More info: https://sass-lang.com/d/legacy-js-api
|
|
51
|
-
|
|
52
|
-
DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
|
|
53
|
-
|
|
54
|
-
More info: https://sass-lang.com/d/legacy-js-api
|
|
55
|
-
|
|
56
|
-
DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
|
|
57
|
-
|
|
58
|
-
More info: https://sass-lang.com/d/legacy-js-api
|
|
59
|
-
|
|
60
|
-
TAP version 13
|
|
61
|
-
# Subtest: Colors
|
|
62
|
-
ok 1 - Colors
|
|
63
|
-
---
|
|
64
|
-
duration_ms: 2.024173
|
|
65
|
-
type: 'suite'
|
|
66
|
-
...
|
|
67
|
-
DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
|
|
68
|
-
|
|
69
|
-
More info: https://sass-lang.com/d/legacy-js-api
|
|
70
|
-
|
|
71
|
-
DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
|
|
72
|
-
|
|
73
|
-
More info: https://sass-lang.com/d/legacy-js-api
|
|
74
|
-
|
|
75
|
-
[32m✓[39m src/colors/__tests__/colors.spec.ts [2m([22m[2m2 tests[22m[2m)[22m[90m 8[2mms[22m[39m
|
|
76
|
-
DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
|
|
77
|
-
|
|
78
|
-
More info: https://sass-lang.com/d/legacy-js-api
|
|
79
|
-
|
|
80
|
-
DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
|
|
81
|
-
|
|
82
|
-
More info: https://sass-lang.com/d/legacy-js-api
|
|
83
|
-
|
|
84
|
-
DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
|
|
85
|
-
|
|
86
|
-
More info: https://sass-lang.com/d/legacy-js-api
|
|
87
|
-
|
|
88
|
-
[32m✓[39m src/components/PlRadio/__tests__/PlRadioGroup.spec.ts [2m([22m[2m7 tests[22m[2m | [22m[33m1 skipped[39m[2m)[22m[90m 54[2mms[22m[39m
|
|
89
|
-
[32m✓[39m src/components/PlCheckbox/__tests__/PlCheckbox.spec.ts [2m([22m[2m1 test[22m[2m)[22m[90m 44[2mms[22m[39m
|
|
90
|
-
[2m[90m↓[39m[22m src/__tests__/use-debounce-fn.test.ts [2m([22m[2m1 test[22m[2m | [22m[33m1 skipped[39m[2m)[22m
|
|
91
|
-
DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
|
|
92
|
-
|
|
93
|
-
More info: https://sass-lang.com/d/legacy-js-api
|
|
94
|
-
|
|
95
|
-
[32m✓[39m src/components/PlFileDialog/utils.test.ts [2m([22m[2m5 tests[22m[2m)[22m[90m 5[2mms[22m[39m
|
|
96
|
-
DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
|
|
97
|
-
|
|
98
|
-
More info: https://sass-lang.com/d/legacy-js-api
|
|
99
|
-
|
|
100
|
-
[32m✓[39m src/components/PlBtnPrimary/__tests__/BtnPrimary.spec.ts [2m([22m[2m1 test[22m[2m)[22m[90m 20[2mms[22m[39m
|
|
101
|
-
[90mstdout[2m | src/components/PlBtnSplit/__tests__/PlBtnSplit.spec.ts[2m > [22m[2mPlBtnSplit.vue[2m > [22m[2mToggles dropdown on menu activator click
|
|
102
|
-
[22m[39mDOMWrapper {
|
|
103
|
-
isDisabled: [36m[Function (anonymous)][39m,
|
|
104
|
-
wrapperElement: HTMLDivElement { [[32mSymbol(_vei)[39m]: { onClick: [36m[Function][39m } }
|
|
105
|
-
}
|
|
106
|
-
|
|
107
|
-
[32m✓[39m src/components/PlNumberField/__tests__/PlNumberField.spec.ts [2m([22m[2m10 tests[22m[2m)[22m[90m 132[2mms[22m[39m
|
|
108
|
-
[32m✓[39m src/components/PlBtnSplit/__tests__/PlBtnSplit.spec.ts [2m([22m[2m9 tests[22m[2m)[22m[90m 106[2mms[22m[39m
|
|
109
|
-
DEPRECATION WARNING [legacy-js-api]: The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.
|
|
110
|
-
|
|
111
|
-
More info: https://sass-lang.com/d/legacy-js-api
|
|
112
|
-
|
|
113
|
-
[32m✓[39m src/components/PlTextArea/__tests__/PlTextArea.spec.ts [2m([22m[2m2 tests[22m[2m)[22m[90m 98[2mms[22m[39m
|
|
114
|
-
[32m✓[39m src/components/PlDropdownLegacy/__tests__/PlDropdownLegacy.spec.ts [2m([22m[2m1 test[22m[2m)[22m[90m 86[2mms[22m[39m
|
|
115
|
-
[32m✓[39m src/components/PlTextField/__tests__/TextField.spec.ts [2m([22m[2m3 tests[22m[2m)[22m[90m 89[2mms[22m[39m
|
|
116
|
-
[90mstdout[2m | src/components/PlDropdownMulti/__tests__/PlDropdownMulti.spec.ts[2m > [22m[2mPlDropdownMulti[2m > [22m[2mmodelValue
|
|
117
|
-
[22m[39moptions [
|
|
118
|
-
HTMLDivElement { [[32mSymbol(_vei)[39m]: { onClick: [36m[Function][39m } },
|
|
119
|
-
HTMLDivElement { [[32mSymbol(_vei)[39m]: { onClick: [36m[Function][39m } }
|
|
120
|
-
]
|
|
121
|
-
|
|
122
|
-
[32m✓[39m src/components/PlDropdownMulti/__tests__/PlDropdownMulti.spec.ts [2m([22m[2m1 test[22m[2m)[22m[90m 109[2mms[22m[39m
|
|
123
|
-
[32m✓[39m src/components/PlDropdownMultiRef/__tests__/PlDropdownMultiRef.spec.ts [2m([22m[2m1 test[22m[2m)[22m[90m 160[2mms[22m[39m
|
|
124
|
-
[32m✓[39m src/components/PlDropdown/__tests__/PlDropdown.spec.ts [2m([22m[2m1 test[22m[2m)[22m[90m 106[2mms[22m[39m
|
|
125
|
-
[32m✓[39m src/components/PlDropdownRef/__tests__/PlDropdownRef.spec.ts [2m([22m[2m1 test[22m[2m)[22m[90m 113[2mms[22m[39m
|
|
126
|
-
[32m✓[39m src/components/PlAutocomplete/__tests__/PlAutocomplete.spec.ts [2m([22m[2m1 test[22m[2m)[22m[33m 728[2mms[22m[39m
|
|
127
|
-
[33m[2m✓[22m[39m PlAutocomplete[2m > [22mmodelValue [33m726[2mms[22m[39m
|
|
128
|
-
|
|
129
|
-
[2m Test Files [22m [1m[32m17 passed[39m[22m[2m | [22m[33m1 skipped[39m[90m (18)[39m
|
|
130
|
-
[2m Tests [22m [1m[32m51 passed[39m[22m[2m | [22m[33m2 skipped[39m[90m (53)[39m
|
|
131
|
-
[2m Start at [22m 10:52:58
|
|
132
|
-
[2m Duration [22m 4.83s[2m (transform 7.98s, setup 1.05s, collect 20.47s, tests 1.87s, environment 25.23s, prepare 9.86s)[22m
|
|
133
|
-
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { defineComponent as n, createBlock as r, openBlock as a, Transition as s, withCtx as p, renderSlot as c } from "vue";
|
|
2
|
-
const f = /* @__PURE__ */ n({
|
|
3
|
-
__name: "ExpandTransition",
|
|
4
|
-
setup(l) {
|
|
5
|
-
const t = (e) => {
|
|
6
|
-
e.classList.add("expand-collapse-fix"), e.style.setProperty("--component-height", e.scrollHeight + "px");
|
|
7
|
-
}, o = (e) => {
|
|
8
|
-
e.style.removeProperty("--component-height"), e.classList.remove("expand-collapse-fix");
|
|
9
|
-
};
|
|
10
|
-
return (e, i) => (a(), r(s, {
|
|
11
|
-
name: "expand-collapse",
|
|
12
|
-
onEnter: t,
|
|
13
|
-
onLeave: t,
|
|
14
|
-
onAfterEnter: o,
|
|
15
|
-
onAfterLeave: o
|
|
16
|
-
}, {
|
|
17
|
-
default: p(() => [
|
|
18
|
-
c(e.$slots, "default")
|
|
19
|
-
]),
|
|
20
|
-
_: 3
|
|
21
|
-
}));
|
|
22
|
-
}
|
|
23
|
-
});
|
|
24
|
-
export {
|
|
25
|
-
f as default
|
|
26
|
-
};
|
|
27
|
-
//# sourceMappingURL=ExpandTransition.vue2.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ExpandTransition.vue2.js","sources":["../../../src/components/PlAccordion/ExpandTransition.vue"],"sourcesContent":["<script lang=\"ts\" setup>\nconst onStart = (el: Element) => {\n el.classList.add('expand-collapse-fix');\n (el as HTMLElement).style.setProperty('--component-height', el.scrollHeight + 'px');\n};\n\nconst onAfter = (el: Element) => {\n (el as HTMLElement).style.removeProperty('--component-height');\n el.classList.remove('expand-collapse-fix');\n};\n</script>\n\n<template>\n <Transition name=\"expand-collapse\" @enter=\"onStart\" @leave=\"onStart\" @after-enter=\"onAfter\" @after-leave=\"onAfter\">\n <slot/>\n </Transition>\n</template>\n\n<style>\n.expand-collapse-fix {\n overflow: hidden;\n}\n\n.expand-collapse-enter-active,\n.expand-collapse-leave-active {\n transition:\n height 0.2s ease-in-out,\n opacity 0.2s ease-in-out;\n height: var(--component-height);\n}\n\n.expand-collapse-enter-from,\n.expand-collapse-leave-to {\n opacity: 0.5;\n height: 0;\n}\n</style>\n"],"names":["onStart","el","onAfter"],"mappings":";;;;AACM,UAAAA,IAAU,CAACC,MAAgB;AAC5B,MAAAA,EAAA,UAAU,IAAI,qBAAqB,GACrCA,EAAmB,MAAM,YAAY,sBAAsBA,EAAG,eAAe,IAAI;AAAA,IACpF,GAEMC,IAAU,CAACD,MAAgB;AAC9B,MAAAA,EAAmB,MAAM,eAAe,oBAAoB,GAC1DA,EAAA,UAAU,OAAO,qBAAqB;AAAA,IAC3C;;;;;;;;;;;;;;;"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SvgRequired.vue2.js","sources":["../../../../../src/generated/components/svg/images/SvgRequired.vue"],"sourcesContent":["<!-- ⚠️ AUTOGENERATED. DO NOT EDIT. -->\n<script lang=\"ts\">\nimport '../svg-styles.css';\nexport default { name: 'SvgRequired' };\n</script>\n\n<template>\n <div class=\"svg-icon SvgRequired\" style=\"width: 5px; height: 12px\" />\n</template>\n\n<style>\n .SvgRequired { background-image: url(\"data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%225%22%20height%3D%2212%22%20viewBox%3D%220%200%205%2012%22%20fill%3D%22none%22%3E%3Cpath%20d%3D%22M1.51685%204.8L2.5%203.34159L3.47612%204.8L4.39607%204.12743L3.31461%202.7469L5%202.25133L4.64888%201.16106L3.00562%201.77699L3.06882%200H1.93118L1.99438%201.77699L0.351124%201.16106L0%202.25133L1.68539%202.7469L0.59691%204.12743L1.51685%204.8Z%22%20fill%3D%22%23F1222F%22%2F%3E%3C%2Fsvg%3E\"); }\n</style>\n"],"names":["_hoisted_1"],"mappings":";;;;AAOoC,MAAAA,IAAA;AAAA,EAAA,OAAA;AAAA;;;;;;"}
|