@knime/kds-components 11.1.1 → 11.3.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 +26 -0
- package/dist/index.css +48 -48
- package/dist/index.js +73 -24
- package/dist/index.js.map +1 -1
- package/dist/src/components/forms/inputs/BaseInput.vue.d.ts +4 -0
- package/dist/src/components/forms/inputs/BaseInput.vue.d.ts.map +1 -1
- package/dist/src/components/forms/inputs/ColorInput/KdsColorInput.vue.d.ts +4 -0
- package/dist/src/components/forms/inputs/ColorInput/KdsColorInput.vue.d.ts.map +1 -1
- package/dist/src/components/forms/inputs/DateInput/types.d.ts +1 -1
- package/dist/src/components/forms/inputs/DateInput/types.d.ts.map +1 -1
- package/dist/src/components/forms/inputs/DateTimeFormatInput/KdsDateTimeFormatInput.vue.d.ts +5 -78
- package/dist/src/components/forms/inputs/DateTimeFormatInput/KdsDateTimeFormatInput.vue.d.ts.map +1 -1
- package/dist/src/components/forms/inputs/DateTimeFormatInput/types.d.ts +1 -1
- package/dist/src/components/forms/inputs/DateTimeFormatInput/types.d.ts.map +1 -1
- package/dist/src/components/forms/inputs/IntervalInput/KdsIntervalInput.vue.d.ts +5 -78
- package/dist/src/components/forms/inputs/IntervalInput/KdsIntervalInput.vue.d.ts.map +1 -1
- package/dist/src/components/forms/inputs/IntervalInput/types.d.ts +1 -1
- package/dist/src/components/forms/inputs/IntervalInput/types.d.ts.map +1 -1
- package/dist/src/components/forms/inputs/NumberInput/KdsNumberInput.vue.d.ts +4 -0
- package/dist/src/components/forms/inputs/NumberInput/KdsNumberInput.vue.d.ts.map +1 -1
- package/dist/src/components/forms/inputs/PasswordInput/KdsPasswordInput.vue.d.ts.map +1 -1
- package/dist/src/components/forms/inputs/PatternInput/KdsPatternInput.vue.d.ts +4 -0
- package/dist/src/components/forms/inputs/PatternInput/KdsPatternInput.vue.d.ts.map +1 -1
- package/dist/src/components/forms/inputs/SearchInput/KdsSearchInput.vue.d.ts +4 -0
- package/dist/src/components/forms/inputs/SearchInput/KdsSearchInput.vue.d.ts.map +1 -1
- package/dist/src/components/forms/inputs/TextInput/KdsTextInput.vue.d.ts +4 -0
- package/dist/src/components/forms/inputs/TextInput/KdsTextInput.vue.d.ts.map +1 -1
- package/dist/src/components/forms/inputs/Textarea/KdsTextarea.vue.d.ts +4 -0
- package/dist/src/components/forms/inputs/Textarea/KdsTextarea.vue.d.ts.map +1 -1
- package/dist/src/components/forms/inputs/TimeInput/types.d.ts +1 -1
- package/dist/src/components/forms/inputs/TimeInput/types.d.ts.map +1 -1
- package/dist/src/components/forms/inputs/UsernameInput/KdsUsernameInput.vue.d.ts.map +1 -1
- package/dist/src/components/forms/inputs/types.d.ts +4 -0
- package/dist/src/components/forms/inputs/types.d.ts.map +1 -1
- package/dist/src/components/forms/selects/Dropdown/KdsMultiSelectDropdown.vue.d.ts +4 -0
- package/dist/src/components/forms/selects/Dropdown/KdsMultiSelectDropdown.vue.d.ts.map +1 -1
- package/dist/src/components/forms/selects/Dropdown/MultiSelectDropdownContainer.vue.d.ts.map +1 -1
- package/dist/src/components/forms/selects/Dropdown/types.d.ts +8 -0
- package/dist/src/components/forms/selects/Dropdown/types.d.ts.map +1 -1
- package/dist/src/components/lists/ListContainer/KdsListContainer.vue.d.ts +2 -0
- package/dist/src/components/lists/ListContainer/KdsListContainer.vue.d.ts.map +1 -1
- package/dist/src/components/lists/ListContainer/types.d.ts +10 -0
- package/dist/src/components/lists/ListContainer/types.d.ts.map +1 -1
- package/package.json +4 -4
package/dist/index.js
CHANGED
|
@@ -12360,7 +12360,7 @@ var KdsListContainer_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/
|
|
|
12360
12360
|
default: false
|
|
12361
12361
|
}
|
|
12362
12362
|
},
|
|
12363
|
-
emits: ["itemClick"],
|
|
12363
|
+
emits: ["itemClick", "activeItemChange"],
|
|
12364
12364
|
setup(__props, { expose: __expose, emit: __emit }) {
|
|
12365
12365
|
const props = createPropsRestProxy(__props, [
|
|
12366
12366
|
"emptyText",
|
|
@@ -12375,12 +12375,28 @@ var KdsListContainer_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/
|
|
|
12375
12375
|
if (elementId === emptyOptionId) return;
|
|
12376
12376
|
return toUnprefixedId(elementId);
|
|
12377
12377
|
}
|
|
12378
|
+
const handleItemInteraction = (elementId, event) => {
|
|
12379
|
+
const id = toOptionId(elementId);
|
|
12380
|
+
const originalItem = id === void 0 ? void 0 : props.possibleValues.find((item) => item.id === id);
|
|
12381
|
+
try {
|
|
12382
|
+
originalItem?.handler?.(originalItem, event);
|
|
12383
|
+
} catch (error) {
|
|
12384
|
+
console.error("Failed while calling item handler", {
|
|
12385
|
+
item: originalItem,
|
|
12386
|
+
error
|
|
12387
|
+
});
|
|
12388
|
+
}
|
|
12389
|
+
emit("itemClick", id);
|
|
12390
|
+
};
|
|
12378
12391
|
/** Only selectable (non-section-headline) items */
|
|
12379
12392
|
const selectableValues = computed(() => itemsWithPrefix.value.filter((item) => !item.sectionHeadline));
|
|
12380
12393
|
const containerEl = useTemplateRef("containerEl");
|
|
12381
12394
|
const enabledValues = computed(() => selectableValues.value.filter((o) => !o.disabled));
|
|
12382
12395
|
const activeId = ref(void 0);
|
|
12383
12396
|
const isFocused = ref(false);
|
|
12397
|
+
watch(computed(() => toOptionId(activeId.value)), (id) => {
|
|
12398
|
+
emit("activeItemChange", id);
|
|
12399
|
+
});
|
|
12384
12400
|
function scrollToView() {
|
|
12385
12401
|
if (!activeId.value || !containerEl.value) return;
|
|
12386
12402
|
containerEl.value?.querySelector(`#${CSS.escape(activeId.value)}`)?.scrollIntoView({ block: "nearest" });
|
|
@@ -12419,12 +12435,12 @@ var KdsListContainer_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/
|
|
|
12419
12435
|
event.preventDefault();
|
|
12420
12436
|
break;
|
|
12421
12437
|
case "Enter":
|
|
12422
|
-
|
|
12438
|
+
handleItemInteraction(activeId.value, event);
|
|
12423
12439
|
event.preventDefault();
|
|
12424
12440
|
break;
|
|
12425
12441
|
case " ":
|
|
12426
12442
|
if (isTextInput(event.target)) break;
|
|
12427
|
-
|
|
12443
|
+
handleItemInteraction(activeId.value, event);
|
|
12428
12444
|
event.preventDefault();
|
|
12429
12445
|
break;
|
|
12430
12446
|
case "Home":
|
|
@@ -12519,7 +12535,7 @@ var KdsListContainer_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/
|
|
|
12519
12535
|
"trailing-icon": item.missing && !item.disabled ? "trash" : item.selected ? "checkmark" : void 0,
|
|
12520
12536
|
role: "option",
|
|
12521
12537
|
onMousedown: _cache[0] || (_cache[0] = ($event) => props.controlledExternally && $event.preventDefault()),
|
|
12522
|
-
onClick: ($event) => !item.disabled &&
|
|
12538
|
+
onClick: ($event) => !item.disabled && handleItemInteraction(item.id, $event),
|
|
12523
12539
|
onMouseenter: ($event) => !item.disabled && (activeId.value = item.id)
|
|
12524
12540
|
}, null, 8, [
|
|
12525
12541
|
"id",
|
|
@@ -12559,7 +12575,7 @@ var KdsListContainer_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/
|
|
|
12559
12575
|
//#endregion
|
|
12560
12576
|
//#region src/components/lists/ListContainer/KdsListContainer.vue
|
|
12561
12577
|
var KdsListContainer_exports = /* @__PURE__ */ __exportAll$1({ default: () => KdsListContainer_default });
|
|
12562
|
-
var KdsListContainer_default = /*#__PURE__*/ _plugin_vue_export_helper_default(KdsListContainer_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-
|
|
12578
|
+
var KdsListContainer_default = /*#__PURE__*/ _plugin_vue_export_helper_default(KdsListContainer_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-23465b31"]]);
|
|
12563
12579
|
//#endregion
|
|
12564
12580
|
//#region src/components/lists/ListContainer/ListItem/ListItemButton/KdsListItemButton.vue?vue&type=script&setup=true&lang.ts
|
|
12565
12581
|
var _hoisted_1$64 = ["disabled"];
|
|
@@ -13187,6 +13203,7 @@ var _hoisted_3$31 = [
|
|
|
13187
13203
|
"disabled",
|
|
13188
13204
|
"autocomplete",
|
|
13189
13205
|
"min",
|
|
13206
|
+
"maxlength",
|
|
13190
13207
|
"max",
|
|
13191
13208
|
"step",
|
|
13192
13209
|
"aria-label",
|
|
@@ -13240,6 +13257,7 @@ var BaseInput_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__PU
|
|
|
13240
13257
|
default: false
|
|
13241
13258
|
},
|
|
13242
13259
|
autocomplete: {},
|
|
13260
|
+
maxlength: {},
|
|
13243
13261
|
ariaLabel: {},
|
|
13244
13262
|
ariaLabelledby: {},
|
|
13245
13263
|
ariaDescribedby: {},
|
|
@@ -13382,6 +13400,7 @@ focus: focusInput });
|
|
|
13382
13400
|
disabled: __props.disabled,
|
|
13383
13401
|
autocomplete: props.autocomplete,
|
|
13384
13402
|
min: props.min,
|
|
13403
|
+
maxlength: props.maxlength,
|
|
13385
13404
|
max: props.max,
|
|
13386
13405
|
step: props.step,
|
|
13387
13406
|
"aria-label": props.ariaLabel,
|
|
@@ -13439,7 +13458,7 @@ focus: focusInput });
|
|
|
13439
13458
|
], 2);
|
|
13440
13459
|
};
|
|
13441
13460
|
}
|
|
13442
|
-
}), [["__scopeId", "data-v-
|
|
13461
|
+
}), [["__scopeId", "data-v-2b6ea9cb"]]);
|
|
13443
13462
|
//#endregion
|
|
13444
13463
|
//#region src/components/forms/selects/Dropdown/filterOptions.ts
|
|
13445
13464
|
/**
|
|
@@ -13516,7 +13535,8 @@ var MultiSelectDropdownContainer_default = /*#__PURE__*/ _plugin_vue_export_help
|
|
|
13516
13535
|
hideClearAll: {
|
|
13517
13536
|
type: Boolean,
|
|
13518
13537
|
default: false
|
|
13519
|
-
}
|
|
13538
|
+
},
|
|
13539
|
+
maxlength: {}
|
|
13520
13540
|
}, {
|
|
13521
13541
|
"modelValue": { default: () => [] },
|
|
13522
13542
|
"modelModifiers": {},
|
|
@@ -13637,6 +13657,7 @@ var MultiSelectDropdownContainer_default = /*#__PURE__*/ _plugin_vue_export_help
|
|
|
13637
13657
|
type: "search",
|
|
13638
13658
|
placeholder: __props.allowNewValues ? "Search or add new" : "Search",
|
|
13639
13659
|
"aria-label": "Filter options",
|
|
13660
|
+
maxlength: props.maxlength,
|
|
13640
13661
|
"aria-activedescendant": listContainerRef.value?.activeDescendant,
|
|
13641
13662
|
"leading-icon": "search",
|
|
13642
13663
|
clearable: true,
|
|
@@ -13646,6 +13667,7 @@ var MultiSelectDropdownContainer_default = /*#__PURE__*/ _plugin_vue_export_help
|
|
|
13646
13667
|
}, null, 8, [
|
|
13647
13668
|
"modelValue",
|
|
13648
13669
|
"placeholder",
|
|
13670
|
+
"maxlength",
|
|
13649
13671
|
"aria-activedescendant"
|
|
13650
13672
|
])])) : createCommentVNode("", true),
|
|
13651
13673
|
createVNode(unref(KdsListContainer_default), {
|
|
@@ -13678,7 +13700,7 @@ var MultiSelectDropdownContainer_default = /*#__PURE__*/ _plugin_vue_export_help
|
|
|
13678
13700
|
]);
|
|
13679
13701
|
};
|
|
13680
13702
|
}
|
|
13681
|
-
}), [["__scopeId", "data-v-
|
|
13703
|
+
}), [["__scopeId", "data-v-f310a8df"]]);
|
|
13682
13704
|
//#endregion
|
|
13683
13705
|
//#region src/components/buttons/KdsMultiSelectButton/KdsMultiSelectButton.vue
|
|
13684
13706
|
var KdsMultiSelectButton_default = /* @__PURE__ */ defineComponent({
|
|
@@ -16112,6 +16134,7 @@ var KdsNumberInput_default = /* @__PURE__ */ defineComponent({
|
|
|
16112
16134
|
default: false
|
|
16113
16135
|
},
|
|
16114
16136
|
autocomplete: {},
|
|
16137
|
+
maxlength: {},
|
|
16115
16138
|
unit: { default: "" },
|
|
16116
16139
|
min: {},
|
|
16117
16140
|
max: {},
|
|
@@ -16261,6 +16284,7 @@ var KdsNumberInput_default = /* @__PURE__ */ defineComponent({
|
|
|
16261
16284
|
disabled: __props.disabled,
|
|
16262
16285
|
error: __props.error,
|
|
16263
16286
|
autocomplete: props.autocomplete,
|
|
16287
|
+
maxlength: props.maxlength,
|
|
16264
16288
|
unit: __props.unit,
|
|
16265
16289
|
role: "spinbutton",
|
|
16266
16290
|
"aria-valuenow": ariaValuenow.value,
|
|
@@ -16303,6 +16327,7 @@ var KdsNumberInput_default = /* @__PURE__ */ defineComponent({
|
|
|
16303
16327
|
"disabled",
|
|
16304
16328
|
"error",
|
|
16305
16329
|
"autocomplete",
|
|
16330
|
+
"maxlength",
|
|
16306
16331
|
"unit",
|
|
16307
16332
|
"aria-valuenow",
|
|
16308
16333
|
"aria-valuemin",
|
|
@@ -16346,6 +16371,7 @@ var KdsTextInput_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
16346
16371
|
default: false
|
|
16347
16372
|
},
|
|
16348
16373
|
autocomplete: {},
|
|
16374
|
+
maxlength: {},
|
|
16349
16375
|
suggestions: {},
|
|
16350
16376
|
suggestionsHeadline: {}
|
|
16351
16377
|
}, {
|
|
@@ -16439,6 +16465,7 @@ var KdsTextInput_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
16439
16465
|
type: "text",
|
|
16440
16466
|
placeholder: props.placeholder,
|
|
16441
16467
|
disabled: __props.disabled,
|
|
16468
|
+
maxlength: props.maxlength,
|
|
16442
16469
|
error: __props.error,
|
|
16443
16470
|
autocomplete: hasSuggestions.value ? "off" : props.autocomplete,
|
|
16444
16471
|
role: hasSuggestions.value ? "combobox" : void 0,
|
|
@@ -16455,6 +16482,7 @@ var KdsTextInput_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
16455
16482
|
"modelValue",
|
|
16456
16483
|
"placeholder",
|
|
16457
16484
|
"disabled",
|
|
16485
|
+
"maxlength",
|
|
16458
16486
|
"error",
|
|
16459
16487
|
"autocomplete",
|
|
16460
16488
|
"role",
|
|
@@ -16500,7 +16528,7 @@ var KdsTextInput_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @_
|
|
|
16500
16528
|
]);
|
|
16501
16529
|
};
|
|
16502
16530
|
}
|
|
16503
|
-
}), [["__scopeId", "data-v-
|
|
16531
|
+
}), [["__scopeId", "data-v-a89218cd"]]);
|
|
16504
16532
|
//#endregion
|
|
16505
16533
|
//#region src/components/forms/inputs/ColorInput/colorUtils.ts
|
|
16506
16534
|
var HEX_RADIX = 16;
|
|
@@ -17021,7 +17049,8 @@ var KdsColorInput_default = /* @__PURE__ */ defineComponent({
|
|
|
17021
17049
|
type: Boolean,
|
|
17022
17050
|
default: false
|
|
17023
17051
|
},
|
|
17024
|
-
autocomplete: {}
|
|
17052
|
+
autocomplete: {},
|
|
17053
|
+
maxlength: {}
|
|
17025
17054
|
}, {
|
|
17026
17055
|
"modelValue": { default: "" },
|
|
17027
17056
|
"modelModifiers": {}
|
|
@@ -17059,7 +17088,8 @@ var KdsColorInput_default = /* @__PURE__ */ defineComponent({
|
|
|
17059
17088
|
placeholder: __props.placeholder,
|
|
17060
17089
|
disabled: __props.disabled,
|
|
17061
17090
|
error: __props.error,
|
|
17062
|
-
autocomplete: props.autocomplete
|
|
17091
|
+
autocomplete: props.autocomplete,
|
|
17092
|
+
maxlength: props.maxlength
|
|
17063
17093
|
}), {
|
|
17064
17094
|
leading: withCtx(() => [createVNode(KdsColorSwatch_default, {
|
|
17065
17095
|
size: "large",
|
|
@@ -17091,7 +17121,8 @@ var KdsColorInput_default = /* @__PURE__ */ defineComponent({
|
|
|
17091
17121
|
"placeholder",
|
|
17092
17122
|
"disabled",
|
|
17093
17123
|
"error",
|
|
17094
|
-
"autocomplete"
|
|
17124
|
+
"autocomplete",
|
|
17125
|
+
"maxlength"
|
|
17095
17126
|
]), createVNode(KdsPopover_default, {
|
|
17096
17127
|
ref_key: "popoverEl",
|
|
17097
17128
|
ref: popoverEl,
|
|
@@ -17144,6 +17175,7 @@ var KdsPasswordInput_default = /* @__PURE__ */ defineComponent({
|
|
|
17144
17175
|
type: Boolean,
|
|
17145
17176
|
default: false
|
|
17146
17177
|
},
|
|
17178
|
+
maxlength: {},
|
|
17147
17179
|
variant: { default: "password" },
|
|
17148
17180
|
showVisibilityToggle: {
|
|
17149
17181
|
type: Boolean,
|
|
@@ -17193,6 +17225,7 @@ var KdsPasswordInput_default = /* @__PURE__ */ defineComponent({
|
|
|
17193
17225
|
disabled: __props.disabled,
|
|
17194
17226
|
error: __props.error,
|
|
17195
17227
|
autocomplete: props.autocomplete,
|
|
17228
|
+
maxlength: props.maxlength,
|
|
17196
17229
|
onBlur: handleBlur
|
|
17197
17230
|
}), {
|
|
17198
17231
|
trailing: withCtx(() => [__props.showVisibilityToggle ? (openBlock(), createBlock(KdsToggleButton_default, {
|
|
@@ -17223,7 +17256,8 @@ var KdsPasswordInput_default = /* @__PURE__ */ defineComponent({
|
|
|
17223
17256
|
"placeholder",
|
|
17224
17257
|
"disabled",
|
|
17225
17258
|
"error",
|
|
17226
|
-
"autocomplete"
|
|
17259
|
+
"autocomplete",
|
|
17260
|
+
"maxlength"
|
|
17227
17261
|
])]),
|
|
17228
17262
|
_: 1
|
|
17229
17263
|
}, 16, [
|
|
@@ -17275,6 +17309,7 @@ var KdsUsernameInput_default = /* @__PURE__ */ defineComponent({
|
|
|
17275
17309
|
type: Boolean,
|
|
17276
17310
|
default: false
|
|
17277
17311
|
},
|
|
17312
|
+
maxlength: {},
|
|
17278
17313
|
autocomplete: {}
|
|
17279
17314
|
}, {
|
|
17280
17315
|
"modelValue": { default: "" },
|
|
@@ -17309,13 +17344,15 @@ var KdsUsernameInput_default = /* @__PURE__ */ defineComponent({
|
|
|
17309
17344
|
placeholder: props.placeholder,
|
|
17310
17345
|
disabled: __props.disabled,
|
|
17311
17346
|
error: __props.error,
|
|
17312
|
-
autocomplete: props.autocomplete
|
|
17347
|
+
autocomplete: props.autocomplete,
|
|
17348
|
+
maxlength: props.maxlength
|
|
17313
17349
|
}), null, 16, [
|
|
17314
17350
|
"modelValue",
|
|
17315
17351
|
"placeholder",
|
|
17316
17352
|
"disabled",
|
|
17317
17353
|
"error",
|
|
17318
|
-
"autocomplete"
|
|
17354
|
+
"autocomplete",
|
|
17355
|
+
"maxlength"
|
|
17319
17356
|
])]),
|
|
17320
17357
|
_: 1
|
|
17321
17358
|
}, 16, [
|
|
@@ -22393,7 +22430,8 @@ var KdsPatternInput_default = /* @__PURE__ */ defineComponent({
|
|
|
22393
22430
|
type: Boolean,
|
|
22394
22431
|
default: false
|
|
22395
22432
|
},
|
|
22396
|
-
autocomplete: {}
|
|
22433
|
+
autocomplete: {},
|
|
22434
|
+
maxlength: {}
|
|
22397
22435
|
}, {
|
|
22398
22436
|
"modelValue": { default: "" },
|
|
22399
22437
|
"modelModifiers": {},
|
|
@@ -22469,6 +22507,7 @@ var KdsPatternInput_default = /* @__PURE__ */ defineComponent({
|
|
|
22469
22507
|
disabled: __props.disabled,
|
|
22470
22508
|
error: __props.error,
|
|
22471
22509
|
autocomplete: props.autocomplete,
|
|
22510
|
+
maxlength: props.maxlength,
|
|
22472
22511
|
"leading-icon": "filter",
|
|
22473
22512
|
clearable: ""
|
|
22474
22513
|
}), {
|
|
@@ -22522,7 +22561,8 @@ var KdsPatternInput_default = /* @__PURE__ */ defineComponent({
|
|
|
22522
22561
|
"placeholder",
|
|
22523
22562
|
"disabled",
|
|
22524
22563
|
"error",
|
|
22525
|
-
"autocomplete"
|
|
22564
|
+
"autocomplete",
|
|
22565
|
+
"maxlength"
|
|
22526
22566
|
])]),
|
|
22527
22567
|
_: 1
|
|
22528
22568
|
}, 16, [
|
|
@@ -22561,6 +22601,7 @@ var KdsSearchInput_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/*
|
|
|
22561
22601
|
default: false
|
|
22562
22602
|
},
|
|
22563
22603
|
autocomplete: {},
|
|
22604
|
+
maxlength: {},
|
|
22564
22605
|
results: {},
|
|
22565
22606
|
resultsMaxHeight: {},
|
|
22566
22607
|
leadingIcon: { default: "search" }
|
|
@@ -22652,6 +22693,7 @@ var KdsSearchInput_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/*
|
|
|
22652
22693
|
placeholder: __props.placeholder,
|
|
22653
22694
|
disabled: __props.disabled,
|
|
22654
22695
|
error: __props.error,
|
|
22696
|
+
maxlength: props.maxlength,
|
|
22655
22697
|
autocomplete: __props.autocomplete,
|
|
22656
22698
|
"leading-icon": __props.leadingIcon,
|
|
22657
22699
|
clearable: true,
|
|
@@ -22670,6 +22712,7 @@ var KdsSearchInput_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/*
|
|
|
22670
22712
|
"placeholder",
|
|
22671
22713
|
"disabled",
|
|
22672
22714
|
"error",
|
|
22715
|
+
"maxlength",
|
|
22673
22716
|
"autocomplete",
|
|
22674
22717
|
"leading-icon",
|
|
22675
22718
|
"style",
|
|
@@ -22718,14 +22761,15 @@ var KdsSearchInput_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/*
|
|
|
22718
22761
|
]);
|
|
22719
22762
|
};
|
|
22720
22763
|
}
|
|
22721
|
-
}), [["__scopeId", "data-v-
|
|
22764
|
+
}), [["__scopeId", "data-v-45b32444"]]);
|
|
22722
22765
|
//#endregion
|
|
22723
22766
|
//#region src/components/forms/inputs/Textarea/KdsTextarea.vue?vue&type=script&setup=true&lang.ts
|
|
22724
22767
|
var _hoisted_1$39 = [
|
|
22725
22768
|
"rows",
|
|
22726
22769
|
"placeholder",
|
|
22727
22770
|
"disabled",
|
|
22728
|
-
"autocomplete"
|
|
22771
|
+
"autocomplete",
|
|
22772
|
+
"maxlength"
|
|
22729
22773
|
];
|
|
22730
22774
|
var DEFAULT_ROWS = 3;
|
|
22731
22775
|
//#endregion
|
|
@@ -22756,6 +22800,7 @@ var KdsTextarea_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__
|
|
|
22756
22800
|
default: false
|
|
22757
22801
|
},
|
|
22758
22802
|
autocomplete: {},
|
|
22803
|
+
maxlength: {},
|
|
22759
22804
|
rows: { default: () => DEFAULT_ROWS }
|
|
22760
22805
|
}, {
|
|
22761
22806
|
"modelValue": { default: "" },
|
|
@@ -22763,7 +22808,7 @@ var KdsTextarea_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__
|
|
|
22763
22808
|
}),
|
|
22764
22809
|
emits: ["update:modelValue"],
|
|
22765
22810
|
setup(__props, { expose: __expose }) {
|
|
22766
|
-
useCssVars((_ctx) => ({ "
|
|
22811
|
+
useCssVars((_ctx) => ({ "v5b247085": normalizedRows.value }));
|
|
22767
22812
|
const props = createPropsRestProxy(__props, [
|
|
22768
22813
|
"placeholder",
|
|
22769
22814
|
"rows",
|
|
@@ -22793,7 +22838,8 @@ var KdsTextarea_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__
|
|
|
22793
22838
|
rows: normalizedRows.value,
|
|
22794
22839
|
placeholder: __props.placeholder,
|
|
22795
22840
|
disabled: __props.disabled,
|
|
22796
|
-
autocomplete: props.autocomplete
|
|
22841
|
+
autocomplete: props.autocomplete,
|
|
22842
|
+
maxlength: props.maxlength
|
|
22797
22843
|
}), null, 16, _hoisted_1$39), [[vModelText, modelValue.value]])]),
|
|
22798
22844
|
_: 1
|
|
22799
22845
|
}, 16, [
|
|
@@ -22803,7 +22849,7 @@ var KdsTextarea_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__
|
|
|
22803
22849
|
]);
|
|
22804
22850
|
};
|
|
22805
22851
|
}
|
|
22806
|
-
}), [["__scopeId", "data-v-
|
|
22852
|
+
}), [["__scopeId", "data-v-7a6ec8a2"]]);
|
|
22807
22853
|
//#endregion
|
|
22808
22854
|
//#region src/components/forms/inputs/TimeInput/TimePicker.vue?vue&type=script&setup=true&lang.ts
|
|
22809
22855
|
var _hoisted_1$38 = { class: "kds-time-picker" };
|
|
@@ -24737,7 +24783,8 @@ var KdsMultiSelectDropdown_default = /* @__PURE__ */ defineComponent({
|
|
|
24737
24783
|
allowNewValues: {
|
|
24738
24784
|
type: Boolean,
|
|
24739
24785
|
default: false
|
|
24740
|
-
}
|
|
24786
|
+
},
|
|
24787
|
+
maxlength: {}
|
|
24741
24788
|
}, {
|
|
24742
24789
|
"modelValue": { default: () => [] },
|
|
24743
24790
|
"modelModifiers": {}
|
|
@@ -24860,13 +24907,15 @@ focus: () => baseDropdownEl.value?.focus() });
|
|
|
24860
24907
|
"possible-values": allPossibleValues.value,
|
|
24861
24908
|
loading: __props.loading,
|
|
24862
24909
|
"allow-new-values": __props.allowNewValues,
|
|
24910
|
+
maxlength: props.maxlength,
|
|
24863
24911
|
"empty-text": "No entries found",
|
|
24864
24912
|
onAddValue
|
|
24865
24913
|
}, null, 8, [
|
|
24866
24914
|
"modelValue",
|
|
24867
24915
|
"possible-values",
|
|
24868
24916
|
"loading",
|
|
24869
|
-
"allow-new-values"
|
|
24917
|
+
"allow-new-values",
|
|
24918
|
+
"maxlength"
|
|
24870
24919
|
])) : createCommentVNode("", true)]),
|
|
24871
24920
|
_: 1
|
|
24872
24921
|
}, 8, ["modelValue"])]),
|