@kong/kongponents 9.14.25 → 9.14.26-pr.2534.497de3c1d.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/dist/kongponents.es.js +63 -43
- package/dist/kongponents.umd.js +10 -10
- package/dist/nuxt/kongponents-nuxt.cjs +1 -0
- package/dist/nuxt/kongponents-nuxt.es.js +22 -0
- package/dist/nuxt/kongponents.nuxt.d.ts +4 -0
- package/dist/style.css +1 -1
- package/dist/types/components/KAlert/KAlert.vue.d.ts +6 -2
- package/dist/types/components/KBadge/KBadge.vue.d.ts +13 -4
- package/dist/types/components/KButton/KButton.vue.d.ts +3 -1
- package/dist/types/components/KCheckbox/KCheckbox.vue.d.ts +6 -2
- package/dist/types/components/KCodeBlock/KCodeBlock.vue.d.ts +3 -1
- package/dist/types/components/KFileUpload/KFileUpload.vue.d.ts +9 -3
- package/dist/types/components/KInput/KInput.vue.d.ts +6 -2
- package/dist/types/components/KInputSwitch/KInputSwitch.vue.d.ts +3 -1
- package/dist/types/components/KLabel/KLabel.vue.d.ts +3 -1
- package/dist/types/components/KRadio/KRadio.vue.d.ts +12 -4
- package/dist/types/components/KSegmentedControl/KSegmentedControl.vue.d.ts +1 -0
- package/dist/types/components/KSelect/KSelect.vue.d.ts +9 -3
- package/dist/types/components/KTooltip/KTooltip.vue.d.ts +4 -1
- package/dist/types/components/KTruncate/KTruncate.vue.d.ts +7 -1
- package/package.json +39 -30
- package/src/components/KAlert/KAlert.cy.ts +120 -0
- package/src/components/KAlert/KAlert.vue +241 -0
- package/src/components/KBadge/KBadge.cy.ts +88 -0
- package/src/components/KBadge/KBadge.vue +252 -0
- package/src/components/KBreadcrumbs/KBreadcrumbs.cy.ts +107 -0
- package/src/components/KBreadcrumbs/KBreadcrumbs.vue +172 -0
- package/src/components/KButton/KButton.cy.ts +113 -0
- package/src/components/KButton/KButton.vue +384 -0
- package/src/components/KCard/KCard.cy.ts +48 -0
- package/src/components/KCard/KCard.vue +114 -0
- package/src/components/KCatalog/KCatalog.cy.ts +634 -0
- package/src/components/KCatalog/KCatalog.vue +673 -0
- package/src/components/KCatalog/KCatalogItem.vue +71 -0
- package/src/components/KCheckbox/KCheckbox.cy.ts +87 -0
- package/src/components/KCheckbox/KCheckbox.vue +313 -0
- package/src/components/KClipboardProvider/index.ts +12 -0
- package/src/components/KCodeBlock/KCodeBlock.cy.ts +212 -0
- package/src/components/KCodeBlock/KCodeBlock.vue +933 -0
- package/src/components/KCodeBlock/KCodeBlockIconButton.vue +133 -0
- package/src/components/KCollapse/KCollapse.cy.ts +138 -0
- package/src/components/KCollapse/KCollapse.vue +242 -0
- package/src/components/KComponent/KComponent.cy.ts +30 -0
- package/src/components/KComponent/index.ts +19 -0
- package/src/components/KCopy/KCopy.cy.ts +175 -0
- package/src/components/KCopy/KCopy.vue +315 -0
- package/src/components/KDateTimePicker/KDateTimePicker.cy.ts +345 -0
- package/src/components/KDateTimePicker/KDateTimePicker.vue +975 -0
- package/src/components/KDropdown/KDropdown.cy.ts +272 -0
- package/src/components/KDropdown/KDropdown.vue +239 -0
- package/src/components/KDropdown/KDropdownItem.vue +338 -0
- package/src/components/KDropdownMenu/index.ts +19 -0
- package/src/components/KEmptyState/KEmptyState.cy.ts +115 -0
- package/src/components/KEmptyState/KEmptyState.vue +173 -0
- package/src/components/KExternalLink/KExternalLink.cy.ts +33 -0
- package/src/components/KExternalLink/KExternalLink.vue +63 -0
- package/src/components/KFileUpload/KFileUpload.cy.ts +77 -0
- package/src/components/KFileUpload/KFileUpload.vue +327 -0
- package/src/components/KInput/KInput.cy.ts +198 -0
- package/src/components/KInput/KInput.vue +506 -0
- package/src/components/KInputSwitch/KInputSwitch.cy.ts +42 -0
- package/src/components/KInputSwitch/KInputSwitch.vue +346 -0
- package/src/components/KLabel/KLabel.cy.ts +82 -0
- package/src/components/KLabel/KLabel.vue +122 -0
- package/src/components/KModal/KModal.cy.ts +313 -0
- package/src/components/KModal/KModal.vue +442 -0
- package/src/components/KModalFullscreen/KModalFullscreen.cy.ts +103 -0
- package/src/components/KModalFullscreen/KModalFullscreen.vue +411 -0
- package/src/components/KMultiselect/KMultiselect.cy.ts +676 -0
- package/src/components/KMultiselect/KMultiselect.vue +1326 -0
- package/src/components/KMultiselect/KMultiselectItem.vue +108 -0
- package/src/components/KMultiselect/KMultiselectItems.vue +124 -0
- package/src/components/KPagination/KPagination.cy.ts +78 -0
- package/src/components/KPagination/KPagination.vue +618 -0
- package/src/components/KPagination/PaginationOffset.vue +67 -0
- package/src/components/KPop/KPop.cy.ts +144 -0
- package/src/components/KPop/KPop.vue +601 -0
- package/src/components/KPrompt/KPrompt.cy.ts +218 -0
- package/src/components/KPrompt/KPrompt.vue +203 -0
- package/src/components/KRadio/KRadio.cy.ts +147 -0
- package/src/components/KRadio/KRadio.vue +576 -0
- package/src/components/KSegmentedControl/KSegmentedControl.cy.ts +120 -0
- package/src/components/KSegmentedControl/KSegmentedControl.vue +217 -0
- package/src/components/KSelect/KSelect.cy.ts +637 -0
- package/src/components/KSelect/KSelect.vue +907 -0
- package/src/components/KSelect/KSelectItem.vue +110 -0
- package/src/components/KSelect/KSelectItems.vue +131 -0
- package/src/components/KSkeleton/CardSkeleton.vue +98 -0
- package/src/components/KSkeleton/FormSkeleton.vue +32 -0
- package/src/components/KSkeleton/FullScreenGenericSpinner.vue +109 -0
- package/src/components/KSkeleton/FullScreenKongSkeleton.vue +77 -0
- package/src/components/KSkeleton/KSkeleton.cy.ts +106 -0
- package/src/components/KSkeleton/KSkeleton.vue +142 -0
- package/src/components/KSkeleton/KSkeletonBox.vue +98 -0
- package/src/components/KSkeleton/SkeletonBase.vue +28 -0
- package/src/components/KSkeleton/TableSkeleton.vue +83 -0
- package/src/components/KSkeleton/kong-loader.gif +0 -0
- package/src/components/KSlideout/KSlideout.cy.ts +118 -0
- package/src/components/KSlideout/KSlideout.vue +250 -0
- package/src/components/KStepper/KStep.vue +167 -0
- package/src/components/KStepper/KStepper.cy.ts +61 -0
- package/src/components/KStepper/KStepper.vue +50 -0
- package/src/components/KTable/KTable.cy.ts +838 -0
- package/src/components/KTable/KTable.vue +1158 -0
- package/src/components/KTableData/KTableData.cy.ts +824 -0
- package/src/components/KTableData/KTableData.vue +597 -0
- package/src/components/KTableView/BulkActionsDropdown.vue +77 -0
- package/src/components/KTableView/ColumnVisibilityMenu.vue +286 -0
- package/src/components/KTableView/KTableView.cy.ts +676 -0
- package/src/components/KTableView/KTableView.vue +1204 -0
- package/src/components/KTabs/KTabs.cy.ts +178 -0
- package/src/components/KTabs/KTabs.vue +220 -0
- package/src/components/KTextArea/KTextArea.cy.ts +135 -0
- package/src/components/KTextArea/KTextArea.vue +311 -0
- package/src/components/KToaster/KToaster.cy.ts +76 -0
- package/src/components/KToaster/KToaster.vue +208 -0
- package/src/components/KToaster/ToastManager.ts +87 -0
- package/src/components/KToggle/KToggle.cy.ts +24 -0
- package/src/components/KToggle/index.ts +45 -0
- package/src/components/KTooltip/KTooltip.cy.ts +69 -0
- package/src/components/KTooltip/KTooltip.vue +155 -0
- package/src/components/KTreeList/KTreeDraggable.vue +351 -0
- package/src/components/KTreeList/KTreeItem.vue +144 -0
- package/src/components/KTreeList/KTreeList.cy.ts +199 -0
- package/src/components/KTreeList/KTreeList.vue +235 -0
- package/src/components/KTruncate/KTruncate.cy.ts +74 -0
- package/src/components/KTruncate/KTruncate.vue +372 -0
- package/src/components/index.ts +54 -0
- package/src/composables/useUtilities.cy.ts +252 -0
- package/src/composables/useUtilities.ts +286 -0
- package/src/global-components.ts +58 -0
- package/src/index.ts +21 -0
- package/src/styles/_mixins.scss +9 -0
- package/src/styles/_transitions.scss +60 -0
- package/src/styles/_vars.scss +22 -0
- package/src/styles/assets/kong-loader.gif +0 -0
- package/src/styles/globals.scss +3 -0
- package/src/styles/mixins/_badges.scss +47 -0
- package/src/styles/mixins/_buttons.scss +21 -0
- package/src/styles/mixins/_cards.scss +19 -0
- package/src/styles/mixins/_common.scss +32 -0
- package/src/styles/mixins/_input-radio-checkbox.scss +81 -0
- package/src/styles/mixins/_input-select.scss +14 -0
- package/src/styles/mixins/_input-text.scss +92 -0
- package/src/styles/mixins/_inputs.scss +16 -0
- package/src/styles/mixins/_label.scss +11 -0
- package/src/styles/mixins/_loaders.scss +31 -0
- package/src/styles/mixins/_tables.scss +394 -0
- package/src/styles/styles.scss +11 -0
- package/src/types/alert.ts +9 -0
- package/src/types/badge.ts +27 -0
- package/src/types/breadcrumbs.ts +11 -0
- package/src/types/button.ts +21 -0
- package/src/types/card.ts +3 -0
- package/src/types/catalog.ts +20 -0
- package/src/types/code-block.ts +12 -0
- package/src/types/collapse.ts +5 -0
- package/src/types/date-time-picker.ts +85 -0
- package/src/types/dropdown.ts +29 -0
- package/src/types/empty-state.ts +8 -0
- package/src/types/index.ts +31 -0
- package/src/types/input.ts +16 -0
- package/src/types/label.ts +8 -0
- package/src/types/method-badge.ts +7 -0
- package/src/types/multi-select.ts +16 -0
- package/src/types/pagination.ts +12 -0
- package/src/types/pop.ts +23 -0
- package/src/types/prompt.ts +7 -0
- package/src/types/radio.ts +6 -0
- package/src/types/segmented-control.ts +5 -0
- package/src/types/select.ts +20 -0
- package/src/types/skeleton.ts +21 -0
- package/src/types/stepper.ts +10 -0
- package/src/types/swrv.ts +6 -0
- package/src/types/table.ts +294 -0
- package/src/types/tabs.ts +8 -0
- package/src/types/text-area.ts +6 -0
- package/src/types/toaster.ts +26 -0
- package/src/types/tree-list.ts +30 -0
- package/src/types/utils.ts +5 -0
- package/src/utilities/ShortcutManager.ts +127 -0
- package/src/utilities/copyTextToClipboard.ts +50 -0
- package/src/utilities/debounce.ts +21 -0
- package/src/utilities/getUniqueStringId.ts +3 -0
- package/src/utilities/index.ts +6 -0
- package/src/utilities/resizeObserverHelper.ts +66 -0
- package/src/utilities/sanitizeInput.ts +14 -0
- package/src/utilities/tableHelpers.ts +21 -0
- package/src/utilities/urls.ts +18 -0
- package/src/vue.d.ts +8 -0
package/dist/kongponents.es.js
CHANGED
|
@@ -3579,7 +3579,7 @@ const bf = {
|
|
|
3579
3579
|
class: ce(["k-alert", [e.appearance]])
|
|
3580
3580
|
}, [
|
|
3581
3581
|
e.showIcon || n.$slots.icon ? (g(), x("div", Og, [
|
|
3582
|
-
W(n.$slots, "icon", {}, () => [
|
|
3582
|
+
W(n.$slots, "icon", { mdcUnwrap: "p" }, () => [
|
|
3583
3583
|
(g(), Q(Re(a.value), {
|
|
3584
3584
|
class: "alert-icon",
|
|
3585
3585
|
decorative: "",
|
|
@@ -3590,7 +3590,7 @@ const bf = {
|
|
|
3590
3590
|
z("div", Pg, [
|
|
3591
3591
|
e.title ? (g(), x("span", Ng, re(e.title), 1)) : q("", !0),
|
|
3592
3592
|
e.message || n.$slots.default ? (g(), x("div", Bg, [
|
|
3593
|
-
W(n.$slots, "default", {}, () => [
|
|
3593
|
+
W(n.$slots, "default", { mdcUnwrap: "p" }, () => [
|
|
3594
3594
|
z("p", null, re(e.message), 1)
|
|
3595
3595
|
])
|
|
3596
3596
|
])) : q("", !0)
|
|
@@ -3615,7 +3615,7 @@ const bf = {
|
|
|
3615
3615
|
for (const [n, r] of t)
|
|
3616
3616
|
a[n] = r;
|
|
3617
3617
|
return a;
|
|
3618
|
-
}, _g = /* @__PURE__ */ De(Lg, [["__scopeId", "data-v-
|
|
3618
|
+
}, _g = /* @__PURE__ */ De(Lg, [["__scopeId", "data-v-837e2319"]]), Rg = {
|
|
3619
3619
|
inheritAttrs: !1
|
|
3620
3620
|
}, Yg = /* @__PURE__ */ se({
|
|
3621
3621
|
...Rg,
|
|
@@ -3682,12 +3682,12 @@ const bf = {
|
|
|
3682
3682
|
}, l.value, po(u.value)), {
|
|
3683
3683
|
default: O(() => [
|
|
3684
3684
|
W(c.$slots, "icon", {}, void 0, !0),
|
|
3685
|
-
W(c.$slots, "default", {}, void 0, !0)
|
|
3685
|
+
W(c.$slots, "default", { mdcUnwrap: "p" }, void 0, !0)
|
|
3686
3686
|
]),
|
|
3687
3687
|
_: 3
|
|
3688
3688
|
}, 16, ["class", "disabled", "tabindex", "type"]));
|
|
3689
3689
|
}
|
|
3690
|
-
}), at = /* @__PURE__ */ De(Yg, [["__scopeId", "data-v-
|
|
3690
|
+
}), at = /* @__PURE__ */ De(Yg, [["__scopeId", "data-v-7d71de7f"]]), Fg = ["top", "right", "bottom", "left"], Xu = ["start", "end"], Ju = /* @__PURE__ */ Fg.reduce((e, t) => e.concat(t, t + "-" + Xu[0], t + "-" + Xu[1]), []), Pi = Math.min, kn = Math.max, Ni = Math.round, ci = Math.floor, sn = (e) => ({
|
|
3691
3691
|
x: e,
|
|
3692
3692
|
y: e
|
|
3693
3693
|
}), zg = {
|
|
@@ -5481,19 +5481,20 @@ const Lm = ["id", "aria-labelledby", "x-placement"], _m = ["tabindex"], Rm = {
|
|
|
5481
5481
|
role: "tooltip"
|
|
5482
5482
|
}, [
|
|
5483
5483
|
W(i.$slots, "content", {
|
|
5484
|
-
label: e.text || e.label
|
|
5484
|
+
label: e.text || e.label,
|
|
5485
|
+
mdcUnwrap: "p"
|
|
5485
5486
|
}, () => [
|
|
5486
5487
|
de(re(e.text || e.label), 1)
|
|
5487
5488
|
], !0)
|
|
5488
5489
|
], 8, Hm)
|
|
5489
5490
|
]),
|
|
5490
5491
|
default: O(() => [
|
|
5491
|
-
W(i.$slots, "default", {}, void 0, !0)
|
|
5492
|
+
W(i.$slots, "default", { mdcUnwrap: "p" }, void 0, !0)
|
|
5492
5493
|
]),
|
|
5493
5494
|
_: 3
|
|
5494
5495
|
}, 16, ["max-width", "placement", "z-index"])) : W(i.$slots, "default", { key: 1 }, void 0, !0);
|
|
5495
5496
|
}
|
|
5496
|
-
}), da = /* @__PURE__ */ De(qm, [["__scopeId", "data-v-
|
|
5497
|
+
}), da = /* @__PURE__ */ De(qm, [["__scopeId", "data-v-f166fc42"]]), { getSizeFromString: Wm } = xt(), Um = {
|
|
5497
5498
|
name: "KBadge",
|
|
5498
5499
|
components: { KButton: at, KTooltip: da }
|
|
5499
5500
|
}, Vm = /* @__PURE__ */ se({
|
|
@@ -5537,7 +5538,7 @@ const Lm = ["id", "aria-labelledby", "x-placement"], _m = ["tabindex"], Rm = {
|
|
|
5537
5538
|
},
|
|
5538
5539
|
setup(e) {
|
|
5539
5540
|
Lt((o) => ({
|
|
5540
|
-
"
|
|
5541
|
+
"6371ec18": i.value
|
|
5541
5542
|
}));
|
|
5542
5543
|
const t = e, a = y(() => Object.keys(mf).includes(t.appearance)), n = M(), r = M(!1), i = y(() => Wm(t.maxWidth)), s = async () => {
|
|
5543
5544
|
var o, u;
|
|
@@ -5555,13 +5556,16 @@ const Lm = ["id", "aria-labelledby", "x-placement"], _m = ["tabindex"], Rm = {
|
|
|
5555
5556
|
z("div", {
|
|
5556
5557
|
class: ce(["badge-content", { "icon-after": !e.iconBefore }])
|
|
5557
5558
|
}, [
|
|
5558
|
-
o.$slots.icon ? W(o.$slots, "icon", {
|
|
5559
|
+
o.$slots.icon ? W(o.$slots, "icon", {
|
|
5560
|
+
key: 0,
|
|
5561
|
+
mdcUnwrap: "p"
|
|
5562
|
+
}, void 0, !0) : q("", !0),
|
|
5559
5563
|
z("div", {
|
|
5560
5564
|
ref_key: "badgeTextElement",
|
|
5561
5565
|
ref: n,
|
|
5562
5566
|
class: "badge-content-wrapper"
|
|
5563
5567
|
}, [
|
|
5564
|
-
W(o.$slots, "default", {}, void 0, !0)
|
|
5568
|
+
W(o.$slots, "default", { mdcUnwrap: "p" }, void 0, !0)
|
|
5565
5569
|
], 512)
|
|
5566
5570
|
], 2)
|
|
5567
5571
|
]),
|
|
@@ -5569,7 +5573,7 @@ const Lm = ["id", "aria-labelledby", "x-placement"], _m = ["tabindex"], Rm = {
|
|
|
5569
5573
|
}, 8, ["text"]))
|
|
5570
5574
|
], 2));
|
|
5571
5575
|
}
|
|
5572
|
-
}), Ar = /* @__PURE__ */ De(Vm, [["__scopeId", "data-v-
|
|
5576
|
+
}), Ar = /* @__PURE__ */ De(Vm, [["__scopeId", "data-v-a392efa5"]]), Km = {
|
|
5573
5577
|
key: 0,
|
|
5574
5578
|
class: "breadcrumbs-icon-container"
|
|
5575
5579
|
}, jm = {
|
|
@@ -7241,7 +7245,7 @@ const q1 = {
|
|
|
7241
7245
|
return (i, s) => (g(), x("label", {
|
|
7242
7246
|
class: ce(["k-label", { required: e.required }])
|
|
7243
7247
|
}, [
|
|
7244
|
-
W(i.$slots, "default", {}, void 0, !0),
|
|
7248
|
+
W(i.$slots, "default", { mdcUnwrap: "p" }, void 0, !0),
|
|
7245
7249
|
n.value ? (g(), Q(da, He({ key: 0 }, e.tooltipAttributes, {
|
|
7246
7250
|
class: "label-tooltip",
|
|
7247
7251
|
"tooltip-id": I(r)
|
|
@@ -7263,7 +7267,7 @@ const q1 = {
|
|
|
7263
7267
|
}, 16, ["tooltip-id"])) : q("", !0)
|
|
7264
7268
|
], 2));
|
|
7265
7269
|
}
|
|
7266
|
-
}), ja = /* @__PURE__ */ De(uy, [["__scopeId", "data-v-
|
|
7270
|
+
}), ja = /* @__PURE__ */ De(uy, [["__scopeId", "data-v-ca09b21b"]]), cy = ["id", "aria-checked"], dy = { class: "checkbox-label-wrapper" }, fy = {
|
|
7267
7271
|
key: 1,
|
|
7268
7272
|
class: "checkbox-description"
|
|
7269
7273
|
}, vy = {
|
|
@@ -7342,7 +7346,7 @@ const q1 = {
|
|
|
7342
7346
|
for: l.value
|
|
7343
7347
|
}), ht({
|
|
7344
7348
|
default: O(() => [
|
|
7345
|
-
W(k.$slots, "default", {}, () => [
|
|
7349
|
+
W(k.$slots, "default", { mdcUnwrap: "p" }, () => [
|
|
7346
7350
|
de(re(e.label), 1)
|
|
7347
7351
|
], !0)
|
|
7348
7352
|
]),
|
|
@@ -7357,14 +7361,14 @@ const q1 = {
|
|
|
7357
7361
|
} : void 0
|
|
7358
7362
|
]), 1040, ["for"])) : q("", !0),
|
|
7359
7363
|
c.value ? (g(), x("div", fy, [
|
|
7360
|
-
W(k.$slots, "description", {}, () => [
|
|
7364
|
+
W(k.$slots, "description", { mdcUnwrap: "p" }, () => [
|
|
7361
7365
|
z("p", null, re(e.description), 1)
|
|
7362
7366
|
], !0)
|
|
7363
7367
|
])) : q("", !0)
|
|
7364
7368
|
])
|
|
7365
7369
|
], 2));
|
|
7366
7370
|
}
|
|
7367
|
-
}), Yi = /* @__PURE__ */ De(py, [["__scopeId", "data-v-
|
|
7371
|
+
}), Yi = /* @__PURE__ */ De(py, [["__scopeId", "data-v-2269bb05"]]), hy = ["id", "aria-describedby", "aria-invalid", "type", "value"], gy = ["aria-label"], my = ["id"], yy = {
|
|
7368
7372
|
inheritAttrs: !1
|
|
7369
7373
|
}, by = /* @__PURE__ */ se({
|
|
7370
7374
|
...yy,
|
|
@@ -7422,8 +7426,8 @@ const q1 = {
|
|
|
7422
7426
|
emits: ["input", "update:modelValue", "char-limit-exceeded"],
|
|
7423
7427
|
setup(e, { emit: t }) {
|
|
7424
7428
|
Lt((A) => ({
|
|
7425
|
-
|
|
7426
|
-
"
|
|
7429
|
+
c0d96f9e: H.value,
|
|
7430
|
+
"9afb8e8c": R.value
|
|
7427
7431
|
}));
|
|
7428
7432
|
const a = e, n = t, r = M(""), i = M(!1), s = M(0), { stripRequiredLabel: l } = xt(), o = It(), u = qt(), c = y(() => (u == null ? void 0 : u.required) !== void 0 && String(u == null ? void 0 : u.required) !== "false"), d = kt(), f = y(() => u.id ? String(u.id) : d), v = kt(), p = y(() => l(a.label, c.value)), w = y(() => {
|
|
7429
7433
|
var A;
|
|
@@ -7500,7 +7504,7 @@ const q1 = {
|
|
|
7500
7504
|
ref: ee,
|
|
7501
7505
|
class: "before-content-wrapper"
|
|
7502
7506
|
}, [
|
|
7503
|
-
W(A.$slots, "before", {}, void 0, !0)
|
|
7507
|
+
W(A.$slots, "before", { mdcUnwrap: "p" }, void 0, !0)
|
|
7504
7508
|
], 512)) : q("", !0),
|
|
7505
7509
|
z("input", He({
|
|
7506
7510
|
id: f.value,
|
|
@@ -7535,7 +7539,10 @@ const q1 = {
|
|
|
7535
7539
|
key: 1,
|
|
7536
7540
|
decorative: ""
|
|
7537
7541
|
}))
|
|
7538
|
-
], 40, gy)) : W(A.$slots, "after", {
|
|
7542
|
+
], 40, gy)) : W(A.$slots, "after", {
|
|
7543
|
+
key: 1,
|
|
7544
|
+
mdcUnwrap: "p"
|
|
7545
|
+
}, void 0, !0)
|
|
7539
7546
|
], 512)) : q("", !0)
|
|
7540
7547
|
], 2),
|
|
7541
7548
|
V(na, {
|
|
@@ -7553,7 +7560,7 @@ const q1 = {
|
|
|
7553
7560
|
})
|
|
7554
7561
|
], 2));
|
|
7555
7562
|
}
|
|
7556
|
-
}), cn = /* @__PURE__ */ De(by, [["__scopeId", "data-v-
|
|
7563
|
+
}), cn = /* @__PURE__ */ De(by, [["__scopeId", "data-v-6cd1e48c"]]);
|
|
7557
7564
|
function Hf(e, t) {
|
|
7558
7565
|
let a;
|
|
7559
7566
|
return (...n) => {
|
|
@@ -7781,8 +7788,8 @@ const $y = {
|
|
|
7781
7788
|
setup(e, { emit: t }) {
|
|
7782
7789
|
var nt, it;
|
|
7783
7790
|
Lt((j) => ({
|
|
7784
|
-
|
|
7785
|
-
"
|
|
7791
|
+
"3575f3ac": Y.value,
|
|
7792
|
+
"7be5218b": S.value
|
|
7786
7793
|
}));
|
|
7787
7794
|
const { getSizeFromString: a } = xt(), r = ((it = (nt = window == null ? void 0 : window.navigator) == null ? void 0 : nt.platform) == null ? void 0 : it.toLowerCase().includes("mac")) ? "Option" : "Alt", i = Hf(F, 150), s = e, l = t, o = It(), u = M(s.query), c = M(!1), d = M(s.initialRegExpMode), f = M(s.initialFilterMode), v = M(null), p = M(null), w = M(s.query), k = M(0), h = M([]), m = M(null), b = y(() => {
|
|
7788
7795
|
var j;
|
|
@@ -8190,12 +8197,12 @@ const $y = {
|
|
|
8190
8197
|
]),
|
|
8191
8198
|
_: 1
|
|
8192
8199
|
}, 8, ["aria-label", "copy-tooltip", "theme"])) : q("", !0),
|
|
8193
|
-
W(j.$slots, "secondary-actions", {}, void 0, !0)
|
|
8200
|
+
W(j.$slots, "secondary-actions", { mdcUnwrap: "p" }, void 0, !0)
|
|
8194
8201
|
])) : q("", !0)
|
|
8195
8202
|
])
|
|
8196
8203
|
], 10, xy));
|
|
8197
8204
|
}
|
|
8198
|
-
}), zy = /* @__PURE__ */ De(Fy, [["__scopeId", "data-v-
|
|
8205
|
+
}), zy = /* @__PURE__ */ De(Fy, [["__scopeId", "data-v-5c684136"]]), Hy = { class: "k-collapse" }, qy = { class: "collapse-trigger" }, Wy = ["aria-controls", "aria-expanded", "aria-label"], Uy = {
|
|
8199
8206
|
key: 0,
|
|
8200
8207
|
class: "collapse-trigger-label",
|
|
8201
8208
|
"data-testid": "collapse-trigger-label"
|
|
@@ -18316,13 +18323,16 @@ const t4 = /* @__PURE__ */ vn(J8, [["render", e4]]), a4 = { class: "k-segmented-
|
|
|
18316
18323
|
type: "button",
|
|
18317
18324
|
onClick: (c) => s(u)
|
|
18318
18325
|
}, [
|
|
18319
|
-
W(l.$slots, "option-label", {
|
|
18326
|
+
W(l.$slots, "option-label", {
|
|
18327
|
+
mdcUnwrap: "p",
|
|
18328
|
+
option: u
|
|
18329
|
+
}, () => [
|
|
18320
18330
|
de(re(u.label), 1)
|
|
18321
18331
|
], !0)
|
|
18322
18332
|
], 10, n4))), 128))
|
|
18323
18333
|
]));
|
|
18324
18334
|
}
|
|
18325
|
-
}), Pp = /* @__PURE__ */ De(u4, [["__scopeId", "data-v-
|
|
18335
|
+
}), Pp = /* @__PURE__ */ De(u4, [["__scopeId", "data-v-49a186eb"]]), c4 = ["tabindex"], d4 = ["innerHTML"], f4 = {
|
|
18326
18336
|
key: 1,
|
|
18327
18337
|
class: "range-display"
|
|
18328
18338
|
}, v4 = {
|
|
@@ -18884,7 +18894,7 @@ const t4 = /* @__PURE__ */ vn(J8, [["render", e4]]), a4 = { class: "k-segmented-
|
|
|
18884
18894
|
for: l.value
|
|
18885
18895
|
}, {
|
|
18886
18896
|
default: O(() => [
|
|
18887
|
-
W(d.$slots, "label", {}, () => [
|
|
18897
|
+
W(d.$slots, "label", { mdcUnwrap: "p" }, () => [
|
|
18888
18898
|
de(re(e.label), 1)
|
|
18889
18899
|
], !0)
|
|
18890
18900
|
]),
|
|
@@ -18893,7 +18903,7 @@ const t4 = /* @__PURE__ */ vn(J8, [["render", e4]]), a4 = { class: "k-segmented-
|
|
|
18893
18903
|
], 2);
|
|
18894
18904
|
};
|
|
18895
18905
|
}
|
|
18896
|
-
}), x4 = /* @__PURE__ */ De(D4, [["__scopeId", "data-v-
|
|
18906
|
+
}), x4 = /* @__PURE__ */ De(D4, [["__scopeId", "data-v-554c6390"]]);
|
|
18897
18907
|
/*!
|
|
18898
18908
|
* tabbable 6.2.0
|
|
18899
18909
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
@@ -21127,7 +21137,7 @@ const Po = () => YP(), FP = { "data-testid": "multiselect-container" }, zP = ["i
|
|
|
21127
21137
|
for: s.value
|
|
21128
21138
|
}), ht({
|
|
21129
21139
|
default: O(() => [
|
|
21130
|
-
W(h.$slots, "default", {}, () => [
|
|
21140
|
+
W(h.$slots, "default", { mdcUnwrap: "p" }, () => [
|
|
21131
21141
|
de(re(e.label), 1)
|
|
21132
21142
|
], !0)
|
|
21133
21143
|
]),
|
|
@@ -21142,7 +21152,7 @@ const Po = () => YP(), FP = { "data-testid": "multiselect-container" }, zP = ["i
|
|
|
21142
21152
|
} : void 0
|
|
21143
21153
|
]), 1040, ["for"]),
|
|
21144
21154
|
u.value ? (g(), x("div", c7, [
|
|
21145
|
-
W(h.$slots, "description", {}, () => [
|
|
21155
|
+
W(h.$slots, "description", { mdcUnwrap: "p" }, () => [
|
|
21146
21156
|
z("p", null, re(e.description), 1)
|
|
21147
21157
|
], !0)
|
|
21148
21158
|
])) : q("", !0)
|
|
@@ -21156,12 +21166,12 @@ const Po = () => YP(), FP = { "data-testid": "multiselect-container" }, zP = ["i
|
|
|
21156
21166
|
onKeyup: ft(p, ["space"])
|
|
21157
21167
|
}, [
|
|
21158
21168
|
h.$slots.default ? (g(), x("span", f7, [
|
|
21159
|
-
W(h.$slots, "default", {}, void 0, !0)
|
|
21169
|
+
W(h.$slots, "default", { mdcUnwrap: "p" }, void 0, !0)
|
|
21160
21170
|
])) : q("", !0),
|
|
21161
21171
|
e.label || c.value ? (g(), x("span", v7, [
|
|
21162
21172
|
e.label ? (g(), x("span", p7, re(e.label), 1)) : q("", !0),
|
|
21163
21173
|
c.value ? (g(), x("span", h7, [
|
|
21164
|
-
W(h.$slots, "description", {}, () => [
|
|
21174
|
+
W(h.$slots, "description", { mdcUnwrap: "p" }, () => [
|
|
21165
21175
|
de(re(e.description), 1)
|
|
21166
21176
|
], !0)
|
|
21167
21177
|
])) : q("", !0)
|
|
@@ -21169,7 +21179,7 @@ const Po = () => YP(), FP = { "data-testid": "multiselect-container" }, zP = ["i
|
|
|
21169
21179
|
], 42, d7)) : q("", !0)
|
|
21170
21180
|
], 2));
|
|
21171
21181
|
}
|
|
21172
|
-
}), y7 = /* @__PURE__ */ De(m7, [["__scopeId", "data-v-
|
|
21182
|
+
}), y7 = /* @__PURE__ */ De(m7, [["__scopeId", "data-v-26452d3a"]]), b7 = ["aria-selected", "data-testid"], w7 = { class: "select-item-container" }, k7 = ["disabled", "value"], C7 = { class: "select-item-label" }, S7 = /* @__PURE__ */ se({
|
|
21173
21183
|
__name: "KSelectItem",
|
|
21174
21184
|
props: {
|
|
21175
21185
|
item: {
|
|
@@ -25103,9 +25113,9 @@ const gN = {
|
|
|
25103
25113
|
},
|
|
25104
25114
|
setup(e) {
|
|
25105
25115
|
Lt((h) => ({
|
|
25106
|
-
|
|
25107
|
-
|
|
25108
|
-
|
|
25116
|
+
a8a3260a: u.value,
|
|
25117
|
+
31740977: I(c),
|
|
25118
|
+
"2b3fd5d6": a.rows
|
|
25109
25119
|
}));
|
|
25110
25120
|
const { getSizeFromString: t } = xt(), a = e, n = M(a.expanded), r = M(!1), i = M(), s = M(), l = M(), o = M(), u = M("0px"), c = Ag, d = M(0), f = async () => {
|
|
25111
25121
|
var h;
|
|
@@ -25150,6 +25160,7 @@ const gN = {
|
|
|
25150
25160
|
n.value ? q("", !0) : (g(), x("div", ON, [
|
|
25151
25161
|
W(h.$slots, "expand-trigger", {
|
|
25152
25162
|
expand: w,
|
|
25163
|
+
mdcUnwrap: "p",
|
|
25153
25164
|
truncatedCount: d.value
|
|
25154
25165
|
}, () => [
|
|
25155
25166
|
z("button", {
|
|
@@ -25166,9 +25177,12 @@ const gN = {
|
|
|
25166
25177
|
ref: s,
|
|
25167
25178
|
class: "truncate-container"
|
|
25168
25179
|
}, [
|
|
25169
|
-
W(h.$slots, "default", {}, void 0, !0),
|
|
25180
|
+
W(h.$slots, "default", { mdcUnwrap: "p" }, void 0, !0),
|
|
25170
25181
|
!e.truncateText && n.value ? (g(), x("div", NN, [
|
|
25171
|
-
W(h.$slots, "collapse-trigger", {
|
|
25182
|
+
W(h.$slots, "collapse-trigger", {
|
|
25183
|
+
collapse: w,
|
|
25184
|
+
mdcUnwrap: "p"
|
|
25185
|
+
}, () => [
|
|
25172
25186
|
z("button", {
|
|
25173
25187
|
"aria-label": "Collapse content",
|
|
25174
25188
|
class: "collapse-trigger",
|
|
@@ -25190,7 +25204,10 @@ const gN = {
|
|
|
25190
25204
|
class: "truncate-collapse-controls"
|
|
25191
25205
|
}, [
|
|
25192
25206
|
n.value ? q("", !0) : (g(), x("div", BN, [
|
|
25193
|
-
W(h.$slots, "expand-trigger", {
|
|
25207
|
+
W(h.$slots, "expand-trigger", {
|
|
25208
|
+
expand: w,
|
|
25209
|
+
mdcUnwrap: "p"
|
|
25210
|
+
}, () => [
|
|
25194
25211
|
V(b, {
|
|
25195
25212
|
appearance: "tertiary",
|
|
25196
25213
|
size: "small",
|
|
@@ -25204,7 +25221,10 @@ const gN = {
|
|
|
25204
25221
|
], !0)
|
|
25205
25222
|
])),
|
|
25206
25223
|
n.value ? (g(), x("div", LN, [
|
|
25207
|
-
W(h.$slots, "collapse-trigger", {
|
|
25224
|
+
W(h.$slots, "collapse-trigger", {
|
|
25225
|
+
collapse: w,
|
|
25226
|
+
mdcUnwrap: "p"
|
|
25227
|
+
}, () => [
|
|
25208
25228
|
V(b, {
|
|
25209
25229
|
appearance: "tertiary",
|
|
25210
25230
|
size: "small",
|
|
@@ -25221,7 +25241,7 @@ const gN = {
|
|
|
25221
25241
|
], 6);
|
|
25222
25242
|
};
|
|
25223
25243
|
}
|
|
25224
|
-
}), RN = /* @__PURE__ */ De(_N, [["__scopeId", "data-v-
|
|
25244
|
+
}), RN = /* @__PURE__ */ De(_N, [["__scopeId", "data-v-ea7a3a1f"]]), YN = { class: "k-copy" }, FN = {
|
|
25225
25245
|
key: 0,
|
|
25226
25246
|
class: "copy-badge-text"
|
|
25227
25247
|
}, zN = ["id", "aria-label", "onClick"], HN = /* @__PURE__ */ se({
|