@knime/kds-components 0.18.0 → 0.18.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/dist/forms/inputs/PasswordInput/KdsPasswordInput.vue.d.ts +247 -0
- package/dist/forms/inputs/PasswordInput/KdsPasswordInput.vue.d.ts.map +1 -0
- package/dist/forms/inputs/PasswordInput/enums.d.ts +13 -0
- package/dist/forms/inputs/PasswordInput/enums.d.ts.map +1 -0
- package/dist/forms/inputs/PasswordInput/index.d.ts +4 -0
- package/dist/forms/inputs/PasswordInput/index.d.ts.map +1 -0
- package/dist/forms/inputs/PasswordInput/types.d.ts +25 -0
- package/dist/forms/inputs/PasswordInput/types.d.ts.map +1 -0
- package/dist/forms/inputs/UsernameInput/KdsUsernameInput.vue.d.ts +245 -0
- package/dist/forms/inputs/UsernameInput/KdsUsernameInput.vue.d.ts.map +1 -0
- package/dist/forms/inputs/UsernameInput/enums.d.ts +6 -0
- package/dist/forms/inputs/UsernameInput/enums.d.ts.map +1 -0
- package/dist/forms/inputs/UsernameInput/index.d.ts +4 -0
- package/dist/forms/inputs/UsernameInput/index.d.ts.map +1 -0
- package/dist/forms/inputs/UsernameInput/types.d.ts +7 -0
- package/dist/forms/inputs/UsernameInput/types.d.ts.map +1 -0
- package/dist/forms/inputs/index.d.ts +4 -0
- package/dist/forms/inputs/index.d.ts.map +1 -1
- package/dist/index.js +236 -81
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -16,7 +16,7 @@ const _hoisted_3$f = {
|
|
|
16
16
|
class: "kds-avatar-initials",
|
|
17
17
|
"aria-hidden": "true"
|
|
18
18
|
};
|
|
19
|
-
const _sfc_main$
|
|
19
|
+
const _sfc_main$W = /* @__PURE__ */ defineComponent({
|
|
20
20
|
__name: "KdsAvatar",
|
|
21
21
|
props: {
|
|
22
22
|
initials: {},
|
|
@@ -75,7 +75,7 @@ const _export_sfc$1 = (sfc, props) => {
|
|
|
75
75
|
return target;
|
|
76
76
|
};
|
|
77
77
|
|
|
78
|
-
const KdsAvatar = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
78
|
+
const KdsAvatar = /* @__PURE__ */ _export_sfc$1(_sfc_main$W, [["__scopeId", "data-v-d6a313f1"]]);
|
|
79
79
|
|
|
80
80
|
const __variableDynamicImportRuntimeHelper = (glob$1, path$13, segs) => {
|
|
81
81
|
const v = glob$1[path$13];
|
|
@@ -115,7 +115,7 @@ function useIcon({
|
|
|
115
115
|
return iconComponent;
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
const _sfc_main$
|
|
118
|
+
const _sfc_main$V = /* @__PURE__ */ defineComponent({
|
|
119
119
|
__name: "KdsIcon",
|
|
120
120
|
props: {
|
|
121
121
|
name: {},
|
|
@@ -141,7 +141,7 @@ const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
|
141
141
|
}
|
|
142
142
|
});
|
|
143
143
|
|
|
144
|
-
const KdsIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
144
|
+
const KdsIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$V, [["__scopeId", "data-v-4da5bf3e"]]);
|
|
145
145
|
|
|
146
146
|
const ID_TO_ICON_MAP = {
|
|
147
147
|
// Flow Variables
|
|
@@ -468,7 +468,7 @@ const kdsDataTypeSize = {
|
|
|
468
468
|
const kdsDataTypeSizes = Object.values(kdsDataTypeSize);
|
|
469
469
|
|
|
470
470
|
const _hoisted_1$C = ["title"];
|
|
471
|
-
const _sfc_main$
|
|
471
|
+
const _sfc_main$U = /* @__PURE__ */ defineComponent({
|
|
472
472
|
__name: "KdsDataType",
|
|
473
473
|
props: {
|
|
474
474
|
iconName: { default: "unknown-datatype" },
|
|
@@ -514,7 +514,7 @@ const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
|
514
514
|
}
|
|
515
515
|
});
|
|
516
516
|
|
|
517
|
-
const KdsDataType = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
517
|
+
const KdsDataType = /* @__PURE__ */ _export_sfc$1(_sfc_main$U, [["__scopeId", "data-v-806087da"]]);
|
|
518
518
|
|
|
519
519
|
const kdsBadgeVariant = {
|
|
520
520
|
NEUTRAL: "neutral",
|
|
@@ -532,7 +532,7 @@ const kdsBadgeSize = {
|
|
|
532
532
|
const kdsBadgeSizes = Object.values(kdsBadgeSize);
|
|
533
533
|
|
|
534
534
|
const _hoisted_1$B = { class: "label-wrapper" };
|
|
535
|
-
const _sfc_main$
|
|
535
|
+
const _sfc_main$T = /* @__PURE__ */ defineComponent({
|
|
536
536
|
__name: "KdsBadge",
|
|
537
537
|
props: {
|
|
538
538
|
label: {},
|
|
@@ -560,7 +560,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
560
560
|
}
|
|
561
561
|
});
|
|
562
562
|
|
|
563
|
-
const KdsBadge = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
563
|
+
const KdsBadge = /* @__PURE__ */ _export_sfc$1(_sfc_main$T, [["__scopeId", "data-v-0dc42bfc"]]);
|
|
564
564
|
|
|
565
565
|
const kdsColorSwatchType = {
|
|
566
566
|
LEARNER: "learner",
|
|
@@ -580,7 +580,7 @@ const kdsColorSwatchSize = {
|
|
|
580
580
|
const kdsColorSwatchSizes = Object.values(kdsColorSwatchSize);
|
|
581
581
|
|
|
582
582
|
const _hoisted_1$A = ["role", "title", "aria-hidden", "aria-label"];
|
|
583
|
-
const _sfc_main$
|
|
583
|
+
const _sfc_main$S = /* @__PURE__ */ defineComponent({
|
|
584
584
|
__name: "KdsColorSwatch",
|
|
585
585
|
props: {
|
|
586
586
|
color: {},
|
|
@@ -620,7 +620,7 @@ const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
|
620
620
|
}
|
|
621
621
|
});
|
|
622
622
|
|
|
623
|
-
const KdsColorSwatch = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
623
|
+
const KdsColorSwatch = /* @__PURE__ */ _export_sfc$1(_sfc_main$S, [["__scopeId", "data-v-bdb3dd24"]]);
|
|
624
624
|
|
|
625
625
|
const kdsDarkModeType = {
|
|
626
626
|
LIGHT: "light",
|
|
@@ -742,7 +742,7 @@ function useKdsIsTruncated(elementRef) {
|
|
|
742
742
|
|
|
743
743
|
const _hoisted_1$z = ["title", "aria-label"];
|
|
744
744
|
const _hoisted_2$m = ["title"];
|
|
745
|
-
const _sfc_main$
|
|
745
|
+
const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
746
746
|
__name: "KdsLiveStatus",
|
|
747
747
|
props: {
|
|
748
748
|
status: { default: "red" },
|
|
@@ -777,7 +777,7 @@ const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
|
777
777
|
}
|
|
778
778
|
});
|
|
779
779
|
|
|
780
|
-
const KdsLiveStatus = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
780
|
+
const KdsLiveStatus = /* @__PURE__ */ _export_sfc$1(_sfc_main$R, [["__scopeId", "data-v-3bd44b22"]]);
|
|
781
781
|
|
|
782
782
|
const kdsLiveStatusStatus = {
|
|
783
783
|
RED: "red",
|
|
@@ -794,7 +794,7 @@ const kdsLiveStatusSize = {
|
|
|
794
794
|
const kdsLiveStatusSizes = Object.values(kdsLiveStatusSize);
|
|
795
795
|
|
|
796
796
|
const _hoisted_1$y = ["data-style"];
|
|
797
|
-
const _sfc_main$
|
|
797
|
+
const _sfc_main$Q = /* @__PURE__ */ defineComponent({
|
|
798
798
|
__name: "KdsLoadingSpinner",
|
|
799
799
|
props: {
|
|
800
800
|
size: { default: "medium" },
|
|
@@ -824,7 +824,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
|
824
824
|
}
|
|
825
825
|
});
|
|
826
826
|
|
|
827
|
-
const KdsLoadingSpinner = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
827
|
+
const KdsLoadingSpinner = /* @__PURE__ */ _export_sfc$1(_sfc_main$Q, [["__scopeId", "data-v-74bb7c3d"]]);
|
|
828
828
|
|
|
829
829
|
const kdsLoadingSpinnerVariant = {
|
|
830
830
|
ON_PRIMARY: "onPrimary",
|
|
@@ -841,7 +841,7 @@ const _hoisted_4$a = {
|
|
|
841
841
|
key: 0,
|
|
842
842
|
class: "body"
|
|
843
843
|
};
|
|
844
|
-
const _sfc_main$
|
|
844
|
+
const _sfc_main$P = /* @__PURE__ */ defineComponent({
|
|
845
845
|
__name: "KdsInlineMessage",
|
|
846
846
|
props: {
|
|
847
847
|
headline: {},
|
|
@@ -886,7 +886,7 @@ const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
|
886
886
|
}
|
|
887
887
|
});
|
|
888
888
|
|
|
889
|
-
const KdsInlineMessage = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
889
|
+
const KdsInlineMessage = /* @__PURE__ */ _export_sfc$1(_sfc_main$P, [["__scopeId", "data-v-3d79be7c"]]);
|
|
890
890
|
|
|
891
891
|
const kdsInlineMessageVariant = {
|
|
892
892
|
ERROR: "error",
|
|
@@ -900,7 +900,7 @@ const _hoisted_1$w = {
|
|
|
900
900
|
key: 0,
|
|
901
901
|
class: "label"
|
|
902
902
|
};
|
|
903
|
-
const _sfc_main$
|
|
903
|
+
const _sfc_main$O = /* @__PURE__ */ defineComponent({
|
|
904
904
|
__name: "BaseButton",
|
|
905
905
|
props: {
|
|
906
906
|
size: { default: "medium" },
|
|
@@ -972,9 +972,9 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
972
972
|
}
|
|
973
973
|
});
|
|
974
974
|
|
|
975
|
-
const BaseButton = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
975
|
+
const BaseButton = /* @__PURE__ */ _export_sfc$1(_sfc_main$O, [["__scopeId", "data-v-b0f9559f"]]);
|
|
976
976
|
|
|
977
|
-
const _sfc_main$
|
|
977
|
+
const _sfc_main$N = /* @__PURE__ */ defineComponent({
|
|
978
978
|
__name: "KdsButton",
|
|
979
979
|
props: {
|
|
980
980
|
size: {},
|
|
@@ -1027,7 +1027,7 @@ const resolveNuxtLinkComponent = () => {
|
|
|
1027
1027
|
return fallbackComponent;
|
|
1028
1028
|
};
|
|
1029
1029
|
|
|
1030
|
-
const _sfc_main$
|
|
1030
|
+
const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
1031
1031
|
__name: "KdsLinkButton",
|
|
1032
1032
|
props: {
|
|
1033
1033
|
size: {},
|
|
@@ -1063,7 +1063,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
|
1063
1063
|
}
|
|
1064
1064
|
});
|
|
1065
1065
|
|
|
1066
|
-
const _sfc_main$
|
|
1066
|
+
const _sfc_main$L = /* @__PURE__ */ defineComponent({
|
|
1067
1067
|
__name: "KdsToggleButton",
|
|
1068
1068
|
props: /* @__PURE__ */ mergeModels({
|
|
1069
1069
|
size: {},
|
|
@@ -1100,7 +1100,7 @@ const kdsToggleButtonVariants = Object.values(kdsToggleButtonVariant);
|
|
|
1100
1100
|
|
|
1101
1101
|
const _hoisted_1$v = ["data-visible"];
|
|
1102
1102
|
const _hoisted_2$k = ["data-visible"];
|
|
1103
|
-
const _sfc_main$
|
|
1103
|
+
const _sfc_main$K = /* @__PURE__ */ defineComponent({
|
|
1104
1104
|
__name: "KdsProgressButton",
|
|
1105
1105
|
props: /* @__PURE__ */ mergeModels({
|
|
1106
1106
|
size: { default: "medium" },
|
|
@@ -1181,7 +1181,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
|
1181
1181
|
}
|
|
1182
1182
|
});
|
|
1183
1183
|
|
|
1184
|
-
const KdsProgressButton = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
1184
|
+
const KdsProgressButton = /* @__PURE__ */ _export_sfc$1(_sfc_main$K, [["__scopeId", "data-v-ec08a9ba"]]);
|
|
1185
1185
|
|
|
1186
1186
|
const kdsProgressButtonState = {
|
|
1187
1187
|
DEFAULT: "default",
|
|
@@ -1201,7 +1201,7 @@ const _hoisted_4$9 = {
|
|
|
1201
1201
|
key: 2,
|
|
1202
1202
|
class: "kds-empty-state-action"
|
|
1203
1203
|
};
|
|
1204
|
-
const _sfc_main$
|
|
1204
|
+
const _sfc_main$J = /* @__PURE__ */ defineComponent({
|
|
1205
1205
|
__name: "KdsEmptyState",
|
|
1206
1206
|
props: {
|
|
1207
1207
|
headline: {},
|
|
@@ -1217,7 +1217,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
1217
1217
|
() => props.button && "to" in props.button && props.button.to !== void 0
|
|
1218
1218
|
);
|
|
1219
1219
|
const buttonComponent = computed(
|
|
1220
|
-
() => isLinkButton.value ? _sfc_main$
|
|
1220
|
+
() => isLinkButton.value ? _sfc_main$M : _sfc_main$N
|
|
1221
1221
|
);
|
|
1222
1222
|
return (_ctx, _cache) => {
|
|
1223
1223
|
return openBlock(), createElementBlock("div", _hoisted_1$u, [
|
|
@@ -1240,9 +1240,9 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
|
1240
1240
|
}
|
|
1241
1241
|
});
|
|
1242
1242
|
|
|
1243
|
-
const KdsEmptyState = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
1243
|
+
const KdsEmptyState = /* @__PURE__ */ _export_sfc$1(_sfc_main$J, [["__scopeId", "data-v-02149081"]]);
|
|
1244
1244
|
|
|
1245
|
-
const _sfc_main$
|
|
1245
|
+
const _sfc_main$I = /* @__PURE__ */ defineComponent({
|
|
1246
1246
|
__name: "ListItemAccessory",
|
|
1247
1247
|
props: {
|
|
1248
1248
|
accessory: {},
|
|
@@ -1314,7 +1314,7 @@ const _hoisted_9 = {
|
|
|
1314
1314
|
key: 2,
|
|
1315
1315
|
class: "trailing-item-reserve-space"
|
|
1316
1316
|
};
|
|
1317
|
-
const _sfc_main$
|
|
1317
|
+
const _sfc_main$H = /* @__PURE__ */ defineComponent({
|
|
1318
1318
|
__name: "KdsListItem",
|
|
1319
1319
|
props: {
|
|
1320
1320
|
id: {},
|
|
@@ -1369,7 +1369,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
1369
1369
|
onClick
|
|
1370
1370
|
}, [
|
|
1371
1371
|
props.accessory ? (openBlock(), createElementBlock("span", _hoisted_2$i, [
|
|
1372
|
-
createVNode(_sfc_main$
|
|
1372
|
+
createVNode(_sfc_main$I, {
|
|
1373
1373
|
accessory: props.accessory,
|
|
1374
1374
|
size: accessorySize.value,
|
|
1375
1375
|
disabled: props.disabled
|
|
@@ -1408,16 +1408,16 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
1408
1408
|
}
|
|
1409
1409
|
});
|
|
1410
1410
|
|
|
1411
|
-
const KdsListItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
1411
|
+
const KdsListItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$H, [["__scopeId", "data-v-7fba4bc1"]]);
|
|
1412
1412
|
|
|
1413
|
-
const _sfc_main$
|
|
1413
|
+
const _sfc_main$G = { };
|
|
1414
1414
|
|
|
1415
1415
|
const _hoisted_1$s = { class: "kds-list-item-divider" };
|
|
1416
1416
|
|
|
1417
1417
|
function _sfc_render$8(_ctx, _cache) {
|
|
1418
1418
|
return (openBlock(), createElementBlock("hr", _hoisted_1$s))
|
|
1419
1419
|
}
|
|
1420
|
-
const ListItemDivider = /*#__PURE__*/_export_sfc$1(_sfc_main$
|
|
1420
|
+
const ListItemDivider = /*#__PURE__*/_export_sfc$1(_sfc_main$G, [['render',_sfc_render$8],['__scopeId',"data-v-3ee92695"]]);
|
|
1421
1421
|
|
|
1422
1422
|
const _hoisted_1$r = { class: "kds-list-item-section-title" };
|
|
1423
1423
|
const _hoisted_2$h = {
|
|
@@ -1425,7 +1425,7 @@ const _hoisted_2$h = {
|
|
|
1425
1425
|
class: "icon"
|
|
1426
1426
|
};
|
|
1427
1427
|
const _hoisted_3$b = ["title"];
|
|
1428
|
-
const _sfc_main$
|
|
1428
|
+
const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
1429
1429
|
__name: "ListItemSectionTitle",
|
|
1430
1430
|
props: {
|
|
1431
1431
|
label: {},
|
|
@@ -1454,12 +1454,12 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
|
1454
1454
|
}
|
|
1455
1455
|
});
|
|
1456
1456
|
|
|
1457
|
-
const ListItemSectionTitle = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
1457
|
+
const ListItemSectionTitle = /* @__PURE__ */ _export_sfc$1(_sfc_main$F, [["__scopeId", "data-v-53382531"]]);
|
|
1458
1458
|
|
|
1459
1459
|
const _hoisted_1$q = ["role", "aria-busy", "aria-label", "aria-activedescendant", "tabindex"];
|
|
1460
1460
|
const _hoisted_2$g = ["role"];
|
|
1461
1461
|
const loadingStateText = "Loading entries";
|
|
1462
|
-
const _sfc_main$
|
|
1462
|
+
const _sfc_main$E = /* @__PURE__ */ defineComponent({
|
|
1463
1463
|
__name: "KdsListContainer",
|
|
1464
1464
|
props: {
|
|
1465
1465
|
possibleValues: {},
|
|
@@ -1699,7 +1699,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
1699
1699
|
}
|
|
1700
1700
|
});
|
|
1701
1701
|
|
|
1702
|
-
const KdsListContainer = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
1702
|
+
const KdsListContainer = /* @__PURE__ */ _export_sfc$1(_sfc_main$E, [["__scopeId", "data-v-9b505d0b"]]);
|
|
1703
1703
|
|
|
1704
1704
|
const KdsListContainer$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
1705
1705
|
__proto__: null,
|
|
@@ -1711,7 +1711,7 @@ const _hoisted_2$f = {
|
|
|
1711
1711
|
key: 0,
|
|
1712
1712
|
class: "kds-popover-default-content"
|
|
1713
1713
|
};
|
|
1714
|
-
const _sfc_main$
|
|
1714
|
+
const _sfc_main$D = /* @__PURE__ */ defineComponent({
|
|
1715
1715
|
__name: "KdsPopover",
|
|
1716
1716
|
props: /* @__PURE__ */ mergeModels({
|
|
1717
1717
|
placement: { default: "bottom-left" },
|
|
@@ -1763,14 +1763,14 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
|
1763
1763
|
}
|
|
1764
1764
|
});
|
|
1765
1765
|
|
|
1766
|
-
const KdsPopover = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
1766
|
+
const KdsPopover = /* @__PURE__ */ _export_sfc$1(_sfc_main$D, [["__scopeId", "data-v-786e523e"]]);
|
|
1767
1767
|
|
|
1768
1768
|
const KdsPopover$1 = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
|
|
1769
1769
|
__proto__: null,
|
|
1770
1770
|
default: KdsPopover
|
|
1771
1771
|
}, Symbol.toStringTag, { value: 'Module' }));
|
|
1772
1772
|
|
|
1773
|
-
const _sfc_main$
|
|
1773
|
+
const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
1774
1774
|
...{
|
|
1775
1775
|
inheritAttrs: false
|
|
1776
1776
|
},
|
|
@@ -1823,7 +1823,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
1823
1823
|
};
|
|
1824
1824
|
return (_ctx, _cache) => {
|
|
1825
1825
|
return openBlock(), createElementBlock(Fragment, null, [
|
|
1826
|
-
createVNode(_sfc_main$
|
|
1826
|
+
createVNode(_sfc_main$L, mergeProps({
|
|
1827
1827
|
modelValue: isMenuOpen.value,
|
|
1828
1828
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isMenuOpen.value = $event)
|
|
1829
1829
|
}, toggleButtonProps.value, {
|
|
@@ -1868,7 +1868,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
|
1868
1868
|
}
|
|
1869
1869
|
});
|
|
1870
1870
|
|
|
1871
|
-
const KdsMenuButton = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
1871
|
+
const KdsMenuButton = /* @__PURE__ */ _export_sfc$1(_sfc_main$C, [["__scopeId", "data-v-be36bcd4"]]);
|
|
1872
1872
|
|
|
1873
1873
|
const kdsButtonSize = {
|
|
1874
1874
|
XSMALL: "xsmall",
|
|
@@ -1886,7 +1886,7 @@ const kdsButtonVariants = Object.values(kdsButtonVariant);
|
|
|
1886
1886
|
|
|
1887
1887
|
const _hoisted_1$o = { class: "kds-label-wrapper" };
|
|
1888
1888
|
const _hoisted_2$e = ["id", "for", "title"];
|
|
1889
|
-
const _sfc_main$
|
|
1889
|
+
const _sfc_main$B = /* @__PURE__ */ defineComponent({
|
|
1890
1890
|
__name: "KdsLabel",
|
|
1891
1891
|
props: {
|
|
1892
1892
|
label: {},
|
|
@@ -1922,11 +1922,11 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
|
1922
1922
|
}
|
|
1923
1923
|
});
|
|
1924
1924
|
|
|
1925
|
-
const KdsLabel = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
1925
|
+
const KdsLabel = /* @__PURE__ */ _export_sfc$1(_sfc_main$B, [["__scopeId", "data-v-1a5dc1ba"]]);
|
|
1926
1926
|
|
|
1927
1927
|
const _hoisted_1$n = ["id"];
|
|
1928
1928
|
const _hoisted_2$d = { class: "subtext-text" };
|
|
1929
|
-
const _sfc_main$
|
|
1929
|
+
const _sfc_main$A = /* @__PURE__ */ defineComponent({
|
|
1930
1930
|
__name: "KdsSubText",
|
|
1931
1931
|
props: {
|
|
1932
1932
|
id: {},
|
|
@@ -1963,7 +1963,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
|
1963
1963
|
}
|
|
1964
1964
|
});
|
|
1965
1965
|
|
|
1966
|
-
const KdsSubText = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
1966
|
+
const KdsSubText = /* @__PURE__ */ _export_sfc$1(_sfc_main$A, [["__scopeId", "data-v-df9a85a4"]]);
|
|
1967
1967
|
|
|
1968
1968
|
const _hoisted_1$m = ["disabled", "title", "aria-label", "aria-checked", "aria-describedby", "aria-invalid"];
|
|
1969
1969
|
const _hoisted_2$c = { class: "control" };
|
|
@@ -1977,7 +1977,7 @@ const _hoisted_6$3 = {
|
|
|
1977
1977
|
key: 0,
|
|
1978
1978
|
class: "subtext-wrapper"
|
|
1979
1979
|
};
|
|
1980
|
-
const _sfc_main$
|
|
1980
|
+
const _sfc_main$z = /* @__PURE__ */ defineComponent({
|
|
1981
1981
|
__name: "BaseCheckbox",
|
|
1982
1982
|
props: /* @__PURE__ */ mergeModels({
|
|
1983
1983
|
disabled: { type: Boolean, default: false },
|
|
@@ -2080,9 +2080,9 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
2080
2080
|
}
|
|
2081
2081
|
});
|
|
2082
2082
|
|
|
2083
|
-
const BaseCheckbox = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2083
|
+
const BaseCheckbox = /* @__PURE__ */ _export_sfc$1(_sfc_main$z, [["__scopeId", "data-v-32f17780"]]);
|
|
2084
2084
|
|
|
2085
|
-
const _sfc_main$
|
|
2085
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
2086
2086
|
__name: "KdsCheckbox",
|
|
2087
2087
|
props: /* @__PURE__ */ mergeModels({
|
|
2088
2088
|
disabled: { type: Boolean, default: false },
|
|
@@ -2115,7 +2115,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
2115
2115
|
});
|
|
2116
2116
|
|
|
2117
2117
|
const _hoisted_1$l = ["id", "aria-labelledby", "aria-describedby"];
|
|
2118
|
-
const _sfc_main$
|
|
2118
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
2119
2119
|
__name: "KdsCheckboxGroup",
|
|
2120
2120
|
props: /* @__PURE__ */ mergeModels({
|
|
2121
2121
|
id: {},
|
|
@@ -2204,7 +2204,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
2204
2204
|
}
|
|
2205
2205
|
});
|
|
2206
2206
|
|
|
2207
|
-
const KdsCheckboxGroup = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2207
|
+
const KdsCheckboxGroup = /* @__PURE__ */ _export_sfc$1(_sfc_main$x, [["__scopeId", "data-v-c38eeda5"]]);
|
|
2208
2208
|
|
|
2209
2209
|
const kdsCheckboxGroupAlignment = {
|
|
2210
2210
|
VERTICAL: "vertical",
|
|
@@ -2232,7 +2232,7 @@ const _hoisted_3$9 = {
|
|
|
2232
2232
|
const _hoisted_4$6 = { class: "content" };
|
|
2233
2233
|
const _hoisted_5$4 = { class: "label" };
|
|
2234
2234
|
const _hoisted_6$2 = ["id"];
|
|
2235
|
-
const _sfc_main$
|
|
2235
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
2236
2236
|
__name: "KdsRadioButton",
|
|
2237
2237
|
props: /* @__PURE__ */ mergeModels({
|
|
2238
2238
|
text: {},
|
|
@@ -2294,7 +2294,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
2294
2294
|
}
|
|
2295
2295
|
});
|
|
2296
2296
|
|
|
2297
|
-
const KdsRadioButton = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2297
|
+
const KdsRadioButton = /* @__PURE__ */ _export_sfc$1(_sfc_main$w, [["__scopeId", "data-v-27c361e4"]]);
|
|
2298
2298
|
|
|
2299
2299
|
const useRadioSelection = ({
|
|
2300
2300
|
selectedId,
|
|
@@ -2417,7 +2417,7 @@ const useRadioSelection = ({
|
|
|
2417
2417
|
};
|
|
2418
2418
|
|
|
2419
2419
|
const _hoisted_1$j = ["id", "aria-labelledby", "aria-describedby"];
|
|
2420
|
-
const _sfc_main$
|
|
2420
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
2421
2421
|
__name: "KdsRadioButtonGroup",
|
|
2422
2422
|
props: /* @__PURE__ */ mergeModels({
|
|
2423
2423
|
id: {},
|
|
@@ -2501,10 +2501,10 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
2501
2501
|
}
|
|
2502
2502
|
});
|
|
2503
2503
|
|
|
2504
|
-
const KdsRadioButtonGroup = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2504
|
+
const KdsRadioButtonGroup = /* @__PURE__ */ _export_sfc$1(_sfc_main$v, [["__scopeId", "data-v-9cc4dcdd"]]);
|
|
2505
2505
|
|
|
2506
2506
|
const _hoisted_1$i = ["aria-checked", "aria-label", "disabled", "tabindex", "title"];
|
|
2507
|
-
const _sfc_main$
|
|
2507
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
2508
2508
|
__name: "ValueSwitchItem",
|
|
2509
2509
|
props: {
|
|
2510
2510
|
selected: { type: Boolean },
|
|
@@ -2559,7 +2559,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
2559
2559
|
}
|
|
2560
2560
|
});
|
|
2561
2561
|
|
|
2562
|
-
const ValueSwitchItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2562
|
+
const ValueSwitchItem = /* @__PURE__ */ _export_sfc$1(_sfc_main$u, [["__scopeId", "data-v-93f3f577"]]);
|
|
2563
2563
|
|
|
2564
2564
|
const useValueSwitchIconHiding = ({
|
|
2565
2565
|
width,
|
|
@@ -2611,7 +2611,7 @@ const useValueSwitchIconHiding = ({
|
|
|
2611
2611
|
};
|
|
2612
2612
|
|
|
2613
2613
|
const _hoisted_1$h = ["id", "aria-invalid", "aria-labelledby", "aria-describedby"];
|
|
2614
|
-
const _sfc_main$
|
|
2614
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
2615
2615
|
__name: "KdsValueSwitch",
|
|
2616
2616
|
props: /* @__PURE__ */ mergeModels({
|
|
2617
2617
|
id: {},
|
|
@@ -2709,7 +2709,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
2709
2709
|
}
|
|
2710
2710
|
});
|
|
2711
2711
|
|
|
2712
|
-
const KdsValueSwitch = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2712
|
+
const KdsValueSwitch = /* @__PURE__ */ _export_sfc$1(_sfc_main$t, [["__scopeId", "data-v-666d4c10"]]);
|
|
2713
2713
|
|
|
2714
2714
|
const kdsRadioButtonGroupAlignment = {
|
|
2715
2715
|
VERTICAL: "vertical",
|
|
@@ -2729,7 +2729,7 @@ const kdsValueSwitchVariant = {
|
|
|
2729
2729
|
};
|
|
2730
2730
|
const kdsValueSwitchVariants = Object.values(kdsValueSwitchVariant);
|
|
2731
2731
|
|
|
2732
|
-
const _sfc_main$
|
|
2732
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
2733
2733
|
__name: "BaseFormFieldWrapper",
|
|
2734
2734
|
props: {
|
|
2735
2735
|
id: {},
|
|
@@ -2781,7 +2781,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
2781
2781
|
}
|
|
2782
2782
|
});
|
|
2783
2783
|
|
|
2784
|
-
const BaseFormFieldWrapper = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2784
|
+
const BaseFormFieldWrapper = /* @__PURE__ */ _export_sfc$1(_sfc_main$s, [["__scopeId", "data-v-5d99c134"]]);
|
|
2785
2785
|
|
|
2786
2786
|
const _hoisted_1$g = {
|
|
2787
2787
|
key: 0,
|
|
@@ -2801,7 +2801,7 @@ const _hoisted_6$1 = {
|
|
|
2801
2801
|
key: 5,
|
|
2802
2802
|
class: "icon-wrapper trailing"
|
|
2803
2803
|
};
|
|
2804
|
-
const _sfc_main$
|
|
2804
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
2805
2805
|
__name: "BaseInput",
|
|
2806
2806
|
props: /* @__PURE__ */ mergeModels({
|
|
2807
2807
|
id: { default: void 0 },
|
|
@@ -2930,7 +2930,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
2930
2930
|
}),
|
|
2931
2931
|
"aria-disabled": props.disabled || void 0
|
|
2932
2932
|
}, toDisplayString(props.unit), 11, _hoisted_4$5)) : createCommentVNode("", true),
|
|
2933
|
-
props.clearable && hasValue.value && !props.disabled ? (openBlock(), createBlock(_sfc_main$
|
|
2933
|
+
props.clearable && hasValue.value && !props.disabled ? (openBlock(), createBlock(_sfc_main$N, {
|
|
2934
2934
|
key: 3,
|
|
2935
2935
|
class: "clear-button",
|
|
2936
2936
|
type: "button",
|
|
@@ -2954,9 +2954,9 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
2954
2954
|
}
|
|
2955
2955
|
});
|
|
2956
2956
|
|
|
2957
|
-
const BaseInput = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
2957
|
+
const BaseInput = /* @__PURE__ */ _export_sfc$1(_sfc_main$r, [["__scopeId", "data-v-d8e771c0"]]);
|
|
2958
2958
|
|
|
2959
|
-
const _sfc_main$
|
|
2959
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
2960
2960
|
__name: "KdsTextInput",
|
|
2961
2961
|
props: /* @__PURE__ */ mergeModels({
|
|
2962
2962
|
description: {},
|
|
@@ -3176,7 +3176,7 @@ const KEYBOARD_LARGE_STEP = 0.1;
|
|
|
3176
3176
|
const HUE_KEYBOARD_STEP_DEG = 1;
|
|
3177
3177
|
const HUE_KEYBOARD_LARGE_STEP_DEG = 10;
|
|
3178
3178
|
const TO_BOTTOM_GRADIENT = "linear-gradient(to bottom, transparent, black)";
|
|
3179
|
-
const _sfc_main$
|
|
3179
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
3180
3180
|
__name: "ColorPicker",
|
|
3181
3181
|
props: {
|
|
3182
3182
|
"modelValue": { default: "" },
|
|
@@ -3391,7 +3391,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
3391
3391
|
style: normalizeStyle(hueHandleStyle.value)
|
|
3392
3392
|
}, null, 4)
|
|
3393
3393
|
], 40, _hoisted_3$7),
|
|
3394
|
-
createVNode(_sfc_main$
|
|
3394
|
+
createVNode(_sfc_main$q, {
|
|
3395
3395
|
"model-value": modelValue.value,
|
|
3396
3396
|
"aria-label": "Color hex value",
|
|
3397
3397
|
placeholder: "#FFFFFF",
|
|
@@ -3402,7 +3402,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
3402
3402
|
}
|
|
3403
3403
|
});
|
|
3404
3404
|
|
|
3405
|
-
const ColorPicker = /* @__PURE__ */ _export_sfc$1(_sfc_main$
|
|
3405
|
+
const ColorPicker = /* @__PURE__ */ _export_sfc$1(_sfc_main$p, [["__scopeId", "data-v-180fafdd"]]);
|
|
3406
3406
|
|
|
3407
3407
|
const HEX_LENGTH_1 = 1;
|
|
3408
3408
|
const HEX_LENGTH_2 = 2;
|
|
@@ -3462,7 +3462,7 @@ const useColorInputValidationOnFocusOut = (modelValue) => {
|
|
|
3462
3462
|
return { handleFocusOut };
|
|
3463
3463
|
};
|
|
3464
3464
|
|
|
3465
|
-
const _sfc_main$
|
|
3465
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
3466
3466
|
__name: "KdsColorInput",
|
|
3467
3467
|
props: /* @__PURE__ */ mergeModels({
|
|
3468
3468
|
description: {},
|
|
@@ -3521,7 +3521,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
3521
3521
|
}, null, 8, ["color", "style"])
|
|
3522
3522
|
]),
|
|
3523
3523
|
trailing: withCtx(() => [
|
|
3524
|
-
createVNode(unref(_sfc_main$
|
|
3524
|
+
createVNode(unref(_sfc_main$L), {
|
|
3525
3525
|
modelValue: open.value,
|
|
3526
3526
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => open.value = $event),
|
|
3527
3527
|
size: "xsmall",
|
|
@@ -3561,6 +3561,161 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
3561
3561
|
}
|
|
3562
3562
|
});
|
|
3563
3563
|
|
|
3564
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
3565
|
+
__name: "KdsPasswordInput",
|
|
3566
|
+
props: /* @__PURE__ */ mergeModels({
|
|
3567
|
+
description: {},
|
|
3568
|
+
label: {},
|
|
3569
|
+
ariaLabel: {},
|
|
3570
|
+
id: {},
|
|
3571
|
+
subText: {},
|
|
3572
|
+
error: { type: Boolean, default: false },
|
|
3573
|
+
validating: { type: Boolean, default: false },
|
|
3574
|
+
preserveSubTextSpace: { type: Boolean, default: false },
|
|
3575
|
+
placeholder: {},
|
|
3576
|
+
disabled: { type: Boolean, default: false },
|
|
3577
|
+
variant: { default: "password" },
|
|
3578
|
+
showVisibilityToggle: { type: Boolean, default: true },
|
|
3579
|
+
toggleLabel: {},
|
|
3580
|
+
autocomplete: {}
|
|
3581
|
+
}, {
|
|
3582
|
+
"modelValue": { default: "" },
|
|
3583
|
+
"modelModifiers": {}
|
|
3584
|
+
}),
|
|
3585
|
+
emits: ["update:modelValue"],
|
|
3586
|
+
setup(__props, { expose: __expose }) {
|
|
3587
|
+
const props = __props;
|
|
3588
|
+
const modelValue = useModel(__props, "modelValue");
|
|
3589
|
+
const showValue = ref(false);
|
|
3590
|
+
const preventBlurFromToggle = ref(false);
|
|
3591
|
+
const input = useTemplateRef("input");
|
|
3592
|
+
const effectiveToggleLabel = computed(
|
|
3593
|
+
() => props.toggleLabel ?? (props.variant === "key" ? "Key" : "Password")
|
|
3594
|
+
);
|
|
3595
|
+
const handleBlur = () => {
|
|
3596
|
+
if (preventBlurFromToggle.value) {
|
|
3597
|
+
input.value?.focus();
|
|
3598
|
+
}
|
|
3599
|
+
};
|
|
3600
|
+
__expose({
|
|
3601
|
+
focus: () => input.value?.focus()
|
|
3602
|
+
});
|
|
3603
|
+
return (_ctx, _cache) => {
|
|
3604
|
+
return openBlock(), createBlock(BaseFormFieldWrapper, normalizeProps(guardReactiveProps(props)), {
|
|
3605
|
+
default: withCtx((slotProps) => [
|
|
3606
|
+
createVNode(BaseInput, mergeProps({
|
|
3607
|
+
ref_key: "input",
|
|
3608
|
+
ref: input
|
|
3609
|
+
}, slotProps, {
|
|
3610
|
+
modelValue: modelValue.value,
|
|
3611
|
+
"onUpdate:modelValue": _cache[5] || (_cache[5] = ($event) => modelValue.value = $event),
|
|
3612
|
+
type: showValue.value && props.showVisibilityToggle ? "text" : "password",
|
|
3613
|
+
"leading-icon": props.variant === "key" ? "key" : "lock",
|
|
3614
|
+
placeholder: props.placeholder,
|
|
3615
|
+
disabled: props.disabled,
|
|
3616
|
+
error: props.error,
|
|
3617
|
+
autocomplete: props.autocomplete,
|
|
3618
|
+
onBlur: handleBlur
|
|
3619
|
+
}), {
|
|
3620
|
+
trailing: withCtx(() => [
|
|
3621
|
+
props.showVisibilityToggle ? (openBlock(), createBlock(_sfc_main$L, {
|
|
3622
|
+
key: 0,
|
|
3623
|
+
modelValue: showValue.value,
|
|
3624
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => showValue.value = $event),
|
|
3625
|
+
type: "button",
|
|
3626
|
+
variant: "outlined",
|
|
3627
|
+
size: "xsmall",
|
|
3628
|
+
"leading-icon": "eye",
|
|
3629
|
+
"aria-label": showValue.value ? `Hide ${effectiveToggleLabel.value}` : `Show ${effectiveToggleLabel.value}`,
|
|
3630
|
+
title: showValue.value ? `Hide ${effectiveToggleLabel.value}` : `Show ${effectiveToggleLabel.value}`,
|
|
3631
|
+
disabled: props.disabled,
|
|
3632
|
+
onPointerdown: _cache[1] || (_cache[1] = ($event) => preventBlurFromToggle.value = true),
|
|
3633
|
+
onPointerup: _cache[2] || (_cache[2] = ($event) => preventBlurFromToggle.value = false),
|
|
3634
|
+
onPointercancel: _cache[3] || (_cache[3] = ($event) => preventBlurFromToggle.value = false),
|
|
3635
|
+
onClick: _cache[4] || (_cache[4] = ($event) => preventBlurFromToggle.value = false)
|
|
3636
|
+
}, null, 8, ["modelValue", "aria-label", "title", "disabled"])) : createCommentVNode("", true)
|
|
3637
|
+
]),
|
|
3638
|
+
_: 1
|
|
3639
|
+
}, 16, ["modelValue", "type", "leading-icon", "placeholder", "disabled", "error", "autocomplete"])
|
|
3640
|
+
]),
|
|
3641
|
+
_: 1
|
|
3642
|
+
}, 16);
|
|
3643
|
+
};
|
|
3644
|
+
}
|
|
3645
|
+
});
|
|
3646
|
+
|
|
3647
|
+
const kdsPasswordInputVariant = {
|
|
3648
|
+
PASSWORD: "password",
|
|
3649
|
+
KEY: "key"
|
|
3650
|
+
};
|
|
3651
|
+
const kdsPasswordInputVariants = Object.values(kdsPasswordInputVariant);
|
|
3652
|
+
const kdsPasswordInputAutocomplete = {
|
|
3653
|
+
CURRENT_PASSWORD: "current-password",
|
|
3654
|
+
NEW_PASSWORD: "new-password",
|
|
3655
|
+
ONE_TIME_CODE: "one-time-code",
|
|
3656
|
+
OFF: "off"
|
|
3657
|
+
};
|
|
3658
|
+
const kdsPasswordInputAutocompletes = Object.values(
|
|
3659
|
+
kdsPasswordInputAutocomplete
|
|
3660
|
+
);
|
|
3661
|
+
|
|
3662
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
3663
|
+
__name: "KdsUsernameInput",
|
|
3664
|
+
props: /* @__PURE__ */ mergeModels({
|
|
3665
|
+
description: {},
|
|
3666
|
+
label: {},
|
|
3667
|
+
ariaLabel: {},
|
|
3668
|
+
id: {},
|
|
3669
|
+
subText: {},
|
|
3670
|
+
error: { type: Boolean, default: false },
|
|
3671
|
+
validating: { type: Boolean, default: false },
|
|
3672
|
+
preserveSubTextSpace: { type: Boolean, default: false },
|
|
3673
|
+
placeholder: {},
|
|
3674
|
+
disabled: { type: Boolean, default: false },
|
|
3675
|
+
autocomplete: {}
|
|
3676
|
+
}, {
|
|
3677
|
+
"modelValue": { default: "" },
|
|
3678
|
+
"modelModifiers": {}
|
|
3679
|
+
}),
|
|
3680
|
+
emits: ["update:modelValue"],
|
|
3681
|
+
setup(__props, { expose: __expose }) {
|
|
3682
|
+
const props = __props;
|
|
3683
|
+
const modelValue = useModel(__props, "modelValue");
|
|
3684
|
+
const baseInput = useTemplateRef("baseInput");
|
|
3685
|
+
__expose({
|
|
3686
|
+
focus: () => baseInput.value?.focus()
|
|
3687
|
+
});
|
|
3688
|
+
return (_ctx, _cache) => {
|
|
3689
|
+
return openBlock(), createBlock(BaseFormFieldWrapper, normalizeProps(guardReactiveProps(props)), {
|
|
3690
|
+
default: withCtx((slotProps) => [
|
|
3691
|
+
createVNode(BaseInput, mergeProps({
|
|
3692
|
+
ref_key: "baseInput",
|
|
3693
|
+
ref: baseInput
|
|
3694
|
+
}, slotProps, {
|
|
3695
|
+
modelValue: modelValue.value,
|
|
3696
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modelValue.value = $event),
|
|
3697
|
+
type: "text",
|
|
3698
|
+
"leading-icon": "user",
|
|
3699
|
+
placeholder: props.placeholder,
|
|
3700
|
+
disabled: props.disabled,
|
|
3701
|
+
error: props.error,
|
|
3702
|
+
autocomplete: props.autocomplete
|
|
3703
|
+
}), null, 16, ["modelValue", "placeholder", "disabled", "error", "autocomplete"])
|
|
3704
|
+
]),
|
|
3705
|
+
_: 1
|
|
3706
|
+
}, 16);
|
|
3707
|
+
};
|
|
3708
|
+
}
|
|
3709
|
+
});
|
|
3710
|
+
|
|
3711
|
+
const kdsUsernameInputAutocomplete = {
|
|
3712
|
+
USERNAME: "username",
|
|
3713
|
+
OFF: "off"
|
|
3714
|
+
};
|
|
3715
|
+
const kdsUsernameInputAutocompletes = Object.values(
|
|
3716
|
+
kdsUsernameInputAutocomplete
|
|
3717
|
+
);
|
|
3718
|
+
|
|
3564
3719
|
var top = 'top';
|
|
3565
3720
|
var bottom = 'bottom';
|
|
3566
3721
|
var right = 'right';
|
|
@@ -13682,7 +13837,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
13682
13837
|
onBlur: onTextInputBlur
|
|
13683
13838
|
}), {
|
|
13684
13839
|
trailing: withCtx(() => [
|
|
13685
|
-
createVNode(_sfc_main$
|
|
13840
|
+
createVNode(_sfc_main$L, {
|
|
13686
13841
|
modelValue: popoverIsVisible.value,
|
|
13687
13842
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => popoverIsVisible.value = $event),
|
|
13688
13843
|
type: "button",
|
|
@@ -13953,7 +14108,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
13953
14108
|
autocomplete: props.autocomplete
|
|
13954
14109
|
}), {
|
|
13955
14110
|
trailing: withCtx(() => [
|
|
13956
|
-
createVNode(unref(_sfc_main$
|
|
14111
|
+
createVNode(unref(_sfc_main$L), {
|
|
13957
14112
|
modelValue: open.value,
|
|
13958
14113
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => open.value = $event),
|
|
13959
14114
|
size: "xsmall",
|
|
@@ -14328,7 +14483,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
14328
14483
|
onBlur: handleBlur
|
|
14329
14484
|
}), {
|
|
14330
14485
|
trailing: withCtx(() => [
|
|
14331
|
-
createVNode(_sfc_main$
|
|
14486
|
+
createVNode(_sfc_main$N, {
|
|
14332
14487
|
type: "button",
|
|
14333
14488
|
size: "xsmall",
|
|
14334
14489
|
variant: "outlined",
|
|
@@ -14341,7 +14496,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
14341
14496
|
onPointerleave: stopRepeating,
|
|
14342
14497
|
onPointercancel: stopRepeating
|
|
14343
14498
|
}, null, 8, ["aria-label", "disabled"]),
|
|
14344
|
-
createVNode(_sfc_main$
|
|
14499
|
+
createVNode(_sfc_main$N, {
|
|
14345
14500
|
type: "button",
|
|
14346
14501
|
size: "xsmall",
|
|
14347
14502
|
variant: "outlined",
|
|
@@ -14529,7 +14684,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
14529
14684
|
clearable: ""
|
|
14530
14685
|
}), {
|
|
14531
14686
|
trailing: withCtx(() => [
|
|
14532
|
-
createVNode(_sfc_main$
|
|
14687
|
+
createVNode(_sfc_main$L, {
|
|
14533
14688
|
modelValue: caseSensitive.value,
|
|
14534
14689
|
"onUpdate:modelValue": [
|
|
14535
14690
|
_cache[0] || (_cache[0] = ($event) => caseSensitive.value = $event),
|
|
@@ -14542,7 +14697,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
14542
14697
|
"aria-label": caseSensitiveAriaLabel.value,
|
|
14543
14698
|
disabled: props.disabled
|
|
14544
14699
|
}, null, 8, ["modelValue", "title", "aria-label", "disabled"]),
|
|
14545
|
-
createVNode(_sfc_main$
|
|
14700
|
+
createVNode(_sfc_main$L, {
|
|
14546
14701
|
modelValue: excludeMatches.value,
|
|
14547
14702
|
"onUpdate:modelValue": [
|
|
14548
14703
|
_cache[1] || (_cache[1] = ($event) => excludeMatches.value = $event),
|
|
@@ -14555,7 +14710,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
14555
14710
|
"aria-label": excludeMatchesAriaLabel.value,
|
|
14556
14711
|
disabled: props.disabled
|
|
14557
14712
|
}, null, 8, ["modelValue", "title", "aria-label", "disabled"]),
|
|
14558
|
-
createVNode(_sfc_main$
|
|
14713
|
+
createVNode(_sfc_main$L, {
|
|
14559
14714
|
modelValue: useRegex.value,
|
|
14560
14715
|
"onUpdate:modelValue": [
|
|
14561
14716
|
_cache[2] || (_cache[2] = ($event) => useRegex.value = $event),
|
|
@@ -14885,7 +15040,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
14885
15040
|
onKeydown
|
|
14886
15041
|
}, [
|
|
14887
15042
|
props.accessory ? (openBlock(), createElementBlock("span", _hoisted_2$5, [
|
|
14888
|
-
createVNode(_sfc_main$
|
|
15043
|
+
createVNode(_sfc_main$I, {
|
|
14889
15044
|
accessory: props.accessory,
|
|
14890
15045
|
size: "medium"
|
|
14891
15046
|
}, null, 8, ["accessory"])
|
|
@@ -15812,7 +15967,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
15812
15967
|
size: "medium"
|
|
15813
15968
|
}, null, 8, ["name"])) : createCommentVNode("", true),
|
|
15814
15969
|
createElementVNode("div", _hoisted_2$1, toDisplayString(props.headline), 1),
|
|
15815
|
-
createVNode(_sfc_main$
|
|
15970
|
+
createVNode(_sfc_main$N, {
|
|
15816
15971
|
"leading-icon": "x-close",
|
|
15817
15972
|
variant: "transparent",
|
|
15818
15973
|
size: "medium",
|
|
@@ -16085,7 +16240,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
16085
16240
|
unref(internal).isTemplateBasedConfirm(unref(config).value) ? (openBlock(), createBlock(resolveDynamicComponent(unref(config).value.component), { key: 0 })) : (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
16086
16241
|
createElementVNode("div", _hoisted_2, toDisplayString(unref(config).value.message), 1),
|
|
16087
16242
|
unref(config).value.doNotAskAgain ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
16088
|
-
createVNode(_sfc_main$
|
|
16243
|
+
createVNode(_sfc_main$y, {
|
|
16089
16244
|
modelValue: askAgain.value,
|
|
16090
16245
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => askAgain.value = $event),
|
|
16091
16246
|
label: unref(config).value.doNotAskAgain.label,
|
|
@@ -16100,7 +16255,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
16100
16255
|
name: "footer",
|
|
16101
16256
|
fn: withCtx(() => [
|
|
16102
16257
|
(openBlock(true), createElementBlock(Fragment, null, renderList(unref(config).value.buttons, (button, index) => {
|
|
16103
|
-
return openBlock(), createBlock(_sfc_main$
|
|
16258
|
+
return openBlock(), createBlock(_sfc_main$N, {
|
|
16104
16259
|
key: index,
|
|
16105
16260
|
destructive: button.destructive,
|
|
16106
16261
|
autofocus: button.autofocus,
|
|
@@ -16132,5 +16287,5 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
16132
16287
|
|
|
16133
16288
|
const KdsDynamicModalProvider = /* @__PURE__ */ _export_sfc$1(_sfc_main, [["__scopeId", "data-v-41fc8d84"]]);
|
|
16134
16289
|
|
|
16135
|
-
export { KdsAvatar, KdsBadge, _sfc_main$
|
|
16290
|
+
export { KdsAvatar, KdsBadge, _sfc_main$N as KdsButton, KdsCardClickable, _sfc_main$y as KdsCheckbox, KdsCheckboxGroup, _sfc_main$o as KdsColorInput, KdsColorSwatch, KdsDataType, _sfc_main$k as KdsDateInput, _sfc_main$i as KdsDateTimeFormatInput, _sfc_main$b as KdsDropdown, KdsDynamicModalProvider, KdsEmptyState, KdsIcon, KdsInfoToggleButton, KdsInlineMessage, KdsLabel, _sfc_main$M as KdsLinkButton, KdsLiveStatus, KdsLoadingSpinner, KdsMenuButton, KdsModal, KdsModalLayout, _sfc_main$8 as KdsMultiSelectDropdown, _sfc_main$h as KdsNumberInput, _sfc_main$n as KdsPasswordInput, _sfc_main$g as KdsPatternInput, KdsProgressButton, KdsRadioButton, KdsRadioButtonGroup, KdsSearchInput, KdsSubText, _sfc_main$q as KdsTextInput, KdsTextarea, _sfc_main$L as KdsToggleButton, _sfc_main$m as KdsUsernameInput, KdsValueSwitch, KdsVariableToggleButton, kdsAvatarSize, kdsAvatarSizes, kdsBadgeSize, kdsBadgeSizes, kdsBadgeVariant, kdsBadgeVariants, kdsButtonSize, kdsButtonSizes, kdsButtonVariant, kdsButtonVariants, kdsCardVariant, kdsCardVariants, kdsCheckboxGroupAlignment, kdsCheckboxGroupAlignments, kdsCheckboxValue, kdsCheckboxValues, kdsColorSwatchSize, kdsColorSwatchSizes, kdsColorSwatchType, kdsColorSwatchTypes, kdsDarkModeType, kdsDarkModeTypes, kdsDataTypeSize, kdsDataTypeSizes, kdsDateFormatCategories, kdsDateFormatCategory, kdsIconName, iconNames as kdsIconNames, kdsIconSize, kdsIconSizes, kdsInlineMessageVariant, kdsInlineMessageVariants, kdsLiveStatusSize, kdsLiveStatusSizes, kdsLiveStatusStatus, kdsLiveStatusStatuses, kdsLoadingSpinnerVariant, kdsLoadingSpinnerVariants, kdsModalClosedBy, kdsModalClosedByOptions, kdsModalHeight, kdsModalHeightSizes, kdsModalVariant, kdsModalVariants, kdsModalWidth, kdsModalWidthSizes, kdsPasswordInputAutocomplete, kdsPasswordInputAutocompletes, kdsPasswordInputVariant, kdsPasswordInputVariants, kdsProgressButtonState, kdsProgressButtonStates, kdsRadioButtonGroupAlignment, kdsRadioButtonGroupAlignments, kdsTemporalType, kdsTemporalTypes, kdsToggleButtonVariant, kdsToggleButtonVariants, kdsTypeIconName, typeIconNames as kdsTypeIconNames, kdsUsernameInputAutocomplete, kdsUsernameInputAutocompletes, kdsValueSwitchSize, kdsValueSwitchSizes, kdsValueSwitchVariant, kdsValueSwitchVariants, useKdsDarkMode, useKdsDynamicModal, useKdsIsTruncated, useKdsLegacyMode };
|
|
16136
16291
|
//# sourceMappingURL=index.js.map
|