@knime/kds-components 0.28.4 → 0.28.7
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/auto-configure-BU7AIhL7.js +23 -0
- package/dist/auto-configure-BU7AIhL7.js.map +1 -0
- package/dist/cell-renderer-DGnkQWTq.js +23 -0
- package/dist/cell-renderer-DGnkQWTq.js.map +1 -0
- package/dist/column-width-Cjb-6nqI.js +23 -0
- package/dist/column-width-Cjb-6nqI.js.map +1 -0
- package/dist/index.css +182 -46
- package/dist/index.js +919 -557
- package/dist/index.js.map +1 -1
- package/dist/path-separator-DRnUilGA.js +23 -0
- package/dist/path-separator-DRnUilGA.js.map +1 -0
- package/dist/src/accessories/Icon/useIcon.d.ts.map +1 -1
- package/dist/src/buttons/KdsMenuButton/types.d.ts +1 -1
- package/dist/src/buttons/KdsMenuButton/types.d.ts.map +1 -1
- package/dist/src/containers/ListItem/KdsListItem/enums.d.ts +2 -1
- package/dist/src/containers/ListItem/KdsListItem/enums.d.ts.map +1 -1
- package/dist/src/containers/ListItem/KdsListItem/types.d.ts +8 -1
- package/dist/src/containers/ListItem/KdsListItem/types.d.ts.map +1 -1
- package/dist/src/containers/MenuContainer/KdsMenuContainer.vue.d.ts.map +1 -1
- package/dist/src/containers/MenuContainer/KdsMenuItem.vue.d.ts +6 -2
- package/dist/src/containers/MenuContainer/KdsMenuItem.vue.d.ts.map +1 -1
- package/dist/src/containers/MenuContainer/types.d.ts +70 -12
- package/dist/src/containers/MenuContainer/types.d.ts.map +1 -1
- package/dist/src/containers/index.d.ts +1 -1
- package/dist/src/containers/index.d.ts.map +1 -1
- package/dist/src/layouts/Breadcrumb/BreadcrumbItem.vue.d.ts +8 -0
- package/dist/src/layouts/Breadcrumb/BreadcrumbItem.vue.d.ts.map +1 -0
- package/dist/src/layouts/Breadcrumb/KdsBreadcrumb.vue.d.ts +6 -0
- package/dist/src/layouts/Breadcrumb/KdsBreadcrumb.vue.d.ts.map +1 -0
- package/dist/src/layouts/Breadcrumb/index.d.ts +3 -0
- package/dist/src/layouts/Breadcrumb/index.d.ts.map +1 -0
- package/dist/src/layouts/Breadcrumb/types.d.ts +61 -0
- package/dist/src/layouts/Breadcrumb/types.d.ts.map +1 -0
- package/dist/src/layouts/Breadcrumb/useBreadcrumbAdaptiveLayout.d.ts +30 -0
- package/dist/src/layouts/Breadcrumb/useBreadcrumbAdaptiveLayout.d.ts.map +1 -0
- package/dist/src/layouts/Panel/KdsPanel.vue.d.ts.map +1 -1
- package/dist/src/layouts/index.d.ts +2 -0
- package/dist/src/layouts/index.d.ts.map +1 -1
- package/dist/src/overlays/Modal/KdsModal.vue.d.ts +1 -1
- package/dist/table-statistics-y-P6EXGX.js +23 -0
- package/dist/table-statistics-y-P6EXGX.js.map +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { openBlock, createElementBlock, createElementVNode } from 'vue';
|
|
2
|
+
|
|
3
|
+
const _hoisted_1 = {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
fill: "none",
|
|
6
|
+
stroke: "currentColor",
|
|
7
|
+
"stroke-linecap": "round",
|
|
8
|
+
"stroke-linejoin": "round",
|
|
9
|
+
viewBox: "0 0 12 12"
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
function render(_ctx, _cache) {
|
|
13
|
+
return (openBlock(), createElementBlock("svg", _hoisted_1, [...(_cache[0] || (_cache[0] = [
|
|
14
|
+
createElementVNode("path", {
|
|
15
|
+
d: "m4.5 10 2.75-8",
|
|
16
|
+
"vector-effect": "non-scaling-stroke"
|
|
17
|
+
}, null, -1)
|
|
18
|
+
]))]))
|
|
19
|
+
}
|
|
20
|
+
const pathSeparator = { render: render };
|
|
21
|
+
|
|
22
|
+
export { pathSeparator as default, render };
|
|
23
|
+
//# sourceMappingURL=path-separator-DRnUilGA.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"path-separator-DRnUilGA.js","sources":["../../styles/dist/img/icons/path-separator.svg"],"sourcesContent":["import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = {\n xmlns: \"http://www.w3.org/2000/svg\",\n fill: \"none\",\n stroke: \"currentColor\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\",\n viewBox: \"0 0 12 12\"\n}\n\nexport function render(_ctx, _cache) {\n return (_openBlock(), _createElementBlock(\"svg\", _hoisted_1, [...(_cache[0] || (_cache[0] = [\n _createElementVNode(\"path\", {\n d: \"m4.5 10 2.75-8\",\n \"vector-effect\": \"non-scaling-stroke\"\n }, null, -1)\n ]))]))\n}\nexport default { render: render }"],"names":["_openBlock","_createElementBlock","_createElementVNode"],"mappings":";;AAEA,MAAM,UAAU,GAAG;AACnB,EAAE,KAAK,EAAE,4BAA4B;AACrC,EAAE,IAAI,EAAE,MAAM;AACd,EAAE,MAAM,EAAE,cAAc;AACxB,EAAE,gBAAgB,EAAE,OAAO;AAC3B,EAAE,iBAAiB,EAAE,OAAO;AAC5B,EAAE,OAAO,EAAE;AACX;;AAEO,SAAS,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE;AACrC,EAAE,QAAQA,SAAU,EAAE,EAAEC,kBAAmB,CAAC,KAAK,EAAE,UAAU,EAAE,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC,CAAC,CAAC,GAAG;AAC9F,IAAIC,kBAAmB,CAAC,MAAM,EAAE;AAChC,MAAM,CAAC,EAAE,gBAAgB;AACzB,MAAM,eAAe,EAAE;AACvB,KAAK,EAAE,IAAI,EAAE,EAAE;AACf,GAAG,CAAC,CAAC,CAAC,CAAC;AACP;AACA,sBAAe,EAAE,MAAM,EAAE,MAAM;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useIcon.d.ts","sourceRoot":"","sources":["../../../../src/accessories/Icon/useIcon.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,GAAG,EACR,KAAK,UAAU,
|
|
1
|
+
{"version":3,"file":"useIcon.d.ts","sourceRoot":"","sources":["../../../../src/accessories/Icon/useIcon.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,GAAG,EACR,KAAK,UAAU,EAKhB,MAAM,KAAK,CAAC;AAEb,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAE7C,iBAAS,OAAO,CAAC,EACf,IAAI,EACJ,MAAM,GACP,EAAE;IACD,IAAI,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAClB,MAAM,EAAE,OAAO,GAAG,YAAY,CAAC;CAChC,GAAG;IACF,aAAa,EAAE,QAAQ,CAAC,UAAU,CAAC,eAAe,GAAG,IAAI,CAAC,CAAC,CAAC;IAC5D,MAAM,EAAE,QAAQ,CAAC,UAAU,CAAC,aAAa,CAAC,CAAC,CAAC;CAC7C,CAmEA;AAED,eAAe,OAAO,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { KdsMenuItem } from '../../containers/MenuContainer/types';
|
|
2
2
|
import { KdsToggleButtonProps } from '../KdsToggleButton';
|
|
3
|
-
export type { KdsMenuItem } from '../../containers/MenuContainer/types';
|
|
3
|
+
export type { KdsMenuActionItem, KdsMenuItem, KdsMenuLinkItem, KdsMenuSectionHeadlineItem, } from '../../containers/MenuContainer/types';
|
|
4
4
|
export type KdsMenuButtonProps = KdsToggleButtonProps & {
|
|
5
5
|
/**
|
|
6
6
|
* Items rendered in the menu.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/buttons/KdsMenuButton/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE/D,YAAY,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/buttons/KdsMenuButton/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAC;AACxE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAE/D,YAAY,EACV,iBAAiB,EACjB,WAAW,EACX,eAAe,EACf,0BAA0B,GAC3B,MAAM,sCAAsC,CAAC;AAE9C,MAAM,MAAM,kBAAkB,GAAG,oBAAoB,GAAG;IACtD;;;OAGG;IACH,KAAK,EAAE,WAAW,EAAE,CAAC;IAErB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC"}
|
|
@@ -7,6 +7,7 @@ export declare const kdsListItemRole: {
|
|
|
7
7
|
readonly OPTION: "option";
|
|
8
8
|
readonly MENUITEM: "menuitem";
|
|
9
9
|
readonly LISTITEM: "listitem";
|
|
10
|
+
readonly PRESENTATION: "presentation";
|
|
10
11
|
};
|
|
11
|
-
export declare const kdsListItemRoles: ("option" | "menuitem" | "listitem")[];
|
|
12
|
+
export declare const kdsListItemRoles: ("option" | "presentation" | "menuitem" | "listitem")[];
|
|
12
13
|
//# sourceMappingURL=enums.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../../../src/containers/ListItem/KdsListItem/enums.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB;;;CAGrB,CAAC;AAEX,eAAO,MAAM,mBAAmB,uBAAoC,CAAC;AAErE,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../../../src/containers/ListItem/KdsListItem/enums.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB;;;CAGrB,CAAC;AAEX,eAAO,MAAM,mBAAmB,uBAAoC,CAAC;AAErE,eAAO,MAAM,eAAe;;;;;CAKlB,CAAC;AAEX,eAAO,MAAM,gBAAgB,yDAAiC,CAAC"}
|
|
@@ -50,7 +50,14 @@ export type KdsListItemProps = {
|
|
|
50
50
|
missing?: boolean;
|
|
51
51
|
/** Disables interaction and dims the content. */
|
|
52
52
|
disabled?: boolean;
|
|
53
|
-
/**
|
|
53
|
+
/**
|
|
54
|
+
* ARIA role of the item.
|
|
55
|
+
*
|
|
56
|
+
* Use `"presentation"` when the `KdsListItem` is rendered **inside** an interactive
|
|
57
|
+
* ancestor (for example an anchor or a button wrapper) that already
|
|
58
|
+
* provides the semantics. This removes the implicit semantics from the
|
|
59
|
+
* inner element so screen readers don't announce two overlapping roles.
|
|
60
|
+
*/
|
|
54
61
|
role?: KdsListItemRole;
|
|
55
62
|
};
|
|
56
63
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/containers/ListItem/KdsListItem/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACzE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,+BAA+B,CAAC;AAE1E,OAAO,KAAK,EAAE,eAAe,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEtE,MAAM,MAAM,kBAAkB,GAC5B,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,OAAO,kBAAkB,CAAC,CAAC;AAE/D,MAAM,MAAM,eAAe,GACzB,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AAEzD;;;;;;GAMG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,oGAAoG;IACpG,EAAE,EAAE,MAAM,CAAC;IAEX,mCAAmC;IACnC,IAAI,EAAE,MAAM,CAAC;IAEb,0FAA0F;IAC1F,SAAS,CAAC,EAAE,oBAAoB,CAAC;IAEjC,oDAAoD;I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,EAAE,oBAAoB,CAAC;IAEjC,oDAAoD;IACpD,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,mGAAmG;IACnG,OAAO,CAAC,EAAE,kBAAkB,CAAC;IAE7B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;OAGG;IACH,YAAY,CAAC,EAAE,WAAW,CAAC;IAE3B;;;OAGG;IACH,KAAK,CAAC,EAAE;QACN,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,CAAC,EAAE,eAAe,CAAC;KAC3B,CAAC;IAEF,+HAA+H;IAC/H,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,gCAAgC;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,0FAA0F;IAC1F,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB,8DAA8D;IAC9D,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,iDAAiD;IACjD,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;;;;OAOG;IACH,IAAI,CAAC,EAAE,eAAe,CAAC;CACxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsMenuContainer.vue.d.ts","sourceRoot":"","sources":["../../../../src/containers/MenuContainer/KdsMenuContainer.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KdsMenuContainer.vue.d.ts","sourceRoot":"","sources":["../../../../src/containers/MenuContainer/KdsMenuContainer.vue"],"names":[],"mappings":"AAmLA,OAAO,KAAK,EAEV,qBAAqB,EAGtB,MAAM,SAAS,CAAC;;;;;;;;;;AA0MjB,wBAUG"}
|
|
@@ -5,10 +5,14 @@ type __VLS_Props = {
|
|
|
5
5
|
isLast: boolean;
|
|
6
6
|
variant?: KdsMenuContainerProps["variant"];
|
|
7
7
|
};
|
|
8
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
8
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
9
|
+
clickLink: () => void;
|
|
10
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
11
|
click: (event: MouseEvent) => any;
|
|
10
12
|
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
13
|
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
12
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
14
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
15
|
+
linkEl: unknown;
|
|
16
|
+
}, any>;
|
|
13
17
|
export default _default;
|
|
14
18
|
//# sourceMappingURL=KdsMenuItem.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsMenuItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/containers/MenuContainer/KdsMenuItem.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KdsMenuItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/containers/MenuContainer/KdsMenuItem.vue"],"names":[],"mappings":"AAmMA,OAAO,KAAK,EACV,qBAAqB,EACrB,WAAW,EAEZ,MAAM,SAAS,CAAC;AAEjB,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,WAAW,CAAC;IAClB,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAC;IAC7B,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,qBAAqB,CAAC,SAAS,CAAC,CAAC;CAC5C,CAAC;;;;;;;;;;AA4RF,wBASG"}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { KdsBadgeVariant, KdsIconName } from '../../accessories';
|
|
2
|
+
import { WithAnchorElementAttributes } from '../../types/linkTypes';
|
|
2
3
|
import { KdsListItemVariant } from '../ListItem/KdsListItem';
|
|
3
4
|
import { KdsAvatarAccessory, KdsIconAccessory, KdsLiveStatusAccessory } from '../ListItem/ListItemAccessory/types';
|
|
4
5
|
import { ItemFocusStrategy } from '../_helpers/types';
|
|
5
6
|
type KdsMenuItemAccessory = KdsIconAccessory | KdsLiveStatusAccessory | KdsAvatarAccessory;
|
|
6
|
-
|
|
7
|
+
/** Fields shared by every menu item variant. */
|
|
8
|
+
type KdsMenuItemBase = {
|
|
7
9
|
id: string;
|
|
8
10
|
/** Main text to show in the item */
|
|
9
11
|
text: string;
|
|
10
12
|
/** Optional subtext shown below the main label (multiline list item layout) */
|
|
11
13
|
subText?: string;
|
|
12
|
-
/** Optional leading icon shown before a section headline */
|
|
13
|
-
sectionHeadlineIcon?: KdsIconName;
|
|
14
|
-
/**
|
|
15
|
-
* When true, the item is rendered as a non-selectable section headline
|
|
16
|
-
* (styled as a section title row). Section headline items are skipped
|
|
17
|
-
* during keyboard navigation and cannot be clicked.
|
|
18
|
-
*/
|
|
19
|
-
sectionHeadline?: boolean;
|
|
20
14
|
/** Disables interaction and dims the content. */
|
|
21
15
|
disabled?: boolean;
|
|
22
16
|
/** Optional leading accessory (icon, data type, or color swatch) shown before the text */
|
|
@@ -32,12 +26,68 @@ export type KdsMenuItem = {
|
|
|
32
26
|
label: string;
|
|
33
27
|
variant?: KdsBadgeVariant;
|
|
34
28
|
};
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Section headline row. Rendered as a non-selectable section title and
|
|
32
|
+
* skipped during keyboard navigation.
|
|
33
|
+
*/
|
|
34
|
+
export type KdsMenuSectionHeadlineItem = KdsMenuItemBase & {
|
|
35
|
+
/** When true, the item is rendered as a non-selectable section headline. */
|
|
36
|
+
sectionHeadline: true;
|
|
37
|
+
/** Optional leading icon shown before a section headline */
|
|
38
|
+
sectionHeadlineIcon?: KdsIconName;
|
|
39
|
+
handler?: never;
|
|
40
|
+
to?: never;
|
|
41
|
+
download?: never;
|
|
42
|
+
target?: never;
|
|
43
|
+
rel?: never;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Action item. Invokes `handler` when the item is activated via mouse or
|
|
47
|
+
* keyboard.
|
|
48
|
+
*/
|
|
49
|
+
export type KdsMenuActionItem = KdsMenuItemBase & {
|
|
50
|
+
sectionHeadline?: false;
|
|
51
|
+
sectionHeadlineIcon?: never;
|
|
35
52
|
/**
|
|
36
|
-
* Interaction handler callback. This will run whenever the item is
|
|
37
|
-
* via a mouse event or a keyboard event
|
|
53
|
+
* Interaction handler callback. This will run whenever the item is
|
|
54
|
+
* interacted with, whether that is via a mouse event or a keyboard event.
|
|
38
55
|
*/
|
|
39
|
-
handler?: (item:
|
|
56
|
+
handler?: (item: KdsMenuActionItem, event: MouseEvent | KeyboardEvent) => void;
|
|
57
|
+
to?: never;
|
|
58
|
+
download?: never;
|
|
59
|
+
target?: never;
|
|
60
|
+
rel?: never;
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* Link item. Rendered as an anchor (or `RouterLink`/`NuxtLink` when
|
|
64
|
+
* registered globally). External URLs automatically open in a new tab (with
|
|
65
|
+
* safe `rel`) and show an `external-link` trailing icon (when no shortcut/badge
|
|
66
|
+
* already occupies the trailing slot).
|
|
67
|
+
*
|
|
68
|
+
* To support typed routes and route-location objects, please create an
|
|
69
|
+
* app-level wrapper as described in the Storybook documentation.
|
|
70
|
+
*/
|
|
71
|
+
export type KdsMenuLinkItem = KdsMenuItemBase & Pick<WithAnchorElementAttributes, "download" | "target" | "rel"> & {
|
|
72
|
+
sectionHeadline?: false;
|
|
73
|
+
sectionHeadlineIcon?: never;
|
|
74
|
+
/** URL or path to navigate to. */
|
|
75
|
+
to: string;
|
|
76
|
+
handler?: never;
|
|
40
77
|
};
|
|
78
|
+
/**
|
|
79
|
+
* A menu item.
|
|
80
|
+
*
|
|
81
|
+
* Discriminated union of three variants:
|
|
82
|
+
* - {@link KdsMenuSectionHeadlineItem} (`sectionHeadline: true`)
|
|
83
|
+
* - {@link KdsMenuActionItem} (optional `handler`)
|
|
84
|
+
* - {@link KdsMenuLinkItem} (`to` URL/path, optionally with
|
|
85
|
+
* `target`/`rel`/`download`)
|
|
86
|
+
*
|
|
87
|
+
* `handler` and `to` are mutually exclusive — link items navigate via the
|
|
88
|
+
* rendered anchor, action items invoke the callback.
|
|
89
|
+
*/
|
|
90
|
+
export type KdsMenuItem = KdsMenuSectionHeadlineItem | KdsMenuActionItem | KdsMenuLinkItem;
|
|
41
91
|
export type KdsMenuContainerProps = {
|
|
42
92
|
/** id of the menu to be linked via aria-controls */
|
|
43
93
|
id: string;
|
|
@@ -59,5 +109,13 @@ export type KdsMenuContainerExpose = {
|
|
|
59
109
|
/** Moves focus to the menu list */
|
|
60
110
|
focus: () => void;
|
|
61
111
|
};
|
|
112
|
+
export type KdsMenuItemExpose = {
|
|
113
|
+
/**
|
|
114
|
+
* Programmatically click the rendered link element. No-op for non-link or
|
|
115
|
+
* disabled items. Used by `KdsMenuContainer` to forward keyboard activation
|
|
116
|
+
* to the anchor so the link/router component performs the navigation.
|
|
117
|
+
*/
|
|
118
|
+
clickLink: () => void;
|
|
119
|
+
};
|
|
62
120
|
export {};
|
|
63
121
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/containers/MenuContainer/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACtE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;AAClE,OAAO,KAAK,EACV,kBAAkB,EAClB,gBAAgB,EAChB,sBAAsB,EACvB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAC;AAE3D,KAAK,oBAAoB,GACrB,gBAAgB,GAChB,sBAAsB,GACtB,kBAAkB,CAAC;AAEvB,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/containers/MenuContainer/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe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B,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;;;OAIG;IACH,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB,CAAC"}
|
|
@@ -6,5 +6,5 @@ export * from './ContextMenu';
|
|
|
6
6
|
export type * from './ContextMenu';
|
|
7
7
|
export * from './PreviewList';
|
|
8
8
|
export type * from './PreviewList';
|
|
9
|
-
export type { KdsMenuItem } from './MenuContainer/types';
|
|
9
|
+
export type { KdsMenuActionItem, KdsMenuItem, KdsMenuLinkItem, KdsMenuSectionHeadlineItem, } from './MenuContainer/types';
|
|
10
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/containers/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,mBAAmB,iBAAiB,CAAC;AAErC,cAAc,QAAQ,CAAC;AACvB,mBAAmB,QAAQ,CAAC;AAE5B,cAAc,eAAe,CAAC;AAC9B,mBAAmB,eAAe,CAAC;AAEnC,cAAc,eAAe,CAAC;AAC9B,mBAAmB,eAAe,CAAC;AAEnC,YAAY,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/containers/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,mBAAmB,iBAAiB,CAAC;AAErC,cAAc,QAAQ,CAAC;AACvB,mBAAmB,QAAQ,CAAC;AAE5B,cAAc,eAAe,CAAC;AAC9B,mBAAmB,eAAe,CAAC;AAEnC,cAAc,eAAe,CAAC;AAC9B,mBAAmB,eAAe,CAAC;AAEnC,YAAY,EACV,iBAAiB,EACjB,WAAW,EACX,eAAe,EACf,0BAA0B,GAC3B,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BreadcrumbItemProps, KdsBreadcrumbButtonItem } from './types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<BreadcrumbItemProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
|
+
itemClick: (item: KdsBreadcrumbButtonItem) => any;
|
|
4
|
+
}, string, import('vue').PublicProps, Readonly<BreadcrumbItemProps> & Readonly<{
|
|
5
|
+
onItemClick?: ((item: KdsBreadcrumbButtonItem) => any) | undefined;
|
|
6
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
export default _default;
|
|
8
|
+
//# sourceMappingURL=BreadcrumbItem.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BreadcrumbItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/layouts/Breadcrumb/BreadcrumbItem.vue"],"names":[],"mappings":"AAiJA,OAAO,KAAK,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;;;;;;AAwK5E,wBAOG"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { KdsBreadcrumbProps } from './types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<KdsBreadcrumbProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<KdsBreadcrumbProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
3
|
+
listRef: HTMLOListElement;
|
|
4
|
+
}, any>;
|
|
5
|
+
export default _default;
|
|
6
|
+
//# sourceMappingURL=KdsBreadcrumb.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdsBreadcrumb.vue.d.ts","sourceRoot":"","sources":["../../../../src/layouts/Breadcrumb/KdsBreadcrumb.vue"],"names":[],"mappings":"AA4HA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;;;;AAmHlD,wBAOG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/layouts/Breadcrumb/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAC/D,YAAY,EACV,iBAAiB,EACjB,qBAAqB,EACrB,uBAAuB,EACvB,uBAAuB,EACvB,kBAAkB,GACnB,MAAM,SAAS,CAAC"}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { KdsIconName } from '../../accessories/Icon/types';
|
|
2
|
+
type KdsBreadcrumbLabelledItem = {
|
|
3
|
+
/**
|
|
4
|
+
* The text shown for the breadcrumb item.
|
|
5
|
+
*/
|
|
6
|
+
text: string;
|
|
7
|
+
ariaLabel?: never;
|
|
8
|
+
} | {
|
|
9
|
+
text?: never;
|
|
10
|
+
/**
|
|
11
|
+
* Accessible label used when no visible text is rendered.
|
|
12
|
+
*/
|
|
13
|
+
ariaLabel: string;
|
|
14
|
+
};
|
|
15
|
+
type BaseBreadcrumbItem = {
|
|
16
|
+
/**
|
|
17
|
+
* Optional KDS icon rendered before the item label.
|
|
18
|
+
*/
|
|
19
|
+
leadingIcon?: KdsIconName;
|
|
20
|
+
/**
|
|
21
|
+
* Optional title attribute shown on hover.
|
|
22
|
+
*/
|
|
23
|
+
title?: string;
|
|
24
|
+
} & KdsBreadcrumbLabelledItem;
|
|
25
|
+
export type KdsBreadcrumbLinkItem = BaseBreadcrumbItem & {
|
|
26
|
+
/**
|
|
27
|
+
* Link target. Required for link items.
|
|
28
|
+
*/
|
|
29
|
+
to: string;
|
|
30
|
+
handler?: never;
|
|
31
|
+
};
|
|
32
|
+
export type KdsBreadcrumbButtonItem = BaseBreadcrumbItem & {
|
|
33
|
+
/**
|
|
34
|
+
* Click handler for the breadcrumb item.
|
|
35
|
+
*/
|
|
36
|
+
handler: (item: KdsBreadcrumbButtonItem) => void;
|
|
37
|
+
to?: never;
|
|
38
|
+
};
|
|
39
|
+
export type KdsBreadcrumbStaticItem = BaseBreadcrumbItem & {
|
|
40
|
+
handler?: never;
|
|
41
|
+
to?: never;
|
|
42
|
+
};
|
|
43
|
+
export type KdsBreadcrumbItem = KdsBreadcrumbLinkItem | KdsBreadcrumbButtonItem | KdsBreadcrumbStaticItem;
|
|
44
|
+
export type BreadcrumbItemProps = {
|
|
45
|
+
item: KdsBreadcrumbItem;
|
|
46
|
+
isCurrentItem: boolean;
|
|
47
|
+
};
|
|
48
|
+
export type KdsBreadcrumbProps = {
|
|
49
|
+
/**
|
|
50
|
+
* Breadcrumb path items from root to current. Items can include links,
|
|
51
|
+
* click handlers, leading icons, and titles. If an item has
|
|
52
|
+
* no visible text, it must provide ariaLabel so it remains accessible.
|
|
53
|
+
*/
|
|
54
|
+
items: KdsBreadcrumbItem[];
|
|
55
|
+
/**
|
|
56
|
+
* Accessible label for the breadcrumb landmark. Fallbacks to "Breadcrumb".
|
|
57
|
+
*/
|
|
58
|
+
ariaLabel?: string;
|
|
59
|
+
};
|
|
60
|
+
export {};
|
|
61
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/layouts/Breadcrumb/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAEhE,KAAK,yBAAyB,GAC1B;IACE;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,CAAC,EAAE,KAAK,CAAC;CACnB,GACD;IACE,IAAI,CAAC,EAAE,KAAK,CAAC;IACb;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEN,KAAK,kBAAkB,GAAG;IACxB;;OAEG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,GAAG,yBAAyB,CAAC;AAE9B,MAAM,MAAM,qBAAqB,GAAG,kBAAkB,GAAG;IACvD;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX,OAAO,CAAC,EAAE,KAAK,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,kBAAkB,GAAG;IACzD;;OAEG;IACH,OAAO,EAAE,CAAC,IAAI,EAAE,uBAAuB,KAAK,IAAI,CAAC;IACjD,EAAE,CAAC,EAAE,KAAK,CAAC;CACZ,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG,kBAAkB,GAAG;IACzD,OAAO,CAAC,EAAE,KAAK,CAAC;IAChB,EAAE,CAAC,EAAE,KAAK,CAAC;CACZ,CAAC;AAEF,MAAM,MAAM,iBAAiB,GACzB,qBAAqB,GACrB,uBAAuB,GACvB,uBAAuB,CAAC;AAE5B,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,EAAE,iBAAiB,CAAC;IACxB,aAAa,EAAE,OAAO,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;;;OAIG;IACH,KAAK,EAAE,iBAAiB,EAAE,CAAC;IAC3B;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Ref, ShallowRef } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Finder-style phased collapsing for a breadcrumb-like horizontal list.
|
|
4
|
+
*
|
|
5
|
+
* CSS `flex-shrink` cannot express a strict ordering ("don't touch the
|
|
6
|
+
* first/last items until every middle item is at its floor"), so we read each
|
|
7
|
+
* item's natural width and apply per-item caps to absorb the excess in three
|
|
8
|
+
* crisp phases:
|
|
9
|
+
* 1. Middle items shrink (proportionally to their natural width) until they
|
|
10
|
+
* all reach their floor.
|
|
11
|
+
* 2. Then the first (root) item shrinks down to its floor.
|
|
12
|
+
* 3. Then the last (current) item shrinks down to its floor.
|
|
13
|
+
*
|
|
14
|
+
* The per-item floor is defined statically via the CSS `min-width` of each
|
|
15
|
+
* `<li>` (leading icon + chevron + spacing, with a smaller value for the
|
|
16
|
+
* chevron-less last item). The composable simply reads that computed value.
|
|
17
|
+
*
|
|
18
|
+
* Results are exposed through two CSS custom properties on each `<li>`:
|
|
19
|
+
* - `--kds-bc-max-width`: resting cap (omitted when the item fits naturally)
|
|
20
|
+
* - `--kds-bc-natural-width`: full intrinsic width (used by a `:hover` /
|
|
21
|
+
* `:focus-within` rule to expand the item back to its natural width and
|
|
22
|
+
* push the following items past the clipped right edge of the list).
|
|
23
|
+
*
|
|
24
|
+
* @param listRef Template ref for the flex container (`<ol>`).
|
|
25
|
+
* @param itemRefs Collected refs for each list item (`<li>`).
|
|
26
|
+
* @param itemsSource Reactive accessor whose change should trigger a relayout
|
|
27
|
+
* (typically `() => props.items`).
|
|
28
|
+
*/
|
|
29
|
+
export declare const useBreadcrumbAdaptiveLayout: (listRef: Readonly<ShallowRef<HTMLElement | null>>, itemRefs: Readonly<Ref<HTMLLIElement[]>>, itemsSource: () => unknown) => void;
|
|
30
|
+
//# sourceMappingURL=useBreadcrumbAdaptiveLayout.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useBreadcrumbAdaptiveLayout.d.ts","sourceRoot":"","sources":["../../../../src/layouts/Breadcrumb/useBreadcrumbAdaptiveLayout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,GAAG,EAAE,KAAK,UAAU,EAAmB,MAAM,KAAK,CAAC;AAGjE;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,eAAO,MAAM,2BAA2B,GACtC,SAAS,QAAQ,CAAC,UAAU,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC,EACjD,UAAU,QAAQ,CAAC,GAAG,CAAC,aAAa,EAAE,CAAC,CAAC,EACxC,aAAa,MAAM,OAAO,SA8H3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsPanel.vue.d.ts","sourceRoot":"","sources":["../../../../src/layouts/Panel/KdsPanel.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KdsPanel.vue.d.ts","sourceRoot":"","sources":["../../../../src/layouts/Panel/KdsPanel.vue"],"names":[],"mappings":"AAoOA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAuC7C,iBAAS,cAAc;WAqPT,OAAO,IAA6B;;kBA7QtC,CAAC,KAAK,EAAE;YAAE,UAAU,CAAC,EAAE,MAAM,CAAA;SAAE,KAAK,OAAO;;kBAA3C,CAAC,KAAK,EAAE;YAAE,UAAU,CAAC,EAAE,MAAM,CAAA;SAAE,KAAK,OAAO;;;;EAkRtD;AAkBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,iTAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/layouts/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,mBAAmB,cAAc,CAAC;AAElC,cAAc,aAAa,CAAC;AAC5B,mBAAmB,aAAa,CAAC;AAEjC,cAAc,QAAQ,CAAC;AACvB,mBAAmB,QAAQ,CAAC;AAE5B,cAAc,SAAS,CAAC;AACxB,mBAAmB,SAAS,CAAC;AAE7B,cAAc,UAAU,CAAC;AACzB,mBAAmB,UAAU,CAAC;AAE9B,cAAc,mBAAmB,CAAC;AAClC,mBAAmB,mBAAmB,CAAC;AAEvC,cAAc,cAAc,CAAC;AAC7B,mBAAmB,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/layouts/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,mBAAmB,cAAc,CAAC;AAElC,cAAc,aAAa,CAAC;AAC5B,mBAAmB,aAAa,CAAC;AAEjC,cAAc,QAAQ,CAAC;AACvB,mBAAmB,QAAQ,CAAC;AAE5B,cAAc,SAAS,CAAC;AACxB,mBAAmB,SAAS,CAAC;AAE7B,cAAc,UAAU,CAAC;AACzB,mBAAmB,UAAU,CAAC;AAE9B,cAAc,mBAAmB,CAAC;AAClC,mBAAmB,mBAAmB,CAAC;AAEvC,cAAc,cAAc,CAAC;AAC7B,mBAAmB,cAAc,CAAC;AAElC,cAAc,cAAc,CAAC;AAC7B,mBAAmB,cAAc,CAAC"}
|
|
@@ -4,7 +4,7 @@ declare function __VLS_template(): {
|
|
|
4
4
|
slots: {
|
|
5
5
|
default?(_: {
|
|
6
6
|
headline: string;
|
|
7
|
-
leadingIcon: "filter" | "link" | "menu" | "time" | "stop" | "text" | "key" | "add-user" | "ai-general" | "annotation-mode" | "arrow-down" | "arrow-up" | "arrows-expand" | "arrows-move" | "arrows-order" | "back" | "bold" | "calendar" | "case-sensitive" | "center-aligned" | "checkmark" | "chevron-down" | "chevron-left-double" | "chevron-left" | "chevron-right-double" | "chevron-right" | "chevron-up" | "circle-error" | "circle-info" | "circle-question" | "circle-success" | "circle-unchecked" | "cloud-download" | "cloud-knime" | "cloud-pending-changes" | "cloud-synced" | "cloud-upload" | "cloud-workflow" | "code-block" | "collection" | "color-picker" | "comment" | "component" | "connection" | "copy" | "cursor" | "data-app" | "data-value-view" | "date-time" | "db-browse" | "db-database" | "db-fetch" | "db-schema" | "db-table-view" | "db-table" | "deploy" | "detect" | "divider" | "duration" | "edit" | "education" | "error-panel" | "execute-all" | "execute" | "expand-panel" | "extension-community" | "extension" | "external-link" | "eye" | "file-export" | "file-text" | "file" | "flow-variable-default" | "flow-variable-in-out" | "flow-variable-in" | "flow-variable-out" | "folder-plus" | "folder-search" | "folder-workflow" | "folder" | "forum" | "function-catalog" | "hide-eye" | "home" | "import" | "info" | "interval" | "italic" | "layout-editor" | "left-aligned" | "like" | "limit" | "linked-metanode" | "list-bulletpoint" | "list-number" | "list-thumbs" | "list" | "local-filesystem" | "lock" | "metanode" | "mini-map" | "minimize-dialog" | "minimize-side-panel" | "minus" | "more-actions" | "node-stack" | "nodes-align-horiz" | "nodes-align-vert" | "open-in-new-window" | "pan-mode" | "parameter" | "pending-changes" | "pin" | "placeholder" | "plus" | "python" | "quote" | "re-execution" | "redo" | "regex" | "reload" | "rename" | "replace" | "reset-all" | "resume-execution" | "right-aligned" | "rocket" | "save-as" | "save" | "schedule" | "search" | "secret-store" | "selected-cancel" | "selected-execution" | "selected-reset" | "send" | "server-rack-workflow" | "service" | "settings" | "share" | "shortcuts" | "sort-ascending" | "sort-descending" | "space-local" | "space-private" | "space" | "stepwise-execution" | "strikethrough" | "tag" | "team" | "template-gallery" | "textstyles" | "thumbs-down" | "thumbs-up" | "to-bottom" | "to-top" | "trash" | "trigger" | "underline" | "undo" | "unlink" | "usage" | "user" | "version" | "view-cards" | "warning" | "workflow" | "x-close" | undefined;
|
|
7
|
+
leadingIcon: "filter" | "link" | "menu" | "time" | "stop" | "text" | "key" | "add-user" | "ai-general" | "annotation-mode" | "arrow-down" | "arrow-up" | "arrows-expand" | "arrows-move" | "arrows-order" | "auto-configure" | "back" | "bold" | "calendar" | "case-sensitive" | "cell-renderer" | "center-aligned" | "checkmark" | "chevron-down" | "chevron-left-double" | "chevron-left" | "chevron-right-double" | "chevron-right" | "chevron-up" | "circle-error" | "circle-info" | "circle-question" | "circle-success" | "circle-unchecked" | "cloud-download" | "cloud-knime" | "cloud-pending-changes" | "cloud-synced" | "cloud-upload" | "cloud-workflow" | "code-block" | "collection" | "color-picker" | "column-width" | "comment" | "component" | "connection" | "copy" | "cursor" | "data-app" | "data-value-view" | "date-time" | "db-browse" | "db-database" | "db-fetch" | "db-schema" | "db-table-view" | "db-table" | "deploy" | "detect" | "divider" | "duration" | "edit" | "education" | "error-panel" | "execute-all" | "execute" | "expand-panel" | "extension-community" | "extension" | "external-link" | "eye" | "file-export" | "file-text" | "file" | "flow-variable-default" | "flow-variable-in-out" | "flow-variable-in" | "flow-variable-out" | "folder-plus" | "folder-search" | "folder-workflow" | "folder" | "forum" | "function-catalog" | "hide-eye" | "home" | "import" | "info" | "interval" | "italic" | "layout-editor" | "left-aligned" | "like" | "limit" | "linked-metanode" | "list-bulletpoint" | "list-number" | "list-thumbs" | "list" | "local-filesystem" | "lock" | "metanode" | "mini-map" | "minimize-dialog" | "minimize-side-panel" | "minus" | "more-actions" | "node-stack" | "nodes-align-horiz" | "nodes-align-vert" | "open-in-new-window" | "pan-mode" | "parameter" | "path-separator" | "pending-changes" | "pin" | "placeholder" | "plus" | "python" | "quote" | "re-execution" | "redo" | "regex" | "reload" | "rename" | "replace" | "reset-all" | "resume-execution" | "right-aligned" | "rocket" | "save-as" | "save" | "schedule" | "search" | "secret-store" | "selected-cancel" | "selected-execution" | "selected-reset" | "send" | "server-rack-workflow" | "service" | "settings" | "share" | "shortcuts" | "sort-ascending" | "sort-descending" | "space-local" | "space-private" | "space" | "stepwise-execution" | "strikethrough" | "table-statistics" | "tag" | "team" | "template-gallery" | "textstyles" | "thumbs-down" | "thumbs-up" | "to-bottom" | "to-top" | "trash" | "trigger" | "underline" | "undo" | "unlink" | "usage" | "user" | "version" | "view-cards" | "warning" | "workflow" | "x-close" | undefined;
|
|
8
8
|
variant: import('./types').KdsModalVariant;
|
|
9
9
|
overflow: "auto" | "hidden" | "visible";
|
|
10
10
|
onClose: (event?: Event) => void;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { openBlock, createElementBlock, createElementVNode } from 'vue';
|
|
2
|
+
|
|
3
|
+
const _hoisted_1 = {
|
|
4
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5
|
+
fill: "none",
|
|
6
|
+
stroke: "currentColor",
|
|
7
|
+
"stroke-linecap": "round",
|
|
8
|
+
"stroke-linejoin": "round",
|
|
9
|
+
viewBox: "0 0 12 12"
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
function render(_ctx, _cache) {
|
|
13
|
+
return (openBlock(), createElementBlock("svg", _hoisted_1, [...(_cache[0] || (_cache[0] = [
|
|
14
|
+
createElementVNode("path", {
|
|
15
|
+
d: "M4.286 8.453V4.646M6 8.453v-.761m1.714.761V6.169M3.531 1.25h-.388A1.14 1.14 0 0 0 2 2.395v7.462C2 10.488 2.512 11 3.143 11h5.714C9.488 11 10 10.488 10 9.857V2.395A1.146 1.146 0 0 0 8.857 1.25h-.326m-5 0c0 .354.287.64.64.64h3.72a.64.64 0 0 0 .64-.64m-5 0a.61.61 0 0 1 .61-.61h3.78a.61.61 0 0 1 .61.61",
|
|
16
|
+
"vector-effect": "non-scaling-stroke"
|
|
17
|
+
}, null, -1)
|
|
18
|
+
]))]))
|
|
19
|
+
}
|
|
20
|
+
const tableStatistics = { render: render };
|
|
21
|
+
|
|
22
|
+
export { tableStatistics as default, render };
|
|
23
|
+
//# sourceMappingURL=table-statistics-y-P6EXGX.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"table-statistics-y-P6EXGX.js","sources":["../../styles/dist/img/icons/table-statistics.svg"],"sourcesContent":["import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = {\n xmlns: \"http://www.w3.org/2000/svg\",\n fill: \"none\",\n stroke: \"currentColor\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\",\n viewBox: \"0 0 12 12\"\n}\n\nexport function render(_ctx, _cache) {\n return (_openBlock(), _createElementBlock(\"svg\", _hoisted_1, [...(_cache[0] || (_cache[0] = [\n _createElementVNode(\"path\", {\n d: \"M4.286 8.453V4.646M6 8.453v-.761m1.714.761V6.169M3.531 1.25h-.388A1.14 1.14 0 0 0 2 2.395v7.462C2 10.488 2.512 11 3.143 11h5.714C9.488 11 10 10.488 10 9.857V2.395A1.146 1.146 0 0 0 8.857 1.25h-.326m-5 0c0 .354.287.64.64.64h3.72a.64.64 0 0 0 .64-.64m-5 0a.61.61 0 0 1 .61-.61h3.78a.61.61 0 0 1 .61.61\",\n \"vector-effect\": \"non-scaling-stroke\"\n }, null, -1)\n ]))]))\n}\nexport default { render: render }"],"names":["_openBlock","_createElementBlock","_createElementVNode"],"mappings":";;AAEA,MAAM,UAAU,GAAG;AACnB,EAAE,KAAK,EAAE,4BAA4B;AACrC,EAAE,IAAI,EAAE,MAAM;AACd,EAAE,MAAM,EAAE,cAAc;AACxB,EAAE,gBAAgB,EAAE,OAAO;AAC3B,EAAE,iBAAiB,EAAE,OAAO;AAC5B,EAAE,OAAO,EAAE;AACX;;AAEO,SAAS,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE;AACrC,EAAE,QAAQA,SAAU,EAAE,EAAEC,kBAAmB,CAAC,KAAK,EAAE,UAAU,EAAE,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC,CAAC,CAAC,GAAG;AAC9F,IAAIC,kBAAmB,CAAC,MAAM,EAAE;AAChC,MAAM,CAAC,EAAE,6SAA6S;AACtT,MAAM,eAAe,EAAE;AACvB,KAAK,EAAE,IAAI,EAAE,EAAE;AACf,GAAG,CAAC,CAAC,CAAC,CAAC;AACP;AACA,wBAAe,EAAE,MAAM,EAAE,MAAM;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knime/kds-components",
|
|
3
|
-
"version": "0.28.
|
|
3
|
+
"version": "0.28.7",
|
|
4
4
|
"description": "Package containing basic Vue components of the KNIME Design System",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"consola": "^3.4.2",
|
|
39
39
|
"pretty-bytes": "^7.1.0",
|
|
40
40
|
"temporal-polyfill": "^0.3.2",
|
|
41
|
-
"@knime/kds-styles": "^0.28.
|
|
41
|
+
"@knime/kds-styles": "^0.28.7"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@storybook/vue3-vite": "^10.3.6",
|