@knime/jsonforms 1.10.2 → 1.10.4
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 +15 -0
- package/dist/{AnyOfTwinlist-CAyoczAB.js → AnyOfTwinlist-Dvwh44EZ.js} +1 -1
- package/dist/{Button-BzZgjDcV.js → Button-CO9MECNO.js} +1 -1
- package/dist/{Checkbox-C_i21GaA.js → Checkbox-C3WOC8SX.js} +1 -1
- package/dist/{CheckboxControl-DDoLA6Vd.js → CheckboxControl-D-jcEMx9.js} +2 -2
- package/dist/{Checkboxes-C_e0UeAC.js → Checkboxes-Djk9SPMd.js} +2 -2
- package/dist/{CheckboxesControl-mSVKQ6CW.js → CheckboxesControl-Di7XI4Ea.js} +2 -2
- package/dist/{ComboBoxControl-BY9Wb-2K.js → ComboBoxControl-CBsM1Bf0.js} +3 -3
- package/dist/{DateControl-YjVx-aFd.js → DateControl-B4ztx3dj.js} +1 -1
- package/dist/{DateTimeControl-D5Z7nHgz.js → DateTimeControl-BtVVcmZ0.js} +2 -2
- package/dist/{DateTimeFormatInput-DP9GTXiX.js → DateTimeFormatInput-BUZQIU2y.js} +3 -3
- package/dist/{DateTimeFormatPickerControl-DdIvsCjx.js → DateTimeFormatPickerControl-BY0t3CWJ.js} +2 -2
- package/dist/{DateTimeFormatPickerWithTypeControl-CrrpUdTR.js → DateTimeFormatPickerWithTypeControl-CE9vz--D.js} +3 -3
- package/dist/{DateTimeInput-BSUVtZ_C.js → DateTimeInput-B6b6ntsL.js} +6 -6
- package/dist/{Dropdown-DP_F92tv.js → Dropdown-c0-3hZhQ.js} +2 -2
- package/dist/{DropdownControl-GMJULpL6.js → DropdownControl-rZt5v61Q.js} +4 -4
- package/dist/{HorizontalLayout-COzD3yLU.js → HorizontalLayout-C5eOQMLy.js} +1 -1
- package/dist/{InputField-BF7vTszr.js → InputField-C_Kwnh2D.js} +1 -1
- package/dist/{IntegerControl-CKIl5Rfi.js → IntegerControl-Ch5uGTZX.js} +1 -1
- package/dist/{IntervalControl-C2ykMH4V.js → IntervalControl-DPEsNxzq.js} +3 -3
- package/dist/{LoadingDropdown-CxqiKfdN.js → LoadingDropdown-DVtYSqZi.js} +3 -3
- package/dist/MultiSelectListBoxControl-HLKnQuLK.js +34 -0
- package/dist/{MultimodeTwinlistControl-BM744sO6.js → MultimodeTwinlistControl-06t2HfAA.js} +5 -5
- package/dist/{MultiselectListBox-DwBSUb9V.js → MultiselectListBox-DB1_x4Gm.js} +76 -139
- package/dist/{NameFilter-Dgf1mtuH.js → NameFilter-BPtDd_ZM.js} +1 -1
- package/dist/{NumberControl-Cp0OiNDl.js → NumberControl-D3aijNOg.js} +1 -1
- package/dist/{NumberControlBase.vue_vue_type_script_setup_true_lang-B7BnKygX.js → NumberControlBase.vue_vue_type_script_setup_true_lang-HvcHTpTJ.js} +2 -2
- package/dist/{NumberInput-H3BZ_gou.js → NumberInput-BwvuSJTp.js} +1 -1
- package/dist/{OneOfDropdown-DbkVGpS-.js → OneOfDropdown-BHdTyh4E.js} +1 -1
- package/dist/{RadioControl-9cZ9L-XZ.js → RadioControl-CSsd4PtY.js} +2 -2
- package/dist/{RadioControlBase.vue_vue_type_script_setup_true_lang-DXLEuMzn.js → RadioControlBase.vue_vue_type_script_setup_true_lang-DDINkVnv.js} +2 -2
- package/dist/{RichTextControl-B6KPOKpK.js → RichTextControl-CyrN2sAf.js} +5 -5
- package/dist/{SectionHeading-BMWemtGd.js → SectionHeading-BteoPwU6.js} +1 -1
- package/dist/{SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-CilY1FPG.js → SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq1Jv6TX.js} +4181 -4163
- package/dist/{SectionLayout-DR_wqkbw.js → SectionLayout-CesW02NL.js} +3 -3
- package/dist/{SettingsSubPanel-TN03TZ-e.js → SettingsSubPanel-BLd9zMXy.js} +1 -1
- package/dist/{SettingsSubPanelLayout-DxJd3igq.js → SettingsSubPanelLayout-DTKtp5ps.js} +4 -4
- package/dist/{SimpleButtonControl-BBy1H52n.js → SimpleButtonControl-B8m2_6Ba.js} +2 -2
- package/dist/{SimpleTwinlistControl-lyNwPBvG.js → SimpleTwinlistControl-CMhamSbA.js} +2 -2
- package/dist/{SingleSelectControl-BRjpWFqk.js → SingleSelectControl-KpBNyVJl.js} +2 -2
- package/dist/SingleSelectListBoxControl-Cb9f-wp8.js +234 -0
- package/dist/{SortListControl-BTrDdu9O.js → SortListControl-BT5e4z1B.js} +6 -6
- package/dist/StyledListItem-BmFWRFnF.js +72 -0
- package/dist/{TextAreaControl-B1-g-8ug.js → TextAreaControl-Bd_i3FxI.js} +1 -1
- package/dist/{TextControl-NsT1R1rk.js → TextControl-BKxooSfk.js} +1 -1
- package/dist/{TextControl.vue_vue_type_script_setup_true_lang-Dgyo9rJ-.js → TextControl.vue_vue_type_script_setup_true_lang-Bs3-RJsw.js} +4 -4
- package/dist/TimeControl-DqxbMcYs.js +42 -0
- package/dist/{TwinlistControlBase-Dam1VsbM.js → TwinlistControlBase-C4NeGHHS.js} +3 -3
- package/dist/{TwinlistLoadingInfo-y6JvMoCY.js → TwinlistLoadingInfo-DVAd49mv.js} +4 -4
- package/dist/{TypedStringFilter-BjzWIu-L.js → TypedStringFilter-BvYWgmR2.js} +1 -1
- package/dist/{ValueSwitch-DZ5LB9vA.js → ValueSwitch-DJjWcjH3.js} +1 -1
- package/dist/{ValueSwitchControl-BCpz0Ya4.js → ValueSwitchControl-B-mOeS-W.js} +1 -1
- package/dist/{VerticalLayout-WkUU2XH3.js → VerticalLayout-C1g92Q4d.js} +2 -2
- package/dist/{VerticalLayoutBase-413o9U_2.js → VerticalLayoutBase-BrH1Nr0z.js} +1 -1
- package/dist/{ZonedDateTimeControl-6u9Nbw2f.js → ZonedDateTimeControl-blZIZcV0.js} +22 -21
- package/dist/{_baseEach-D8bWEfeT.js → _baseEach-C1cC1iYK.js} +2 -2
- package/dist/{_baseIteratee-c38lvCZS.js → _baseIteratee-CapP6YsQ.js} +26 -26
- package/dist/{_getTag-DwDUrDKD.js → _getTag-CphCWFRC.js} +20 -20
- package/dist/knime-jsonforms.css +1 -1
- package/dist/knime-jsonforms.js +7 -7
- package/dist/{localTimeUtils-Bpn7Hjtc.js → localTimeUtils-C73txZxM.js} +1 -1
- package/dist/{magic-string.es-Dlayy_3o.js → magic-string.es-DwkmLaDE.js} +1 -1
- package/dist/src/constants/inputFormats.d.ts +2 -0
- package/dist/src/renderers/defaultRenderers.d.ts +2 -0
- package/dist/src/renderers/multiSelectListBoxRenderer.d.ts +2 -0
- package/dist/src/renderers/singleSelectListBoxRenderer.d.ts +2 -0
- package/dist/src/uiComponents/MultiSelectListBoxControl.vue.d.ts +3 -0
- package/dist/src/uiComponents/SingleSelectListBoxControl.vue.d.ts +3 -0
- package/dist/{svgWithTitle-CEHRG42c.js → svgWithTitle-BYet-mD6.js} +1 -1
- package/dist/testing.js +3 -3
- package/dist/{toString-BC2RXvs0.js → toString-zfY2ugmM.js} +1 -1
- package/dist/{useBuiltinValidations-BsKhdvbW.js → useBuiltinValidations-CQ7jhonx.js} +1 -1
- package/dist/{usePossibleValues-D12PcddT.js → usePossibleValues-DJHSR3yJ.js} +1 -1
- package/package.json +3 -3
- package/dist/TimeControl-CWjNnOHM.js +0 -33
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as u, ref as i, openBlock as l, createElementBlock as m, createVNode as s, withCtx as r, renderSlot as p, createBlock as d, unref as c } from "vue";
|
|
2
|
-
import { r as f, _ as y } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
3
|
-
import { V as h } from "./VerticalLayoutBase-
|
|
4
|
-
import { S as v } from "./SectionHeading-
|
|
2
|
+
import { r as f, _ as y } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq1Jv6TX.js";
|
|
3
|
+
import { V as h } from "./VerticalLayoutBase-BrH1Nr0z.js";
|
|
4
|
+
import { S as v } from "./SectionHeading-BteoPwU6.js";
|
|
5
5
|
const b = /* @__PURE__ */ u({
|
|
6
6
|
__name: "SectionLayout",
|
|
7
7
|
props: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as s, x as a } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
1
|
+
import { _ as s, x as a } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq1Jv6TX.js";
|
|
2
2
|
const _ = /* @__PURE__ */ s(a, [["__scopeId", "data-v-110037e2"]]);
|
|
3
3
|
export {
|
|
4
4
|
_ as S
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as i, openBlock as n, createBlock as s, withCtx as t, createVNode as a, unref as l, createElementVNode as m } from "vue";
|
|
2
|
-
import { q as c, r as p, _ as d } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
2
|
+
import { q as c, r as p, _ as d } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq1Jv6TX.js";
|
|
3
3
|
import { N as f } from "./arrow-next-CIOU5o42.js";
|
|
4
|
-
import { V as h } from "./VerticalLayoutBase-
|
|
5
|
-
import { S as y } from "./SectionHeading-
|
|
6
|
-
import { S as b } from "./SettingsSubPanel-
|
|
4
|
+
import { V as h } from "./VerticalLayoutBase-BrH1Nr0z.js";
|
|
5
|
+
import { S as y } from "./SectionHeading-BteoPwU6.js";
|
|
6
|
+
import { S as b } from "./SettingsSubPanel-BLd9zMXy.js";
|
|
7
7
|
const S = /* @__PURE__ */ i({
|
|
8
8
|
__name: "SettingsSubPanelLayout",
|
|
9
9
|
props: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as u, openBlock as s, createBlock as p, resolveDynamicComponent as f, computed as r, ref as g, createElementBlock as _, createVNode as b, unref as y, withCtx as B, createCommentVNode as C, createTextVNode as h, toDisplayString as I, renderSlot as V } from "vue";
|
|
2
|
-
import { y as k, _ as F } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
2
|
+
import { y as k, _ as F } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq1Jv6TX.js";
|
|
3
3
|
import { R as S } from "./reload-BVbCGubF.js";
|
|
4
|
-
import { B as $ } from "./Button-
|
|
4
|
+
import { B as $ } from "./Button-CO9MECNO.js";
|
|
5
5
|
const x = /* @__PURE__ */ u({
|
|
6
6
|
__name: "DynamicIcon",
|
|
7
7
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as s, toRef as l, openBlock as a, createBlock as r, mergeProps as i, unref as p } from "vue";
|
|
2
|
-
import { u as c } from "./usePossibleValues-
|
|
3
|
-
import { T as u } from "./TwinlistControlBase-
|
|
2
|
+
import { u as c } from "./usePossibleValues-DJHSR3yJ.js";
|
|
3
|
+
import { T as u } from "./TwinlistControlBase-C4NeGHHS.js";
|
|
4
4
|
const y = /* @__PURE__ */ s({
|
|
5
5
|
__name: "SimpleTwinlistControl",
|
|
6
6
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as v, computed as r, openBlock as I, createBlock as y } from "vue";
|
|
2
|
-
import { u as F } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
3
|
-
import { L as P } from "./LoadingDropdown-
|
|
2
|
+
import { u as F } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq1Jv6TX.js";
|
|
3
|
+
import { L as P } from "./LoadingDropdown-DVtYSqZi.js";
|
|
4
4
|
const i = "__special__", a = "__regular__", B = /* @__PURE__ */ v({
|
|
5
5
|
__name: "SingleSelectControl",
|
|
6
6
|
props: {
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
import { useId as m, resolveComponent as V, openBlock as a, createElementBlock as r, normalizeClass as u, createElementVNode as y, normalizeStyle as c, Fragment as I, renderList as x, createBlock as f, defineComponent as g, toRef as v, unref as h } from "vue";
|
|
2
|
+
import { u as S } from "./usePossibleValues-DJHSR3yJ.js";
|
|
3
|
+
import { S as C } from "./StyledListItem-BmFWRFnF.js";
|
|
4
|
+
import { _ as L } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq1Jv6TX.js";
|
|
5
|
+
const _ = 40, B = 38, w = 36, H = 35, T = {
|
|
6
|
+
name: "ListBox",
|
|
7
|
+
components: {
|
|
8
|
+
StyledListItem: C
|
|
9
|
+
},
|
|
10
|
+
props: {
|
|
11
|
+
id: {
|
|
12
|
+
type: String,
|
|
13
|
+
default() {
|
|
14
|
+
return `ListBox-${m()}`;
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
modelValue: {
|
|
18
|
+
type: String,
|
|
19
|
+
default: ""
|
|
20
|
+
},
|
|
21
|
+
/**
|
|
22
|
+
* Controls the size of the list. Number of visible items (for others user need to scroll)
|
|
23
|
+
* 0 means all
|
|
24
|
+
*/
|
|
25
|
+
size: {
|
|
26
|
+
type: Number,
|
|
27
|
+
default: 0,
|
|
28
|
+
validator(e) {
|
|
29
|
+
return e >= 0;
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
isValid: {
|
|
33
|
+
default: !0,
|
|
34
|
+
type: Boolean
|
|
35
|
+
},
|
|
36
|
+
ariaLabel: {
|
|
37
|
+
type: String,
|
|
38
|
+
required: !0
|
|
39
|
+
},
|
|
40
|
+
/**
|
|
41
|
+
* List of possible values. Each item must have an `id` and a `text` property
|
|
42
|
+
* @example
|
|
43
|
+
* [{
|
|
44
|
+
* id: 'pdf',
|
|
45
|
+
* text: 'PDF'
|
|
46
|
+
* }, {
|
|
47
|
+
* id: 'XLS',
|
|
48
|
+
* text: 'Excel',
|
|
49
|
+
* }]
|
|
50
|
+
*/
|
|
51
|
+
possibleValues: {
|
|
52
|
+
type: Array,
|
|
53
|
+
default: () => [],
|
|
54
|
+
validator(e) {
|
|
55
|
+
return Array.isArray(e) ? e.every(
|
|
56
|
+
(t) => t.hasOwnProperty("id") && t.hasOwnProperty("text")
|
|
57
|
+
) : !1;
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
disabled: {
|
|
61
|
+
type: Boolean,
|
|
62
|
+
default: !1
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
emits: ["update:modelValue"],
|
|
66
|
+
data() {
|
|
67
|
+
return {
|
|
68
|
+
selectedIndex: -1,
|
|
69
|
+
invalidPossibleValueIds: [],
|
|
70
|
+
optionLineHeight: 22
|
|
71
|
+
};
|
|
72
|
+
},
|
|
73
|
+
computed: {
|
|
74
|
+
ulSizeStyle() {
|
|
75
|
+
const e = (t) => `${t * this.optionLineHeight + 2}px`;
|
|
76
|
+
return this.size > 0 ? { height: e(this.size) } : { minHeight: e(2) };
|
|
77
|
+
},
|
|
78
|
+
selectableValues() {
|
|
79
|
+
return [
|
|
80
|
+
...this.invalidPossibleValueIds.map((e) => this.generateInvalidItem(e)),
|
|
81
|
+
...this.possibleValues
|
|
82
|
+
];
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
watch: {
|
|
86
|
+
modelValue(e) {
|
|
87
|
+
this.updateSelectedIndexAndInvalidValue(e);
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
mounted() {
|
|
91
|
+
this.updateSelectedIndexAndInvalidValue(this.modelValue);
|
|
92
|
+
},
|
|
93
|
+
methods: {
|
|
94
|
+
updateSelectedIndexAndInvalidValue(e) {
|
|
95
|
+
const t = this.selectableValues.findIndex((l) => l.id === e);
|
|
96
|
+
t === -1 && e ? (this.invalidPossibleValueIds.includes(e) || this.invalidPossibleValueIds.push(e), this.selectedIndex = this.selectableValues.findIndex(
|
|
97
|
+
(l) => l.id === e
|
|
98
|
+
)) : this.selectedIndex = t;
|
|
99
|
+
},
|
|
100
|
+
isCurrentValue(e) {
|
|
101
|
+
return this.modelValue === e;
|
|
102
|
+
},
|
|
103
|
+
setSelected(e, t) {
|
|
104
|
+
this.disabled || (consola.trace("ListBox setSelected on", e), this.selectedIndex = t, this.$emit("update:modelValue", e));
|
|
105
|
+
},
|
|
106
|
+
scrollToCurrent() {
|
|
107
|
+
const e = this.$refs.ul;
|
|
108
|
+
if (e.scrollHeight > e.clientHeight) {
|
|
109
|
+
const t = this.$refs.options[this.selectedIndex], l = e.clientHeight + e.scrollTop, n = t.offsetTop + t.offsetHeight;
|
|
110
|
+
n > l ? e.scrollTop = n - e.clientHeight : t.offsetTop < e.scrollTop && (e.scrollTop = t.offsetTop);
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
onArrowDown() {
|
|
114
|
+
if (this.disabled)
|
|
115
|
+
return;
|
|
116
|
+
const e = this.selectedIndex + 1;
|
|
117
|
+
e >= this.selectableValues.length || (this.setSelected(this.selectableValues[e].id, e), this.scrollToCurrent());
|
|
118
|
+
},
|
|
119
|
+
onArrowUp() {
|
|
120
|
+
if (this.disabled)
|
|
121
|
+
return;
|
|
122
|
+
const e = this.selectedIndex - 1;
|
|
123
|
+
e < 0 || (this.setSelected(this.selectableValues[e].id, e), this.scrollToCurrent());
|
|
124
|
+
},
|
|
125
|
+
onEndKey() {
|
|
126
|
+
if (this.disabled)
|
|
127
|
+
return;
|
|
128
|
+
const e = this.selectableValues.length - 1;
|
|
129
|
+
this.setSelected(this.selectableValues[e].id, e), this.$refs.ul.scrollTop = this.$refs.ul.scrollHeight;
|
|
130
|
+
},
|
|
131
|
+
onHomeKey() {
|
|
132
|
+
if (this.disabled)
|
|
133
|
+
return;
|
|
134
|
+
const e = 0;
|
|
135
|
+
this.setSelected(this.selectableValues[e].id, e), this.$refs.ul.scrollTop = 0;
|
|
136
|
+
},
|
|
137
|
+
handleKeyDown(e) {
|
|
138
|
+
this.disabled || (e.keyCode === _ && (this.onArrowDown(), e.preventDefault()), e.keyCode === B && (this.onArrowUp(), e.preventDefault()), e.keyCode === H && (this.onEndKey(), e.preventDefault()), e.keyCode === w && (this.onHomeKey(), e.preventDefault()));
|
|
139
|
+
},
|
|
140
|
+
hasSelection() {
|
|
141
|
+
return this.selectedIndex >= 0;
|
|
142
|
+
},
|
|
143
|
+
validate() {
|
|
144
|
+
return { isValid: !this.getCurrentItem().invalid, errorMessage: null };
|
|
145
|
+
},
|
|
146
|
+
getCurrentItem() {
|
|
147
|
+
return this.selectableValues[this.selectedIndex] || { id: "", text: "" };
|
|
148
|
+
},
|
|
149
|
+
generateInvalidItem(e) {
|
|
150
|
+
return {
|
|
151
|
+
id: e,
|
|
152
|
+
text: `(MISSING) ${e}`,
|
|
153
|
+
invalid: !0
|
|
154
|
+
};
|
|
155
|
+
},
|
|
156
|
+
generateOptionId(e) {
|
|
157
|
+
if (!e || !e.id)
|
|
158
|
+
return "";
|
|
159
|
+
const t = e.id.replace(/[^\w]/gi, "");
|
|
160
|
+
return `option-${this.id}-${t}`;
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}, K = ["id", "tabindex", "aria-label", "aria-activedescendant"];
|
|
164
|
+
function D(e, t, l, n, d, i) {
|
|
165
|
+
const p = V("StyledListItem");
|
|
166
|
+
return a(), r("div", {
|
|
167
|
+
class: u(["list-box", { invalid: !l.isValid, disabled: l.disabled }])
|
|
168
|
+
}, [
|
|
169
|
+
y("ul", {
|
|
170
|
+
id: l.id,
|
|
171
|
+
ref: "ul",
|
|
172
|
+
role: "listbox",
|
|
173
|
+
tabindex: l.disabled ? -1 : 0,
|
|
174
|
+
"aria-label": l.ariaLabel,
|
|
175
|
+
style: c(i.ulSizeStyle),
|
|
176
|
+
"aria-activedescendant": i.generateOptionId(i.getCurrentItem()),
|
|
177
|
+
onKeydown: t[0] || (t[0] = (...s) => i.handleKeyDown && i.handleKeyDown(...s))
|
|
178
|
+
}, [
|
|
179
|
+
(a(!0), r(I, null, x(i.selectableValues, (s, o) => (a(), f(p, {
|
|
180
|
+
id: i.generateOptionId(s),
|
|
181
|
+
key: `listbox-${s.id}`,
|
|
182
|
+
ref_for: !0,
|
|
183
|
+
ref: "options",
|
|
184
|
+
style: c({ "line-height": `${d.optionLineHeight}px` }),
|
|
185
|
+
text: s.text,
|
|
186
|
+
title: s.text,
|
|
187
|
+
class: u({
|
|
188
|
+
focused: i.isCurrentValue(s.id),
|
|
189
|
+
noselect: !0,
|
|
190
|
+
empty: s.text.trim() === ""
|
|
191
|
+
}),
|
|
192
|
+
"aria-selected": i.isCurrentValue(s.id),
|
|
193
|
+
"line-height": d.optionLineHeight,
|
|
194
|
+
selected: i.isCurrentValue(s.id),
|
|
195
|
+
invalid: s.invalid,
|
|
196
|
+
special: s.special,
|
|
197
|
+
disabled: l.disabled,
|
|
198
|
+
onClick: (b) => !l.disabled && i.setSelected(s.id, o),
|
|
199
|
+
onFocus: (b) => !l.disabled && i.setSelected(s.id, o)
|
|
200
|
+
}, null, 8, ["id", "style", "text", "title", "class", "aria-selected", "line-height", "selected", "invalid", "special", "disabled", "onClick", "onFocus"]))), 128))
|
|
201
|
+
], 44, K)
|
|
202
|
+
], 2);
|
|
203
|
+
}
|
|
204
|
+
const k = /* @__PURE__ */ L(T, [["render", D], ["__scopeId", "data-v-4ed79271"]]), F = /* @__PURE__ */ g({
|
|
205
|
+
__name: "SingleSelectListBoxControl",
|
|
206
|
+
props: {
|
|
207
|
+
control: {},
|
|
208
|
+
handleChange: { type: Function },
|
|
209
|
+
changeValue: { type: Function },
|
|
210
|
+
disabled: { type: Boolean },
|
|
211
|
+
isValid: { type: Boolean },
|
|
212
|
+
onRegisterValidation: { type: Function },
|
|
213
|
+
labelForId: {}
|
|
214
|
+
},
|
|
215
|
+
setup(e) {
|
|
216
|
+
const t = e, { possibleValues: l } = S(v(t, "control"));
|
|
217
|
+
return (n, d) => {
|
|
218
|
+
var i;
|
|
219
|
+
return a(), f(h(k), {
|
|
220
|
+
id: n.labelForId,
|
|
221
|
+
"possible-values": h(l) || [],
|
|
222
|
+
disabled: n.disabled,
|
|
223
|
+
"model-value": n.control.data,
|
|
224
|
+
"is-valid": n.isValid,
|
|
225
|
+
ariaLabel: n.control.label,
|
|
226
|
+
size: (i = n.control.uischema.options) == null ? void 0 : i.size,
|
|
227
|
+
"onUpdate:modelValue": n.changeValue
|
|
228
|
+
}, null, 8, ["id", "possible-values", "disabled", "model-value", "is-valid", "ariaLabel", "size", "onUpdate:modelValue"]);
|
|
229
|
+
};
|
|
230
|
+
}
|
|
231
|
+
});
|
|
232
|
+
export {
|
|
233
|
+
F as default
|
|
234
|
+
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { openBlock as C, createElementBlock as S, createElementVNode as k, defineComponent as W, computed as V, ref as F, watch as q, Fragment as z, createVNode as c, withKeys as B, withModifiers as M, unref as p, withCtx as f, nextTick as re, onMounted as ie, createTextVNode as $, renderSlot as H, normalizeClass as ue } from "vue";
|
|
2
|
-
import { q as E, _ as Y, u as de, L as ce, E as me } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
2
|
+
import { q as E, _ as Y, u as de, L as ce, E as me } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq1Jv6TX.js";
|
|
3
3
|
import { i as pe } from "./navigator-D_R-txCf.js";
|
|
4
|
-
import { M as fe } from "./MultiselectListBox-
|
|
5
|
-
import { g as ve } from "./_getTag-
|
|
6
|
-
import { b as we } from "./_baseEach-
|
|
7
|
-
import { b as be } from "./_baseIteratee-
|
|
4
|
+
import { M as fe } from "./MultiselectListBox-DB1_x4Gm.js";
|
|
5
|
+
import { g as ve } from "./_getTag-CphCWFRC.js";
|
|
6
|
+
import { b as we } from "./_baseEach-C1cC1iYK.js";
|
|
7
|
+
import { b as be } from "./_baseIteratee-CapP6YsQ.js";
|
|
8
8
|
import { i as he } from "./isArray-WzO_os3q.js";
|
|
9
9
|
import { c as ge } from "./createMissingItem-B00Kg95q.js";
|
|
10
|
-
import { B as N } from "./Button-
|
|
10
|
+
import { B as N } from "./Button-CO9MECNO.js";
|
|
11
11
|
const R = {
|
|
12
12
|
ArrowUp: "↑",
|
|
13
13
|
ArrowDown: "↓",
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { openBlock as s, createElementBlock as n, mergeProps as d, withModifiers as o, toDisplayString as a } from "vue";
|
|
2
|
+
import { _ as m } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq1Jv6TX.js";
|
|
3
|
+
const f = {
|
|
4
|
+
name: "StyledListItem",
|
|
5
|
+
props: {
|
|
6
|
+
text: {
|
|
7
|
+
type: String,
|
|
8
|
+
default: " "
|
|
9
|
+
},
|
|
10
|
+
selected: {
|
|
11
|
+
type: Boolean,
|
|
12
|
+
default: !1
|
|
13
|
+
},
|
|
14
|
+
disabled: {
|
|
15
|
+
type: Boolean,
|
|
16
|
+
default: !1
|
|
17
|
+
},
|
|
18
|
+
invalid: {
|
|
19
|
+
type: Boolean,
|
|
20
|
+
default: !1
|
|
21
|
+
},
|
|
22
|
+
/**
|
|
23
|
+
* Styles the item distinct to the other ones by adding a margin, adjusting the font-style and -height and
|
|
24
|
+
* rounding the corners
|
|
25
|
+
*/
|
|
26
|
+
special: {
|
|
27
|
+
type: Boolean,
|
|
28
|
+
default: !1
|
|
29
|
+
},
|
|
30
|
+
lineHeight: {
|
|
31
|
+
type: Number,
|
|
32
|
+
default: null
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
emits: [
|
|
36
|
+
"mousedown",
|
|
37
|
+
"mousemove",
|
|
38
|
+
"dblclick-exact",
|
|
39
|
+
"dblclick-shift",
|
|
40
|
+
"click",
|
|
41
|
+
"focus"
|
|
42
|
+
]
|
|
43
|
+
}, u = ["title", "aria-selected"];
|
|
44
|
+
function r(i, e, t, c, y, b) {
|
|
45
|
+
return s(), n("li", d(i.$attrs, {
|
|
46
|
+
role: "option",
|
|
47
|
+
title: t.text,
|
|
48
|
+
style: {
|
|
49
|
+
...t.lineHeight !== null ? { lineHeight: `${t.lineHeight}px` } : {}
|
|
50
|
+
},
|
|
51
|
+
class: {
|
|
52
|
+
selected: t.selected,
|
|
53
|
+
invalid: t.invalid,
|
|
54
|
+
empty: !t.text.trim(),
|
|
55
|
+
disabled: t.disabled,
|
|
56
|
+
special: t.special
|
|
57
|
+
},
|
|
58
|
+
"aria-selected": t.selected,
|
|
59
|
+
onClick: e[0] || (e[0] = (l) => i.$emit("click", l)),
|
|
60
|
+
onFocus: e[1] || (e[1] = (l) => i.$emit("focus", l)),
|
|
61
|
+
onDblclick: [
|
|
62
|
+
e[2] || (e[2] = o((l) => i.$emit("dblclick-shift"), ["shift"])),
|
|
63
|
+
e[3] || (e[3] = o((l) => i.$emit("dblclick-exact"), ["exact"]))
|
|
64
|
+
],
|
|
65
|
+
onMousedown: e[4] || (e[4] = (l) => i.$emit("mousedown", l)),
|
|
66
|
+
onMousemove: e[5] || (e[5] = (l) => i.$emit("mousemove", l))
|
|
67
|
+
}), a(t.text), 17, u);
|
|
68
|
+
}
|
|
69
|
+
const g = /* @__PURE__ */ m(f, [["render", r], ["__scopeId", "data-v-a04fa87b"]]);
|
|
70
|
+
export {
|
|
71
|
+
g as S
|
|
72
|
+
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { openBlock as a, createElementBlock as o, normalizeClass as r, createElementVNode as u, mergeProps as c, createCommentVNode as m, defineComponent as p, createBlock as f, unref as V } from "vue";
|
|
2
|
-
import { _ as i } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
2
|
+
import { _ as i } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq1Jv6TX.js";
|
|
3
3
|
const y = {
|
|
4
4
|
name: "TextArea",
|
|
5
5
|
props: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent as k, ref as y, computed as m, openBlock as d, createBlock as i, withCtx as t, unref as r, normalizeProps as E, mergeProps as B, createCommentVNode as u, createVNode as F, renderSlot as h } from "vue";
|
|
2
|
-
import { u as L, L as P, E as w } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
3
|
-
import { u as N } from "./useBuiltinValidations-
|
|
2
|
+
import { u as L, L as P, E as w } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq1Jv6TX.js";
|
|
3
|
+
import { u as N } from "./useBuiltinValidations-CQ7jhonx.js";
|
|
4
4
|
import { u as $ } from "./useHideOnNull-CCfNP3O7.js";
|
|
5
|
-
import { C as H } from "./Checkbox-
|
|
6
|
-
import { I } from "./InputField-
|
|
5
|
+
import { C as H } from "./Checkbox-C3WOC8SX.js";
|
|
6
|
+
import { I } from "./InputField-C_Kwnh2D.js";
|
|
7
7
|
const z = /* @__PURE__ */ k({
|
|
8
8
|
__name: "TextControl",
|
|
9
9
|
props: {
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { defineComponent as m, computed as e, openBlock as p, createBlock as h, unref as t } from "vue";
|
|
2
|
+
import { D as f } from "./DateTimeInput-B6b6ntsL.js";
|
|
3
|
+
import { l as a } from "./localTimeUtils-C73txZxM.js";
|
|
4
|
+
const g = /* @__PURE__ */ m({
|
|
5
|
+
__name: "TimeControl",
|
|
6
|
+
props: {
|
|
7
|
+
control: {},
|
|
8
|
+
handleChange: { type: Function },
|
|
9
|
+
changeValue: { type: Function },
|
|
10
|
+
disabled: { type: Boolean },
|
|
11
|
+
isValid: { type: Boolean },
|
|
12
|
+
onRegisterValidation: { type: Function },
|
|
13
|
+
labelForId: {}
|
|
14
|
+
},
|
|
15
|
+
setup(d) {
|
|
16
|
+
const l = d, r = e(() => a.fromString(l.control.data)), s = e(() => l.control.uischema.options), u = e(
|
|
17
|
+
() => {
|
|
18
|
+
var o;
|
|
19
|
+
return ((o = s.value) == null ? void 0 : o.showMilliseconds) ?? !0;
|
|
20
|
+
}
|
|
21
|
+
);
|
|
22
|
+
return (o, n) => {
|
|
23
|
+
var i;
|
|
24
|
+
return p(), h(t(f), {
|
|
25
|
+
id: o.labelForId,
|
|
26
|
+
"model-value": r.value,
|
|
27
|
+
required: !0,
|
|
28
|
+
compact: "",
|
|
29
|
+
disabled: o.disabled,
|
|
30
|
+
"show-date": !1,
|
|
31
|
+
"show-time": !0,
|
|
32
|
+
"show-seconds": (i = s.value) == null ? void 0 : i.showSeconds,
|
|
33
|
+
"show-milliseconds": u.value,
|
|
34
|
+
"is-valid": o.isValid,
|
|
35
|
+
"onUpdate:modelValue": n[0] || (n[0] = (c) => o.changeValue(t(a).toString(c)))
|
|
36
|
+
}, null, 8, ["id", "model-value", "disabled", "show-seconds", "show-milliseconds", "is-valid"]);
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
export {
|
|
41
|
+
g as default
|
|
42
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent as t, markRaw as d, toRef as p, openBlock as r, createBlock as u, unref as l } from "vue";
|
|
2
|
-
import { a as m } from "./usePossibleValues-
|
|
3
|
-
import { T as b, a as c } from "./TwinlistLoadingInfo-
|
|
4
|
-
import { _ as f } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
2
|
+
import { a as m } from "./usePossibleValues-DJHSR3yJ.js";
|
|
3
|
+
import { T as b, a as c } from "./TwinlistLoadingInfo-DVAd49mv.js";
|
|
4
|
+
import { _ as f } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq1Jv6TX.js";
|
|
5
5
|
const h = /* @__PURE__ */ t({
|
|
6
6
|
__name: "TwinlistControlBase",
|
|
7
7
|
props: {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { openBlock as r, createElementBlock as v, createElementVNode as c, computed as u, nextTick as Q, resolveComponent as w, createBlock as V, normalizeClass as k, withCtx as x, renderSlot as $, createVNode as I, createCommentVNode as y, defineComponent as j, useCssVars as G, ref as T, normalizeStyle as D, Fragment as ee, renderList as te, unref as H, toRef as U, toDisplayString as R } from "vue";
|
|
2
2
|
import { N as ne } from "./arrow-next-CIOU5o42.js";
|
|
3
3
|
import { u as O } from "./useSearch-hpyYQ_6y.js";
|
|
4
|
-
import { z as le, A as se, _ as A, q as oe, v as ie } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
5
|
-
import { M as ae } from "./MultiselectListBox-
|
|
4
|
+
import { z as le, A as se, _ as A, q as oe, v as ie } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq1Jv6TX.js";
|
|
5
|
+
import { M as ae } from "./MultiselectListBox-DB1_x4Gm.js";
|
|
6
6
|
import { C as ue } from "./close-BuY4mhXV.js";
|
|
7
|
-
import { I as de } from "./InputField-
|
|
7
|
+
import { I as de } from "./InputField-C_Kwnh2D.js";
|
|
8
8
|
import { c as P } from "./createMissingItem-B00Kg95q.js";
|
|
9
|
-
import { L as re } from "./svgWithTitle-
|
|
9
|
+
import { L as re } from "./svgWithTitle-BYet-mD6.js";
|
|
10
10
|
const ce = {
|
|
11
11
|
xmlns: "http://www.w3.org/2000/svg",
|
|
12
12
|
fill: "none",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as a, computed as l, openBlock as p, createBlock as s, mergeProps as r } from "vue";
|
|
2
|
-
import u from "./MultimodeTwinlistControl-
|
|
2
|
+
import u from "./MultimodeTwinlistControl-06t2HfAA.js";
|
|
3
3
|
const d = /* @__PURE__ */ a({
|
|
4
4
|
__name: "TypedStringFilter",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as u, useId as V, openBlock as o, createElementBlock as d, Fragment as n, renderList as B, normalizeClass as i, createElementVNode as s, toDisplayString as r, renderSlot as p, createCommentVNode as $, resolveComponent as v, createBlock as g, withCtx as h, normalizeProps as S, guardReactiveProps as k } from "vue";
|
|
2
|
-
import { _ as m } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
2
|
+
import { _ as m } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq1Jv6TX.js";
|
|
3
3
|
const w = u({
|
|
4
4
|
name: "BaseRadioButtons",
|
|
5
5
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as n, createBlock as t, mergeProps as a } from "vue";
|
|
2
|
-
import { _ as p } from "./RadioControlBase.vue_vue_type_script_setup_true_lang-
|
|
2
|
+
import { _ as p } from "./RadioControlBase.vue_vue_type_script_setup_true_lang-DDINkVnv.js";
|
|
3
3
|
const s = /* @__PURE__ */ o({
|
|
4
4
|
__name: "ValueSwitchControl",
|
|
5
5
|
props: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as o, openBlock as a, createBlock as l, withCtx as s, unref as n } from "vue";
|
|
2
|
-
import { r as u } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
3
|
-
import { V as m } from "./VerticalLayoutBase-
|
|
2
|
+
import { r as u } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq1Jv6TX.js";
|
|
3
|
+
import { V as m } from "./VerticalLayoutBase-BrH1Nr0z.js";
|
|
4
4
|
const d = /* @__PURE__ */ o({
|
|
5
5
|
__name: "VerticalLayout",
|
|
6
6
|
props: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineComponent as s, openBlock as r, createElementBlock as o, Fragment as n, renderList as c, renderSlot as l } from "vue";
|
|
2
|
-
import { _ } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
2
|
+
import { _ } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq1Jv6TX.js";
|
|
3
3
|
const p = { class: "vertical-layout" }, u = /* @__PURE__ */ s({
|
|
4
4
|
__name: "VerticalLayoutBase",
|
|
5
5
|
props: {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { D as
|
|
3
|
-
import { _ as T } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-
|
|
4
|
-
import { t as
|
|
5
|
-
import { D as C } from "./Dropdown-
|
|
6
|
-
const y = ["id"], D = /* @__PURE__ */
|
|
1
|
+
import { defineComponent as V, computed as a, openBlock as b, createElementBlock as f, createVNode as r, unref as c } from "vue";
|
|
2
|
+
import { D as h } from "./DateTimeInput-B6b6ntsL.js";
|
|
3
|
+
import { _ as T } from "./SectionHeading.vue_vue_type_style_index_0_scoped_625edfbe_lang-Dq1Jv6TX.js";
|
|
4
|
+
import { t as w, f as g } from "./localTimeUtils-C73txZxM.js";
|
|
5
|
+
import { D as C } from "./Dropdown-c0-3hZhQ.js";
|
|
6
|
+
const y = ["id"], D = /* @__PURE__ */ V({
|
|
7
7
|
__name: "ZonedDateTimeControl",
|
|
8
8
|
props: {
|
|
9
9
|
control: {},
|
|
@@ -15,11 +15,11 @@ const y = ["id"], D = /* @__PURE__ */ v({
|
|
|
15
15
|
labelForId: {}
|
|
16
16
|
},
|
|
17
17
|
setup(p) {
|
|
18
|
-
const
|
|
19
|
-
get: () =>
|
|
20
|
-
set:
|
|
18
|
+
const s = p, t = a(() => s.control.uischema.options), o = a({
|
|
19
|
+
get: () => s.control.data,
|
|
20
|
+
set: s.changeValue
|
|
21
21
|
}), n = a({
|
|
22
|
-
get: () =>
|
|
22
|
+
get: () => w(o.value.dateTime),
|
|
23
23
|
set: (e) => {
|
|
24
24
|
o.value = {
|
|
25
25
|
...o.value,
|
|
@@ -35,40 +35,41 @@ const y = ["id"], D = /* @__PURE__ */ v({
|
|
|
35
35
|
timeZone: e
|
|
36
36
|
};
|
|
37
37
|
}
|
|
38
|
-
}),
|
|
38
|
+
}), v = a(() => {
|
|
39
39
|
var e;
|
|
40
|
-
return ((e =
|
|
40
|
+
return ((e = t.value) == null ? void 0 : e.possibleValues) ?? [];
|
|
41
41
|
});
|
|
42
42
|
return (e, l) => {
|
|
43
|
-
var u;
|
|
44
|
-
return
|
|
43
|
+
var u, m;
|
|
44
|
+
return b(), f("div", {
|
|
45
45
|
id: e.labelForId,
|
|
46
46
|
class: "layout-container"
|
|
47
47
|
}, [
|
|
48
|
-
|
|
48
|
+
r(c(h), {
|
|
49
49
|
modelValue: n.value,
|
|
50
50
|
"onUpdate:modelValue": l[0] || (l[0] = (i) => n.value = i),
|
|
51
51
|
required: !0,
|
|
52
52
|
"show-timezone": !1,
|
|
53
|
-
"show-
|
|
53
|
+
"show-seconds": (u = t.value) == null ? void 0 : u.showSeconds,
|
|
54
|
+
"show-milliseconds": (m = t.value) == null ? void 0 : m.showMilliseconds,
|
|
54
55
|
timezone: "UTC",
|
|
55
56
|
"is-valid": e.isValid,
|
|
56
57
|
compact: "",
|
|
57
58
|
disabled: e.disabled
|
|
58
|
-
}, null, 8, ["modelValue", "show-milliseconds", "is-valid", "disabled"]),
|
|
59
|
-
|
|
59
|
+
}, null, 8, ["modelValue", "show-seconds", "show-milliseconds", "is-valid", "disabled"]),
|
|
60
|
+
r(c(C), {
|
|
60
61
|
modelValue: d.value,
|
|
61
62
|
"onUpdate:modelValue": l[1] || (l[1] = (i) => d.value = i),
|
|
62
63
|
"is-valid": e.isValid,
|
|
63
64
|
compact: "",
|
|
64
|
-
"possible-values":
|
|
65
|
+
"possible-values": v.value,
|
|
65
66
|
disabled: e.disabled,
|
|
66
67
|
ariaLabel: "Timezone"
|
|
67
68
|
}, null, 8, ["modelValue", "is-valid", "possible-values", "disabled"])
|
|
68
69
|
], 8, y);
|
|
69
70
|
};
|
|
70
71
|
}
|
|
71
|
-
}),
|
|
72
|
+
}), Z = /* @__PURE__ */ T(D, [["__scopeId", "data-v-a27c15c5"]]);
|
|
72
73
|
export {
|
|
73
|
-
|
|
74
|
+
Z as default
|
|
74
75
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { k as h } from "./_baseIteratee-
|
|
2
|
-
import {
|
|
1
|
+
import { k as h } from "./_baseIteratee-CapP6YsQ.js";
|
|
2
|
+
import { c as b } from "./_getTag-CphCWFRC.js";
|
|
3
3
|
function g(n) {
|
|
4
4
|
return function(e, r, f) {
|
|
5
5
|
for (var i = -1, a = Object(e), t = f(e), u = t.length; u--; ) {
|