@luzmo/ngx-lucero 1.0.3-alpha.7 → 1.0.3-alpha.8
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/esm/components/accordion-item.js +1 -1
- package/esm/components/accordion.js +1 -1
- package/esm/components/action-bar.js +1 -1
- package/esm/components/action-button.js +1 -1
- package/esm/components/action-group.js +1 -1
- package/esm/components/action-menu.js +1 -1
- package/esm/components/avatar.js +1 -1
- package/esm/components/badge.js +1 -1
- package/esm/components/button-group.js +1 -1
- package/esm/components/button.js +1 -1
- package/esm/components/calendar.js +1 -1
- package/esm/components/chat-message-group.js +1 -1
- package/esm/components/chat-message.js +1 -1
- package/esm/components/checkbox.js +1 -1
- package/esm/components/clear-button.js +1 -1
- package/esm/components/close-button.js +1 -1
- package/esm/components/color-area.js +1 -1
- package/esm/components/color-field.js +1 -1
- package/esm/components/color-handle.js +1 -1
- package/esm/components/color-loupe.js +1 -1
- package/esm/components/color-menu.js +1 -1
- package/esm/components/color-palette-group.js +1 -1
- package/esm/components/color-palette.js +1 -1
- package/esm/components/color-picker.js +1 -1
- package/esm/components/color-slider.js +1 -1
- package/esm/components/date-range-picker.js +1 -1
- package/esm/components/date-time-picker.js +1 -1
- package/esm/components/divider.js +1 -1
- package/esm/components/field-group.js +1 -1
- package/esm/components/field-label.js +1 -1
- package/esm/components/help-text.js +1 -1
- package/esm/components/icon.js +1 -1
- package/esm/components/infield-button.js +1 -1
- package/esm/components/label.js +1 -1
- package/esm/components/menu-divider.d.ts +29 -0
- package/esm/components/menu-divider.js +69 -0
- package/esm/components/menu-group.d.ts +55 -0
- package/esm/components/menu-group.js +229 -0
- package/esm/components/menu-item.d.ts +64 -0
- package/esm/components/menu-item.js +249 -0
- package/esm/components/menu.d.ts +1 -0
- package/esm/components/menu.js +2 -2
- package/esm/components/multi-language-field.js +1 -1
- package/esm/components/number-field.js +1 -1
- package/esm/components/options.js +1 -1
- package/esm/components/overlay.js +1 -1
- package/esm/components/picker-button.js +1 -1
- package/esm/components/picker.js +1 -1
- package/esm/components/popover.js +1 -1
- package/esm/components/progress-bar.js +1 -1
- package/esm/components/progress-circle.js +1 -1
- package/esm/components/progress-steps.js +1 -1
- package/esm/components/prompt-box.js +1 -1
- package/esm/components/radio-group.js +1 -1
- package/esm/components/radio.js +1 -1
- package/esm/components/search.js +1 -1
- package/esm/components/select.js +1 -1
- package/esm/components/skeleton-loader.js +1 -1
- package/esm/components/slider.js +1 -1
- package/esm/components/status-light.js +1 -1
- package/esm/components/swatch-group.js +1 -1
- package/esm/components/swatch.js +1 -1
- package/esm/components/switch.js +1 -1
- package/esm/components/tab-panel.js +1 -1
- package/esm/components/tab.js +1 -1
- package/esm/components/tabs-overflow.js +1 -1
- package/esm/components/tabs.js +1 -1
- package/esm/components/tag.js +1 -1
- package/esm/components/tags.js +1 -1
- package/esm/components/text-field.js +1 -1
- package/esm/components/toast.js +1 -1
- package/esm/components/tooltip.js +1 -1
- package/esm/components/top-nav-item.js +1 -1
- package/esm/components/top-nav.js +1 -1
- package/esm/index.d.ts +8 -2
- package/esm/index.js +12 -0
- package/package.json +2 -2
|
@@ -83,7 +83,7 @@ export class LuzmoAccordionItem {
|
|
|
83
83
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoAccordionItem, selectors: [["luzmo-accordion-item"]], inputs: { open: "open", label: "label", disabled: "disabled", size: "size", tabIndex: "tabIndex" }, outputs: { luzmoAccordionItemToggleEvent: "luzmo-accordion-item-toggle", keydownEvent: "keydown" }, exportAs: ["luzmoAccordionItem"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoAccordionItem_Template(rf, ctx) { if (rf & 1) {
|
|
84
84
|
i0.ɵɵprojectionDef();
|
|
85
85
|
i0.ɵɵprojection(0);
|
|
86
|
-
} }, encapsulation: 2 });
|
|
86
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
87
87
|
}
|
|
88
88
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoAccordionItem, [{
|
|
89
89
|
type: Component,
|
|
@@ -81,7 +81,7 @@ export class LuzmoAccordion {
|
|
|
81
81
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoAccordion, selectors: [["luzmo-accordion"]], inputs: { allowMultiple: "allowMultiple", density: "density", headerCase: "headerCase", noContentPadding: "noContentPadding", variant: "variant", size: "size" }, exportAs: ["luzmoAccordion"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoAccordion_Template(rf, ctx) { if (rf & 1) {
|
|
82
82
|
i0.ɵɵprojectionDef();
|
|
83
83
|
i0.ɵɵprojection(0);
|
|
84
|
-
} }, encapsulation: 2 });
|
|
84
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
85
85
|
}
|
|
86
86
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoAccordion, [{
|
|
87
87
|
type: Component,
|
|
@@ -62,7 +62,7 @@ export class LuzmoActionBar {
|
|
|
62
62
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoActionBar, selectors: [["luzmo-action-bar"]], inputs: { emphasized: "emphasized", open: "open" }, outputs: { closeEvent: "close" }, exportAs: ["luzmoActionBar"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoActionBar_Template(rf, ctx) { if (rf & 1) {
|
|
63
63
|
i0.ɵɵprojectionDef();
|
|
64
64
|
i0.ɵɵprojection(0);
|
|
65
|
-
} }, encapsulation: 2 });
|
|
65
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
66
66
|
}
|
|
67
67
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoActionBar, [{
|
|
68
68
|
type: Component,
|
|
@@ -218,7 +218,7 @@ export class LuzmoActionButton {
|
|
|
218
218
|
]), i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoActionButton_Template(rf, ctx) { if (rf & 1) {
|
|
219
219
|
i0.ɵɵprojectionDef();
|
|
220
220
|
i0.ɵɵprojection(0);
|
|
221
|
-
} }, encapsulation: 2 });
|
|
221
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
222
222
|
}
|
|
223
223
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoActionButton, [{
|
|
224
224
|
type: Component,
|
|
@@ -108,7 +108,7 @@ export class LuzmoActionGroup {
|
|
|
108
108
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoActionGroup, selectors: [["luzmo-action-group"]], inputs: { buttons: "buttons", rovingTabindexController: "rovingTabindexController", compact: "compact", emphasized: "emphasized", justified: "justified", label: "label", quiet: "quiet", selects: "selects", staticColor: "staticColor", vertical: "vertical", selected: "selected", slotElement: "slotElement", size: "size" }, outputs: { changeEvent: "change" }, exportAs: ["luzmoActionGroup"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoActionGroup_Template(rf, ctx) { if (rf & 1) {
|
|
109
109
|
i0.ɵɵprojectionDef();
|
|
110
110
|
i0.ɵɵprojection(0);
|
|
111
|
-
} }, encapsulation: 2 });
|
|
111
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
112
112
|
}
|
|
113
113
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoActionGroup, [{
|
|
114
114
|
type: Component,
|
|
@@ -255,7 +255,7 @@ export class LuzmoActionMenu {
|
|
|
255
255
|
]), i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoActionMenu_Template(rf, ctx) { if (rf & 1) {
|
|
256
256
|
i0.ɵɵprojectionDef();
|
|
257
257
|
i0.ɵɵprojection(0);
|
|
258
|
-
} }, encapsulation: 2 });
|
|
258
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
259
259
|
}
|
|
260
260
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoActionMenu, [{
|
|
261
261
|
type: Component,
|
package/esm/components/avatar.js
CHANGED
|
@@ -118,7 +118,7 @@ export class LuzmoAvatar {
|
|
|
118
118
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoAvatar, selectors: [["luzmo-avatar"]], inputs: { border: "border", rounding: "rounding", src: "src", isDecorative: "isDecorative", download: "download", label: "label", href: "href", target: "target", referrerpolicy: "referrerpolicy", rel: "rel", size: "size", disabled: "disabled", tabIndex: "tabIndex" }, outputs: { keydownEvent: "keydown" }, exportAs: ["luzmoAvatar"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoAvatar_Template(rf, ctx) { if (rf & 1) {
|
|
119
119
|
i0.ɵɵprojectionDef();
|
|
120
120
|
i0.ɵɵprojection(0);
|
|
121
|
-
} }, encapsulation: 2 });
|
|
121
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
122
122
|
}
|
|
123
123
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoAvatar, [{
|
|
124
124
|
type: Component,
|
package/esm/components/badge.js
CHANGED
|
@@ -66,7 +66,7 @@ export class LuzmoBadge {
|
|
|
66
66
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoBadge, selectors: [["luzmo-badge"]], inputs: { variant: "variant", treatment: "treatment", fixed: "fixed", size: "size" }, exportAs: ["luzmoBadge"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoBadge_Template(rf, ctx) { if (rf & 1) {
|
|
67
67
|
i0.ɵɵprojectionDef();
|
|
68
68
|
i0.ɵɵprojection(0);
|
|
69
|
-
} }, encapsulation: 2 });
|
|
69
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
70
70
|
}
|
|
71
71
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoBadge, [{
|
|
72
72
|
type: Component,
|
|
@@ -57,7 +57,7 @@ export class LuzmoButtonGroup {
|
|
|
57
57
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoButtonGroup, selectors: [["luzmo-button-group"]], inputs: { vertical: "vertical", size: "size" }, exportAs: ["luzmoButtonGroup"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoButtonGroup_Template(rf, ctx) { if (rf & 1) {
|
|
58
58
|
i0.ɵɵprojectionDef();
|
|
59
59
|
i0.ɵɵprojection(0);
|
|
60
|
-
} }, encapsulation: 2 });
|
|
60
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
61
61
|
}
|
|
62
62
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoButtonGroup, [{
|
|
63
63
|
type: Component,
|
package/esm/components/button.js
CHANGED
|
@@ -147,7 +147,7 @@ export class LuzmoButton {
|
|
|
147
147
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoButton, selectors: [["luzmo-button"]], inputs: { pendingLabel: "pendingLabel", pending: "pending", variant: "variant", staticColor: "staticColor", treatment: "treatment", quiet: "quiet", noWrap: "noWrap", pendingStateController: "pendingStateController", size: "size", download: "download", label: "label", href: "href", target: "target", referrerpolicy: "referrerpolicy", rel: "rel", active: "active", type: "type", disabled: "disabled", tabIndex: "tabIndex" }, outputs: { changeEvent: "change", keydownEvent: "keydown" }, exportAs: ["luzmoButton"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoButton_Template(rf, ctx) { if (rf & 1) {
|
|
148
148
|
i0.ɵɵprojectionDef();
|
|
149
149
|
i0.ɵɵprojection(0);
|
|
150
|
-
} }, encapsulation: 2 });
|
|
150
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
151
151
|
}
|
|
152
152
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoButton, [{
|
|
153
153
|
type: Component,
|
|
@@ -173,7 +173,7 @@ export class LuzmoCalendar {
|
|
|
173
173
|
]), i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoCalendar_Template(rf, ctx) { if (rf & 1) {
|
|
174
174
|
i0.ɵɵprojectionDef();
|
|
175
175
|
i0.ɵɵprojection(0);
|
|
176
|
-
} }, encapsulation: 2 });
|
|
176
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
177
177
|
}
|
|
178
178
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoCalendar, [{
|
|
179
179
|
type: Component,
|
|
@@ -62,7 +62,7 @@ export class LuzmoChatMessageGroup {
|
|
|
62
62
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoChatMessageGroup, selectors: [["luzmo-chat-message-group"]], inputs: { avatarPlacement: "avatarPlacement", size: "size" }, exportAs: ["luzmoChatMessageGroup"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoChatMessageGroup_Template(rf, ctx) { if (rf & 1) {
|
|
63
63
|
i0.ɵɵprojectionDef();
|
|
64
64
|
i0.ɵɵprojection(0);
|
|
65
|
-
} }, encapsulation: 2 });
|
|
65
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
66
66
|
}
|
|
67
67
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoChatMessageGroup, [{
|
|
68
68
|
type: Component,
|
|
@@ -112,7 +112,7 @@ export class LuzmoChatMessage {
|
|
|
112
112
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoChatMessage, selectors: [["luzmo-chat-message"]], inputs: { position: "position", variant: "variant", treatment: "treatment", quiet: "quiet", name: "name", datetime: "datetime", datetimeFormatOptions: "datetimeFormatOptions", datetimeLanguage: "datetimeLanguage", meta: "meta", actionsPosition: [0, "actions", "actionsPosition"], avatarPlacement: "avatarPlacement", size: "size" }, exportAs: ["luzmoChatMessage"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoChatMessage_Template(rf, ctx) { if (rf & 1) {
|
|
113
113
|
i0.ɵɵprojectionDef();
|
|
114
114
|
i0.ɵɵprojection(0);
|
|
115
|
-
} }, encapsulation: 2 });
|
|
115
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
116
116
|
}
|
|
117
117
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoChatMessage, [{
|
|
118
118
|
type: Component,
|
|
@@ -154,7 +154,7 @@ export class LuzmoCheckbox {
|
|
|
154
154
|
]), i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoCheckbox_Template(rf, ctx) { if (rf & 1) {
|
|
155
155
|
i0.ɵɵprojectionDef();
|
|
156
156
|
i0.ɵɵprojection(0);
|
|
157
|
-
} }, encapsulation: 2 });
|
|
157
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
158
158
|
}
|
|
159
159
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoCheckbox, [{
|
|
160
160
|
type: Component,
|
|
@@ -115,7 +115,7 @@ export class LuzmoClearButton {
|
|
|
115
115
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoClearButton, selectors: [["luzmo-clear-button"]], inputs: { variant: "variant", size: "size", download: "download", label: "label", href: "href", target: "target", referrerpolicy: "referrerpolicy", rel: "rel", active: "active", type: "type", disabled: "disabled", tabIndex: "tabIndex" }, outputs: { keydownEvent: "keydown" }, exportAs: ["luzmoClearButton"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoClearButton_Template(rf, ctx) { if (rf & 1) {
|
|
116
116
|
i0.ɵɵprojectionDef();
|
|
117
117
|
i0.ɵɵprojection(0);
|
|
118
|
-
} }, encapsulation: 2 });
|
|
118
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
119
119
|
}
|
|
120
120
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoClearButton, [{
|
|
121
121
|
type: Component,
|
|
@@ -119,7 +119,7 @@ export class LuzmoCloseButton {
|
|
|
119
119
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoCloseButton, selectors: [["luzmo-close-button"]], inputs: { variant: "variant", staticColor: "staticColor", size: "size", download: "download", label: "label", href: "href", target: "target", referrerpolicy: "referrerpolicy", rel: "rel", active: "active", type: "type", disabled: "disabled", tabIndex: "tabIndex" }, outputs: { keydownEvent: "keydown" }, exportAs: ["luzmoCloseButton"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoCloseButton_Template(rf, ctx) { if (rf & 1) {
|
|
120
120
|
i0.ɵɵprojectionDef();
|
|
121
121
|
i0.ɵɵprojection(0);
|
|
122
|
-
} }, encapsulation: 2 });
|
|
122
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
123
123
|
}
|
|
124
124
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoCloseButton, [{
|
|
125
125
|
type: Component,
|
|
@@ -105,7 +105,7 @@ export class LuzmoColorArea {
|
|
|
105
105
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoColorArea, selectors: [["luzmo-color-area"]], inputs: { disabled: "disabled", focused: "focused", labelX: "labelX", labelY: "labelY", hue: "hue", color: "color", x: "x", y: "y", step: "step", inputX: "inputX", inputY: "inputY" }, outputs: { inputEvent: "input", changeEvent: "change" }, exportAs: ["luzmoColorArea"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoColorArea_Template(rf, ctx) { if (rf & 1) {
|
|
106
106
|
i0.ɵɵprojectionDef();
|
|
107
107
|
i0.ɵɵprojection(0);
|
|
108
|
-
} }, encapsulation: 2 });
|
|
108
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
109
109
|
}
|
|
110
110
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoColorArea, [{
|
|
111
111
|
type: Component,
|
|
@@ -260,7 +260,7 @@ export class LuzmoColorField {
|
|
|
260
260
|
]), i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoColorField_Template(rf, ctx) { if (rf & 1) {
|
|
261
261
|
i0.ɵɵprojectionDef();
|
|
262
262
|
i0.ɵɵprojection(0);
|
|
263
|
-
} }, encapsulation: 2 });
|
|
263
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
264
264
|
}
|
|
265
265
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoColorField, [{
|
|
266
266
|
type: Component,
|
|
@@ -63,7 +63,7 @@ export class LuzmoColorHandle {
|
|
|
63
63
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoColorHandle, selectors: [["luzmo-color-handle"]], inputs: { disabled: "disabled", focused: "focused", open: "open", color: "color" }, exportAs: ["luzmoColorHandle"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoColorHandle_Template(rf, ctx) { if (rf & 1) {
|
|
64
64
|
i0.ɵɵprojectionDef();
|
|
65
65
|
i0.ɵɵprojection(0);
|
|
66
|
-
} }, encapsulation: 2 });
|
|
66
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
67
67
|
}
|
|
68
68
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoColorHandle, [{
|
|
69
69
|
type: Component,
|
|
@@ -55,7 +55,7 @@ export class LuzmoColorLoupe {
|
|
|
55
55
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoColorLoupe, selectors: [["luzmo-color-loupe"]], inputs: { open: "open", color: "color" }, exportAs: ["luzmoColorLoupe"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoColorLoupe_Template(rf, ctx) { if (rf & 1) {
|
|
56
56
|
i0.ɵɵprojectionDef();
|
|
57
57
|
i0.ɵɵprojection(0);
|
|
58
|
-
} }, encapsulation: 2 });
|
|
58
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
59
59
|
}
|
|
60
60
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoColorLoupe, [{
|
|
61
61
|
type: Component,
|
|
@@ -92,7 +92,7 @@ export class LuzmoColorMenu {
|
|
|
92
92
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoColorMenu, selectors: [["luzmo-color-menu"]], inputs: { color: "color", noAlphaChannel: "noAlphaChannel", swatches: "swatches", areaElement: "areaElement", size: "size", disabled: "disabled", tabIndex: "tabIndex" }, outputs: { changeEvent: "change", keydownEvent: "keydown" }, exportAs: ["luzmoColorMenu"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoColorMenu_Template(rf, ctx) { if (rf & 1) {
|
|
93
93
|
i0.ɵɵprojectionDef();
|
|
94
94
|
i0.ɵɵprojection(0);
|
|
95
|
-
} }, encapsulation: 2 });
|
|
95
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
96
96
|
}
|
|
97
97
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoColorMenu, [{
|
|
98
98
|
type: Component,
|
|
@@ -88,7 +88,7 @@ export class LuzmoColorPaletteGroup {
|
|
|
88
88
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoColorPaletteGroup, selectors: [["luzmo-color-palette-group"]], inputs: { disabled: "disabled", horizontal: "horizontal", rovingTabindexController: "rovingTabindexController", label: "label", selected: "selected", slotElement: "slotElement", size: "size" }, outputs: { changeEvent: "change" }, exportAs: ["luzmoColorPaletteGroup"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoColorPaletteGroup_Template(rf, ctx) { if (rf & 1) {
|
|
89
89
|
i0.ɵɵprojectionDef();
|
|
90
90
|
i0.ɵɵprojection(0);
|
|
91
|
-
} }, encapsulation: 2 });
|
|
91
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
92
92
|
}
|
|
93
93
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoColorPaletteGroup, [{
|
|
94
94
|
type: Component,
|
|
@@ -103,7 +103,7 @@ export class LuzmoColorPalette {
|
|
|
103
103
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoColorPalette, selectors: [["luzmo-color-palette"]], inputs: { disabled: "disabled", focused: "focused", selected: "selected", active: "active", value: "value", colors: "colors", reverse: "reverse", horizontal: "horizontal", size: "size", tabIndex: "tabIndex" }, outputs: { keydownEvent: "keydown" }, exportAs: ["luzmoColorPalette"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoColorPalette_Template(rf, ctx) { if (rf & 1) {
|
|
104
104
|
i0.ɵɵprojectionDef();
|
|
105
105
|
i0.ɵɵprojection(0);
|
|
106
|
-
} }, encapsulation: 2 });
|
|
106
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
107
107
|
}
|
|
108
108
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoColorPalette, [{
|
|
109
109
|
type: Component,
|
|
@@ -105,7 +105,7 @@ export class LuzmoColorPicker {
|
|
|
105
105
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoColorPicker, selectors: [["luzmo-color-picker"]], inputs: { color: "color", open: "open", disabled: "disabled", readOnly: "readOnly", placement: "placement", rounding: "rounding", shape: "shape", swatches: "swatches", noAlphaChannel: "noAlphaChannel", size: "size" }, outputs: { changeEvent: "change", inputEvent: "input" }, exportAs: ["luzmoColorPicker"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoColorPicker_Template(rf, ctx) { if (rf & 1) {
|
|
106
106
|
i0.ɵɵprojectionDef();
|
|
107
107
|
i0.ɵɵprojection(0);
|
|
108
|
-
} }, encapsulation: 2 });
|
|
108
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
109
109
|
}
|
|
110
110
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoColorPicker, [{
|
|
111
111
|
type: Component,
|
|
@@ -163,7 +163,7 @@ export class LuzmoColorSlider {
|
|
|
163
163
|
]), i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoColorSlider_Template(rf, ctx) { if (rf & 1) {
|
|
164
164
|
i0.ɵɵprojectionDef();
|
|
165
165
|
i0.ɵɵprojection(0);
|
|
166
|
-
} }, encapsulation: 2 });
|
|
166
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
167
167
|
}
|
|
168
168
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoColorSlider, [{
|
|
169
169
|
type: Component,
|
|
@@ -178,7 +178,7 @@ export class LuzmoDateRangePicker {
|
|
|
178
178
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoDateRangePicker, selectors: [["luzmo-date-range-picker"]], inputs: { startDate: "startDate", endDate: "endDate", min: "min", max: "max", dateFormat: "dateFormat", dateSeparator: "dateSeparator", precision: "precision", calendars: "calendars", showDefinedRanges: "showDefinedRanges", definedRanges: "definedRanges", invalid: "invalid", readonly: "readonly", quiet: "quiet", placement: "placement", timeZone: "timeZone", language: "language", labels: "labels", focused: "focused", helpTextManager: "helpTextManager", size: "size", disabled: "disabled", tabIndex: "tabIndex" }, outputs: { changeEvent: "change", inputEvent: "input", keydownEvent: "keydown" }, exportAs: ["luzmoDateRangePicker"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoDateRangePicker_Template(rf, ctx) { if (rf & 1) {
|
|
179
179
|
i0.ɵɵprojectionDef();
|
|
180
180
|
i0.ɵɵprojection(0);
|
|
181
|
-
} }, encapsulation: 2 });
|
|
181
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
182
182
|
}
|
|
183
183
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoDateRangePicker, [{
|
|
184
184
|
type: Component,
|
|
@@ -212,7 +212,7 @@ export class LuzmoDateTimePicker {
|
|
|
212
212
|
]), i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoDateTimePicker_Template(rf, ctx) { if (rf & 1) {
|
|
213
213
|
i0.ɵɵprojectionDef();
|
|
214
214
|
i0.ɵɵprojection(0);
|
|
215
|
-
} }, encapsulation: 2 });
|
|
215
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
216
216
|
}
|
|
217
217
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoDateTimePicker, [{
|
|
218
218
|
type: Component,
|
|
@@ -61,7 +61,7 @@ export class LuzmoDivider {
|
|
|
61
61
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoDivider, selectors: [["luzmo-divider"]], inputs: { vertical: "vertical", staticColor: "staticColor", size: "size" }, exportAs: ["luzmoDivider"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoDivider_Template(rf, ctx) { if (rf & 1) {
|
|
62
62
|
i0.ɵɵprojectionDef();
|
|
63
63
|
i0.ɵɵprojection(0);
|
|
64
|
-
} }, encapsulation: 2 });
|
|
64
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
65
65
|
}
|
|
66
66
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoDivider, [{
|
|
67
67
|
type: Component,
|
|
@@ -71,7 +71,7 @@ export class LuzmoFieldGroup {
|
|
|
71
71
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoFieldGroup, selectors: [["luzmo-field-group"]], inputs: { horizontal: "horizontal", invalid: "invalid", label: "label", vertical: "vertical", helpTextManager: "helpTextManager" }, exportAs: ["luzmoFieldGroup"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoFieldGroup_Template(rf, ctx) { if (rf & 1) {
|
|
72
72
|
i0.ɵɵprojectionDef();
|
|
73
73
|
i0.ɵɵprojection(0);
|
|
74
|
-
} }, encapsulation: 2 });
|
|
74
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
75
75
|
}
|
|
76
76
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoFieldGroup, [{
|
|
77
77
|
type: Component,
|
|
@@ -78,7 +78,7 @@ export class LuzmoFieldLabel {
|
|
|
78
78
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoFieldLabel, selectors: [["luzmo-field-label"]], inputs: { disabled: "disabled", for: "for", required: "required", slotEl: "slotEl", sideAligned: "sideAligned", size: "size" }, exportAs: ["luzmoFieldLabel"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoFieldLabel_Template(rf, ctx) { if (rf & 1) {
|
|
79
79
|
i0.ɵɵprojectionDef();
|
|
80
80
|
i0.ɵɵprojection(0);
|
|
81
|
-
} }, encapsulation: 2 });
|
|
81
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
82
82
|
}
|
|
83
83
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoFieldLabel, [{
|
|
84
84
|
type: Component,
|
|
@@ -60,7 +60,7 @@ export class LuzmoHelpText {
|
|
|
60
60
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoHelpText, selectors: [["luzmo-help-text"]], inputs: { icon: "icon", variant: "variant", size: "size" }, exportAs: ["luzmoHelpText"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoHelpText_Template(rf, ctx) { if (rf & 1) {
|
|
61
61
|
i0.ɵɵprojectionDef();
|
|
62
62
|
i0.ɵɵprojection(0);
|
|
63
|
-
} }, encapsulation: 2 });
|
|
63
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
64
64
|
}
|
|
65
65
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoHelpText, [{
|
|
66
66
|
type: Component,
|
package/esm/components/icon.js
CHANGED
|
@@ -71,7 +71,7 @@ export class LuzmoIcon {
|
|
|
71
71
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoIcon, selectors: [["luzmo-icon"]], inputs: { src: "src", options: "options", icon: "icon", block: "block", label: "label", size: "size" }, exportAs: ["luzmoIcon"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoIcon_Template(rf, ctx) { if (rf & 1) {
|
|
72
72
|
i0.ɵɵprojectionDef();
|
|
73
73
|
i0.ɵɵprojection(0);
|
|
74
|
-
} }, encapsulation: 2 });
|
|
74
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
75
75
|
}
|
|
76
76
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoIcon, [{
|
|
77
77
|
type: Component,
|
|
@@ -124,7 +124,7 @@ export class LuzmoInfieldButton {
|
|
|
124
124
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoInfieldButton, selectors: [["luzmo-infield-button"]], inputs: { block: "block", inline: "inline", quiet: "quiet", size: "size", download: "download", label: "label", href: "href", target: "target", referrerpolicy: "referrerpolicy", rel: "rel", active: "active", type: "type", disabled: "disabled", tabIndex: "tabIndex" }, outputs: { keydownEvent: "keydown" }, exportAs: ["luzmoInfieldButton"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoInfieldButton_Template(rf, ctx) { if (rf & 1) {
|
|
125
125
|
i0.ɵɵprojectionDef();
|
|
126
126
|
i0.ɵɵprojection(0);
|
|
127
|
-
} }, encapsulation: 2 });
|
|
127
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
128
128
|
}
|
|
129
129
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoInfieldButton, [{
|
|
130
130
|
type: Component,
|
package/esm/components/label.js
CHANGED
|
@@ -55,7 +55,7 @@ export class LuzmoLabel {
|
|
|
55
55
|
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoLabel, selectors: [["luzmo-label"]], inputs: { label: "label", tooltip: "tooltip" }, exportAs: ["luzmoLabel"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoLabel_Template(rf, ctx) { if (rf & 1) {
|
|
56
56
|
i0.ɵɵprojectionDef();
|
|
57
57
|
i0.ɵɵprojection(0);
|
|
58
|
-
} }, encapsulation: 2 });
|
|
58
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
59
59
|
}
|
|
60
60
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoLabel, [{
|
|
61
61
|
type: Component,
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import '@luzmo/lucero/menu';
|
|
3
|
+
import type { LuzmoMenuDivider as LuzmoMenuDividerHostElement } from '@luzmo/lucero/menu';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export type { MenuChildItem, MenuItemChildren } from '@luzmo/lucero/menu';
|
|
6
|
+
export declare class LuzmoMenuDivider implements OnChanges {
|
|
7
|
+
private readonly elementRef;
|
|
8
|
+
private readonly renderer;
|
|
9
|
+
private readonly destroyRef;
|
|
10
|
+
private readonly host;
|
|
11
|
+
private readonly listenerCleanup;
|
|
12
|
+
/** The underlying custom element instance. Use to call imperative methods. */
|
|
13
|
+
get nativeElement(): LuzmoMenuDividerHostElement;
|
|
14
|
+
size?: ('xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl');
|
|
15
|
+
constructor();
|
|
16
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
17
|
+
/**
|
|
18
|
+
* Forward a wrapper @Input to the underlying host element via Renderer2 so
|
|
19
|
+
* the wrapper stays compatible with non-DOM Angular platforms (SSR, tests).
|
|
20
|
+
* Unlike a "skip undefined" guard, this lets consumers reset values back to
|
|
21
|
+
* undefined / null by clearing their bindings.
|
|
22
|
+
*/
|
|
23
|
+
private setHostProperty;
|
|
24
|
+
private bindEvents;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoMenuDivider, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoMenuDivider, "luzmo-menu-divider", ["luzmoMenuDivider"], { "size": { "alias": "size"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
27
|
+
}
|
|
28
|
+
/** The underlying custom element type for LuzmoMenuDivider */
|
|
29
|
+
export type LuzmoMenuDividerElement = LuzmoMenuDividerHostElement;
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { ChangeDetectionStrategy, Component, DestroyRef, ElementRef, inject, Input, Renderer2 } from '@angular/core';
|
|
2
|
+
import '@luzmo/lucero/menu';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
const _c0 = ["*"];
|
|
5
|
+
/**
|
|
6
|
+
* Angular wrapper component for <luzmo-menu-divider>
|
|
7
|
+
*/
|
|
8
|
+
export class LuzmoMenuDivider {
|
|
9
|
+
elementRef = inject(ElementRef);
|
|
10
|
+
renderer = inject(Renderer2);
|
|
11
|
+
destroyRef = inject(DestroyRef);
|
|
12
|
+
host = this.elementRef.nativeElement;
|
|
13
|
+
listenerCleanup = [];
|
|
14
|
+
/** The underlying custom element instance. Use to call imperative methods. */
|
|
15
|
+
get nativeElement() {
|
|
16
|
+
return this.host;
|
|
17
|
+
}
|
|
18
|
+
size;
|
|
19
|
+
constructor() {
|
|
20
|
+
this.bindEvents();
|
|
21
|
+
this.destroyRef.onDestroy(() => {
|
|
22
|
+
for (const cleanup of this.listenerCleanup) {
|
|
23
|
+
cleanup();
|
|
24
|
+
}
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
ngOnChanges(changes) {
|
|
28
|
+
for (const key of Object.keys(changes)) {
|
|
29
|
+
switch (key) {
|
|
30
|
+
case 'size':
|
|
31
|
+
this.setHostProperty('size', changes['size'].currentValue);
|
|
32
|
+
break;
|
|
33
|
+
default:
|
|
34
|
+
break;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Forward a wrapper @Input to the underlying host element via Renderer2 so
|
|
40
|
+
* the wrapper stays compatible with non-DOM Angular platforms (SSR, tests).
|
|
41
|
+
* Unlike a "skip undefined" guard, this lets consumers reset values back to
|
|
42
|
+
* undefined / null by clearing their bindings.
|
|
43
|
+
*/
|
|
44
|
+
setHostProperty(key, value) {
|
|
45
|
+
this.renderer.setProperty(this.host, key, value);
|
|
46
|
+
}
|
|
47
|
+
bindEvents() {
|
|
48
|
+
// No custom events for this wrapper.
|
|
49
|
+
}
|
|
50
|
+
static ɵfac = function LuzmoMenuDivider_Factory(__ngFactoryType__) { return new (__ngFactoryType__ || LuzmoMenuDivider)(); };
|
|
51
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: LuzmoMenuDivider, selectors: [["luzmo-menu-divider"]], inputs: { size: "size" }, exportAs: ["luzmoMenuDivider"], features: [i0.ɵɵNgOnChangesFeature], ngContentSelectors: _c0, decls: 1, vars: 0, template: function LuzmoMenuDivider_Template(rf, ctx) { if (rf & 1) {
|
|
52
|
+
i0.ɵɵprojectionDef();
|
|
53
|
+
i0.ɵɵprojection(0);
|
|
54
|
+
} }, encapsulation: 2, changeDetection: 0 });
|
|
55
|
+
}
|
|
56
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(LuzmoMenuDivider, [{
|
|
57
|
+
type: Component,
|
|
58
|
+
args: [{
|
|
59
|
+
selector: 'luzmo-menu-divider',
|
|
60
|
+
exportAs: 'luzmoMenuDivider',
|
|
61
|
+
standalone: true,
|
|
62
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
63
|
+
template: '<ng-content />'
|
|
64
|
+
}]
|
|
65
|
+
}], () => [], { size: [{
|
|
66
|
+
type: Input,
|
|
67
|
+
args: [{ alias: 'size' }]
|
|
68
|
+
}] }); })();
|
|
69
|
+
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(LuzmoMenuDivider, { className: "LuzmoMenuDivider", filePath: "components/menu-divider.ts", lineNumber: 16 }); })();
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import '@luzmo/lucero/menu';
|
|
4
|
+
import type { LuzmoMenuGroup as LuzmoMenuGroupHostElement } from '@luzmo/lucero/menu';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export type { MenuChildItem, MenuItemChildren } from '@luzmo/lucero/menu';
|
|
7
|
+
export declare class LuzmoMenuGroup implements OnChanges, ControlValueAccessor {
|
|
8
|
+
private readonly elementRef;
|
|
9
|
+
private readonly renderer;
|
|
10
|
+
private readonly destroyRef;
|
|
11
|
+
private readonly host;
|
|
12
|
+
private readonly listenerCleanup;
|
|
13
|
+
/** The underlying custom element instance. Use to call imperative methods. */
|
|
14
|
+
get nativeElement(): LuzmoMenuGroupHostElement;
|
|
15
|
+
size?: ('xxs' | 'xs' | 's' | 'm' | 'l' | 'xl' | 'xxl');
|
|
16
|
+
label?: string;
|
|
17
|
+
ignore?: boolean;
|
|
18
|
+
variant?: 'checkmarks' | 'highlight';
|
|
19
|
+
selects?: never | 'inherit' | 'single' | 'multiple';
|
|
20
|
+
value?: string;
|
|
21
|
+
valueSeparator?: string;
|
|
22
|
+
selected?: string[];
|
|
23
|
+
selectedItems?: unknown;
|
|
24
|
+
menuSlot?: unknown;
|
|
25
|
+
focusedItemIndex?: number;
|
|
26
|
+
focusInItemIndex?: number;
|
|
27
|
+
handleSubmenuClosed?: unknown;
|
|
28
|
+
handleSubmenuOpened?: unknown;
|
|
29
|
+
/** Announces that the `value` of the element has changed */
|
|
30
|
+
readonly changeEvent: import("@angular/core").OutputEmitterRef<Event>;
|
|
31
|
+
readonly closeEvent: import("@angular/core").OutputEmitterRef<Event>;
|
|
32
|
+
constructor();
|
|
33
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
34
|
+
/**
|
|
35
|
+
* Forward a wrapper @Input to the underlying host element via Renderer2 so
|
|
36
|
+
* the wrapper stays compatible with non-DOM Angular platforms (SSR, tests).
|
|
37
|
+
* Unlike a "skip undefined" guard, this lets consumers reset values back to
|
|
38
|
+
* undefined / null by clearing their bindings.
|
|
39
|
+
*/
|
|
40
|
+
private setHostProperty;
|
|
41
|
+
private bindEvents;
|
|
42
|
+
private onChange;
|
|
43
|
+
private onTouched;
|
|
44
|
+
private isWritingValue;
|
|
45
|
+
private lastCvaValue;
|
|
46
|
+
writeValue(value: string): void;
|
|
47
|
+
registerOnChange(fn: (value: string) => void): void;
|
|
48
|
+
registerOnTouched(fn: () => void): void;
|
|
49
|
+
setDisabledState(isDisabled: boolean): void;
|
|
50
|
+
focus({ preventScroll }: FocusOptions): void;
|
|
51
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LuzmoMenuGroup, never>;
|
|
52
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuzmoMenuGroup, "luzmo-menu-group", ["luzmoMenuGroup"], { "size": { "alias": "size"; "required": false; }; "label": { "alias": "label"; "required": false; }; "ignore": { "alias": "ignore"; "required": false; }; "variant": { "alias": "variant"; "required": false; }; "selects": { "alias": "selects"; "required": false; }; "value": { "alias": "value"; "required": false; }; "valueSeparator": { "alias": "valueSeparator"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; "selectedItems": { "alias": "selectedItems"; "required": false; }; "menuSlot": { "alias": "menuSlot"; "required": false; }; "focusedItemIndex": { "alias": "focusedItemIndex"; "required": false; }; "focusInItemIndex": { "alias": "focusInItemIndex"; "required": false; }; "handleSubmenuClosed": { "alias": "handleSubmenuClosed"; "required": false; }; "handleSubmenuOpened": { "alias": "handleSubmenuOpened"; "required": false; }; }, { "changeEvent": "change"; "closeEvent": "close"; }, never, ["*"], true, never>;
|
|
53
|
+
}
|
|
54
|
+
/** The underlying custom element type for LuzmoMenuGroup */
|
|
55
|
+
export type LuzmoMenuGroupElement = LuzmoMenuGroupHostElement;
|