@kubex/zinc 1.0.113 → 1.0.115
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/.github/workflows/eleventy_build.yml +5 -5
- package/.github/workflows/js_build_and_deploy.yaml +1 -1
- package/dist/custom-elements.json +2422 -190
- package/dist/vscode.html-custom-data.json +86 -5
- package/dist/web-types.json +251 -9
- package/dist/zn.d.ts +518 -340
- package/dist/zn.min.css +1 -1
- package/dist/zn.min.js +960 -882
- package/docs/eleventy.config.cjs +4 -2
- package/docs/pages/components/header.md +13 -0
- package/docs/pages/components/inline-edit.md +20 -0
- package/docs/pages/components/item.md +12 -1
- package/docs/pages/components/page.md +149 -0
- package/docs/pages/components/progress-bar.md +16 -0
- package/docs/pages/components/select.md +25 -0
- package/docs/pages/components/split-pane.md +6 -7
- package/docs/pages/components/tabs.md +59 -9
- package/package.json +8 -5
- package/scripts/build.js +40 -19
- package/scss/_global-spacing.scss +12 -1
- package/scss/_root.scss +34 -2
- package/scss/mixins/_spacing-mixins.scss +1 -1
- package/scss/shared/layout.scss +15 -2
- package/scss/themes/_light.scss +1 -1
- package/src/components/absolute-container/absolute-container.component.ts +9 -25
- package/src/components/animated-button/animated-button.test.ts +8 -8
- package/src/components/button/button.component.ts +3 -1
- package/src/components/button/button.scss +5 -0
- package/src/components/button-menu/button-menu.component.ts +36 -21
- package/src/components/button-menu/button-menu.test.ts +55 -1
- package/src/components/chart/chart.component.ts +7 -7
- package/src/components/collapsible/collapsible.component.ts +7 -14
- package/src/components/cols/cols.scss +1 -1
- package/src/components/content-block/content-block.component.ts +11 -33
- package/src/components/data-select/data-select.component.ts +7 -11
- package/src/components/data-select/data-select.scss +1 -0
- package/src/components/data-table/data-table.component.ts +10 -14
- package/src/components/dialog/dialog.scss +4 -0
- package/src/components/editor/modules/toolbar/toolbar.component.ts +5 -9
- package/src/components/expanding-action/expanding-action.component.ts +37 -43
- package/src/components/form-group/form-group.component.ts +32 -27
- package/src/components/form-group/form-group.scss +1 -0
- package/src/components/header/header.component.ts +6 -5
- package/src/components/header/header.scss +28 -26
- package/src/components/inline-edit/inline-edit.component.ts +13 -1
- package/src/components/inline-edit/inline-edit.test.ts +50 -0
- package/src/components/input/input.test.ts +77 -0
- package/src/components/input-group/input-group.test.ts +2 -10
- package/src/components/item/item.component.ts +12 -6
- package/src/components/item/item.scss +1 -1
- package/src/components/item/item.test.ts +8 -0
- package/src/components/navbar/navbar.component.ts +222 -48
- package/src/components/navbar/navbar.scss +134 -21
- package/src/components/navbar/navbar.test.ts +114 -9
- package/src/components/option/option.scss +5 -7
- package/src/components/option/option.test.ts +30 -0
- package/src/components/page/index.ts +13 -0
- package/src/components/page/page.component.ts +406 -0
- package/src/components/page/page.scss +325 -0
- package/src/components/page/page.test.ts +397 -0
- package/src/components/page-nav/page-nav.scss +7 -5
- package/src/components/pane/pane.component.ts +2 -2
- package/src/components/pane/pane.scss +0 -1
- package/src/components/pane/pane.test.ts +31 -0
- package/src/components/panel/panel.scss +5 -16
- package/src/components/progress-bar/progress-bar.component.ts +5 -2
- package/src/components/progress-bar/progress-bar.scss +17 -1
- package/src/components/progress-bar/progress-bar.test.ts +12 -0
- package/src/components/scroll-container/scroll-container.component.ts +22 -21
- package/src/components/select/select.component.ts +243 -39
- package/src/components/select/select.scss +36 -5
- package/src/components/select/select.test.ts +533 -0
- package/src/components/settings-container/settings-container.component.ts +15 -19
- package/src/components/settings-container/settings-container.scss +8 -8
- package/src/components/sidebar/sidebar.component.ts +11 -11
- package/src/components/simple-chart/simple-chart.component.ts +6 -7
- package/src/components/sp/sp.scss +46 -15
- package/src/components/sp/sp.test.ts +15 -0
- package/src/components/split-pane/split-pane.component.ts +153 -26
- package/src/components/split-pane/split-pane.scss +89 -13
- package/src/components/split-pane/split-pane.test.ts +187 -0
- package/src/components/style/style.component.ts +8 -0
- package/src/components/tab/index.ts +13 -0
- package/src/components/tab/tab.component.ts +25 -0
- package/src/components/tab/tab.scss +7 -0
- package/src/components/table/table.component.ts +7 -2
- package/src/components/table/table.scss +1 -0
- package/src/components/tabs/tabs.component.ts +75 -70
- package/src/components/tabs/tabs.scss +1 -1
- package/src/components/textarea/textarea.component.ts +5 -8
- package/src/components/tile/tile.scss +2 -2
- package/src/components/translation-group/translation-group.component.ts +15 -14
- package/src/components/translations/translations.component.ts +18 -17
- package/src/components/translations/translations.scss +1 -0
- package/src/components/translations/translations.test.ts +3 -2
- package/src/internal/form.ts +234 -0
- package/src/internal/theme.ts +26 -46
- package/src/internal/zinc-element.ts +12 -7
- package/src/utilities/form.ts +1 -0
- package/src/wc.scss +1 -1
- package/src/zinc.ts +3 -0
package/dist/zn.d.ts
CHANGED
|
@@ -36,33 +36,10 @@ declare module "internal/tabbable" {
|
|
|
36
36
|
export function getTabbableElements(root: HTMLElement | ShadowRoot): HTMLElement[];
|
|
37
37
|
}
|
|
38
38
|
declare module "internal/theme" {
|
|
39
|
-
import
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
*
|
|
44
|
-
* if you want to reflect the theme attribute to the host element, you can use
|
|
45
|
-
* the following code:
|
|
46
|
-
*
|
|
47
|
-
* ```ts
|
|
48
|
-
* import { ThemeController } from "@zinc/internal/theme";
|
|
49
|
-
*
|
|
50
|
-
* export default class MyElement extends HTMLElement {
|
|
51
|
-
* @property({ reflect: true }) t = '';
|
|
52
|
-
* ...
|
|
53
|
-
* ```
|
|
54
|
-
*/
|
|
55
|
-
export class ThemeController implements ReactiveController {
|
|
56
|
-
host: ReactiveControllerHost & HTMLElement;
|
|
57
|
-
t: string;
|
|
58
|
-
constructor(host: ReactiveControllerHost & HTMLElement);
|
|
59
|
-
hostConnected(): void;
|
|
60
|
-
hostDisconnected(): void;
|
|
61
|
-
handleThemeEventUpdate: (e: CustomEvent & {
|
|
62
|
-
theme: string;
|
|
63
|
-
}) => void;
|
|
64
|
-
getDefaultTheme: () => void;
|
|
65
|
-
}
|
|
39
|
+
import { SignalWatcher } from '@lit-labs/signals';
|
|
40
|
+
export const themeSignal: import("@lit-labs/signals").Signal.State<string>;
|
|
41
|
+
export function installThemeListener(): void;
|
|
42
|
+
export { SignalWatcher };
|
|
66
43
|
}
|
|
67
44
|
declare module "internal/event" {
|
|
68
45
|
export type EventTypeRequiresDetail<T> = T extends keyof GlobalEventHandlersEventMap ? GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, unknown>> ? GlobalEventHandlersEventMap[T] extends CustomEvent<Record<PropertyKey, never>> ? never : Partial<GlobalEventHandlersEventMap[T]['detail']> extends GlobalEventHandlersEventMap[T]['detail'] ? never : T : never : never;
|
|
@@ -82,12 +59,14 @@ declare module "internal/event" {
|
|
|
82
59
|
export function waitForEvent(el: HTMLElement, eventName: string): Promise<void>;
|
|
83
60
|
}
|
|
84
61
|
declare module "internal/zinc-element" {
|
|
85
|
-
import { LitElement } from "lit";
|
|
62
|
+
import { LitElement, type PropertyValues } from "lit";
|
|
86
63
|
import type { EventTypeDoesNotRequireDetail, EventTypeRequiresDetail, EventTypesWithoutRequiredDetail, EventTypesWithRequiredDetail, GetCustomEventType, ZincEventInit } from "internal/event";
|
|
87
|
-
|
|
64
|
+
const ZincElement_base: typeof LitElement & (new (...args: any[]) => import("@lit-labs/signals").SignalWatcherApi);
|
|
65
|
+
export default class ZincElement extends ZincElement_base {
|
|
88
66
|
dir: string;
|
|
89
67
|
lang: string;
|
|
90
68
|
t: string;
|
|
69
|
+
protected willUpdate(changed: PropertyValues): void;
|
|
91
70
|
static define(name: string, elementConstructor?: typeof ZincElement, options?: ElementDefinitionOptions): void;
|
|
92
71
|
static dependencies: Record<string, typeof ZincElement>;
|
|
93
72
|
constructor();
|
|
@@ -101,6 +80,7 @@ declare module "internal/zinc-element" {
|
|
|
101
80
|
defaultValue?: unknown;
|
|
102
81
|
defaultChecked?: boolean;
|
|
103
82
|
form?: string;
|
|
83
|
+
storeKey?: string;
|
|
104
84
|
pattern?: string;
|
|
105
85
|
min?: number | string | Date;
|
|
106
86
|
max?: number | string | Date;
|
|
@@ -142,11 +122,26 @@ declare module "internal/form-navigation" {
|
|
|
142
122
|
*/
|
|
143
123
|
export function getFormNavigationController(form: HTMLFormElement): FormNavigationController;
|
|
144
124
|
}
|
|
125
|
+
declare module "internal/storage" {
|
|
126
|
+
export class Store {
|
|
127
|
+
storage: Storage;
|
|
128
|
+
prefix: string;
|
|
129
|
+
ttl: number;
|
|
130
|
+
constructor(storage: Storage, prefix: string, ttl?: number);
|
|
131
|
+
get(key: string): null | string;
|
|
132
|
+
stripTtl(value: string | null): null | string;
|
|
133
|
+
setWithTTL(key: string, value: string, ttl: number): void;
|
|
134
|
+
set(key: string, value: string): void;
|
|
135
|
+
remove(key: string): void;
|
|
136
|
+
cleanup(): void;
|
|
137
|
+
}
|
|
138
|
+
}
|
|
145
139
|
declare module "internal/form" {
|
|
146
140
|
import type { ReactiveController, ReactiveControllerHost } from "lit";
|
|
147
141
|
import type { ZincFormControl } from "internal/zinc-element";
|
|
148
142
|
import type Button from "components/button/index";
|
|
149
143
|
export const formCollections: WeakMap<HTMLFormElement, Set<ZincFormControl>>;
|
|
144
|
+
export function clearFormStoreValues(formOrStoreKey: HTMLFormElement | string): void;
|
|
150
145
|
export interface FormControlControllerOptions {
|
|
151
146
|
/** A function that returns the form containing the form control. */
|
|
152
147
|
form: (input: ZincFormControl) => HTMLFormElement | null;
|
|
@@ -190,6 +185,10 @@ declare module "internal/form" {
|
|
|
190
185
|
private enableSubmit;
|
|
191
186
|
private handleFormReset;
|
|
192
187
|
private handleInteraction;
|
|
188
|
+
private attachFormPersistence;
|
|
189
|
+
private detachFormPersistence;
|
|
190
|
+
private restorePersistedValue;
|
|
191
|
+
private persistHostValue;
|
|
193
192
|
private checkFormValidity;
|
|
194
193
|
private reportFormValidity;
|
|
195
194
|
private setUserInteracted;
|
|
@@ -460,7 +459,7 @@ declare module "components/popup/popup.component" {
|
|
|
460
459
|
/** Forces the popup to recalculate and reposition itself. */
|
|
461
460
|
reposition(): void;
|
|
462
461
|
private updateHoverBridge;
|
|
463
|
-
render(): import("lit").TemplateResult<1>;
|
|
462
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
464
463
|
}
|
|
465
464
|
}
|
|
466
465
|
declare module "components/popup/index" {
|
|
@@ -508,7 +507,7 @@ declare module "components/menu-item/submenu-controller" {
|
|
|
508
507
|
private disableSubmenu;
|
|
509
508
|
private updateSkidding;
|
|
510
509
|
isExpanded(): boolean;
|
|
511
|
-
renderSubmenu(): import("lit").TemplateResult<1>;
|
|
510
|
+
renderSubmenu(): import("lit-html").TemplateResult<1>;
|
|
512
511
|
}
|
|
513
512
|
}
|
|
514
513
|
declare module "utilities/sha256" {
|
|
@@ -557,7 +556,7 @@ declare module "components/icon/icon.component" {
|
|
|
557
556
|
connectedCallback(): void;
|
|
558
557
|
private applyHashFragment;
|
|
559
558
|
private normalizeRavatarEmail;
|
|
560
|
-
render(): import("lit").TemplateResult<1>;
|
|
559
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
561
560
|
private getAvatarInitials;
|
|
562
561
|
protected getColorForAvatar(avatarInitials: string): string;
|
|
563
562
|
}
|
|
@@ -647,7 +646,7 @@ declare module "components/menu-item/menu-item.component" {
|
|
|
647
646
|
getTextLabel(): string;
|
|
648
647
|
isSubmenu(): boolean;
|
|
649
648
|
private _isLink;
|
|
650
|
-
render(): import("lit").TemplateResult;
|
|
649
|
+
render(): import("lit-html").TemplateResult;
|
|
651
650
|
}
|
|
652
651
|
}
|
|
653
652
|
declare module "components/menu-item/index" {
|
|
@@ -787,7 +786,7 @@ declare module "components/dialog/dialog.component" {
|
|
|
787
786
|
/** Hides the dialog. */
|
|
788
787
|
hide(): void;
|
|
789
788
|
private closeClickHandler;
|
|
790
|
-
render(): import("lit").TemplateResult<1>;
|
|
789
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
791
790
|
}
|
|
792
791
|
}
|
|
793
792
|
declare module "components/dialog/index" {
|
|
@@ -865,7 +864,7 @@ declare module "components/confirm/confirm.component" {
|
|
|
865
864
|
updateTriggers(): void;
|
|
866
865
|
show: (event?: Event | undefined) => void;
|
|
867
866
|
hide(): void;
|
|
868
|
-
render(): import("lit").TemplateResult<1>;
|
|
867
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
869
868
|
submitDialog(): void;
|
|
870
869
|
}
|
|
871
870
|
}
|
|
@@ -929,7 +928,7 @@ declare module "components/tooltip/tooltip.component" {
|
|
|
929
928
|
handleDisabledChange(): void;
|
|
930
929
|
show(): Promise<void>;
|
|
931
930
|
hide(): void;
|
|
932
|
-
render(): import("lit").TemplateResult<1>;
|
|
931
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
933
932
|
}
|
|
934
933
|
}
|
|
935
934
|
declare module "components/tooltip/index" {
|
|
@@ -991,7 +990,7 @@ declare module "components/menu/menu.component" {
|
|
|
991
990
|
* `tabindex="-1"` to all other items. This method must be called prior to setting focus on a menu item.
|
|
992
991
|
*/
|
|
993
992
|
setCurrentItem(item: ZnMenuItem): void;
|
|
994
|
-
render(): import("lit").TemplateResult<1>;
|
|
993
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
995
994
|
private handleClick;
|
|
996
995
|
private handleKeyDown;
|
|
997
996
|
private handleMouseDown;
|
|
@@ -1084,7 +1083,7 @@ declare module "components/dropdown/dropdown.component" {
|
|
|
1084
1083
|
/** Aria related method */
|
|
1085
1084
|
private updateAccessibleTrigger;
|
|
1086
1085
|
handleOpenChange(): void;
|
|
1087
|
-
render(): import("lit").TemplateResult<1>;
|
|
1086
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
1088
1087
|
}
|
|
1089
1088
|
}
|
|
1090
1089
|
declare module "components/dropdown/index" {
|
|
@@ -1148,6 +1147,7 @@ declare module "components/button/button.component" {
|
|
|
1148
1147
|
disabled: boolean;
|
|
1149
1148
|
grow: boolean;
|
|
1150
1149
|
square: boolean;
|
|
1150
|
+
panelBackground: boolean;
|
|
1151
1151
|
dropdownCloser: boolean;
|
|
1152
1152
|
notification: number;
|
|
1153
1153
|
mutedNotifications: boolean;
|
|
@@ -1223,12 +1223,9 @@ declare module "components/absolute-container/absolute-container.component" {
|
|
|
1223
1223
|
*
|
|
1224
1224
|
*/
|
|
1225
1225
|
export default class ZnAbsoluteContainer extends ZincElement {
|
|
1226
|
-
|
|
1227
|
-
connectedCallback(): void;
|
|
1228
|
-
disconnectedCallback(): void;
|
|
1226
|
+
constructor();
|
|
1229
1227
|
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
1230
1228
|
resize(): void;
|
|
1231
|
-
observerDom(): void;
|
|
1232
1229
|
createRenderRoot(): this;
|
|
1233
1230
|
}
|
|
1234
1231
|
}
|
|
@@ -1242,20 +1239,6 @@ declare module "components/absolute-container/index" {
|
|
|
1242
1239
|
}
|
|
1243
1240
|
}
|
|
1244
1241
|
}
|
|
1245
|
-
declare module "internal/storage" {
|
|
1246
|
-
export class Store {
|
|
1247
|
-
storage: Storage;
|
|
1248
|
-
prefix: string;
|
|
1249
|
-
ttl: number;
|
|
1250
|
-
constructor(storage: Storage, prefix: string, ttl?: number);
|
|
1251
|
-
get(key: string): null | string;
|
|
1252
|
-
stripTtl(value: string | null): null | string;
|
|
1253
|
-
setWithTTL(key: string, value: string, ttl: number): void;
|
|
1254
|
-
set(key: string, value: string): void;
|
|
1255
|
-
remove(key: string): void;
|
|
1256
|
-
cleanup(): void;
|
|
1257
|
-
}
|
|
1258
|
-
}
|
|
1259
1242
|
declare module "events/zn-input" {
|
|
1260
1243
|
export type ZnInputEvent = CustomEvent<Record<PropertyKey, never>>;
|
|
1261
1244
|
global {
|
|
@@ -1325,7 +1308,7 @@ declare module "components/toggle/toggle.component" {
|
|
|
1325
1308
|
getForm(): HTMLFormElement | null;
|
|
1326
1309
|
reportValidity(): boolean;
|
|
1327
1310
|
setCustomValidity(message: string): void;
|
|
1328
|
-
render(): import("lit").TemplateResult<1>;
|
|
1311
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
1329
1312
|
}
|
|
1330
1313
|
}
|
|
1331
1314
|
declare module "components/toggle/index" {
|
|
@@ -1370,15 +1353,14 @@ declare module "components/collapsible/collapsible.component" {
|
|
|
1370
1353
|
numberOfItems: number;
|
|
1371
1354
|
protected _store: Store;
|
|
1372
1355
|
private readonly hasSlotController;
|
|
1373
|
-
private observer;
|
|
1356
|
+
private readonly observer;
|
|
1374
1357
|
private showArrow;
|
|
1375
1358
|
connectedCallback(): Promise<void>;
|
|
1376
1359
|
handleCaptionToggle: (e: ZnInputEvent) => void;
|
|
1377
1360
|
protected updated(changedProperties: PropertyValues): void;
|
|
1378
|
-
disconnectedCallback(): void;
|
|
1379
1361
|
handleCollapse: (e: MouseEvent) => void;
|
|
1380
1362
|
recalculateNumberOfItems: () => void;
|
|
1381
|
-
render(): import("lit").TemplateResult<1>;
|
|
1363
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
1382
1364
|
}
|
|
1383
1365
|
}
|
|
1384
1366
|
declare module "components/collapsible/index" {
|
|
@@ -1418,7 +1400,7 @@ declare module "components/alert/alert.component" {
|
|
|
1418
1400
|
collapse: boolean;
|
|
1419
1401
|
level: 'primary' | 'error' | 'info' | 'success' | 'warning' | 'note' | 'cosmic';
|
|
1420
1402
|
size: 'small' | 'medium' | 'large';
|
|
1421
|
-
render(): import("lit").TemplateResult<1>;
|
|
1403
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
1422
1404
|
hideAlert(): void;
|
|
1423
1405
|
}
|
|
1424
1406
|
}
|
|
@@ -1461,7 +1443,7 @@ declare module "components/button-group/button-group.component" {
|
|
|
1461
1443
|
gap: boolean;
|
|
1462
1444
|
defaultSlot: HTMLSlotElement;
|
|
1463
1445
|
private handleSlotChange;
|
|
1464
|
-
render(): import("lit").TemplateResult<1>;
|
|
1446
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
1465
1447
|
}
|
|
1466
1448
|
}
|
|
1467
1449
|
declare module "components/button-group/index" {
|
|
@@ -1505,7 +1487,7 @@ declare module "components/chip/chip.component" {
|
|
|
1505
1487
|
flushX: boolean;
|
|
1506
1488
|
flushY: boolean;
|
|
1507
1489
|
private readonly hasSlotController;
|
|
1508
|
-
render(): import("lit").TemplateResult<1>;
|
|
1490
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
1509
1491
|
}
|
|
1510
1492
|
}
|
|
1511
1493
|
declare module "components/chip/index" {
|
|
@@ -1534,7 +1516,7 @@ declare module "components/well/well.component" {
|
|
|
1534
1516
|
icon: string;
|
|
1535
1517
|
inline: boolean;
|
|
1536
1518
|
private readonly hasSlotController;
|
|
1537
|
-
render(): import("lit").TemplateResult<1>;
|
|
1519
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
1538
1520
|
}
|
|
1539
1521
|
}
|
|
1540
1522
|
declare module "components/well/index" {
|
|
@@ -1587,7 +1569,7 @@ declare module "components/copy-button/copy-button.component" {
|
|
|
1587
1569
|
* append a dot and the property name, e.g. `from="el.value"`.
|
|
1588
1570
|
*/
|
|
1589
1571
|
from: string;
|
|
1590
|
-
render(): import("lit").TemplateResult<1>;
|
|
1572
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
1591
1573
|
private showStatus;
|
|
1592
1574
|
private handleCopy;
|
|
1593
1575
|
}
|
|
@@ -1659,7 +1641,7 @@ declare module "components/data-table-filter/data-table-filter.component" {
|
|
|
1659
1641
|
handleQBReset: () => void;
|
|
1660
1642
|
handleQBUpdate: () => void;
|
|
1661
1643
|
closeSlideout(): void;
|
|
1662
|
-
render(): import("lit").TemplateResult<1>;
|
|
1644
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
1663
1645
|
}
|
|
1664
1646
|
}
|
|
1665
1647
|
declare module "components/data-table-filter/index" {
|
|
@@ -1884,7 +1866,7 @@ declare module "components/input/input.component" {
|
|
|
1884
1866
|
reportValidity(): boolean;
|
|
1885
1867
|
/** Sets a custom validation message. Pass an empty string to restore validity. */
|
|
1886
1868
|
setCustomValidity(message: string): void;
|
|
1887
|
-
render(): import("lit").TemplateResult<1>;
|
|
1869
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
1888
1870
|
}
|
|
1889
1871
|
}
|
|
1890
1872
|
declare module "components/input/index" {
|
|
@@ -1993,7 +1975,7 @@ declare module "components/option/option.component" {
|
|
|
1993
1975
|
handleSelectedChange(): void;
|
|
1994
1976
|
/** Returns a plain text label based on the option's content. */
|
|
1995
1977
|
getTextLabel(): string;
|
|
1996
|
-
render(): import("lit").TemplateResult<1>;
|
|
1978
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
1997
1979
|
}
|
|
1998
1980
|
}
|
|
1999
1981
|
declare module "components/option/index" {
|
|
@@ -2103,7 +2085,7 @@ declare module "components/opt-group/opt-group.component" {
|
|
|
2103
2085
|
handleDisabledChange(): void;
|
|
2104
2086
|
/** @internal - Updates visibility of the group based on whether any child options are visible. */
|
|
2105
2087
|
updateVisibility(): void;
|
|
2106
|
-
render(): import("lit").TemplateResult<1>;
|
|
2088
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
2107
2089
|
private handleSlotChange;
|
|
2108
2090
|
private propagateDisabled;
|
|
2109
2091
|
}
|
|
@@ -2219,10 +2201,13 @@ declare module "components/select/select.component" {
|
|
|
2219
2201
|
private inputPrefix;
|
|
2220
2202
|
/** @internal - current search/filter text when search is enabled (lowercased for matching) */
|
|
2221
2203
|
private _searchQuery;
|
|
2222
|
-
/** @internal - raw display value of the search input (preserves case for the input field)
|
|
2204
|
+
/** @internal - raw display value of the search input (preserves case for the input field). Reactive so the
|
|
2205
|
+
* free-text "Add" row re-renders on every keystroke, not just when the match/no-match state changes. */
|
|
2223
2206
|
private _searchDisplayValue;
|
|
2224
2207
|
/** @internal - whether the "no matching options" empty state is visible */
|
|
2225
2208
|
private _noResultsVisible;
|
|
2209
|
+
/** @internal - whether the free-text "Add" row is the active keyboard-navigation target */
|
|
2210
|
+
private _addOptionActive;
|
|
2226
2211
|
/** @internal */
|
|
2227
2212
|
private _fetchedOptions;
|
|
2228
2213
|
/** @internal */
|
|
@@ -2290,6 +2275,13 @@ declare module "components/select/select.component" {
|
|
|
2290
2275
|
pill: boolean;
|
|
2291
2276
|
/** Enables search/filter functionality. When enabled, the user can type into the select to filter the visible options. */
|
|
2292
2277
|
search: boolean;
|
|
2278
|
+
/**
|
|
2279
|
+
* Allows the user to enter values that are not in the options list ("free text"). Implies the editable,
|
|
2280
|
+
* filtering input behavior of `search`. A typed value that doesn't match an existing option is committed
|
|
2281
|
+
* by pressing Enter, clicking the "Add" row, or blurring the field, and becomes a selected option — a tag
|
|
2282
|
+
* when `multiple` is enabled. The committed value is both the option's value and its label.
|
|
2283
|
+
*/
|
|
2284
|
+
freeText: boolean;
|
|
2293
2285
|
/** The select's label. If you need to display HTML, use the `label` slot instead. */
|
|
2294
2286
|
label: string;
|
|
2295
2287
|
/** Text that appears in a tooltip next to the label. If you need to display HTML in the tooltip, use the `label-tooltip` slot instead. */
|
|
@@ -2375,12 +2367,40 @@ declare module "components/select/select.component" {
|
|
|
2375
2367
|
private handleClearMouseDown;
|
|
2376
2368
|
/** Whether the component is in remote-search mode (search + dataUri both set) */
|
|
2377
2369
|
private get _isRemoteSearch();
|
|
2370
|
+
/** Whether the display input is editable and filters options (search or free-text). */
|
|
2371
|
+
private get _isTypeable();
|
|
2378
2372
|
/** Handles text input on the display input for search/filter mode */
|
|
2379
2373
|
private handleSearchInput;
|
|
2380
2374
|
/** Filters visible options based on the current search query */
|
|
2381
2375
|
private filterOptions;
|
|
2382
2376
|
/** Clears the search query and shows all options */
|
|
2383
2377
|
private clearSearch;
|
|
2378
|
+
/**
|
|
2379
|
+
* Commits the current typed text as a selected value when `free-text` is enabled. A selected `<zn-option>`
|
|
2380
|
+
* (value = label = trimmed text) is created in the light DOM so the value flows through the existing
|
|
2381
|
+
* tag/value/selection machinery and appears as a deselectable row in the listbox. Returns `true` when
|
|
2382
|
+
* something was committed, `false` when there was nothing to commit.
|
|
2383
|
+
*/
|
|
2384
|
+
private commitFreeText;
|
|
2385
|
+
/**
|
|
2386
|
+
* The trimmed pending text to offer as a free-text "Add" row, or `null` when no Add row should be shown
|
|
2387
|
+
* (free-text disabled, dropdown closed, input empty, or the text exactly matches an existing option).
|
|
2388
|
+
*/
|
|
2389
|
+
private get _freeTextAddValue();
|
|
2390
|
+
/** Commits the typed value when the "Add" row is pressed, keeping focus on the input. */
|
|
2391
|
+
private handleAddOptionMouseDown;
|
|
2392
|
+
/**
|
|
2393
|
+
* In free-text mode, creates a hidden `<zn-option>` for any value that has no matching option, so values
|
|
2394
|
+
* set via the `value`/`defaultValue` attribute (e.g. previously-saved custom entries) render as tags or
|
|
2395
|
+
* the display value on load. No-op when free-text is disabled.
|
|
2396
|
+
*/
|
|
2397
|
+
private _materialiseFreeTextValues;
|
|
2398
|
+
/**
|
|
2399
|
+
* Creates a free-text-marked `<zn-option>` in the light DOM (value = label) and returns it. The option is
|
|
2400
|
+
* a normal, visible, selectable row so the user can deselect a custom value from the dropdown like any
|
|
2401
|
+
* other option; the `data-free-text` marker lets us drop it from the DOM once it's no longer selected.
|
|
2402
|
+
*/
|
|
2403
|
+
private _createFreeTextOption;
|
|
2384
2404
|
private handleOptionClick;
|
|
2385
2405
|
private handleDefaultSlotChange;
|
|
2386
2406
|
private handleTagRemove;
|
|
@@ -2532,7 +2552,7 @@ declare module "components/data-select/data-select.component" {
|
|
|
2532
2552
|
distinct: string;
|
|
2533
2553
|
conditional: string;
|
|
2534
2554
|
protected readonly formControlController: FormControlController;
|
|
2535
|
-
private selectObserver
|
|
2555
|
+
private readonly selectObserver;
|
|
2536
2556
|
get validationMessage(): string;
|
|
2537
2557
|
get validity(): ValidityState;
|
|
2538
2558
|
constructor();
|
|
@@ -2550,7 +2570,7 @@ declare module "components/data-select/data-select.component" {
|
|
|
2550
2570
|
handleClear: () => void;
|
|
2551
2571
|
getLocalProvider(name: string): LocalDataProvider<DataProviderOption>;
|
|
2552
2572
|
blur: () => void;
|
|
2553
|
-
protected render(): import("lit").TemplateResult<1>;
|
|
2573
|
+
protected render(): import("lit-html").TemplateResult<1>;
|
|
2554
2574
|
private _updatePrefix;
|
|
2555
2575
|
private _updateIconEmptyState;
|
|
2556
2576
|
private getPlaceholder;
|
|
@@ -2680,7 +2700,7 @@ declare module "components/query-builder/query-builder.component" {
|
|
|
2680
2700
|
get validationMessage(): string;
|
|
2681
2701
|
get validity(): ValidityState;
|
|
2682
2702
|
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
2683
|
-
render(): import("lit").TemplateResult<1>;
|
|
2703
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
2684
2704
|
private _handleChange;
|
|
2685
2705
|
private _addRule;
|
|
2686
2706
|
private _createInput;
|
|
@@ -2771,7 +2791,7 @@ declare module "components/data-table-search/data-table-search.component" {
|
|
|
2771
2791
|
* Emit the search change event with form data
|
|
2772
2792
|
*/
|
|
2773
2793
|
private emitSearchChange;
|
|
2774
|
-
render(): import("lit").TemplateResult<1>;
|
|
2794
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
2775
2795
|
}
|
|
2776
2796
|
}
|
|
2777
2797
|
declare module "components/data-table-search/index" {
|
|
@@ -2812,7 +2832,7 @@ declare module "components/empty-state/empty-state.component" {
|
|
|
2812
2832
|
type: 'error' | 'info' | 'primary' | '';
|
|
2813
2833
|
padded: boolean;
|
|
2814
2834
|
private readonly hasSlotController;
|
|
2815
|
-
render(): import("lit").TemplateResult<1>;
|
|
2835
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
2816
2836
|
}
|
|
2817
2837
|
}
|
|
2818
2838
|
declare module "components/empty-state/index" {
|
|
@@ -2875,7 +2895,7 @@ declare module "components/hover-container/hover-container.component" {
|
|
|
2875
2895
|
handleDisabledChange(): void;
|
|
2876
2896
|
show(): Promise<void>;
|
|
2877
2897
|
hide(): void;
|
|
2878
|
-
render(): import("lit").TemplateResult<1>;
|
|
2898
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
2879
2899
|
}
|
|
2880
2900
|
}
|
|
2881
2901
|
declare module "components/hover-container/index" {
|
|
@@ -2942,6 +2962,7 @@ declare module "components/style/style.component" {
|
|
|
2942
2962
|
height: string;
|
|
2943
2963
|
pad: string;
|
|
2944
2964
|
margin: string;
|
|
2965
|
+
gutter: boolean;
|
|
2945
2966
|
autoMargin: string;
|
|
2946
2967
|
connectedCallback(): void;
|
|
2947
2968
|
createRenderRoot(): this;
|
|
@@ -3114,7 +3135,7 @@ declare module "components/data-table/data-table.component" {
|
|
|
3114
3135
|
selectAllButton: ZnButton;
|
|
3115
3136
|
private _initialLoad;
|
|
3116
3137
|
private _lastTableContent;
|
|
3117
|
-
private resizeObserver;
|
|
3138
|
+
private readonly resizeObserver;
|
|
3118
3139
|
private itemsPerPage;
|
|
3119
3140
|
private page;
|
|
3120
3141
|
private totalPages;
|
|
@@ -3217,7 +3238,7 @@ declare module "components/cols/cols.component" {
|
|
|
3217
3238
|
divide: boolean;
|
|
3218
3239
|
padX: boolean;
|
|
3219
3240
|
padY: boolean;
|
|
3220
|
-
render(): import("lit").TemplateResult<1>;
|
|
3241
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
3221
3242
|
}
|
|
3222
3243
|
}
|
|
3223
3244
|
declare module "components/cols/index" {
|
|
@@ -3373,7 +3394,7 @@ declare module "components/tile/tile.component" {
|
|
|
3373
3394
|
inline: boolean;
|
|
3374
3395
|
private _isLink;
|
|
3375
3396
|
private _handleActionsClick;
|
|
3376
|
-
render(): import("lit").TemplateResult;
|
|
3397
|
+
render(): import("lit-html").TemplateResult;
|
|
3377
3398
|
}
|
|
3378
3399
|
}
|
|
3379
3400
|
declare module "components/tile/index" {
|
|
@@ -3411,7 +3432,7 @@ declare module "components/tile-property/tile-property.component" {
|
|
|
3411
3432
|
caption: string;
|
|
3412
3433
|
description: string;
|
|
3413
3434
|
icon: string;
|
|
3414
|
-
render(): import("lit").TemplateResult<1>;
|
|
3435
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
3415
3436
|
}
|
|
3416
3437
|
}
|
|
3417
3438
|
declare module "components/tile-property/index" {
|
|
@@ -3489,8 +3510,8 @@ declare module "components/chart/chart.component" {
|
|
|
3489
3510
|
smooth: boolean;
|
|
3490
3511
|
scale: boolean | number;
|
|
3491
3512
|
private chart?;
|
|
3492
|
-
private resizeObserver?;
|
|
3493
3513
|
private liveTimer?;
|
|
3514
|
+
private readonly resizeObserver;
|
|
3494
3515
|
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
3495
3516
|
private getTheme;
|
|
3496
3517
|
private getTextColor;
|
|
@@ -3531,10 +3552,10 @@ declare module "components/simple-chart/simple-chart.component" {
|
|
|
3531
3552
|
labels?: string[];
|
|
3532
3553
|
enableAnimations: boolean | number;
|
|
3533
3554
|
private chart?;
|
|
3534
|
-
private resizeObserver
|
|
3555
|
+
private readonly resizeObserver;
|
|
3535
3556
|
firstUpdated(): void;
|
|
3536
3557
|
disconnectedCallback(): void;
|
|
3537
|
-
render(): import("lit").TemplateResult<1>;
|
|
3558
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
3538
3559
|
}
|
|
3539
3560
|
}
|
|
3540
3561
|
declare module "components/simple-chart/index" {
|
|
@@ -3574,7 +3595,8 @@ declare module "components/navbar/navbar.component" {
|
|
|
3574
3595
|
* @event zn-event-name - Emitted as an example.
|
|
3575
3596
|
*
|
|
3576
3597
|
* @slot - The default slot.
|
|
3577
|
-
* @slot
|
|
3598
|
+
* @slot expand - Expanding action panels rendered alongside the navbar items.
|
|
3599
|
+
* @slot bottom - Content rendered below the navbar row (e.g. chips, filters).
|
|
3578
3600
|
*
|
|
3579
3601
|
* @csspart base - The component's base wrapper.
|
|
3580
3602
|
*
|
|
@@ -3606,27 +3628,42 @@ declare module "components/navbar/navbar.component" {
|
|
|
3606
3628
|
private _appended;
|
|
3607
3629
|
private _expanding;
|
|
3608
3630
|
private _openedTabs;
|
|
3609
|
-
private
|
|
3631
|
+
private readonly _itemsObserver;
|
|
3610
3632
|
private _navItems;
|
|
3611
3633
|
private _expandable;
|
|
3612
3634
|
private _extendedMenu;
|
|
3635
|
+
private readonly _cloneSources;
|
|
3613
3636
|
private _navItemsGap;
|
|
3614
3637
|
private _expandableMargin;
|
|
3615
3638
|
private _totalItemWidth;
|
|
3616
|
-
private
|
|
3639
|
+
private _resizeFrame;
|
|
3640
|
+
private _resizeController;
|
|
3617
3641
|
protected _store: Store;
|
|
3618
3642
|
appendItem(item: Element): void;
|
|
3643
|
+
addExpandingAction(action: Element): void;
|
|
3644
|
+
constructor();
|
|
3645
|
+
private readonly _expandingActionObserver;
|
|
3646
|
+
private _scheduleResize;
|
|
3647
|
+
private _observeExpandingAction;
|
|
3648
|
+
private _adoptNewLightItems;
|
|
3619
3649
|
connectedCallback(): void;
|
|
3620
|
-
disconnectedCallback(): void;
|
|
3621
3650
|
private _updateVisibility;
|
|
3651
|
+
itemCount(): number;
|
|
3652
|
+
private _resolveAvailableWidth;
|
|
3653
|
+
private _measureTotalItemWidth;
|
|
3654
|
+
private _getItemWidth;
|
|
3655
|
+
private _getHorizontalSpacing;
|
|
3656
|
+
private _getMoreItemWidth;
|
|
3657
|
+
private _getExpandableWidth;
|
|
3622
3658
|
handleResize: () => void;
|
|
3659
|
+
private _syncExtendedActive;
|
|
3623
3660
|
addItem(item: Element, persist?: boolean): void;
|
|
3624
3661
|
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
3625
3662
|
private _loadStoredTabs;
|
|
3626
3663
|
private _saveTabToStorage;
|
|
3627
3664
|
private handleClick;
|
|
3628
3665
|
protected updated(_changedProperties: PropertyValues): void;
|
|
3629
|
-
render(): import("lit").TemplateResult<1>;
|
|
3666
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
3630
3667
|
}
|
|
3631
3668
|
}
|
|
3632
3669
|
declare module "components/navbar/index" {
|
|
@@ -3673,6 +3710,7 @@ declare module "components/header/header.component" {
|
|
|
3673
3710
|
fullWidth: boolean;
|
|
3674
3711
|
previousPath: string;
|
|
3675
3712
|
previousTarget: string;
|
|
3713
|
+
hideBreadcrumb: boolean;
|
|
3676
3714
|
private navbar;
|
|
3677
3715
|
connectedCallback(): void;
|
|
3678
3716
|
disconnectedCallback(): void;
|
|
@@ -3680,7 +3718,7 @@ declare module "components/header/header.component" {
|
|
|
3680
3718
|
handleAltPress: () => void;
|
|
3681
3719
|
handleAltUp: () => void;
|
|
3682
3720
|
updateNav(): void;
|
|
3683
|
-
render(): import("lit").TemplateResult<1>;
|
|
3721
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
3684
3722
|
}
|
|
3685
3723
|
}
|
|
3686
3724
|
declare module "components/header/index" {
|
|
@@ -3693,6 +3731,282 @@ declare module "components/header/index" {
|
|
|
3693
3731
|
}
|
|
3694
3732
|
}
|
|
3695
3733
|
}
|
|
3734
|
+
declare module "utilities/md5" {
|
|
3735
|
+
export function md5(string: string): string;
|
|
3736
|
+
}
|
|
3737
|
+
declare module "components/expanding-action/expanding-action.component" {
|
|
3738
|
+
import { type CSSResultGroup, type PropertyValues } from 'lit';
|
|
3739
|
+
import ZincElement from "internal/zinc-element";
|
|
3740
|
+
/**
|
|
3741
|
+
* @summary Short summary of the component's intended use.
|
|
3742
|
+
* @documentation https://zinc.style/components/expanding-action
|
|
3743
|
+
* @status experimental
|
|
3744
|
+
* @since 1.0
|
|
3745
|
+
*
|
|
3746
|
+
* @dependency zn-example
|
|
3747
|
+
*
|
|
3748
|
+
* @event zn-event-name - Emitted as an example.
|
|
3749
|
+
*
|
|
3750
|
+
* @slot - The default slot.
|
|
3751
|
+
* @slot example - An example slot.
|
|
3752
|
+
*
|
|
3753
|
+
* @csspart base - The component's base wrapper.
|
|
3754
|
+
*
|
|
3755
|
+
* @cssproperty --example - An example CSS custom property.
|
|
3756
|
+
*/
|
|
3757
|
+
export default class ZnExpandingAction extends ZincElement {
|
|
3758
|
+
static styles: CSSResultGroup;
|
|
3759
|
+
icon: string;
|
|
3760
|
+
method: 'drop' | 'fill';
|
|
3761
|
+
contextUri: string;
|
|
3762
|
+
count: string;
|
|
3763
|
+
color: string;
|
|
3764
|
+
prefetch: boolean;
|
|
3765
|
+
basis: string;
|
|
3766
|
+
maxHeight: string;
|
|
3767
|
+
open: boolean;
|
|
3768
|
+
masterId: string;
|
|
3769
|
+
fetchStyle: string;
|
|
3770
|
+
noPrefetch: boolean;
|
|
3771
|
+
private _panel;
|
|
3772
|
+
private _panels;
|
|
3773
|
+
private _knownUri;
|
|
3774
|
+
private _actions;
|
|
3775
|
+
private _preload;
|
|
3776
|
+
private _metaObserved;
|
|
3777
|
+
private readonly _countObserver;
|
|
3778
|
+
private readonly _colorObserver;
|
|
3779
|
+
constructor();
|
|
3780
|
+
connectedCallback(): Promise<void>;
|
|
3781
|
+
firstUpdated(_changedProperties: PropertyValues): void;
|
|
3782
|
+
_observeMetaData(): void;
|
|
3783
|
+
_registerActions(): void;
|
|
3784
|
+
_addAction(action: HTMLElement): void;
|
|
3785
|
+
_uriToId(actionUri: string): string;
|
|
3786
|
+
_handleClick(event: PointerEvent): void;
|
|
3787
|
+
_createUriPanel(actionEle: Element, actionUri: string, actionId: string): HTMLDivElement;
|
|
3788
|
+
fetchUri(target: HTMLElement): void;
|
|
3789
|
+
fetchContextHeaders(): Promise<void>;
|
|
3790
|
+
clickAction(target: HTMLElement): void;
|
|
3791
|
+
handleIconClicked: () => void;
|
|
3792
|
+
handleIconCloseClicked: () => void;
|
|
3793
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
3794
|
+
protected renderDropdown(): import("lit-html").TemplateResult<1>;
|
|
3795
|
+
protected renderFill(): import("lit-html").TemplateResult<1>;
|
|
3796
|
+
}
|
|
3797
|
+
}
|
|
3798
|
+
declare module "components/expanding-action/index" {
|
|
3799
|
+
import ZnExpandingAction from "components/expanding-action/expanding-action.component";
|
|
3800
|
+
export * from "components/expanding-action/expanding-action.component";
|
|
3801
|
+
export default ZnExpandingAction;
|
|
3802
|
+
global {
|
|
3803
|
+
interface HTMLElementTagNameMap {
|
|
3804
|
+
'zn-expanding-action': ZnExpandingAction;
|
|
3805
|
+
}
|
|
3806
|
+
}
|
|
3807
|
+
}
|
|
3808
|
+
declare module "components/tab/tab.component" {
|
|
3809
|
+
import { type CSSResultGroup } from 'lit';
|
|
3810
|
+
import ZincElement from "internal/zinc-element";
|
|
3811
|
+
/**
|
|
3812
|
+
* @summary Defines a tab panel for use inside zn-page.
|
|
3813
|
+
* @documentation https://zinc.style/components/tab
|
|
3814
|
+
* @status experimental
|
|
3815
|
+
* @since 1.0
|
|
3816
|
+
*
|
|
3817
|
+
* @slot - The tab panel content.
|
|
3818
|
+
*/
|
|
3819
|
+
export default class ZnTab extends ZincElement {
|
|
3820
|
+
static styles: CSSResultGroup;
|
|
3821
|
+
caption: string;
|
|
3822
|
+
priority: number;
|
|
3823
|
+
uri: string;
|
|
3824
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
3825
|
+
}
|
|
3826
|
+
}
|
|
3827
|
+
declare module "components/tab/index" {
|
|
3828
|
+
import ZnTab from "components/tab/tab.component";
|
|
3829
|
+
export * from "components/tab/tab.component";
|
|
3830
|
+
export default ZnTab;
|
|
3831
|
+
global {
|
|
3832
|
+
interface HTMLElementTagNameMap {
|
|
3833
|
+
'zn-tab': ZnTab;
|
|
3834
|
+
}
|
|
3835
|
+
}
|
|
3836
|
+
}
|
|
3837
|
+
declare module "components/tabs/tabs.component" {
|
|
3838
|
+
import { type CSSResultGroup, type PropertyValues } from 'lit';
|
|
3839
|
+
import { Store } from "internal/storage";
|
|
3840
|
+
import ZincElement from "internal/zinc-element";
|
|
3841
|
+
/**
|
|
3842
|
+
* @summary Short summary of the component's intended use.
|
|
3843
|
+
* @documentation https://zinc.style/components/tabs
|
|
3844
|
+
* @status experimental
|
|
3845
|
+
* @since 1.0
|
|
3846
|
+
*
|
|
3847
|
+
* @dependency zn-example
|
|
3848
|
+
*
|
|
3849
|
+
* @event zn-event-name - Emitted as an example.
|
|
3850
|
+
*
|
|
3851
|
+
* @slot - The default slot.
|
|
3852
|
+
* @slot example - An example slot.
|
|
3853
|
+
*
|
|
3854
|
+
* @csspart base - The component's base wrapper.
|
|
3855
|
+
*
|
|
3856
|
+
* @cssproperty --example - An example CSS custom property.
|
|
3857
|
+
*/
|
|
3858
|
+
export default class ZnTabs extends ZincElement {
|
|
3859
|
+
static styles: CSSResultGroup;
|
|
3860
|
+
masterId: string;
|
|
3861
|
+
defaultUri: string;
|
|
3862
|
+
_current: string;
|
|
3863
|
+
_split: number;
|
|
3864
|
+
_splitMin: number;
|
|
3865
|
+
_splitMinSecondary: number;
|
|
3866
|
+
_splitMax: number;
|
|
3867
|
+
primaryCaption: string;
|
|
3868
|
+
secondaryCaption: string;
|
|
3869
|
+
noPrefetch: boolean;
|
|
3870
|
+
noCache: boolean;
|
|
3871
|
+
localStorage: boolean;
|
|
3872
|
+
storeKey: string;
|
|
3873
|
+
storeTtl: number;
|
|
3874
|
+
padded: boolean;
|
|
3875
|
+
fetchStyle: string;
|
|
3876
|
+
fullWidth: boolean;
|
|
3877
|
+
paddedRight: boolean;
|
|
3878
|
+
monitor: string;
|
|
3879
|
+
caption: string;
|
|
3880
|
+
description: string;
|
|
3881
|
+
protected preload: boolean;
|
|
3882
|
+
protected _store: Store;
|
|
3883
|
+
protected _activeClicks: number;
|
|
3884
|
+
private _panel;
|
|
3885
|
+
private _panels;
|
|
3886
|
+
private _activeTab;
|
|
3887
|
+
private _tabs;
|
|
3888
|
+
private _actions;
|
|
3889
|
+
private _knownUri;
|
|
3890
|
+
private readonly hasSlotController;
|
|
3891
|
+
private readonly _domObserver;
|
|
3892
|
+
private readonly _monitorObserver;
|
|
3893
|
+
constructor();
|
|
3894
|
+
connectedCallback(): Promise<void>;
|
|
3895
|
+
monitorDom(): void;
|
|
3896
|
+
_addPanel(panel: HTMLElement): void;
|
|
3897
|
+
_addTab(tab: HTMLElement): void;
|
|
3898
|
+
reRegisterTabs: () => void;
|
|
3899
|
+
firstUpdated(_changedProperties: PropertyValues): void;
|
|
3900
|
+
switchTab(inc: number): void;
|
|
3901
|
+
nextTab(): void;
|
|
3902
|
+
previousTab(): void;
|
|
3903
|
+
_prepareTab(tabId: string): void;
|
|
3904
|
+
_uriToId(tabUri: string): string;
|
|
3905
|
+
_createUriPanel(tabEle: Element, tabUri: string, tabId: string): HTMLDivElement;
|
|
3906
|
+
_handleClick(event: PointerEvent): void;
|
|
3907
|
+
fetchUriTab(target: HTMLElement): void;
|
|
3908
|
+
clickTab(target: HTMLElement, refresh: boolean): void;
|
|
3909
|
+
getRefTab(target: HTMLElement): string | null;
|
|
3910
|
+
setActiveTab(tabName: string, store: boolean, refresh: boolean, refTab?: string | null): void;
|
|
3911
|
+
_setTabEleActive(ele: Element, active: boolean): void;
|
|
3912
|
+
selectTab(tabName: string, refresh: boolean): boolean;
|
|
3913
|
+
getActiveTab(): Element[];
|
|
3914
|
+
observerDom(): void;
|
|
3915
|
+
removeTabAndPanel(tabId: string): void;
|
|
3916
|
+
_registerTabs: () => void;
|
|
3917
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
3918
|
+
}
|
|
3919
|
+
}
|
|
3920
|
+
declare module "components/tabs/index" {
|
|
3921
|
+
import ZnTabs from "components/tabs/tabs.component";
|
|
3922
|
+
export * from "components/tabs/tabs.component";
|
|
3923
|
+
export default ZnTabs;
|
|
3924
|
+
global {
|
|
3925
|
+
interface HTMLElementTagNameMap {
|
|
3926
|
+
'zn-tabs': ZnTabs;
|
|
3927
|
+
}
|
|
3928
|
+
}
|
|
3929
|
+
}
|
|
3930
|
+
declare module "components/page/page.component" {
|
|
3931
|
+
import { type CSSResultGroup, type PropertyValues } from 'lit';
|
|
3932
|
+
import ZnButton from "components/button/index";
|
|
3933
|
+
import ZnCopyButton from "components/copy-button/index";
|
|
3934
|
+
import ZnExpandingAction from "components/expanding-action/index";
|
|
3935
|
+
import ZnIcon from "components/icon/index";
|
|
3936
|
+
import ZnNavbar from "components/navbar/index";
|
|
3937
|
+
import ZnTab from "components/tab/index";
|
|
3938
|
+
import ZnTabs from "components/tabs/index";
|
|
3939
|
+
/**
|
|
3940
|
+
* @summary Combines a page header with tab navigation and tab panels.
|
|
3941
|
+
* @documentation https://zinc.style/components/page
|
|
3942
|
+
* @status experimental
|
|
3943
|
+
* @since 1.0
|
|
3944
|
+
*
|
|
3945
|
+
* @slot - Page content. Use zn-tab for named tabs and header-action/header-actions for header actions.
|
|
3946
|
+
* @slot bottom - Content rendered below the navbar row (e.g. chips, filters). Forwarded to the navbar's bottom slot.
|
|
3947
|
+
*/
|
|
3948
|
+
export default class ZnPage extends ZnTabs {
|
|
3949
|
+
static styles: CSSResultGroup;
|
|
3950
|
+
static dependencies: {
|
|
3951
|
+
'zn-button': typeof ZnButton;
|
|
3952
|
+
'zn-copy-button': typeof ZnCopyButton;
|
|
3953
|
+
'zn-expanding-action': typeof ZnExpandingAction;
|
|
3954
|
+
'zn-icon': typeof ZnIcon;
|
|
3955
|
+
'zn-navbar': typeof ZnNavbar;
|
|
3956
|
+
'zn-tab': typeof ZnTab;
|
|
3957
|
+
};
|
|
3958
|
+
private readonly pageSlotController;
|
|
3959
|
+
caption: string;
|
|
3960
|
+
entityId: string;
|
|
3961
|
+
entityIdShow: boolean;
|
|
3962
|
+
fullLocation: string;
|
|
3963
|
+
modal: boolean;
|
|
3964
|
+
nested: boolean;
|
|
3965
|
+
primary: boolean;
|
|
3966
|
+
previousPath: string;
|
|
3967
|
+
previousTarget: string;
|
|
3968
|
+
summary: string;
|
|
3969
|
+
private scrolled;
|
|
3970
|
+
private tabDefinitions;
|
|
3971
|
+
private hasExpandingActions;
|
|
3972
|
+
private actionObserver;
|
|
3973
|
+
private tabObserver;
|
|
3974
|
+
connectedCallback(): Promise<void>;
|
|
3975
|
+
disconnectedCallback(): void;
|
|
3976
|
+
private handleAltPress;
|
|
3977
|
+
private handleAltUp;
|
|
3978
|
+
_registerTabs: () => void;
|
|
3979
|
+
firstUpdated(changedProperties: PropertyValues): void;
|
|
3980
|
+
private getOwnExpandingActions;
|
|
3981
|
+
private getNavbar;
|
|
3982
|
+
private refreshExpandingActionsState;
|
|
3983
|
+
private syncExpandingActionsToNavbar;
|
|
3984
|
+
private prepareTabs;
|
|
3985
|
+
private parsePriority;
|
|
3986
|
+
private compareTabs;
|
|
3987
|
+
private captionToId;
|
|
3988
|
+
private uniqueId;
|
|
3989
|
+
private handlePageScroll;
|
|
3990
|
+
updated(changedProperties: PropertyValues): void;
|
|
3991
|
+
private handleNavigationSelect;
|
|
3992
|
+
private activateTab;
|
|
3993
|
+
private activateInitialPageTab;
|
|
3994
|
+
private registerPagePanels;
|
|
3995
|
+
private registerPageNavigationTabs;
|
|
3996
|
+
private syncNavigationActive;
|
|
3997
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
3998
|
+
}
|
|
3999
|
+
}
|
|
4000
|
+
declare module "components/page/index" {
|
|
4001
|
+
import ZnPage from "components/page/page.component";
|
|
4002
|
+
export * from "components/page/page.component";
|
|
4003
|
+
export default ZnPage;
|
|
4004
|
+
global {
|
|
4005
|
+
interface HTMLElementTagNameMap {
|
|
4006
|
+
'zn-page': ZnPage;
|
|
4007
|
+
}
|
|
4008
|
+
}
|
|
4009
|
+
}
|
|
3696
4010
|
declare module "components/icon-picker/brand-icons" {
|
|
3697
4011
|
export const brandIcons: string[];
|
|
3698
4012
|
}
|
|
@@ -3772,7 +4086,7 @@ declare module "components/icon-picker/icon-picker.component" {
|
|
|
3772
4086
|
private handleClear;
|
|
3773
4087
|
private _handleTriggerClick;
|
|
3774
4088
|
private _handleTriggerKeyDown;
|
|
3775
|
-
render(): import("lit").TemplateResult<1>;
|
|
4089
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
3776
4090
|
}
|
|
3777
4091
|
}
|
|
3778
4092
|
declare module "components/icon-picker/index" {
|
|
@@ -3851,6 +4165,11 @@ declare module "components/inline-edit/inline-edit.component" {
|
|
|
3851
4165
|
contextData: string;
|
|
3852
4166
|
/** Enables search/filtering on select inputs. */
|
|
3853
4167
|
search: boolean;
|
|
4168
|
+
/**
|
|
4169
|
+
* Allows entering values that aren't in the options list on select inputs ("free text"). Setting this implies
|
|
4170
|
+
* `input-type="select"` (unless a data `provider` is used) and forwards the behavior to the inner `<zn-select>`.
|
|
4171
|
+
*/
|
|
4172
|
+
freeText: boolean;
|
|
3854
4173
|
/** The input's help text. If you need to display HTML, use the `help-text` slot instead. **/
|
|
3855
4174
|
helpText: string;
|
|
3856
4175
|
/** The text direction for the input (ltr or rtl) **/
|
|
@@ -3889,7 +4208,7 @@ declare module "components/inline-edit/inline-edit.component" {
|
|
|
3889
4208
|
handleInput: (e: Event) => void;
|
|
3890
4209
|
private moveSlottedOptionsToSelect;
|
|
3891
4210
|
handleSlotChange: () => Promise<void>;
|
|
3892
|
-
protected render(): import("lit").TemplateResult<1>;
|
|
4211
|
+
protected render(): import("lit-html").TemplateResult<1>;
|
|
3893
4212
|
protected _getTextAreaInput(): HTMLTemplateResult;
|
|
3894
4213
|
protected _getTextInput(): HTMLTemplateResult;
|
|
3895
4214
|
protected _getNumberInput(): HTMLTemplateResult;
|
|
@@ -3924,7 +4243,7 @@ declare module "components/pagination/pagination.component" {
|
|
|
3924
4243
|
uri: string;
|
|
3925
4244
|
protected _createLink(page: number): string;
|
|
3926
4245
|
protected _calculatePages(): number;
|
|
3927
|
-
protected render(): import("lit").TemplateResult<1>;
|
|
4246
|
+
protected render(): import("lit-html").TemplateResult<1>;
|
|
3928
4247
|
}
|
|
3929
4248
|
}
|
|
3930
4249
|
declare module "components/pagination/index" {
|
|
@@ -3969,7 +4288,7 @@ declare module "components/vertical-stepper/vertical-stepper.component" {
|
|
|
3969
4288
|
active: boolean;
|
|
3970
4289
|
description: string;
|
|
3971
4290
|
caption: string;
|
|
3972
|
-
render(): import("lit").TemplateResult<1>;
|
|
4291
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
3973
4292
|
}
|
|
3974
4293
|
}
|
|
3975
4294
|
declare module "components/vertical-stepper/index" {
|
|
@@ -4008,7 +4327,7 @@ declare module "components/timer/timer.component" {
|
|
|
4008
4327
|
private _timerId;
|
|
4009
4328
|
disconnectedCallback(): void;
|
|
4010
4329
|
private _getLastMessage;
|
|
4011
|
-
render(): import("lit").TemplateResult<1>;
|
|
4330
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
4012
4331
|
private _getTimes;
|
|
4013
4332
|
}
|
|
4014
4333
|
}
|
|
@@ -4022,99 +4341,6 @@ declare module "components/timer/index" {
|
|
|
4022
4341
|
}
|
|
4023
4342
|
}
|
|
4024
4343
|
}
|
|
4025
|
-
declare module "utilities/md5" {
|
|
4026
|
-
export function md5(string: string): string;
|
|
4027
|
-
}
|
|
4028
|
-
declare module "components/tabs/tabs.component" {
|
|
4029
|
-
import { type CSSResultGroup, type PropertyValues } from 'lit';
|
|
4030
|
-
import { Store } from "internal/storage";
|
|
4031
|
-
import ZincElement from "internal/zinc-element";
|
|
4032
|
-
/**
|
|
4033
|
-
* @summary Short summary of the component's intended use.
|
|
4034
|
-
* @documentation https://zinc.style/components/tabs
|
|
4035
|
-
* @status experimental
|
|
4036
|
-
* @since 1.0
|
|
4037
|
-
*
|
|
4038
|
-
* @dependency zn-example
|
|
4039
|
-
*
|
|
4040
|
-
* @event zn-event-name - Emitted as an example.
|
|
4041
|
-
*
|
|
4042
|
-
* @slot - The default slot.
|
|
4043
|
-
* @slot example - An example slot.
|
|
4044
|
-
*
|
|
4045
|
-
* @csspart base - The component's base wrapper.
|
|
4046
|
-
*
|
|
4047
|
-
* @cssproperty --example - An example CSS custom property.
|
|
4048
|
-
*/
|
|
4049
|
-
export default class ZnTabs extends ZincElement {
|
|
4050
|
-
static styles: CSSResultGroup;
|
|
4051
|
-
masterId: string;
|
|
4052
|
-
defaultUri: string;
|
|
4053
|
-
_current: string;
|
|
4054
|
-
_split: number;
|
|
4055
|
-
_splitMin: number;
|
|
4056
|
-
_splitMax: number;
|
|
4057
|
-
primaryCaption: string;
|
|
4058
|
-
secondaryCaption: string;
|
|
4059
|
-
noPrefetch: boolean;
|
|
4060
|
-
noCache: boolean;
|
|
4061
|
-
localStorage: boolean;
|
|
4062
|
-
storeKey: string;
|
|
4063
|
-
storeTtl: number;
|
|
4064
|
-
padded: boolean;
|
|
4065
|
-
fetchStyle: string;
|
|
4066
|
-
fullWidth: boolean;
|
|
4067
|
-
paddedRight: boolean;
|
|
4068
|
-
monitor: string;
|
|
4069
|
-
caption: string;
|
|
4070
|
-
description: string;
|
|
4071
|
-
protected preload: boolean;
|
|
4072
|
-
protected _store: Store;
|
|
4073
|
-
protected _activeClicks: number;
|
|
4074
|
-
private _panel;
|
|
4075
|
-
private _panels;
|
|
4076
|
-
private _activeTab;
|
|
4077
|
-
private _tabs;
|
|
4078
|
-
private _actions;
|
|
4079
|
-
private _knownUri;
|
|
4080
|
-
private readonly hasSlotController;
|
|
4081
|
-
constructor();
|
|
4082
|
-
connectedCallback(): Promise<void>;
|
|
4083
|
-
monitorDom(): void;
|
|
4084
|
-
_addPanel(panel: HTMLElement): void;
|
|
4085
|
-
_addTab(tab: HTMLElement): void;
|
|
4086
|
-
reRegisterTabs: () => void;
|
|
4087
|
-
firstUpdated(_changedProperties: PropertyValues): void;
|
|
4088
|
-
switchTab(inc: number): void;
|
|
4089
|
-
nextTab(): void;
|
|
4090
|
-
previousTab(): void;
|
|
4091
|
-
_prepareTab(tabId: string): void;
|
|
4092
|
-
_uriToId(tabUri: string): string;
|
|
4093
|
-
_createUriPanel(tabEle: Element, tabUri: string, tabId: string): HTMLDivElement;
|
|
4094
|
-
_handleClick(event: PointerEvent): void;
|
|
4095
|
-
fetchUriTab(target: HTMLElement): void;
|
|
4096
|
-
clickTab(target: HTMLElement, refresh: boolean): void;
|
|
4097
|
-
getRefTab(target: HTMLElement): string | null;
|
|
4098
|
-
setActiveTab(tabName: string, store: boolean, refresh: boolean, refTab?: string | null): void;
|
|
4099
|
-
_setTabEleActive(ele: Element, active: boolean): void;
|
|
4100
|
-
selectTab(tabName: string, refresh: boolean): boolean;
|
|
4101
|
-
getActiveTab(): Element[];
|
|
4102
|
-
observerDom(): void;
|
|
4103
|
-
removeTabAndPanel(tabId: string): void;
|
|
4104
|
-
_registerTabs: () => void;
|
|
4105
|
-
render(): import("lit").TemplateResult<1>;
|
|
4106
|
-
}
|
|
4107
|
-
}
|
|
4108
|
-
declare module "components/tabs/index" {
|
|
4109
|
-
import ZnTabs from "components/tabs/tabs.component";
|
|
4110
|
-
export * from "components/tabs/tabs.component";
|
|
4111
|
-
export default ZnTabs;
|
|
4112
|
-
global {
|
|
4113
|
-
interface HTMLElementTagNameMap {
|
|
4114
|
-
'zn-tabs': ZnTabs;
|
|
4115
|
-
}
|
|
4116
|
-
}
|
|
4117
|
-
}
|
|
4118
4344
|
declare module "components/panel/panel.component" {
|
|
4119
4345
|
import { type CSSResultGroup, type PropertyValues } from 'lit';
|
|
4120
4346
|
import ZincElement from "internal/zinc-element";
|
|
@@ -4195,14 +4421,15 @@ declare module "components/table/table.component" {
|
|
|
4195
4421
|
private columnDisplay;
|
|
4196
4422
|
private wideColumn;
|
|
4197
4423
|
private rows;
|
|
4424
|
+
private readonly resizeObserver;
|
|
4198
4425
|
resizing(): void;
|
|
4199
4426
|
connectedCallback(): void;
|
|
4200
4427
|
_handleMenu(e: any): void;
|
|
4201
4428
|
menuClick(e: any): void;
|
|
4202
|
-
tableHead(): import("lit").TemplateResult<1> | undefined;
|
|
4203
|
-
tableBody(): import("lit").TemplateResult<1>;
|
|
4429
|
+
tableHead(): import("lit-html").TemplateResult<1> | undefined;
|
|
4430
|
+
tableBody(): import("lit-html").TemplateResult<1>;
|
|
4204
4431
|
columnContent(col: any): any;
|
|
4205
|
-
render(): import("lit").TemplateResult<1>;
|
|
4432
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
4206
4433
|
}
|
|
4207
4434
|
}
|
|
4208
4435
|
declare module "components/table/index" {
|
|
@@ -4238,9 +4465,9 @@ declare module "components/pane/pane.component" {
|
|
|
4238
4465
|
export default class ZnPane extends ZincElement {
|
|
4239
4466
|
static styles: CSSResultGroup;
|
|
4240
4467
|
flush: boolean;
|
|
4241
|
-
protected _header: HTMLElement;
|
|
4468
|
+
protected _header: HTMLElement | null;
|
|
4242
4469
|
connectedCallback(): void;
|
|
4243
|
-
render(): import("lit").TemplateResult<1>;
|
|
4470
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
4244
4471
|
}
|
|
4245
4472
|
}
|
|
4246
4473
|
declare module "components/pane/index" {
|
|
@@ -4267,6 +4494,7 @@ declare module "components/split-pane/split-pane.component" {
|
|
|
4267
4494
|
import { type CSSResultGroup } from 'lit';
|
|
4268
4495
|
import { Store } from "internal/storage";
|
|
4269
4496
|
import ZincElement from "internal/zinc-element";
|
|
4497
|
+
import { PropertyValues } from "@lit/reactive-element";
|
|
4270
4498
|
/**
|
|
4271
4499
|
* @summary Short summary of the component's intended use.
|
|
4272
4500
|
* @documentation https://zinc.style/components/split-pane
|
|
@@ -4292,10 +4520,14 @@ declare module "components/split-pane/split-pane.component" {
|
|
|
4292
4520
|
private currentPixelSize;
|
|
4293
4521
|
private currentPercentSize;
|
|
4294
4522
|
private currentContainerSize;
|
|
4523
|
+
private focusChangeHandler;
|
|
4295
4524
|
private primaryFull;
|
|
4525
|
+
private resizeObserver;
|
|
4526
|
+
private parentIsNarrow;
|
|
4296
4527
|
calculatePixels: boolean;
|
|
4297
4528
|
preferSecondarySize: boolean;
|
|
4298
4529
|
minimumPaneSize: number;
|
|
4530
|
+
minimumSecondaryPaneSize: number;
|
|
4299
4531
|
maximumPaneSize: number;
|
|
4300
4532
|
initialSize: number;
|
|
4301
4533
|
storeKey: string;
|
|
@@ -4306,16 +4538,26 @@ declare module "components/split-pane/split-pane.component" {
|
|
|
4306
4538
|
_focusPane: number;
|
|
4307
4539
|
padded: boolean;
|
|
4308
4540
|
paddedRight: boolean;
|
|
4541
|
+
gap: boolean;
|
|
4542
|
+
hide: 'primary' | 'secondary' | '';
|
|
4543
|
+
mergedNavigation: boolean;
|
|
4309
4544
|
localStorage: boolean;
|
|
4310
4545
|
storeTtl: number;
|
|
4311
4546
|
protected _store: Store;
|
|
4312
4547
|
connectedCallback(): void;
|
|
4313
|
-
|
|
4548
|
+
disconnectedCallback(): void;
|
|
4549
|
+
private refreshNarrowState;
|
|
4550
|
+
firstUpdated(changedProperties: PropertyValues): void;
|
|
4314
4551
|
applyStoredSize(): void;
|
|
4315
4552
|
resize(e: any): void;
|
|
4316
4553
|
setSize(primaryPanelPixels: number): void;
|
|
4317
|
-
_togglePane(e: any): void;
|
|
4318
4554
|
_setFocusPane(idx: number): void;
|
|
4555
|
+
private getDirectNestedSplitPanes;
|
|
4556
|
+
private updateNestedNavigationMerging;
|
|
4557
|
+
private getPaneIndexForNestedSplitPane;
|
|
4558
|
+
private getNestedNavigationItems;
|
|
4559
|
+
private getDirectNestedSplitPanesForPane;
|
|
4560
|
+
private getNavigationItems;
|
|
4319
4561
|
protected render(): unknown;
|
|
4320
4562
|
}
|
|
4321
4563
|
}
|
|
@@ -4355,12 +4597,12 @@ declare module "components/sidebar/sidebar.component" {
|
|
|
4355
4597
|
open: boolean;
|
|
4356
4598
|
startScrolled: boolean;
|
|
4357
4599
|
wide: boolean;
|
|
4600
|
+
private domObserver;
|
|
4358
4601
|
constructor();
|
|
4359
4602
|
connectedCallback(): void;
|
|
4360
|
-
observerDom(): void;
|
|
4361
4603
|
scrollBottom(): void;
|
|
4362
|
-
render(): import("lit").TemplateResult<1>;
|
|
4363
|
-
_expander(): import("lit").TemplateResult<1>;
|
|
4604
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
4605
|
+
_expander(): import("lit-html").TemplateResult<1>;
|
|
4364
4606
|
handleClick(e: any): void;
|
|
4365
4607
|
}
|
|
4366
4608
|
}
|
|
@@ -4472,7 +4714,7 @@ declare module "components/stepper/stepper.component" {
|
|
|
4472
4714
|
steps: number;
|
|
4473
4715
|
value: number;
|
|
4474
4716
|
showProgress: boolean;
|
|
4475
|
-
render(): import("lit").TemplateResult<1>;
|
|
4717
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
4476
4718
|
}
|
|
4477
4719
|
}
|
|
4478
4720
|
declare module "components/stepper/index" {
|
|
@@ -4518,8 +4760,8 @@ declare module "components/stat/stat.component" {
|
|
|
4518
4760
|
calcPercentageDifference(): number;
|
|
4519
4761
|
getCurrentAmount(): string;
|
|
4520
4762
|
private getDisplayAmount;
|
|
4521
|
-
diffText(): import("lit").TemplateResult<1> | null;
|
|
4522
|
-
render(): import("lit").TemplateResult<1>;
|
|
4763
|
+
diffText(): import("lit-html").TemplateResult<1> | null;
|
|
4764
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
4523
4765
|
}
|
|
4524
4766
|
}
|
|
4525
4767
|
declare module "components/stat/index" {
|
|
@@ -4559,10 +4801,10 @@ declare module "components/scroll-container/scroll-container.component" {
|
|
|
4559
4801
|
private footer;
|
|
4560
4802
|
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
4561
4803
|
scrollEnd(): void;
|
|
4562
|
-
private _footerResizeObserver
|
|
4804
|
+
private readonly _footerResizeObserver;
|
|
4805
|
+
private readonly _domObserver;
|
|
4563
4806
|
connectedCallback(): void;
|
|
4564
|
-
|
|
4565
|
-
render(): import("lit").TemplateResult<1>;
|
|
4807
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
4566
4808
|
}
|
|
4567
4809
|
}
|
|
4568
4810
|
declare module "components/scroll-container/index" {
|
|
@@ -4626,6 +4868,7 @@ declare module "components/progress-tile/index" {
|
|
|
4626
4868
|
declare module "components/progress-bar/progress-bar.component" {
|
|
4627
4869
|
import { type CSSResultGroup } from 'lit';
|
|
4628
4870
|
import ZincElement from "internal/zinc-element";
|
|
4871
|
+
export type ProgressBarColor = 'current' | 'info' | 'error' | 'success' | 'warning';
|
|
4629
4872
|
/**
|
|
4630
4873
|
* @summary Progress bars provide visual feedback about the completion status of a task or process.
|
|
4631
4874
|
* @documentation https://zinc.style/components/progress-bar
|
|
@@ -4642,7 +4885,7 @@ declare module "components/progress-bar/progress-bar.component" {
|
|
|
4642
4885
|
* @csspart info - The description text element.
|
|
4643
4886
|
*
|
|
4644
4887
|
* @cssproperty --zn-border-color - The color of the progress bar background track.
|
|
4645
|
-
* @cssproperty --zn-
|
|
4888
|
+
* @cssproperty --zn-progress-bar-color - The color of the progress bar fill.
|
|
4646
4889
|
* @cssproperty --zn-text-heading - The color of the caption text.
|
|
4647
4890
|
* @cssproperty --zn-text - The color of the progress percentage and description text.
|
|
4648
4891
|
* @cssproperty --zn-spacing-x-small - The spacing between header/footer and the progress bar.
|
|
@@ -4650,10 +4893,11 @@ declare module "components/progress-bar/progress-bar.component" {
|
|
|
4650
4893
|
export default class ZnProgressBar extends ZincElement {
|
|
4651
4894
|
static styles: CSSResultGroup;
|
|
4652
4895
|
caption: string | undefined;
|
|
4896
|
+
color: ProgressBarColor;
|
|
4653
4897
|
description: string | undefined;
|
|
4654
4898
|
value: number | undefined;
|
|
4655
4899
|
showProgress: boolean | undefined;
|
|
4656
|
-
render(): import("lit").TemplateResult<1>;
|
|
4900
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
4657
4901
|
}
|
|
4658
4902
|
}
|
|
4659
4903
|
declare module "components/progress-bar/index" {
|
|
@@ -4712,15 +4956,15 @@ declare module "components/order-table/order-table.component" {
|
|
|
4712
4956
|
connectedCallback(): void;
|
|
4713
4957
|
disconnectedCallback(): void;
|
|
4714
4958
|
resizeEventHandler: () => void;
|
|
4715
|
-
render(): import("lit").TemplateResult<1>;
|
|
4716
|
-
getHeaders(): import("lit").TemplateResult<1>;
|
|
4717
|
-
getRows(): import("lit").TemplateResult<1>;
|
|
4718
|
-
getCaption(item: any): import("lit").TemplateResult<1>;
|
|
4719
|
-
getSubItems(item: any): import("lit").TemplateResult<1>;
|
|
4720
|
-
getSummary(): import("lit").TemplateResult<1>;
|
|
4959
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
4960
|
+
getHeaders(): import("lit-html").TemplateResult<1>;
|
|
4961
|
+
getRows(): import("lit-html").TemplateResult<1>;
|
|
4962
|
+
getCaption(item: any): import("lit-html").TemplateResult<1>;
|
|
4963
|
+
getSubItems(item: any): import("lit-html").TemplateResult<1>;
|
|
4964
|
+
getSummary(): import("lit-html").TemplateResult<1>;
|
|
4721
4965
|
private getMobileRows;
|
|
4722
|
-
getMobileSubItems(item: any): import("lit").TemplateResult<1>;
|
|
4723
|
-
getMobileCaption(item: any, extra: any): import("lit").TemplateResult<1>;
|
|
4966
|
+
getMobileSubItems(item: any): import("lit-html").TemplateResult<1>;
|
|
4967
|
+
getMobileCaption(item: any, extra: any): import("lit-html").TemplateResult<1>;
|
|
4724
4968
|
}
|
|
4725
4969
|
}
|
|
4726
4970
|
declare module "components/order-table/index" {
|
|
@@ -4793,7 +5037,7 @@ declare module "components/bulk-actions/bulk-actions.component" {
|
|
|
4793
5037
|
get validationMessage(): string;
|
|
4794
5038
|
get validity(): ValidityState;
|
|
4795
5039
|
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
4796
|
-
render(): import("lit").TemplateResult<1>;
|
|
5040
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
4797
5041
|
private _handleChange;
|
|
4798
5042
|
private _addRule;
|
|
4799
5043
|
private _createInput;
|
|
@@ -4827,7 +5071,7 @@ declare module "components/editor/modules/toolbar/tool/tool.component" {
|
|
|
4827
5071
|
key: string;
|
|
4828
5072
|
icon: string;
|
|
4829
5073
|
handler: string;
|
|
4830
|
-
render(): import("lit").TemplateResult<1>;
|
|
5074
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
4831
5075
|
}
|
|
4832
5076
|
}
|
|
4833
5077
|
declare module "components/editor/modules/toolbar/tool/index" {
|
|
@@ -4852,8 +5096,8 @@ declare module "components/editor/modules/toolbar/toolbar.component" {
|
|
|
4852
5096
|
private _overflowMenu;
|
|
4853
5097
|
private _overflowGroup;
|
|
4854
5098
|
private _featureConfig;
|
|
4855
|
-
private _resizeObserver;
|
|
4856
5099
|
private _resizeId;
|
|
5100
|
+
private readonly _resizeObserver;
|
|
4857
5101
|
private _movedContent;
|
|
4858
5102
|
connectedCallback(): void;
|
|
4859
5103
|
disconnectedCallback(): void;
|
|
@@ -4870,7 +5114,7 @@ declare module "components/editor/modules/toolbar/toolbar.component" {
|
|
|
4870
5114
|
private calculateOverflow;
|
|
4871
5115
|
private _dispatchOverflowEvent;
|
|
4872
5116
|
private populateOverflowMenu;
|
|
4873
|
-
render(): import("lit").TemplateResult<1>;
|
|
5117
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
4874
5118
|
private _textOptions;
|
|
4875
5119
|
private _formatOptions;
|
|
4876
5120
|
private _commonFormatOptions;
|
|
@@ -4902,7 +5146,7 @@ declare module "components/editor/modules/dialog/dialog.component" {
|
|
|
4902
5146
|
private removeOpenListeners;
|
|
4903
5147
|
private requestClose;
|
|
4904
5148
|
private _getLoadingState;
|
|
4905
|
-
render(): import("lit").TemplateResult<1>;
|
|
5149
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
4906
5150
|
}
|
|
4907
5151
|
}
|
|
4908
5152
|
declare module "components/editor/modules/emoji/emoji" {
|
|
@@ -5018,7 +5262,7 @@ declare module "components/editor/modules/context-menu/context-menu-component" {
|
|
|
5018
5262
|
getActiveIndex(): number;
|
|
5019
5263
|
private _onClickItem;
|
|
5020
5264
|
protected willUpdate(changed: PropertyValues): void;
|
|
5021
|
-
render(): import("lit").TemplateResult<1>;
|
|
5265
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
5022
5266
|
}
|
|
5023
5267
|
}
|
|
5024
5268
|
declare module "components/editor/modules/context-menu/quick-action/quick-action.component" {
|
|
@@ -5030,7 +5274,7 @@ declare module "components/editor/modules/context-menu/quick-action/quick-action
|
|
|
5030
5274
|
key: string;
|
|
5031
5275
|
icon: string;
|
|
5032
5276
|
order?: number | null;
|
|
5033
|
-
render(): import("lit").TemplateResult<1>;
|
|
5277
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
5034
5278
|
}
|
|
5035
5279
|
}
|
|
5036
5280
|
declare module "components/editor/modules/context-menu/quick-action/index" {
|
|
@@ -5144,7 +5388,7 @@ declare module "components/editor/modules/emoji/headless/headless-emoji.componen
|
|
|
5144
5388
|
private onMouseEnterItem;
|
|
5145
5389
|
private onClickItem;
|
|
5146
5390
|
protected willUpdate(changed: PropertyValues): void;
|
|
5147
|
-
render(): import("lit").TemplateResult<1>;
|
|
5391
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
5148
5392
|
}
|
|
5149
5393
|
}
|
|
5150
5394
|
declare module "components/editor/modules/emoji/headless/headless-emoji" {
|
|
@@ -5207,7 +5451,7 @@ declare module "components/editor/modules/ai/panel/ai-panel.component" {
|
|
|
5207
5451
|
show(): void;
|
|
5208
5452
|
hide(): void;
|
|
5209
5453
|
private handleTriggerKeyDown;
|
|
5210
|
-
render(): import("lit").TemplateResult<1>;
|
|
5454
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
5211
5455
|
}
|
|
5212
5456
|
}
|
|
5213
5457
|
declare module "components/editor/modules/ai/tooltip/ai-tooltip.component" {
|
|
@@ -5218,7 +5462,7 @@ declare module "components/editor/modules/ai/tooltip/ai-tooltip.component" {
|
|
|
5218
5462
|
open: boolean;
|
|
5219
5463
|
show(): void;
|
|
5220
5464
|
hide(): void;
|
|
5221
|
-
render(): import("lit").TemplateResult<1>;
|
|
5465
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
5222
5466
|
}
|
|
5223
5467
|
}
|
|
5224
5468
|
declare module "components/textarea/textarea.component" {
|
|
@@ -5252,7 +5496,7 @@ declare module "components/textarea/textarea.component" {
|
|
|
5252
5496
|
static styles: CSSResultGroup;
|
|
5253
5497
|
private readonly formControlController;
|
|
5254
5498
|
private readonly hasSlotController;
|
|
5255
|
-
private resizeObserver;
|
|
5499
|
+
private readonly resizeObserver;
|
|
5256
5500
|
/** Ensures we only attempt to derive the initial value from light DOM content once */
|
|
5257
5501
|
private _didInitFromContent;
|
|
5258
5502
|
formControl: HTMLElement;
|
|
@@ -5325,7 +5569,6 @@ declare module "components/textarea/textarea.component" {
|
|
|
5325
5569
|
get validationMessage(): string;
|
|
5326
5570
|
connectedCallback(): void;
|
|
5327
5571
|
firstUpdated(): void;
|
|
5328
|
-
disconnectedCallback(): void;
|
|
5329
5572
|
private handleBlur;
|
|
5330
5573
|
private handleChange;
|
|
5331
5574
|
private handleFocus;
|
|
@@ -5362,7 +5605,7 @@ declare module "components/textarea/textarea.component" {
|
|
|
5362
5605
|
reportValidity(): boolean;
|
|
5363
5606
|
/** Sets a custom validation message. Pass an empty string to restore validity. */
|
|
5364
5607
|
setCustomValidity(message: string): void;
|
|
5365
|
-
render(): import("lit").TemplateResult<1>;
|
|
5608
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
5366
5609
|
}
|
|
5367
5610
|
}
|
|
5368
5611
|
declare module "components/textarea/index" {
|
|
@@ -5496,7 +5739,7 @@ declare module "components/editor/editor.component" {
|
|
|
5496
5739
|
private _closePopups;
|
|
5497
5740
|
private _closeAiPanel;
|
|
5498
5741
|
private _closeDialog;
|
|
5499
|
-
render(): import("lit").TemplateResult<1>;
|
|
5742
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
5500
5743
|
}
|
|
5501
5744
|
}
|
|
5502
5745
|
declare module "components/editor/index" {
|
|
@@ -5634,7 +5877,7 @@ declare module "components/checkbox/checkbox.component" {
|
|
|
5634
5877
|
* the custom validation message, call this method with an empty string.
|
|
5635
5878
|
*/
|
|
5636
5879
|
setCustomValidity(message: string): void;
|
|
5637
|
-
render(): import("lit").TemplateResult<1>;
|
|
5880
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
5638
5881
|
}
|
|
5639
5882
|
}
|
|
5640
5883
|
declare module "components/checkbox/index" {
|
|
@@ -5802,7 +6045,7 @@ declare module "components/datepicker/datepicker.component" {
|
|
|
5802
6045
|
private normalizeDate;
|
|
5803
6046
|
private autoFormatDate;
|
|
5804
6047
|
protected updated(_changedProperties: PropertyValues): void;
|
|
5805
|
-
render(): import("lit").TemplateResult<1>;
|
|
6048
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
5806
6049
|
}
|
|
5807
6050
|
}
|
|
5808
6051
|
declare module "components/datepicker/index" {
|
|
@@ -5842,7 +6085,9 @@ declare module "components/form-group/form-group.component" {
|
|
|
5842
6085
|
labelTooltip: string;
|
|
5843
6086
|
/** The form groups help text. If you need to display HTML, use the `help-text` slot instead. */
|
|
5844
6087
|
helpText: string;
|
|
5845
|
-
|
|
6088
|
+
forceCols: boolean;
|
|
6089
|
+
layout: string;
|
|
6090
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
5846
6091
|
}
|
|
5847
6092
|
}
|
|
5848
6093
|
declare module "components/form-group/index" {
|
|
@@ -5881,7 +6126,7 @@ declare module "components/input-group/input-group.component" {
|
|
|
5881
6126
|
/** Adds a gap between the grouped elements, preserving individual border radii. Use `sm`, `md`, or `lg`. */
|
|
5882
6127
|
gap: 'sm' | 'md' | 'lg';
|
|
5883
6128
|
private handleSlotChange;
|
|
5884
|
-
render(): import("lit").TemplateResult<1>;
|
|
6129
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
5885
6130
|
}
|
|
5886
6131
|
}
|
|
5887
6132
|
declare module "components/input-group/index" {
|
|
@@ -5948,7 +6193,7 @@ declare module "components/linked-select/linked-select.component" {
|
|
|
5948
6193
|
handleLinkedSelectChange: () => void;
|
|
5949
6194
|
handleChange(e: Event): void;
|
|
5950
6195
|
handleSelectChange: (e: ZnSelectEvent) => void;
|
|
5951
|
-
render(): import("lit").TemplateResult<1>;
|
|
6196
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
5952
6197
|
}
|
|
5953
6198
|
}
|
|
5954
6199
|
declare module "components/linked-select/index" {
|
|
@@ -6060,7 +6305,7 @@ declare module "components/radio/radio.component" {
|
|
|
6060
6305
|
* the custom validation message, call this method with an empty string.
|
|
6061
6306
|
*/
|
|
6062
6307
|
setCustomValidity(message: string): void;
|
|
6063
|
-
render(): import("lit").TemplateResult<1>;
|
|
6308
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
6064
6309
|
}
|
|
6065
6310
|
}
|
|
6066
6311
|
declare module "components/radio/index" {
|
|
@@ -6133,7 +6378,7 @@ declare module "components/rating/rating.component" {
|
|
|
6133
6378
|
private _handleTouchStart;
|
|
6134
6379
|
private _handleTouchMove;
|
|
6135
6380
|
private _handleTouchEnd;
|
|
6136
|
-
render(): import("lit").TemplateResult<1>;
|
|
6381
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
6137
6382
|
}
|
|
6138
6383
|
}
|
|
6139
6384
|
declare module "components/rating/index" {
|
|
@@ -6229,7 +6474,7 @@ declare module "components/radio-group/radio-group.component" {
|
|
|
6229
6474
|
/** Sets a custom validation message. Pass an empty string to restore validity. */
|
|
6230
6475
|
setCustomValidity(message?: string): void;
|
|
6231
6476
|
focus(options?: FocusOptions): void;
|
|
6232
|
-
render(): import("lit").TemplateResult<1>;
|
|
6477
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
6233
6478
|
}
|
|
6234
6479
|
}
|
|
6235
6480
|
declare module "components/radio-group/index" {
|
|
@@ -6441,7 +6686,7 @@ declare module "components/file/file.component" {
|
|
|
6441
6686
|
private renderFileValueWithDelete;
|
|
6442
6687
|
private renderDroparea;
|
|
6443
6688
|
private renderButton;
|
|
6444
|
-
render(): import("lit").TemplateResult<1>;
|
|
6689
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
6445
6690
|
}
|
|
6446
6691
|
}
|
|
6447
6692
|
declare module "components/file/index" {
|
|
@@ -6539,7 +6784,7 @@ declare module "components/checkbox-group/checkbox-group.component" {
|
|
|
6539
6784
|
reportValidity(): boolean;
|
|
6540
6785
|
/** Sets a custom validation message. Pass an empty string to restore validity. */
|
|
6541
6786
|
setCustomValidity(message?: string): void;
|
|
6542
|
-
render(): import("lit").TemplateResult<1>;
|
|
6787
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
6543
6788
|
}
|
|
6544
6789
|
}
|
|
6545
6790
|
declare module "components/checkbox-group/index" {
|
|
@@ -6590,13 +6835,14 @@ declare module "components/item/item.component" {
|
|
|
6590
6835
|
inline: boolean;
|
|
6591
6836
|
grid: boolean;
|
|
6592
6837
|
noPadding: boolean;
|
|
6838
|
+
flush: boolean;
|
|
6593
6839
|
alignEnd: boolean;
|
|
6594
6840
|
alignCenter: boolean;
|
|
6595
6841
|
connectedCallback(): void;
|
|
6596
6842
|
protected updated(_changedProperties: PropertyValues): void;
|
|
6597
6843
|
protected _hasContent(): boolean;
|
|
6598
6844
|
protected _hasRequiredSlot(): boolean;
|
|
6599
|
-
render(): import("lit").TemplateResult<1>;
|
|
6845
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
6600
6846
|
}
|
|
6601
6847
|
}
|
|
6602
6848
|
declare module "components/item/index" {
|
|
@@ -6638,15 +6884,15 @@ declare module "components/button-menu/button-menu.component" {
|
|
|
6638
6884
|
noPadding: boolean;
|
|
6639
6885
|
private _buttons;
|
|
6640
6886
|
private _originalButtons;
|
|
6641
|
-
private
|
|
6887
|
+
private _resizeRafId;
|
|
6888
|
+
private readonly resizeObserver;
|
|
6642
6889
|
protected firstUpdated(_changedProperties: PropertyValues): Promise<void>;
|
|
6643
6890
|
watchContainerMaxWidth(): void;
|
|
6644
6891
|
connectedCallback(): void;
|
|
6645
|
-
disconnectedCallback(): void;
|
|
6646
|
-
handleResize: () => void;
|
|
6647
6892
|
calculateVisibleButtons(): void;
|
|
6648
6893
|
calculateMenuButtons(totalButtons: number, visibleButtons: number, buttons: CustomButtonWidths[]): void;
|
|
6649
|
-
|
|
6894
|
+
private getButtonLabel;
|
|
6895
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
6650
6896
|
addButton(button: ZnButton): void;
|
|
6651
6897
|
setDynamicButtons(btns: NodeListOf<ZnButton>): void;
|
|
6652
6898
|
removeButton(id: string): void;
|
|
@@ -6731,7 +6977,7 @@ declare module "components/slideout/slideout.component" {
|
|
|
6731
6977
|
/** Hides the slideout. */
|
|
6732
6978
|
hide(): Promise<void>;
|
|
6733
6979
|
private closeClickHandler;
|
|
6734
|
-
render(): import("lit").TemplateResult<1>;
|
|
6980
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
6735
6981
|
}
|
|
6736
6982
|
}
|
|
6737
6983
|
declare module "components/slideout/index" {
|
|
@@ -6766,7 +7012,7 @@ declare module "components/data-table-sort/data-table-sort.component" {
|
|
|
6766
7012
|
*/
|
|
6767
7013
|
export default class ZnDataTableSort extends ZincElement {
|
|
6768
7014
|
static styles: CSSResultGroup;
|
|
6769
|
-
render(): import("lit").TemplateResult<1>;
|
|
7015
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
6770
7016
|
}
|
|
6771
7017
|
}
|
|
6772
7018
|
declare module "components/data-table-sort/index" {
|
|
@@ -6802,7 +7048,7 @@ declare module "components/action-bar/action-bar.component" {
|
|
|
6802
7048
|
export default class ZnActionBar extends ZincElement {
|
|
6803
7049
|
static styles: CSSResultGroup;
|
|
6804
7050
|
private readonly localize;
|
|
6805
|
-
render(): import("lit").TemplateResult<1>;
|
|
7051
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
6806
7052
|
}
|
|
6807
7053
|
}
|
|
6808
7054
|
declare module "components/action-bar/index" {
|
|
@@ -6815,77 +7061,6 @@ declare module "components/action-bar/index" {
|
|
|
6815
7061
|
}
|
|
6816
7062
|
}
|
|
6817
7063
|
}
|
|
6818
|
-
declare module "components/expanding-action/expanding-action.component" {
|
|
6819
|
-
import { type CSSResultGroup, type PropertyValues } from 'lit';
|
|
6820
|
-
import ZincElement from "internal/zinc-element";
|
|
6821
|
-
/**
|
|
6822
|
-
* @summary Short summary of the component's intended use.
|
|
6823
|
-
* @documentation https://zinc.style/components/expanding-action
|
|
6824
|
-
* @status experimental
|
|
6825
|
-
* @since 1.0
|
|
6826
|
-
*
|
|
6827
|
-
* @dependency zn-example
|
|
6828
|
-
*
|
|
6829
|
-
* @event zn-event-name - Emitted as an example.
|
|
6830
|
-
*
|
|
6831
|
-
* @slot - The default slot.
|
|
6832
|
-
* @slot example - An example slot.
|
|
6833
|
-
*
|
|
6834
|
-
* @csspart base - The component's base wrapper.
|
|
6835
|
-
*
|
|
6836
|
-
* @cssproperty --example - An example CSS custom property.
|
|
6837
|
-
*/
|
|
6838
|
-
export default class ZnExpandingAction extends ZincElement {
|
|
6839
|
-
static styles: CSSResultGroup;
|
|
6840
|
-
icon: string;
|
|
6841
|
-
method: 'drop' | 'fill';
|
|
6842
|
-
contextUri: string;
|
|
6843
|
-
count: string;
|
|
6844
|
-
color: string;
|
|
6845
|
-
prefetch: boolean;
|
|
6846
|
-
basis: string;
|
|
6847
|
-
maxHeight: string;
|
|
6848
|
-
open: boolean;
|
|
6849
|
-
masterId: string;
|
|
6850
|
-
fetchStyle: string;
|
|
6851
|
-
noPrefetch: boolean;
|
|
6852
|
-
private _panel;
|
|
6853
|
-
private _panels;
|
|
6854
|
-
private _knownUri;
|
|
6855
|
-
private _actions;
|
|
6856
|
-
private _preload;
|
|
6857
|
-
private _countObserver?;
|
|
6858
|
-
private _colorObserver?;
|
|
6859
|
-
constructor();
|
|
6860
|
-
connectedCallback(): Promise<void>;
|
|
6861
|
-
disconnectedCallback(): void;
|
|
6862
|
-
firstUpdated(_changedProperties: PropertyValues): void;
|
|
6863
|
-
_observeMetaData(): void;
|
|
6864
|
-
_registerActions(): void;
|
|
6865
|
-
_addAction(action: HTMLElement): void;
|
|
6866
|
-
_uriToId(actionUri: string): string;
|
|
6867
|
-
_handleClick(event: PointerEvent): void;
|
|
6868
|
-
_createUriPanel(actionEle: Element, actionUri: string, actionId: string): HTMLDivElement;
|
|
6869
|
-
fetchUri(target: HTMLElement): void;
|
|
6870
|
-
fetchContextHeaders(): Promise<void>;
|
|
6871
|
-
clickAction(target: HTMLElement): void;
|
|
6872
|
-
handleIconClicked: () => void;
|
|
6873
|
-
handleIconCloseClicked: () => void;
|
|
6874
|
-
render(): import("lit").TemplateResult<1>;
|
|
6875
|
-
protected renderDropdown(): import("lit").TemplateResult<1>;
|
|
6876
|
-
protected renderFill(): import("lit").TemplateResult<1>;
|
|
6877
|
-
}
|
|
6878
|
-
}
|
|
6879
|
-
declare module "components/expanding-action/index" {
|
|
6880
|
-
import ZnExpandingAction from "components/expanding-action/expanding-action.component";
|
|
6881
|
-
export * from "components/expanding-action/expanding-action.component";
|
|
6882
|
-
export default ZnExpandingAction;
|
|
6883
|
-
global {
|
|
6884
|
-
interface HTMLElementTagNameMap {
|
|
6885
|
-
'zn-expanding-action': ZnExpandingAction;
|
|
6886
|
-
}
|
|
6887
|
-
}
|
|
6888
|
-
}
|
|
6889
7064
|
declare module "components/page-nav/page-nav.component" {
|
|
6890
7065
|
import { type CSSResultGroup } from 'lit';
|
|
6891
7066
|
import ZnTabs from "components/tabs/index";
|
|
@@ -6925,7 +7100,7 @@ declare module "components/page-nav/page-nav.component" {
|
|
|
6925
7100
|
toggleNavigation(): void;
|
|
6926
7101
|
setActiveTab(tabName: string, store: boolean, refresh: boolean, refTab?: string | null): void;
|
|
6927
7102
|
clickTab(target: HTMLElement, refresh: boolean, close?: boolean): void;
|
|
6928
|
-
render(): import("lit").TemplateResult<1>;
|
|
7103
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
6929
7104
|
}
|
|
6930
7105
|
}
|
|
6931
7106
|
declare module "components/page-nav/index" {
|
|
@@ -6950,7 +7125,7 @@ declare module "components/status-indicator/status-indicator.component" {
|
|
|
6950
7125
|
export default class ZnStatusIndicator extends ZincElement {
|
|
6951
7126
|
static styles: CSSResultGroup;
|
|
6952
7127
|
type: 'success' | 'error' | 'warning' | 'info';
|
|
6953
|
-
render(): import("lit").TemplateResult<1>;
|
|
7128
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
6954
7129
|
}
|
|
6955
7130
|
}
|
|
6956
7131
|
declare module "components/status-indicator/index" {
|
|
@@ -7002,7 +7177,7 @@ declare module "components/split-button/split-button.component" {
|
|
|
7002
7177
|
disconnectedCallback(): void;
|
|
7003
7178
|
handleMenuItemClick(e: ZnMenuSelectEvent): void;
|
|
7004
7179
|
handleTriggerClick(): void;
|
|
7005
|
-
render(): import("lit").TemplateResult<1>;
|
|
7180
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
7006
7181
|
private renderTriggerSlot;
|
|
7007
7182
|
checkValidity(): boolean;
|
|
7008
7183
|
getForm(): HTMLFormElement | null;
|
|
@@ -7049,7 +7224,7 @@ declare module "components/content-block/content-block.component" {
|
|
|
7049
7224
|
iframe: Promise<HTMLIFrameElement>;
|
|
7050
7225
|
private readonly hasSlotController;
|
|
7051
7226
|
private _textRows;
|
|
7052
|
-
private _footerObserver
|
|
7227
|
+
private readonly _footerObserver;
|
|
7053
7228
|
private _replaceDebounce;
|
|
7054
7229
|
connectedCallback(): void;
|
|
7055
7230
|
disconnectedCallback(): void;
|
|
@@ -7058,7 +7233,7 @@ declare module "components/content-block/content-block.component" {
|
|
|
7058
7233
|
private _toggleHtml;
|
|
7059
7234
|
private _resizeIframe;
|
|
7060
7235
|
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
7061
|
-
protected render(): import("lit").TemplateResult<1>;
|
|
7236
|
+
protected render(): import("lit-html").TemplateResult<1>;
|
|
7062
7237
|
protected truncateText(): string;
|
|
7063
7238
|
private _handleSlotChange;
|
|
7064
7239
|
private _debouncedReplace;
|
|
@@ -7104,7 +7279,7 @@ declare module "components/filter-wrapper/filter-wrapper.component" {
|
|
|
7104
7279
|
handleSubmit: (event: Event) => void;
|
|
7105
7280
|
connectedCallback(): void;
|
|
7106
7281
|
private renderDefaultButton;
|
|
7107
|
-
render(): import("lit").TemplateResult<1>;
|
|
7282
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
7108
7283
|
}
|
|
7109
7284
|
}
|
|
7110
7285
|
declare module "components/filter-wrapper/index" {
|
|
@@ -7150,12 +7325,11 @@ declare module "components/settings-container/settings-container.component" {
|
|
|
7150
7325
|
position: 'top-end' | 'top-start' | 'bottom-end' | 'bottom-start';
|
|
7151
7326
|
storeKey: string;
|
|
7152
7327
|
noScroll: boolean;
|
|
7153
|
-
private _mutationObserver;
|
|
7328
|
+
private readonly _mutationObserver;
|
|
7154
7329
|
private _updateFiltersScheduled;
|
|
7155
7330
|
private _store;
|
|
7156
7331
|
private _hiddenElements;
|
|
7157
7332
|
connectedCallback(): void;
|
|
7158
|
-
disconnectedCallback(): void;
|
|
7159
7333
|
private scheduleUpdateFilters;
|
|
7160
7334
|
private handleContentSlotChange;
|
|
7161
7335
|
private handleFiltersSlotChange;
|
|
@@ -7163,7 +7337,7 @@ declare module "components/settings-container/settings-container.component" {
|
|
|
7163
7337
|
private updateSingleFilter;
|
|
7164
7338
|
updateFilters(): void;
|
|
7165
7339
|
updateFilter(e: ZnChangeEvent): void;
|
|
7166
|
-
render(): import("lit").TemplateResult<1>;
|
|
7340
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
7167
7341
|
private getDropdownContent;
|
|
7168
7342
|
}
|
|
7169
7343
|
}
|
|
@@ -7201,7 +7375,7 @@ declare module "components/filter-container/filter-container.component" {
|
|
|
7201
7375
|
static styles: CSSResultGroup;
|
|
7202
7376
|
attr: string;
|
|
7203
7377
|
handleSearchChange(event: Event): void;
|
|
7204
|
-
render(): import("lit").TemplateResult<1>;
|
|
7378
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
7205
7379
|
}
|
|
7206
7380
|
}
|
|
7207
7381
|
declare module "components/filter-container/index" {
|
|
@@ -7252,7 +7426,7 @@ declare module "components/reveal/reveal.component" {
|
|
|
7252
7426
|
protected handleToggleReveal(): void;
|
|
7253
7427
|
protected handleMouseEnter(): void;
|
|
7254
7428
|
protected handleMouseLeave(): void;
|
|
7255
|
-
render(): import("lit").TemplateResult<1>;
|
|
7429
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
7256
7430
|
}
|
|
7257
7431
|
}
|
|
7258
7432
|
declare module "components/reveal/index" {
|
|
@@ -7301,7 +7475,7 @@ declare module "components/audio-select/audio-select.component" {
|
|
|
7301
7475
|
stopAudio(): void;
|
|
7302
7476
|
handleSelectChange(e: ZnChangeEvent): void;
|
|
7303
7477
|
togglePreview(e: CustomEvent): void;
|
|
7304
|
-
render(): import("lit").TemplateResult<1>;
|
|
7478
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
7305
7479
|
}
|
|
7306
7480
|
}
|
|
7307
7481
|
declare module "components/audio-select/index" {
|
|
@@ -7350,9 +7524,9 @@ declare module "components/translations/translations.component" {
|
|
|
7350
7524
|
values: Record<string, string>;
|
|
7351
7525
|
private _activeLanguage;
|
|
7352
7526
|
private _overflowIndex;
|
|
7353
|
-
private _resizeObserver?;
|
|
7354
7527
|
private _lastObservedWidth;
|
|
7355
7528
|
private _measureRafId;
|
|
7529
|
+
constructor();
|
|
7356
7530
|
get validity(): ValidityState;
|
|
7357
7531
|
get validationMessage(): string;
|
|
7358
7532
|
checkValidity(): boolean;
|
|
@@ -7367,7 +7541,6 @@ declare module "components/translations/translations.component" {
|
|
|
7367
7541
|
addLanguageKey(languageCode: string): void;
|
|
7368
7542
|
/** Returns all language codes that have values. */
|
|
7369
7543
|
getValueLanguages(): string[];
|
|
7370
|
-
connectedCallback(): void;
|
|
7371
7544
|
disconnectedCallback(): void;
|
|
7372
7545
|
protected firstUpdated(): void;
|
|
7373
7546
|
protected updated(changedProperties: PropertyValues): void;
|
|
@@ -7382,7 +7555,7 @@ declare module "components/translations/translations.component" {
|
|
|
7382
7555
|
private handleKeyDown;
|
|
7383
7556
|
private handleSubmit;
|
|
7384
7557
|
private isRTLLanguage;
|
|
7385
|
-
render(): import("lit").TemplateResult<1>;
|
|
7558
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
7386
7559
|
}
|
|
7387
7560
|
}
|
|
7388
7561
|
declare module "components/translations/index" {
|
|
@@ -7410,7 +7583,7 @@ declare module "components/key/key.component" {
|
|
|
7410
7583
|
active: boolean;
|
|
7411
7584
|
iconSize: number;
|
|
7412
7585
|
private _handleClick;
|
|
7413
|
-
render(): import("lit").TemplateResult<1>;
|
|
7586
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
7414
7587
|
}
|
|
7415
7588
|
}
|
|
7416
7589
|
declare module "components/key/index" {
|
|
@@ -7454,7 +7627,7 @@ declare module "components/key-container/key-container.component" {
|
|
|
7454
7627
|
private getKeys;
|
|
7455
7628
|
private updateFilters;
|
|
7456
7629
|
private itemMatchesKey;
|
|
7457
|
-
render(): import("lit").TemplateResult<1>;
|
|
7630
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
7458
7631
|
}
|
|
7459
7632
|
}
|
|
7460
7633
|
declare module "components/key-container/index" {
|
|
@@ -7514,7 +7687,7 @@ declare module "components/animated-button/animated-button.component" {
|
|
|
7514
7687
|
private scheduleRedirect;
|
|
7515
7688
|
private scheduleReset;
|
|
7516
7689
|
private handleClick;
|
|
7517
|
-
protected render(): import("lit").TemplateResult<1>;
|
|
7690
|
+
protected render(): import("lit-html").TemplateResult<1>;
|
|
7518
7691
|
}
|
|
7519
7692
|
}
|
|
7520
7693
|
declare module "components/animated-button/index" {
|
|
@@ -7568,10 +7741,9 @@ declare module "components/translation-group/translation-group.component" {
|
|
|
7568
7741
|
/** Tracks all language codes that have been activated across children. */
|
|
7569
7742
|
private _activatedLanguages;
|
|
7570
7743
|
private _overflowIndex;
|
|
7571
|
-
private _resizeObserver?;
|
|
7572
7744
|
private _lastObservedWidth;
|
|
7573
7745
|
private _measureRafId;
|
|
7574
|
-
|
|
7746
|
+
constructor();
|
|
7575
7747
|
disconnectedCallback(): void;
|
|
7576
7748
|
protected firstUpdated(_changedProperties: PropertyValues): void;
|
|
7577
7749
|
protected updated(changedProperties: PropertyValues): void;
|
|
@@ -7585,7 +7757,7 @@ declare module "components/translation-group/translation-group.component" {
|
|
|
7585
7757
|
private switchLanguage;
|
|
7586
7758
|
private handleLanguageAdd;
|
|
7587
7759
|
private handleOverflowSelect;
|
|
7588
|
-
render(): import("lit").TemplateResult<1>;
|
|
7760
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
7589
7761
|
}
|
|
7590
7762
|
}
|
|
7591
7763
|
declare module "components/translation-group/index" {
|
|
@@ -7750,7 +7922,7 @@ declare module "components/priority-list/priority-list.component" {
|
|
|
7750
7922
|
/** Sets a custom validation message. Pass an empty string to restore validity. */
|
|
7751
7923
|
setCustomValidity(_message?: string): void;
|
|
7752
7924
|
protected updated(changedProperties: PropertyValues): void;
|
|
7753
|
-
render(): import("lit").TemplateResult<1>;
|
|
7925
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
7754
7926
|
}
|
|
7755
7927
|
}
|
|
7756
7928
|
declare module "components/priority-list/index" {
|
|
@@ -7849,8 +8021,8 @@ declare module "components/markdown-editor/markdown-editor.component" {
|
|
|
7849
8021
|
handleViewModeChange(): Promise<void>;
|
|
7850
8022
|
handleValueChange(): Promise<void>;
|
|
7851
8023
|
handleMarkedReady(): void;
|
|
7852
|
-
render(): import("lit").TemplateResult<1>;
|
|
7853
|
-
markdownHelperBtn(): import("lit").TemplateResult<1>;
|
|
8024
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
8025
|
+
markdownHelperBtn(): import("lit-html").TemplateResult<1>;
|
|
7854
8026
|
private renderViewButton;
|
|
7855
8027
|
}
|
|
7856
8028
|
}
|
|
@@ -7864,6 +8036,9 @@ declare module "components/markdown-editor/index" {
|
|
|
7864
8036
|
}
|
|
7865
8037
|
}
|
|
7866
8038
|
}
|
|
8039
|
+
declare module "utilities/form" {
|
|
8040
|
+
export { clearFormStoreValues } from "internal/form";
|
|
8041
|
+
}
|
|
7867
8042
|
declare module "events/zn-after-hide" {
|
|
7868
8043
|
export type ZnAfterHideEvent = CustomEvent<Record<PropertyKey, never>>;
|
|
7869
8044
|
global {
|
|
@@ -7994,6 +8169,8 @@ declare module "zinc" {
|
|
|
7994
8169
|
export { default as SimpleChart } from "components/simple-chart/index";
|
|
7995
8170
|
export { default as Header } from "components/header/index";
|
|
7996
8171
|
export { default as Navbar } from "components/navbar/index";
|
|
8172
|
+
export { default as Page } from "components/page/index";
|
|
8173
|
+
export { default as Tab } from "components/tab/index";
|
|
7997
8174
|
export { default as IconPicker } from "components/icon-picker/index";
|
|
7998
8175
|
export { default as InlineEdit } from "components/inline-edit/index";
|
|
7999
8176
|
export { default as Pagination } from "components/pagination/index";
|
|
@@ -8066,6 +8243,7 @@ declare module "zinc" {
|
|
|
8066
8243
|
export * from "utilities/on";
|
|
8067
8244
|
export * from "utilities/query";
|
|
8068
8245
|
export * from "utilities/lit-to-html";
|
|
8246
|
+
export * from "utilities/form";
|
|
8069
8247
|
export * from "events/events";
|
|
8070
8248
|
}
|
|
8071
8249
|
declare module "components/editor/modules/events/zn-command-select" {
|