@knime/jsonforms 1.4.1 → 1.5.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.
- package/CHANGELOG.md +12 -0
- package/dist/{AnyOfTwinlist-0hW9G7sf.js → AnyOfTwinlist-C3M6wWi-.js} +8 -6
- package/dist/{BaseButton-DYMQRyQo.js → BaseButton-8vDrj52e.js} +1 -1
- package/dist/{Button-BR-eqILd.js → Button-Bngb_I70.js} +2 -2
- package/dist/{Checkbox-9hNjHDpy.js → Checkbox-DSfVQlDb.js} +1 -1
- package/dist/CheckboxControl-D85aBRJ6.js +41 -0
- package/dist/{Checkboxes-MxUKgTL4.js → Checkboxes-DUJ3v5jU.js} +2 -2
- package/dist/CheckboxesControl-8Aa7XOuf.js +41 -0
- package/dist/{ColumnFilter-B05Q5-4y.js → ColumnFilter-BzCVLydy.js} +7 -5
- package/dist/{ColumnSelect-DZDQRiA5.js → ColumnSelect-DK7NqI5Q.js} +21 -18
- package/dist/{ComboBoxControl-CaHVCAiu.js → ComboBoxControl-CEXpJltI.js} +17 -14
- package/dist/{DateControl-fKUFzQr8.js → DateControl-CjRiy7d1.js} +6 -4
- package/dist/{DateTimeControl-BrwQ4jAx.js → DateTimeControl-CaDuNC_u.js} +18 -15
- package/dist/{DateTimeFormatPickerControl-CZY7EboY.js → DateTimeFormatPickerControl-DDTmhBMD.js} +29 -27
- package/dist/{DateTimeInput-hVg3JWxI.js → DateTimeInput-96g3nCth.js} +7 -7
- package/dist/{Dropdown-C_6yKbqc.js → Dropdown-CQKvBlYB.js} +4 -4
- package/dist/{DropdownControl-DNcQIzCP.js → DropdownControl-B0x5hFXM.js} +1 -1
- package/dist/DropdownControl.vue_vue_type_script_setup_true_lang-DAT1V1G_.js +237 -0
- package/dist/{FunctionButton-ByT1Atrb.js → FunctionButton-CapvFBi0.js} +2 -2
- package/dist/HorizontalLayout-k7vmjzLP.js +25 -0
- package/dist/{InputField-zQvLeNOh.js → InputField-DhyBnTBT.js} +1 -1
- package/dist/IntegerControl-ByZYNQ-Z.js +20 -0
- package/dist/{IntervalControl-CWBmbjUk.js → IntervalControl-DhujNXBe.js} +37 -35
- package/dist/{MultiselectListBox-D18KQA8Z.js → MultiselectListBox-6f4JE0Ny.js} +1 -1
- package/dist/{NameFilter-D6GRh9kP.js → NameFilter-DJhwpboP.js} +7 -5
- package/dist/NumberControl-CU94dpBh.js +20 -0
- package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-6vn1oT7O.js +60 -0
- package/dist/{NumberInput-DzpQc_Qg.js → NumberInput-Io3ZSWBF.js} +1 -1
- package/dist/OneOfDropdown-C04RF5gK.js +35 -0
- package/dist/RadioControl-Ni6f_qCw.js +24 -0
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-D7yWH5sv.js → RadioControlBase.vue_vue_type_script_setup_true_lang-RgveiB05.js} +11 -9
- package/dist/{RichTextControl-TMco-1sx.js → RichTextControl-hHIvuaDd.js} +9 -7
- package/dist/{SectionLayout-M0zSsGYd.js → SectionLayout-DEKmJPJl.js} +2 -2
- package/dist/SimpleButtonControl-R0DY_FSx.js +61 -0
- package/dist/{SimpleTwinlistControl-BWH9IcaM.js → SimpleTwinlistControl-Bvhr9f3x.js} +16 -13
- package/dist/SortListControl-CsrP-QT8.js +366 -0
- package/dist/{TextAreaControl-C2gBXg91.js → TextAreaControl-CNH7s35f.js} +25 -22
- package/dist/{TextControl-DJ1eQ6Yr.js → TextControl-C1ZKoreI.js} +1 -1
- package/dist/TextControl.vue_vue_type_script_setup_true_lang-BhX-hMgT.js +87 -0
- package/dist/TimeControl-Bwt1kRki.js +33 -0
- package/dist/{TwinlistControl-DMjXrTBS.js → TwinlistControl-DJ88Q4I-.js} +21 -18
- package/dist/{TwinlistLoadingInfo-C_JMBMqE.js → TwinlistLoadingInfo-gheFM17g.js} +9 -9
- package/dist/{ValueSwitch--IDkMn2T.js → ValueSwitch-B08Mz10g.js} +1 -1
- package/dist/ValueSwitchControl-BbJHzaom.js +20 -0
- package/dist/{VerticalLayout-CWTnAzTT.js → VerticalLayout-ptrtpOrD.js} +2 -2
- package/dist/{VerticalLayoutBase-DHFsRdUV.js → VerticalLayoutBase-B8FGVlzl.js} +1 -1
- package/dist/{VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-79uRC9rW.js → VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-Do6BV4CX.js} +5705 -5674
- package/dist/ZonedDateTimeControl-70XjGsqQ.js +70 -0
- package/dist/{_baseAssignValue-CV6Gjcdp.js → _baseAssignValue-BPMLYzDH.js} +1 -1
- package/dist/{_baseEach-BC_75zAM.js → _baseEach-B8N_Gx8P.js} +2 -2
- package/dist/{_baseIsEqual-Dy0dFQAX.js → _baseIsEqual-DmkT9Nkc.js} +3 -3
- package/dist/{_baseIteratee-BHjwOYqh.js → _baseIteratee-DvBmrhnf.js} +3 -3
- package/dist/{_getTag-Ce_JffFU.js → _getTag-DS8v0_uf.js} +33 -34
- package/dist/isSymbol-OFe5xy2f.js +34 -0
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +26 -26
- package/dist/{localTimeUtils-B-ENHrsI.js → localTimeUtils-CzJjTpP3.js} +1 -1
- package/dist/src/JsonFormsDialog.vue.d.ts +2 -2
- package/dist/src/higherOrderComponents/control/ErrorMessage.vue.d.ts +15 -0
- package/dist/src/higherOrderComponents/control/ErrorMessageWrapper.vue.d.ts +22 -0
- package/dist/src/higherOrderComponents/control/index.d.ts +1 -1
- package/dist/src/higherOrderComponents/control/types.d.ts +2 -1
- package/dist/src/higherOrderComponents/control/util.d.ts +18 -2
- package/dist/src/higherOrderComponents/control/validation/types.d.ts +10 -0
- package/dist/src/higherOrderComponents/control/validation/useValidation.d.ts +9 -0
- package/dist/src/higherOrderComponents/control/withErrorMessage.d.ts +4 -0
- package/dist/src/higherOrderComponents/control/withLabel.d.ts +9 -0
- package/dist/src/renderers/checkboxRenderer.d.ts +1 -192
- package/dist/src/renderers/checkboxesRenderer.d.ts +1 -3
- package/dist/src/renderers/columnFilterRenderer.d.ts +1 -3
- package/dist/src/renderers/columnSelectRenderer.d.ts +56 -0
- package/dist/src/renderers/comboBoxRenderer.d.ts +1 -3
- package/dist/src/renderers/dateTimeFormatPickerRenderer.d.ts +1 -3
- package/dist/src/renderers/dateTimeRenderer.d.ts +1 -3
- package/dist/src/renderers/defaultRenderers.d.ts +299 -247
- package/dist/src/renderers/dropdownRenderer.d.ts +48 -0
- package/dist/src/renderers/fallbackRenderers.d.ts +91 -189
- package/dist/src/renderers/integerRenderer.d.ts +1 -3
- package/dist/src/renderers/intervalRenderer.d.ts +1 -3
- package/dist/src/renderers/localDateRenderer.d.ts +1 -3
- package/dist/src/renderers/localTimeRenderer.d.ts +1 -3
- package/dist/src/renderers/nameFilterRenderer.d.ts +1 -3
- package/dist/src/renderers/numberRenderer.d.ts +1 -3
- package/dist/src/renderers/radioRenderer.d.ts +1 -3
- package/dist/src/renderers/richTextRenderer.d.ts +1 -3
- package/dist/src/renderers/simpleButtonRenderer.d.ts +9 -0
- package/dist/src/renderers/sortListRenderer.d.ts +48 -0
- package/dist/src/renderers/textAreaRenderer.d.ts +1 -3
- package/dist/src/renderers/textMessageRenderer.d.ts +24 -0
- package/dist/src/renderers/textRenderer.d.ts +48 -0
- package/dist/src/renderers/twinlistRenderer.d.ts +2 -6
- package/dist/src/renderers/valueSwitchRenderer.d.ts +1 -3
- package/dist/src/renderers/zonedDateTimeRenderer.d.ts +4 -6
- package/dist/src/uiComponents/CheckboxesControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/ComboBoxControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/DateControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/DateTimeControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/DateTimeFormatPickerControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/DropdownControl.vue.d.ts +58 -3
- package/dist/src/uiComponents/IntegerControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/IntervalControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/NumberControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/NumberControlBase.vue.d.ts +2 -2
- package/dist/src/uiComponents/RadioControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/RadioControlBase.vue.d.ts +2 -2
- package/dist/src/uiComponents/SimpleButtonControl.vue.d.ts +9 -0
- package/dist/src/uiComponents/SortListControl.vue.d.ts +58 -3
- package/dist/src/uiComponents/TextAreaControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/TimeControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/ValueSwitchControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/index.d.ts +1 -1
- package/dist/src/uiComponents/richTextControl/RichTextControl.vue.d.ts +1 -1
- package/dist/src/uiComponents/twinlist/AnyOfTwinlist.vue.d.ts +1 -1
- package/dist/src/uiComponents/twinlist/ColumnFilter.vue.d.ts +1 -1
- package/dist/src/uiComponents/twinlist/NameFilter.vue.d.ts +1 -1
- package/dist/src/uiComponents/twinlist/SimpleTwinlistControl.vue.d.ts +2 -2
- package/dist/src/uiComponents/twinlist/TwinlistControl.vue.d.ts +2 -2
- package/dist/{svgWithTitle-VPyre7by.js → svgWithTitle-YSv0CfBl.js} +1 -1
- package/dist/testUtils/component.d.ts +70 -7
- package/dist/testUtils/renderer.d.ts +1 -1
- package/dist/testing.js +203 -199
- package/dist/toString-DkbNkGT4.js +25 -0
- package/package.json +1 -1
- package/dist/CheckboxControl-DtkgVAey.js +0 -42
- package/dist/CheckboxesControl-liJGUpRw.js +0 -38
- package/dist/DropdownControl.vue_vue_type_script_setup_true_lang-m-g4D1dr.js +0 -226
- package/dist/ErrorMessage-DQT5FZlf.js +0 -23
- package/dist/HorizontalLayout-D1PnPnoE.js +0 -30
- package/dist/IntegerControl-D6kUQaXd.js +0 -18
- package/dist/NumberControl-CqwAwLo_.js +0 -18
- package/dist/NumberControlBase.vue_vue_type_script_setup_true_lang-Jn4BDGH-.js +0 -42
- package/dist/OneOfDropdown-CIeXHQcC.js +0 -32
- package/dist/RadioControl-D64PZUts.js +0 -22
- package/dist/SimpleButtonControl-DevNyR5x.js +0 -58
- package/dist/SortListControl-BLeXo6HS.js +0 -356
- package/dist/TextControl.vue_vue_type_script_setup_true_lang-BHuggcaD.js +0 -69
- package/dist/TimeControl-DOpylHS3.js +0 -30
- package/dist/ValueSwitchControl-BVgE9bjw.js +0 -18
- package/dist/ZonedDateTimeControl-B8ORteJg.js +0 -66
- package/dist/isSymbol-DwnNqH7F.js +0 -8
- package/dist/src/higherOrderComponents/control/addLabel.d.ts +0 -12
- package/dist/src/uiComponents/ErrorMessage.vue.d.ts +0 -23
- package/dist/toString-B2Sp1LQh.js +0 -26
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { defineComponent as c, computed as a, openBlock as v, createElementBlock as V, createVNode as d, unref as u } from "vue";
|
|
2
|
+
import { D as b } from "./DateTimeInput-96g3nCth.js";
|
|
3
|
+
import { _ as f } from "./VerticalLayoutBase.vue_vue_type_style_index_0_scoped_03d90ec1_lang-Do6BV4CX.js";
|
|
4
|
+
import { t as T, f as g } from "./localTimeUtils-CzJjTpP3.js";
|
|
5
|
+
import { D as C } from "./Dropdown-CQKvBlYB.js";
|
|
6
|
+
const y = ["id"], D = /* @__PURE__ */ c({
|
|
7
|
+
__name: "ZonedDateTimeControl",
|
|
8
|
+
props: {
|
|
9
|
+
control: {},
|
|
10
|
+
handleChange: { type: Function },
|
|
11
|
+
changeValue: { type: Function },
|
|
12
|
+
disabled: { type: Boolean },
|
|
13
|
+
isValid: { type: Boolean },
|
|
14
|
+
onRegisterValidation: { type: Function },
|
|
15
|
+
labelForId: {}
|
|
16
|
+
},
|
|
17
|
+
setup(m) {
|
|
18
|
+
const t = m, r = a(() => t.control.uischema.options), o = a({
|
|
19
|
+
get: () => t.control.data,
|
|
20
|
+
set: t.changeValue
|
|
21
|
+
}), s = a({
|
|
22
|
+
get: () => T(o.value.dateTime),
|
|
23
|
+
set: (e) => {
|
|
24
|
+
o.value = {
|
|
25
|
+
...o.value,
|
|
26
|
+
// get wall time of UTC time
|
|
27
|
+
dateTime: g(e)
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
}), n = a({
|
|
31
|
+
get: () => o.value.timeZone,
|
|
32
|
+
set: (e) => {
|
|
33
|
+
o.value = {
|
|
34
|
+
...o.value,
|
|
35
|
+
timeZone: e
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
}), p = a(() => {
|
|
39
|
+
var e;
|
|
40
|
+
return ((e = r.value) == null ? void 0 : e.possibleValues) ?? [];
|
|
41
|
+
});
|
|
42
|
+
return (e, l) => (v(), V("div", {
|
|
43
|
+
id: e.labelForId,
|
|
44
|
+
class: "layout-container"
|
|
45
|
+
}, [
|
|
46
|
+
d(u(b), {
|
|
47
|
+
modelValue: s.value,
|
|
48
|
+
"onUpdate:modelValue": l[0] || (l[0] = (i) => s.value = i),
|
|
49
|
+
required: !0,
|
|
50
|
+
"show-timezone": !1,
|
|
51
|
+
timezone: "UTC",
|
|
52
|
+
"is-valid": e.isValid,
|
|
53
|
+
compact: "",
|
|
54
|
+
disabled: e.disabled
|
|
55
|
+
}, null, 8, ["modelValue", "is-valid", "disabled"]),
|
|
56
|
+
d(u(C), {
|
|
57
|
+
modelValue: n.value,
|
|
58
|
+
"onUpdate:modelValue": l[1] || (l[1] = (i) => n.value = i),
|
|
59
|
+
"is-valid": e.isValid,
|
|
60
|
+
compact: "",
|
|
61
|
+
"possible-values": p.value,
|
|
62
|
+
disabled: e.disabled,
|
|
63
|
+
ariaLabel: "Timezone"
|
|
64
|
+
}, null, 8, ["modelValue", "is-valid", "possible-values", "disabled"])
|
|
65
|
+
], 8, y));
|
|
66
|
+
}
|
|
67
|
+
}), I = /* @__PURE__ */ f(D, [["__scopeId", "data-v-11016a49"]]);
|
|
68
|
+
export {
|
|
69
|
+
I as default
|
|
70
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { k as h } from "./_baseIsEqual-
|
|
2
|
-
import { a as b } from "./_getTag-
|
|
1
|
+
import { k as h } from "./_baseIsEqual-DmkT9Nkc.js";
|
|
2
|
+
import { a as b } from "./_getTag-DS8v0_uf.js";
|
|
3
3
|
function g(n) {
|
|
4
4
|
return function(a, r, f) {
|
|
5
5
|
for (var i = -1, e = Object(a), t = f(a), u = t.length; u--; ) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { f as z, b as S, d as N, i as F, a as q, k as Y, L as R, M as Z, n as U, e as J, h as I } from "./_getTag-
|
|
2
|
-
import { r as Q, S as b,
|
|
3
|
-
import { i as L } from "./toString-
|
|
1
|
+
import { f as z, b as S, d as N, i as F, a as q, k as Y, L as R, M as Z, n as U, e as J, h as I } from "./_getTag-DS8v0_uf.js";
|
|
2
|
+
import { r as Q, S as b, a as D } from "./isSymbol-OFe5xy2f.js";
|
|
3
|
+
import { i as L } from "./toString-DkbNkGT4.js";
|
|
4
4
|
function X(e, n) {
|
|
5
5
|
for (var r = -1, t = Array(e); ++r < e; )
|
|
6
6
|
t[r] = n(r);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as I, b as g, k as M } from "./_baseIsEqual-
|
|
1
|
+
import { S as I, b as g, k as M } from "./_baseIsEqual-DmkT9Nkc.js";
|
|
2
2
|
import { i as _ } from "./isObject-B53jY8Qg.js";
|
|
3
|
-
import { c as A, t as s, l as L, i as w, f as y, m as h } from "./_getTag-
|
|
4
|
-
import { i as o } from "./toString-
|
|
3
|
+
import { c as A, t as s, l as L, i as w, f as y, m as h } from "./_getTag-DS8v0_uf.js";
|
|
4
|
+
import { i as o } from "./toString-DkbNkGT4.js";
|
|
5
5
|
function C(n) {
|
|
6
6
|
return n;
|
|
7
7
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as
|
|
3
|
-
import { i as R } from "./isSymbol-DwnNqH7F.js";
|
|
1
|
+
import { b as g, r as i, a as $, f as k, i as H } from "./isSymbol-OFe5xy2f.js";
|
|
2
|
+
import { i as R, t as q } from "./toString-DkbNkGT4.js";
|
|
4
3
|
import { i as G } from "./isObject-B53jY8Qg.js";
|
|
5
4
|
var Z = "[object AsyncFunction]", J = "[object Function]", Q = "[object GeneratorFunction]", Y = "[object Proxy]";
|
|
6
5
|
function V(t) {
|
|
@@ -47,7 +46,7 @@ function f(t, r) {
|
|
|
47
46
|
return pt(e) ? e : void 0;
|
|
48
47
|
}
|
|
49
48
|
var T = f(i, "WeakMap"), ht = 9007199254740991, dt = /^(?:0|[1-9]\d*)$/;
|
|
50
|
-
function
|
|
49
|
+
function Vr(t, r) {
|
|
51
50
|
var e = typeof t;
|
|
52
51
|
return r = r ?? ht, !!r && (e == "number" || e != "symbol" && dt.test(t)) && t > -1 && t % 1 == 0 && t < r;
|
|
53
52
|
}
|
|
@@ -58,7 +57,7 @@ var yt = 9007199254740991;
|
|
|
58
57
|
function K(t) {
|
|
59
58
|
return typeof t == "number" && t > -1 && t % 1 == 0 && t <= yt;
|
|
60
59
|
}
|
|
61
|
-
function
|
|
60
|
+
function Kr(t) {
|
|
62
61
|
return t != null && K(t.length) && !V(t);
|
|
63
62
|
}
|
|
64
63
|
var gt = Object.prototype;
|
|
@@ -70,7 +69,7 @@ var _t = "[object Arguments]";
|
|
|
70
69
|
function E(t) {
|
|
71
70
|
return $(t) && g(t) == _t;
|
|
72
71
|
}
|
|
73
|
-
var L = Object.prototype, vt = L.hasOwnProperty, mt = L.propertyIsEnumerable,
|
|
72
|
+
var L = Object.prototype, vt = L.hasOwnProperty, mt = L.propertyIsEnumerable, Lr = E(/* @__PURE__ */ function() {
|
|
74
73
|
return arguments;
|
|
75
74
|
}()) ? E : function(t) {
|
|
76
75
|
return $(t) && vt.call(t, "callee") && !mt.call(t, "callee");
|
|
@@ -78,9 +77,9 @@ var L = Object.prototype, vt = L.hasOwnProperty, mt = L.propertyIsEnumerable, Wr
|
|
|
78
77
|
function jt() {
|
|
79
78
|
return !1;
|
|
80
79
|
}
|
|
81
|
-
var W = typeof exports == "object" && exports && !exports.nodeType && exports, S = W && typeof module == "object" && module && !module.nodeType && module, Tt = S && S.exports === W, I = Tt ? i.Buffer : void 0, wt = I ? I.isBuffer : void 0,
|
|
80
|
+
var W = typeof exports == "object" && exports && !exports.nodeType && exports, S = W && typeof module == "object" && module && !module.nodeType && module, Tt = S && S.exports === W, I = Tt ? i.Buffer : void 0, wt = I ? I.isBuffer : void 0, Wr = wt || jt, At = "[object Arguments]", Ct = "[object Array]", $t = "[object Boolean]", Pt = "[object Date]", xt = "[object Error]", Ot = "[object Function]", Et = "[object Map]", St = "[object Number]", It = "[object Object]", Mt = "[object RegExp]", zt = "[object Set]", Dt = "[object String]", Ft = "[object WeakMap]", Nt = "[object ArrayBuffer]", Ut = "[object DataView]", Bt = "[object Float32Array]", Ht = "[object Float64Array]", Rt = "[object Int8Array]", Gt = "[object Int16Array]", Vt = "[object Int32Array]", Kt = "[object Uint8Array]", Lt = "[object Uint8ClampedArray]", Wt = "[object Uint16Array]", Xt = "[object Uint32Array]", n = {};
|
|
82
81
|
n[Bt] = n[Ht] = n[Rt] = n[Gt] = n[Vt] = n[Kt] = n[Lt] = n[Wt] = n[Xt] = !0;
|
|
83
|
-
n[At] = n[Ct] = n[Nt] = n[$t] = n[Ut] = n[
|
|
82
|
+
n[At] = n[Ct] = n[Nt] = n[$t] = n[Ut] = n[Pt] = n[xt] = n[Ot] = n[Et] = n[St] = n[It] = n[Mt] = n[zt] = n[Dt] = n[Ft] = !1;
|
|
84
83
|
function kt(t) {
|
|
85
84
|
return $(t) && K(t.length) && !!n[g(t)];
|
|
86
85
|
}
|
|
@@ -95,14 +94,14 @@ var X = typeof exports == "object" && exports && !exports.nodeType && exports, l
|
|
|
95
94
|
return t || j && j.binding && j.binding("util");
|
|
96
95
|
} catch {
|
|
97
96
|
}
|
|
98
|
-
}(), z = M && M.isTypedArray,
|
|
97
|
+
}(), z = M && M.isTypedArray, Xr = z ? qt(z) : kt;
|
|
99
98
|
function Jt(t, r) {
|
|
100
99
|
return function(e) {
|
|
101
100
|
return t(r(e));
|
|
102
101
|
};
|
|
103
102
|
}
|
|
104
103
|
var Qt = Jt(Object.keys, Object), Yt = Object.prototype, tr = Yt.hasOwnProperty;
|
|
105
|
-
function
|
|
104
|
+
function kr(t) {
|
|
106
105
|
if (!bt(t))
|
|
107
106
|
return Qt(t);
|
|
108
107
|
var r = [];
|
|
@@ -112,10 +111,10 @@ function qr(t) {
|
|
|
112
111
|
}
|
|
113
112
|
var rr = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, er = /^\w*$/;
|
|
114
113
|
function ar(t, r) {
|
|
115
|
-
if (
|
|
114
|
+
if (R(t))
|
|
116
115
|
return !1;
|
|
117
116
|
var e = typeof t;
|
|
118
|
-
return e == "number" || e == "symbol" || e == "boolean" || t == null ||
|
|
117
|
+
return e == "number" || e == "symbol" || e == "boolean" || t == null || H(t) ? !0 : er.test(t) || !rr.test(t) || r != null && t in Object(r);
|
|
119
118
|
}
|
|
120
119
|
var y = f(Object, "create");
|
|
121
120
|
function nr() {
|
|
@@ -222,7 +221,7 @@ function Cr(t) {
|
|
|
222
221
|
function $r(t) {
|
|
223
222
|
return v(this, t).has(t);
|
|
224
223
|
}
|
|
225
|
-
function
|
|
224
|
+
function Pr(t, r) {
|
|
226
225
|
var e = v(this, t), a = e.size;
|
|
227
226
|
return e.set(t, r), this.size += e.size == a ? 0 : 1, this;
|
|
228
227
|
}
|
|
@@ -237,24 +236,24 @@ c.prototype.clear = Tr;
|
|
|
237
236
|
c.prototype.delete = Ar;
|
|
238
237
|
c.prototype.get = Cr;
|
|
239
238
|
c.prototype.has = $r;
|
|
240
|
-
c.prototype.set =
|
|
241
|
-
var
|
|
242
|
-
function
|
|
239
|
+
c.prototype.set = Pr;
|
|
240
|
+
var xr = "Expected a function";
|
|
241
|
+
function P(t, r) {
|
|
243
242
|
if (typeof t != "function" || r != null && typeof r != "function")
|
|
244
|
-
throw new TypeError(
|
|
243
|
+
throw new TypeError(xr);
|
|
245
244
|
var e = function() {
|
|
246
245
|
var a = arguments, d = r ? r.apply(this, a) : a[0], u = e.cache;
|
|
247
246
|
if (u.has(d))
|
|
248
247
|
return u.get(d);
|
|
249
|
-
var
|
|
250
|
-
return e.cache = u.set(d,
|
|
248
|
+
var x = t.apply(this, a);
|
|
249
|
+
return e.cache = u.set(d, x) || u, x;
|
|
251
250
|
};
|
|
252
|
-
return e.cache = new (
|
|
251
|
+
return e.cache = new (P.Cache || c)(), e;
|
|
253
252
|
}
|
|
254
|
-
|
|
253
|
+
P.Cache = c;
|
|
255
254
|
var Or = 500;
|
|
256
255
|
function Er(t) {
|
|
257
|
-
var r =
|
|
256
|
+
var r = P(t, function(a) {
|
|
258
257
|
return e.size === Or && e.clear(), a;
|
|
259
258
|
}), e = r.cache;
|
|
260
259
|
return r;
|
|
@@ -265,11 +264,11 @@ var Sr = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=
|
|
|
265
264
|
r.push(d ? u.replace(Ir, "$1") : a || e);
|
|
266
265
|
}), r;
|
|
267
266
|
});
|
|
268
|
-
function
|
|
269
|
-
return
|
|
267
|
+
function qr(t, r) {
|
|
268
|
+
return R(t) ? t : ar(t, r) ? [t] : Mr(q(t));
|
|
270
269
|
}
|
|
271
|
-
function
|
|
272
|
-
if (typeof t == "string" ||
|
|
270
|
+
function Zr(t) {
|
|
271
|
+
if (typeof t == "string" || H(t))
|
|
273
272
|
return t;
|
|
274
273
|
var r = t + "";
|
|
275
274
|
return r == "0" && 1 / t == -1 / 0 ? "-0" : r;
|
|
@@ -295,19 +294,19 @@ var w = f(i, "DataView"), A = f(i, "Promise"), C = f(i, "Set"), D = "[object Map
|
|
|
295
294
|
export {
|
|
296
295
|
h as L,
|
|
297
296
|
b as M,
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
297
|
+
Kr as a,
|
|
298
|
+
Wr as b,
|
|
299
|
+
qr as c,
|
|
300
|
+
Xr as d,
|
|
302
301
|
lt as e,
|
|
303
|
-
|
|
302
|
+
Lr as f,
|
|
304
303
|
f as g,
|
|
305
304
|
p as h,
|
|
306
|
-
|
|
305
|
+
Vr as i,
|
|
307
306
|
bt as j,
|
|
308
|
-
|
|
307
|
+
kr as k,
|
|
309
308
|
K as l,
|
|
310
309
|
ar as m,
|
|
311
310
|
c as n,
|
|
312
|
-
|
|
311
|
+
Zr as t
|
|
313
312
|
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
var f = typeof global == "object" && global && global.Object === Object && global, l = typeof self == "object" && self && self.Object === Object && self, g = f || l || Function("return this")(), r = g.Symbol, n = Object.prototype, s = n.hasOwnProperty, j = n.toString, e = r ? r.toStringTag : void 0;
|
|
2
|
+
function y(t) {
|
|
3
|
+
var a = s.call(t, e), i = t[e];
|
|
4
|
+
try {
|
|
5
|
+
t[e] = void 0;
|
|
6
|
+
var b = !0;
|
|
7
|
+
} catch {
|
|
8
|
+
}
|
|
9
|
+
var c = j.call(t);
|
|
10
|
+
return b && (a ? t[e] = i : delete t[e]), c;
|
|
11
|
+
}
|
|
12
|
+
var S = Object.prototype, T = S.toString;
|
|
13
|
+
function d(t) {
|
|
14
|
+
return T.call(t);
|
|
15
|
+
}
|
|
16
|
+
var O = "[object Null]", u = "[object Undefined]", o = r ? r.toStringTag : void 0;
|
|
17
|
+
function p(t) {
|
|
18
|
+
return t == null ? t === void 0 ? u : O : o && o in Object(t) ? y(t) : d(t);
|
|
19
|
+
}
|
|
20
|
+
function m(t) {
|
|
21
|
+
return t != null && typeof t == "object";
|
|
22
|
+
}
|
|
23
|
+
var v = "[object Symbol]";
|
|
24
|
+
function w(t) {
|
|
25
|
+
return typeof t == "symbol" || m(t) && p(t) == v;
|
|
26
|
+
}
|
|
27
|
+
export {
|
|
28
|
+
r as S,
|
|
29
|
+
m as a,
|
|
30
|
+
p as b,
|
|
31
|
+
f,
|
|
32
|
+
w as i,
|
|
33
|
+
g as r
|
|
34
|
+
};
|