@milaboratories/uikit 2.3.25 → 2.3.27
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 +22 -21
- package/.turbo/turbo-type-check.log +1 -1
- package/CHANGELOG.md +13 -0
- package/dist/components/DataTable/TableComponent.vue.js +1 -1
- package/dist/components/PlFileDialog/Local.vue.js +7 -7
- package/dist/components/PlFileInput/PlFileInput.vue.js +7 -7
- package/dist/components/PlNumberField/PlNumberField.vue.d.ts +47 -24
- package/dist/components/PlNumberField/PlNumberField.vue.d.ts.map +1 -1
- package/dist/components/PlNumberField/PlNumberField.vue.js +97 -109
- package/dist/components/PlNumberField/PlNumberField.vue.js.map +1 -1
- package/dist/components/PlNumberField/parseNumber.d.ts +12 -0
- package/dist/components/PlNumberField/parseNumber.d.ts.map +1 -0
- package/dist/components/PlNumberField/parseNumber.js +77 -0
- package/dist/components/PlNumberField/parseNumber.js.map +1 -0
- package/dist/components/PlSlideModal/PlPureSlideModal.vue.js +1 -1
- package/dist/lib/model/common/dist/index.js +34 -34
- package/dist/lib/model/common/dist/index.js.map +1 -1
- package/dist/sdk/model/dist/index.js +15 -15
- package/dist/sdk/model/dist/index.js.map +1 -1
- package/package.json +4 -4
- package/src/components/PlNumberField/PlNumberField.vue +89 -80
- package/src/components/PlNumberField/__tests__/PlNumberField.spec.ts +66 -9
- package/src/components/PlNumberField/parseNumber.ts +121 -0
- package/src/components/PlNumberField/pl-number-field.scss +9 -1
|
@@ -14,11 +14,11 @@ const P = "upload://upload/", k = "index://index/";
|
|
|
14
14
|
function I(e) {
|
|
15
15
|
return e.startsWith(P);
|
|
16
16
|
}
|
|
17
|
-
function
|
|
17
|
+
function S(e) {
|
|
18
18
|
return e.startsWith(k);
|
|
19
19
|
}
|
|
20
|
-
function
|
|
21
|
-
if (
|
|
20
|
+
function j(e) {
|
|
21
|
+
if (S(e)) {
|
|
22
22
|
const t = e.slice(k.length);
|
|
23
23
|
return JSON.parse(decodeURIComponent(t)).path;
|
|
24
24
|
} else if (I(e)) {
|
|
@@ -27,13 +27,13 @@ function S(e) {
|
|
|
27
27
|
}
|
|
28
28
|
g(e);
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function E(e) {
|
|
31
31
|
return e.replace(/^.*[\\/]/, "");
|
|
32
32
|
}
|
|
33
|
-
function
|
|
34
|
-
return j(
|
|
33
|
+
function R(e) {
|
|
34
|
+
return E(j(e));
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function _(e) {
|
|
37
37
|
if (!e || typeof e != "object")
|
|
38
38
|
return !1;
|
|
39
39
|
const t = e;
|
|
@@ -50,7 +50,7 @@ function U(e) {
|
|
|
50
50
|
return !1;
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function U(e, t) {
|
|
54
54
|
if (e !== void 0)
|
|
55
55
|
switch (e.type) {
|
|
56
56
|
case "Json":
|
|
@@ -78,7 +78,7 @@ function _(e, t) {
|
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function J(e) {
|
|
82
82
|
if (!e || typeof e != "object")
|
|
83
83
|
return !1;
|
|
84
84
|
const t = e;
|
|
@@ -96,7 +96,7 @@ function E(e) {
|
|
|
96
96
|
}
|
|
97
97
|
}
|
|
98
98
|
function H(e) {
|
|
99
|
-
return
|
|
99
|
+
return J(e) ? e.type === "JsonPartitioned" || e.type === "BinaryPartitioned" : !1;
|
|
100
100
|
}
|
|
101
101
|
function q(e) {
|
|
102
102
|
switch (e.type) {
|
|
@@ -164,13 +164,13 @@ function d(e) {
|
|
|
164
164
|
const { type: t, name: n, domain: r } = e, o = { type: t, name: n };
|
|
165
165
|
return r && Object.entries(r).length > 0 && Object.assign(o, { domain: r }), o;
|
|
166
166
|
}
|
|
167
|
-
function
|
|
167
|
+
function L(e) {
|
|
168
168
|
return e.map(d);
|
|
169
169
|
}
|
|
170
170
|
function W(e) {
|
|
171
171
|
return y(d(e));
|
|
172
172
|
}
|
|
173
|
-
function
|
|
173
|
+
function C(e, t) {
|
|
174
174
|
if (e === void 0) return t === void 0;
|
|
175
175
|
if (t === void 0) return !0;
|
|
176
176
|
for (const n in t)
|
|
@@ -178,9 +178,9 @@ function L(e, t) {
|
|
|
178
178
|
return !0;
|
|
179
179
|
}
|
|
180
180
|
function $(e, t) {
|
|
181
|
-
return e.name === t.name &&
|
|
181
|
+
return e.name === t.name && C(e.domain, t.domain);
|
|
182
182
|
}
|
|
183
|
-
function
|
|
183
|
+
function G(e, t) {
|
|
184
184
|
return { ...e, src: p(e.src, t) };
|
|
185
185
|
}
|
|
186
186
|
function p(e, t) {
|
|
@@ -314,7 +314,7 @@ class Q {
|
|
|
314
314
|
return N(this.derive(t, n));
|
|
315
315
|
}
|
|
316
316
|
}
|
|
317
|
-
function
|
|
317
|
+
function X(e, t, n) {
|
|
318
318
|
const r = { ...t }, o = (n == null ? void 0 : n.ignoreMissingDomains) ?? !1;
|
|
319
319
|
if (r.domainAnchor !== void 0) {
|
|
320
320
|
const i = e[r.domainAnchor];
|
|
@@ -344,7 +344,7 @@ function Y(e, t, n) {
|
|
|
344
344
|
return r.axes && (r.axes = r.axes.map((i) => K(e, i))), r;
|
|
345
345
|
}
|
|
346
346
|
function K(e, t) {
|
|
347
|
-
if (!
|
|
347
|
+
if (!T(t))
|
|
348
348
|
return t;
|
|
349
349
|
const n = t.anchor, r = e[n];
|
|
350
350
|
if (!r)
|
|
@@ -370,7 +370,7 @@ function K(e, t) {
|
|
|
370
370
|
}
|
|
371
371
|
throw new Error("Unsupported axis reference type");
|
|
372
372
|
}
|
|
373
|
-
function
|
|
373
|
+
function T(e) {
|
|
374
374
|
return typeof e == "object" && "anchor" in e;
|
|
375
375
|
}
|
|
376
376
|
function h(e) {
|
|
@@ -379,11 +379,11 @@ function h(e) {
|
|
|
379
379
|
function B(e) {
|
|
380
380
|
return h(e.spec);
|
|
381
381
|
}
|
|
382
|
-
function
|
|
382
|
+
function Y(e) {
|
|
383
383
|
if (!B(e)) throw new Error(`not a PColumn (kind = ${e.spec.kind})`);
|
|
384
384
|
return e;
|
|
385
385
|
}
|
|
386
|
-
function
|
|
386
|
+
function z(e, t) {
|
|
387
387
|
return e === void 0 ? void 0 : {
|
|
388
388
|
...e,
|
|
389
389
|
data: t(e.data)
|
|
@@ -486,7 +486,7 @@ function te(e) {
|
|
|
486
486
|
kind: e.kind,
|
|
487
487
|
name: e.name
|
|
488
488
|
};
|
|
489
|
-
return e.domain !== void 0 && (t.domain = e.domain), h(e) && (t.axesSpec =
|
|
489
|
+
return e.domain !== void 0 && (t.domain = e.domain), h(e) && (t.axesSpec = L(e.axesSpec)), y(t);
|
|
490
490
|
}
|
|
491
491
|
u.object({
|
|
492
492
|
__isRef: u.literal(!0).describe("Crucial marker for the block dependency tree reconstruction"),
|
|
@@ -513,38 +513,38 @@ function re(e, t = !0) {
|
|
|
513
513
|
function oe(e, t) {
|
|
514
514
|
return e.ok ? { ok: !0, value: t(e.value) } : e;
|
|
515
515
|
}
|
|
516
|
-
const
|
|
517
|
-
u.string().length(
|
|
516
|
+
const D = 24;
|
|
517
|
+
u.string().length(D).regex(/[ABCDEFGHIJKLMNOPQRSTUVWXYZ234567]/).brand("PlId");
|
|
518
518
|
export {
|
|
519
519
|
Q as AnchoredIdDeriver,
|
|
520
|
-
|
|
520
|
+
D as PlIdLength,
|
|
521
521
|
W as canonicalizeAxisId,
|
|
522
522
|
q as dataInfoToEntries,
|
|
523
523
|
te as deriveNativeId,
|
|
524
|
-
|
|
524
|
+
Y as ensurePColumn,
|
|
525
525
|
V as entriesToDataInfo,
|
|
526
526
|
Z as extractAllColumns,
|
|
527
|
-
|
|
527
|
+
L as getAxesId,
|
|
528
528
|
d as getAxisId,
|
|
529
|
-
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
529
|
+
R as getFileNameFromHandle,
|
|
530
|
+
j as getFilePathFromHandle,
|
|
531
|
+
_ as isDataInfo,
|
|
532
|
+
J as isDataInfoEntries,
|
|
533
|
+
S as isImportFileHandleIndex,
|
|
534
534
|
I as isImportFileHandleUpload,
|
|
535
535
|
B as isPColumn,
|
|
536
536
|
h as isPColumnSpec,
|
|
537
537
|
H as isPartitionedDataInfoEntries,
|
|
538
538
|
ne as isPlRef,
|
|
539
|
-
|
|
539
|
+
U as mapDataInfo,
|
|
540
540
|
p as mapJoinEntry,
|
|
541
|
-
|
|
542
|
-
|
|
541
|
+
z as mapPObjectData,
|
|
542
|
+
G as mapPTableDef,
|
|
543
543
|
oe as mapValueInVOE,
|
|
544
544
|
v as matchAxis,
|
|
545
545
|
$ as matchAxisId,
|
|
546
546
|
w as matchPColumn,
|
|
547
|
-
|
|
547
|
+
X as resolveAnchors,
|
|
548
548
|
ee as selectorsToPredicate,
|
|
549
549
|
N as stringifyColumnId,
|
|
550
550
|
re as withEnrichments
|