yukit-web 0.10.6 → 0.10.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/yukit-web-chart.mjs +807 -552
- package/fesm2022/yukit-web-chart.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-accordion.mjs +271 -100
- package/fesm2022/yukit-web-helm-accordion.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-alert-dialog.mjs +675 -243
- package/fesm2022/yukit-web-helm-alert-dialog.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-alert.mjs +199 -91
- package/fesm2022/yukit-web-helm-alert.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-aspect-ratio.mjs +77 -43
- package/fesm2022/yukit-web-helm-aspect-ratio.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-attachment.mjs +552 -205
- package/fesm2022/yukit-web-helm-attachment.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-autocomplete.mjs +913 -288
- package/fesm2022/yukit-web-helm-autocomplete.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-avatar.mjs +298 -137
- package/fesm2022/yukit-web-helm-avatar.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-badge.mjs +78 -44
- package/fesm2022/yukit-web-helm-badge.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-breadcrumb.mjs +466 -183
- package/fesm2022/yukit-web-helm-breadcrumb.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-bubble.mjs +297 -118
- package/fesm2022/yukit-web-helm-bubble.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-button-group.mjs +179 -83
- package/fesm2022/yukit-web-helm-button-group.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-button.mjs +137 -67
- package/fesm2022/yukit-web-helm-button.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-calendar.mjs +957 -230
- package/fesm2022/yukit-web-helm-calendar.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-card.mjs +318 -136
- package/fesm2022/yukit-web-helm-card.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-carousel.mjs +563 -233
- package/fesm2022/yukit-web-helm-carousel.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-checkbox.mjs +367 -101
- package/fesm2022/yukit-web-helm-checkbox.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-collapsible.mjs +155 -61
- package/fesm2022/yukit-web-helm-collapsible.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-combobox.mjs +1572 -481
- package/fesm2022/yukit-web-helm-combobox.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-command.mjs +752 -260
- package/fesm2022/yukit-web-helm-command.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-context-menu.mjs +161 -63
- package/fesm2022/yukit-web-helm-context-menu.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-date-picker.mjs +2322 -932
- package/fesm2022/yukit-web-helm-date-picker.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-dialog.mjs +625 -240
- package/fesm2022/yukit-web-helm-dialog.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-drawer.mjs +539 -222
- package/fesm2022/yukit-web-helm-drawer.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-dropdown-menu.mjs +1295 -493
- package/fesm2022/yukit-web-helm-dropdown-menu.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-empty.mjs +280 -121
- package/fesm2022/yukit-web-helm-empty.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-field.mjs +670 -301
- package/fesm2022/yukit-web-helm-field.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-hover-card.mjs +198 -99
- package/fesm2022/yukit-web-helm-hover-card.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-input-group.mjs +357 -165
- package/fesm2022/yukit-web-helm-input-group.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-input-otp.mjs +306 -114
- package/fesm2022/yukit-web-helm-input-otp.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-input.mjs +62 -30
- package/fesm2022/yukit-web-helm-input.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-item.mjs +545 -227
- package/fesm2022/yukit-web-helm-item.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-kbd.mjs +85 -44
- package/fesm2022/yukit-web-helm-kbd.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-label.mjs +60 -28
- package/fesm2022/yukit-web-helm-label.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-marker.mjs +165 -74
- package/fesm2022/yukit-web-helm-marker.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-menubar.mjs +207 -82
- package/fesm2022/yukit-web-helm-menubar.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-message.mjs +277 -112
- package/fesm2022/yukit-web-helm-message.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-native-select.mjs +363 -129
- package/fesm2022/yukit-web-helm-native-select.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-navigation-menu.mjs +398 -166
- package/fesm2022/yukit-web-helm-navigation-menu.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-pagination.mjs +1444 -460
- package/fesm2022/yukit-web-helm-pagination.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-popover.mjs +358 -133
- package/fesm2022/yukit-web-helm-popover.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-progress.mjs +126 -58
- package/fesm2022/yukit-web-helm-progress.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-radio-group.mjs +420 -144
- package/fesm2022/yukit-web-helm-radio-group.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-resizable.mjs +210 -91
- package/fesm2022/yukit-web-helm-resizable.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-scroll-area.mjs +64 -34
- package/fesm2022/yukit-web-helm-scroll-area.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-select.mjs +1059 -351
- package/fesm2022/yukit-web-helm-select.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-separator.mjs +61 -31
- package/fesm2022/yukit-web-helm-separator.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-sheet.mjs +590 -231
- package/fesm2022/yukit-web-helm-sheet.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-sidebar.mjs +1781 -757
- package/fesm2022/yukit-web-helm-sidebar.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-skeleton.mjs +45 -27
- package/fesm2022/yukit-web-helm-skeleton.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-slider.mjs +139 -59
- package/fesm2022/yukit-web-helm-slider.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-sonner.mjs +350 -62
- package/fesm2022/yukit-web-helm-sonner.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-spinner.mjs +118 -44
- package/fesm2022/yukit-web-helm-spinner.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-switch.mjs +326 -94
- package/fesm2022/yukit-web-helm-switch.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-table.mjs +374 -177
- package/fesm2022/yukit-web-helm-table.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-tabs.mjs +549 -173
- package/fesm2022/yukit-web-helm-tabs.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-textarea.mjs +62 -30
- package/fesm2022/yukit-web-helm-textarea.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-toggle-group.mjs +291 -89
- package/fesm2022/yukit-web-helm-toggle-group.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-toggle.mjs +132 -57
- package/fesm2022/yukit-web-helm-toggle.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-tooltip.mjs +84 -54
- package/fesm2022/yukit-web-helm-tooltip.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-typography.mjs +461 -202
- package/fesm2022/yukit-web-helm-typography.mjs.map +1 -1
- package/fesm2022/yukit-web-helm-utils.mjs +131 -253
- package/fesm2022/yukit-web-helm-utils.mjs.map +1 -1
- package/fesm2022/yukit-web.mjs +24457 -9670
- package/fesm2022/yukit-web.mjs.map +1 -1
- package/package.json +9 -9
- package/types/yukit-web-chart.d.ts +184 -125
- package/types/yukit-web-helm-accordion.d.ts +49 -28
- package/types/yukit-web-helm-alert-dialog.d.ts +127 -73
- package/types/yukit-web-helm-alert.d.ts +30 -32
- package/types/yukit-web-helm-aspect-ratio.d.ts +17 -15
- package/types/yukit-web-helm-attachment.d.ts +97 -69
- package/types/yukit-web-helm-autocomplete.d.ts +205 -79
- package/types/yukit-web-helm-avatar.d.ts +44 -39
- package/types/yukit-web-helm-badge.d.ts +18 -17
- package/types/yukit-web-helm-breadcrumb.d.ts +69 -45
- package/types/yukit-web-helm-bubble.d.ts +54 -40
- package/types/yukit-web-helm-button-group.d.ts +29 -22
- package/types/yukit-web-helm-button.d.ts +41 -31
- package/types/yukit-web-helm-calendar.d.ts +157 -85
- package/types/yukit-web-helm-card.d.ts +38 -42
- package/types/yukit-web-helm-carousel.d.ts +105 -73
- package/types/yukit-web-helm-checkbox.d.ts +117 -58
- package/types/yukit-web-helm-collapsible.d.ts +34 -19
- package/types/yukit-web-helm-combobox.d.ts +355 -150
- package/types/yukit-web-helm-command.d.ts +140 -73
- package/types/yukit-web-helm-context-menu.d.ts +48 -27
- package/types/yukit-web-helm-date-picker.d.ts +852 -556
- package/types/yukit-web-helm-dialog.d.ts +106 -78
- package/types/yukit-web-helm-drawer.d.ts +90 -61
- package/types/yukit-web-helm-dropdown-menu.d.ts +278 -158
- package/types/yukit-web-helm-empty.d.ts +38 -42
- package/types/yukit-web-helm-field.d.ts +122 -91
- package/types/yukit-web-helm-hover-card.d.ts +39 -27
- package/types/yukit-web-helm-input-group.d.ts +63 -41
- package/types/yukit-web-helm-input-otp.d.ts +38 -35
- package/types/yukit-web-helm-input.d.ts +19 -12
- package/types/yukit-web-helm-item.d.ts +90 -82
- package/types/yukit-web-helm-kbd.d.ts +10 -15
- package/types/yukit-web-helm-label.d.ts +14 -11
- package/types/yukit-web-helm-marker.d.ts +26 -27
- package/types/yukit-web-helm-menubar.d.ts +61 -32
- package/types/yukit-web-helm-message.d.ts +34 -38
- package/types/yukit-web-helm-native-select.d.ts +102 -61
- package/types/yukit-web-helm-navigation-menu.d.ts +76 -42
- package/types/yukit-web-helm-pagination.d.ts +344 -166
- package/types/yukit-web-helm-popover.d.ts +62 -42
- package/types/yukit-web-helm-progress.d.ts +27 -20
- package/types/yukit-web-helm-radio-group.d.ts +121 -63
- package/types/yukit-web-helm-resizable.d.ts +46 -24
- package/types/yukit-web-helm-scroll-area.d.ts +6 -10
- package/types/yukit-web-helm-select.d.ts +231 -114
- package/types/yukit-web-helm-separator.d.ts +15 -12
- package/types/yukit-web-helm-sheet.d.ts +94 -65
- package/types/yukit-web-helm-sidebar.d.ts +322 -232
- package/types/yukit-web-helm-skeleton.d.ts +6 -10
- package/types/yukit-web-helm-slider.d.ts +33 -13
- package/types/yukit-web-helm-sonner.d.ts +112 -51
- package/types/yukit-web-helm-spinner.d.ts +24 -17
- package/types/yukit-web-helm-switch.d.ts +89 -51
- package/types/yukit-web-helm-table.d.ts +38 -42
- package/types/yukit-web-helm-tabs.d.ts +116 -60
- package/types/yukit-web-helm-textarea.d.ts +19 -12
- package/types/yukit-web-helm-toggle-group.d.ts +81 -32
- package/types/yukit-web-helm-toggle.d.ts +39 -21
- package/types/yukit-web-helm-tooltip.d.ts +21 -16
- package/types/yukit-web-helm-typography.d.ts +62 -77
- package/types/yukit-web-helm-utils.d.ts +8 -11
- package/types/yukit-web.d.ts +5092 -2351
|
@@ -1,56 +1,158 @@
|
|
|
1
|
-
import * as i0 from
|
|
2
|
-
import {
|
|
3
|
-
import * as i1 from
|
|
4
|
-
import { BrnCommand, BrnCommandEmpty, BrnCommandGroup, BrnCommandInput, BrnCommandItem, BrnCommandList, BrnCommandSeparator } from
|
|
5
|
-
import { classes, hlm } from
|
|
6
|
-
import * as i1$1 from
|
|
7
|
-
import { HlmDialogImports } from
|
|
8
|
-
import { NgIcon, provideIcons } from
|
|
9
|
-
import { lucideSearch } from
|
|
10
|
-
import * as i1
|
|
11
|
-
import { HlmInputGroupImports } from
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { ChangeDetectionStrategy, Component, Directive, booleanAttribute, computed, input, linkedSignal, output } from "@angular/core";
|
|
3
|
+
import * as i1$2 from "@spartan-ng/brain/command";
|
|
4
|
+
import { BrnCommand, BrnCommandEmpty, BrnCommandGroup, BrnCommandInput, BrnCommandItem, BrnCommandList, BrnCommandSeparator } from "@spartan-ng/brain/command";
|
|
5
|
+
import { classes, hlm } from "yukit-web/helm/utils";
|
|
6
|
+
import * as i1$1 from "yukit-web/helm/dialog";
|
|
7
|
+
import { HlmDialogImports } from "yukit-web/helm/dialog";
|
|
8
|
+
import { NgIcon, provideIcons } from "@ng-icons/core";
|
|
9
|
+
import { lucideSearch } from "@ng-icons/lucide";
|
|
10
|
+
import * as i1 from "yukit-web/helm/input-group";
|
|
11
|
+
import { HlmInputGroupImports } from "yukit-web/helm/input-group";
|
|
12
|
+
var HlmCommand = class HlmCommand {
|
|
13
|
+
constructor() {
|
|
14
|
+
classes(() => "bg-popover text-popover-foreground rounded-xl p-1 flex size-full flex-col overflow-hidden");
|
|
15
|
+
}
|
|
16
|
+
static {
|
|
17
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
18
|
+
minVersion: "12.0.0",
|
|
19
|
+
version: "22.2.4",
|
|
20
|
+
ngImport: i0,
|
|
21
|
+
type: HlmCommand,
|
|
22
|
+
deps: [],
|
|
23
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
static {
|
|
27
|
+
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
28
|
+
minVersion: "14.0.0",
|
|
29
|
+
version: "22.2.4",
|
|
30
|
+
type: HlmCommand,
|
|
31
|
+
isStandalone: true,
|
|
32
|
+
selector: "[hlmCommand],hlm-command",
|
|
33
|
+
host: { attributes: { "data-slot": "command" } },
|
|
34
|
+
hostDirectives: [{
|
|
35
|
+
directive: i1$2.BrnCommand,
|
|
36
|
+
inputs: [
|
|
37
|
+
"id",
|
|
38
|
+
"id",
|
|
39
|
+
"filter",
|
|
40
|
+
"filter",
|
|
41
|
+
"search",
|
|
42
|
+
"search",
|
|
43
|
+
"disabled",
|
|
44
|
+
"disabled"
|
|
45
|
+
],
|
|
46
|
+
outputs: [
|
|
47
|
+
"valueChange",
|
|
48
|
+
"valueChange",
|
|
49
|
+
"searchChange",
|
|
50
|
+
"searchChange"
|
|
51
|
+
]
|
|
52
|
+
}],
|
|
53
|
+
ngImport: i0
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
58
|
+
minVersion: "12.0.0",
|
|
59
|
+
version: "22.2.4",
|
|
60
|
+
ngImport: i0,
|
|
61
|
+
type: HlmCommand,
|
|
62
|
+
decorators: [{
|
|
63
|
+
type: Directive,
|
|
64
|
+
args: [{
|
|
65
|
+
selector: "[hlmCommand],hlm-command",
|
|
66
|
+
hostDirectives: [{
|
|
67
|
+
directive: BrnCommand,
|
|
68
|
+
inputs: [
|
|
69
|
+
"id",
|
|
70
|
+
"filter",
|
|
71
|
+
"search",
|
|
72
|
+
"disabled"
|
|
73
|
+
],
|
|
74
|
+
outputs: ["valueChange", "searchChange"]
|
|
75
|
+
}],
|
|
76
|
+
host: { "data-slot": "command" }
|
|
77
|
+
}]
|
|
78
|
+
}],
|
|
79
|
+
ctorParameters: () => []
|
|
80
|
+
});
|
|
81
|
+
var HlmCommandDialog = class HlmCommandDialog {
|
|
82
|
+
constructor() {
|
|
83
|
+
this.title = input("Command Palette", ...ngDevMode ? [{ debugName: "title" }] : /* istanbul ignore next */ []);
|
|
84
|
+
this.description = input("Search for a command to run...", ...ngDevMode ? [{ debugName: "description" }] : /* istanbul ignore next */ []);
|
|
85
|
+
this.state = input("closed", ...ngDevMode ? [{ debugName: "state" }] : /* istanbul ignore next */ []);
|
|
86
|
+
this._state = linkedSignal(this.state, ...ngDevMode ? [{ debugName: "_state" }] : /* istanbul ignore next */ []);
|
|
87
|
+
this.showCloseButton = input(false, {
|
|
88
|
+
...ngDevMode ? { debugName: "showCloseButton" } : /* istanbul ignore next */ {},
|
|
89
|
+
transform: booleanAttribute
|
|
90
|
+
});
|
|
91
|
+
this.dialogContentClass = input("", ...ngDevMode ? [{ debugName: "dialogContentClass" }] : /* istanbul ignore next */ []);
|
|
92
|
+
this._computedDialogContentClass = computed(() => hlm("w-96 p-0", this.dialogContentClass()), ...ngDevMode ? [{ debugName: "_computedDialogContentClass" }] : /* istanbul ignore next */ []);
|
|
93
|
+
this.stateChange = output();
|
|
94
|
+
}
|
|
95
|
+
stateChanged(state) {
|
|
96
|
+
this.stateChange.emit(state);
|
|
97
|
+
this._state.set(state);
|
|
98
|
+
}
|
|
99
|
+
static {
|
|
100
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
101
|
+
minVersion: "12.0.0",
|
|
102
|
+
version: "22.2.4",
|
|
103
|
+
ngImport: i0,
|
|
104
|
+
type: HlmCommandDialog,
|
|
105
|
+
deps: [],
|
|
106
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
static {
|
|
110
|
+
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
111
|
+
minVersion: "17.1.0",
|
|
112
|
+
version: "22.2.4",
|
|
113
|
+
type: HlmCommandDialog,
|
|
114
|
+
isStandalone: true,
|
|
115
|
+
selector: "hlm-command-dialog",
|
|
116
|
+
inputs: {
|
|
117
|
+
title: {
|
|
118
|
+
classPropertyName: "title",
|
|
119
|
+
publicName: "title",
|
|
120
|
+
isSignal: true,
|
|
121
|
+
isRequired: false,
|
|
122
|
+
transformFunction: null
|
|
123
|
+
},
|
|
124
|
+
description: {
|
|
125
|
+
classPropertyName: "description",
|
|
126
|
+
publicName: "description",
|
|
127
|
+
isSignal: true,
|
|
128
|
+
isRequired: false,
|
|
129
|
+
transformFunction: null
|
|
130
|
+
},
|
|
131
|
+
state: {
|
|
132
|
+
classPropertyName: "state",
|
|
133
|
+
publicName: "state",
|
|
134
|
+
isSignal: true,
|
|
135
|
+
isRequired: false,
|
|
136
|
+
transformFunction: null
|
|
137
|
+
},
|
|
138
|
+
showCloseButton: {
|
|
139
|
+
classPropertyName: "showCloseButton",
|
|
140
|
+
publicName: "showCloseButton",
|
|
141
|
+
isSignal: true,
|
|
142
|
+
isRequired: false,
|
|
143
|
+
transformFunction: null
|
|
144
|
+
},
|
|
145
|
+
dialogContentClass: {
|
|
146
|
+
classPropertyName: "dialogContentClass",
|
|
147
|
+
publicName: "dialogContentClass",
|
|
148
|
+
isSignal: true,
|
|
149
|
+
isRequired: false,
|
|
150
|
+
transformFunction: null
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
outputs: { stateChange: "stateChange" },
|
|
154
|
+
ngImport: i0,
|
|
155
|
+
template: `
|
|
54
156
|
<hlm-dialog [state]="_state()" (stateChanged)="stateChanged($event)">
|
|
55
157
|
<hlm-dialog-content
|
|
56
158
|
*hlmDialogPortal="let ctx"
|
|
@@ -64,15 +166,58 @@ class HlmCommandDialog {
|
|
|
64
166
|
<ng-content />
|
|
65
167
|
</hlm-dialog-content>
|
|
66
168
|
</hlm-dialog>
|
|
67
|
-
`,
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
169
|
+
`,
|
|
170
|
+
isInline: true,
|
|
171
|
+
dependencies: [
|
|
172
|
+
{
|
|
173
|
+
kind: "component",
|
|
174
|
+
type: i1$1.HlmDialog,
|
|
175
|
+
selector: "hlm-dialog",
|
|
176
|
+
exportAs: ["hlmDialog"]
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
kind: "component",
|
|
180
|
+
type: i1$1.HlmDialogContent,
|
|
181
|
+
selector: "hlm-dialog-content",
|
|
182
|
+
inputs: ["showCloseButton"]
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
kind: "directive",
|
|
186
|
+
type: i1$1.HlmDialogDescription,
|
|
187
|
+
selector: "[hlmDialogDescription]"
|
|
188
|
+
},
|
|
189
|
+
{
|
|
190
|
+
kind: "directive",
|
|
191
|
+
type: i1$1.HlmDialogHeader,
|
|
192
|
+
selector: "[hlmDialogHeader],hlm-dialog-header"
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
kind: "directive",
|
|
196
|
+
type: i1$1.HlmDialogPortal,
|
|
197
|
+
selector: "[hlmDialogPortal]"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
kind: "directive",
|
|
201
|
+
type: i1$1.HlmDialogTitle,
|
|
202
|
+
selector: "[hlmDialogTitle]"
|
|
203
|
+
}
|
|
204
|
+
],
|
|
205
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
206
|
+
});
|
|
207
|
+
}
|
|
208
|
+
};
|
|
209
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
210
|
+
minVersion: "12.0.0",
|
|
211
|
+
version: "22.2.4",
|
|
212
|
+
ngImport: i0,
|
|
213
|
+
type: HlmCommandDialog,
|
|
214
|
+
decorators: [{
|
|
215
|
+
type: Component,
|
|
216
|
+
args: [{
|
|
217
|
+
selector: "hlm-command-dialog",
|
|
218
|
+
imports: [HlmDialogImports],
|
|
219
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
220
|
+
template: `
|
|
76
221
|
<hlm-dialog [state]="_state()" (stateChanged)="stateChanged($event)">
|
|
77
222
|
<hlm-dialog-content
|
|
78
223
|
*hlmDialogPortal="let ctx"
|
|
@@ -86,88 +231,269 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
86
231
|
<ng-content />
|
|
87
232
|
</hlm-dialog-content>
|
|
88
233
|
</hlm-dialog>
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
234
|
+
`
|
|
235
|
+
}]
|
|
236
|
+
}],
|
|
237
|
+
propDecorators: {
|
|
238
|
+
title: [{
|
|
239
|
+
type: i0.Input,
|
|
240
|
+
args: [{
|
|
241
|
+
isSignal: true,
|
|
242
|
+
alias: "title",
|
|
243
|
+
required: false
|
|
244
|
+
}]
|
|
245
|
+
}],
|
|
246
|
+
description: [{
|
|
247
|
+
type: i0.Input,
|
|
248
|
+
args: [{
|
|
249
|
+
isSignal: true,
|
|
250
|
+
alias: "description",
|
|
251
|
+
required: false
|
|
252
|
+
}]
|
|
253
|
+
}],
|
|
254
|
+
state: [{
|
|
255
|
+
type: i0.Input,
|
|
256
|
+
args: [{
|
|
257
|
+
isSignal: true,
|
|
258
|
+
alias: "state",
|
|
259
|
+
required: false
|
|
260
|
+
}]
|
|
261
|
+
}],
|
|
262
|
+
showCloseButton: [{
|
|
263
|
+
type: i0.Input,
|
|
264
|
+
args: [{
|
|
265
|
+
isSignal: true,
|
|
266
|
+
alias: "showCloseButton",
|
|
267
|
+
required: false
|
|
268
|
+
}]
|
|
269
|
+
}],
|
|
270
|
+
dialogContentClass: [{
|
|
271
|
+
type: i0.Input,
|
|
272
|
+
args: [{
|
|
273
|
+
isSignal: true,
|
|
274
|
+
alias: "dialogContentClass",
|
|
275
|
+
required: false
|
|
276
|
+
}]
|
|
277
|
+
}],
|
|
278
|
+
stateChange: [{
|
|
279
|
+
type: i0.Output,
|
|
280
|
+
args: ["stateChange"]
|
|
281
|
+
}]
|
|
282
|
+
}
|
|
283
|
+
});
|
|
284
|
+
var HlmCommandEmpty = class HlmCommandEmpty {
|
|
285
|
+
constructor() {
|
|
286
|
+
classes(() => "py-6 text-center text-sm");
|
|
287
|
+
}
|
|
288
|
+
static {
|
|
289
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
290
|
+
minVersion: "12.0.0",
|
|
291
|
+
version: "22.2.4",
|
|
292
|
+
ngImport: i0,
|
|
293
|
+
type: HlmCommandEmpty,
|
|
294
|
+
deps: [],
|
|
295
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
296
|
+
});
|
|
297
|
+
}
|
|
298
|
+
static {
|
|
299
|
+
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
300
|
+
minVersion: "14.0.0",
|
|
301
|
+
version: "22.2.4",
|
|
302
|
+
type: HlmCommandEmpty,
|
|
303
|
+
isStandalone: true,
|
|
304
|
+
selector: "[hlmCommandEmpty]",
|
|
305
|
+
host: { attributes: { "data-slot": "command-empty" } },
|
|
306
|
+
ngImport: i0
|
|
307
|
+
});
|
|
308
|
+
}
|
|
309
|
+
};
|
|
310
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
311
|
+
minVersion: "12.0.0",
|
|
312
|
+
version: "22.2.4",
|
|
313
|
+
ngImport: i0,
|
|
314
|
+
type: HlmCommandEmpty,
|
|
315
|
+
decorators: [{
|
|
316
|
+
type: Directive,
|
|
317
|
+
args: [{
|
|
318
|
+
selector: "[hlmCommandEmpty]",
|
|
319
|
+
host: { "data-slot": "command-empty" }
|
|
320
|
+
}]
|
|
321
|
+
}],
|
|
322
|
+
ctorParameters: () => []
|
|
323
|
+
});
|
|
324
|
+
var HlmCommandEmptyState = class HlmCommandEmptyState {
|
|
325
|
+
static {
|
|
326
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
327
|
+
minVersion: "12.0.0",
|
|
328
|
+
version: "22.2.4",
|
|
329
|
+
ngImport: i0,
|
|
330
|
+
type: HlmCommandEmptyState,
|
|
331
|
+
deps: [],
|
|
332
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
333
|
+
});
|
|
334
|
+
}
|
|
335
|
+
static {
|
|
336
|
+
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
337
|
+
minVersion: "14.0.0",
|
|
338
|
+
version: "22.2.4",
|
|
339
|
+
type: HlmCommandEmptyState,
|
|
340
|
+
isStandalone: true,
|
|
341
|
+
selector: "[hlmCommandEmptyState]",
|
|
342
|
+
hostDirectives: [{ directive: i1$2.BrnCommandEmpty }],
|
|
343
|
+
ngImport: i0
|
|
344
|
+
});
|
|
345
|
+
}
|
|
346
|
+
};
|
|
347
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
348
|
+
minVersion: "12.0.0",
|
|
349
|
+
version: "22.2.4",
|
|
350
|
+
ngImport: i0,
|
|
351
|
+
type: HlmCommandEmptyState,
|
|
352
|
+
decorators: [{
|
|
353
|
+
type: Directive,
|
|
354
|
+
args: [{
|
|
355
|
+
selector: "[hlmCommandEmptyState]",
|
|
356
|
+
hostDirectives: [BrnCommandEmpty]
|
|
357
|
+
}]
|
|
358
|
+
}]
|
|
359
|
+
});
|
|
360
|
+
var HlmCommandGroup = class HlmCommandGroup {
|
|
361
|
+
constructor() {
|
|
362
|
+
classes(() => "text-foreground **:data-[slot=command-group-label]:text-muted-foreground overflow-hidden p-1 **:data-[slot=command-group-label]:px-2 **:data-[slot=command-group-label]:py-1.5 **:data-[slot=command-group-label]:text-xs **:data-[slot=command-group-label]:font-medium block data-hidden:hidden");
|
|
363
|
+
}
|
|
364
|
+
static {
|
|
365
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
366
|
+
minVersion: "12.0.0",
|
|
367
|
+
version: "22.2.4",
|
|
368
|
+
ngImport: i0,
|
|
369
|
+
type: HlmCommandGroup,
|
|
370
|
+
deps: [],
|
|
371
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
372
|
+
});
|
|
373
|
+
}
|
|
374
|
+
static {
|
|
375
|
+
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
376
|
+
minVersion: "14.0.0",
|
|
377
|
+
version: "22.2.4",
|
|
378
|
+
type: HlmCommandGroup,
|
|
379
|
+
isStandalone: true,
|
|
380
|
+
selector: "[hlmCommandGroup],hlm-command-group",
|
|
381
|
+
host: { attributes: { "data-slot": "command-group" } },
|
|
382
|
+
hostDirectives: [{
|
|
383
|
+
directive: i1$2.BrnCommandGroup,
|
|
384
|
+
inputs: ["id", "id"]
|
|
385
|
+
}],
|
|
386
|
+
ngImport: i0
|
|
387
|
+
});
|
|
388
|
+
}
|
|
389
|
+
};
|
|
390
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
391
|
+
minVersion: "12.0.0",
|
|
392
|
+
version: "22.2.4",
|
|
393
|
+
ngImport: i0,
|
|
394
|
+
type: HlmCommandGroup,
|
|
395
|
+
decorators: [{
|
|
396
|
+
type: Directive,
|
|
397
|
+
args: [{
|
|
398
|
+
selector: "[hlmCommandGroup],hlm-command-group",
|
|
399
|
+
hostDirectives: [{
|
|
400
|
+
directive: BrnCommandGroup,
|
|
401
|
+
inputs: ["id"]
|
|
402
|
+
}],
|
|
403
|
+
host: { "data-slot": "command-group" }
|
|
404
|
+
}]
|
|
405
|
+
}],
|
|
406
|
+
ctorParameters: () => []
|
|
407
|
+
});
|
|
408
|
+
var HlmCommandGroupLabel = class HlmCommandGroupLabel {
|
|
409
|
+
constructor() {
|
|
410
|
+
classes(() => "inline-block");
|
|
411
|
+
}
|
|
412
|
+
static {
|
|
413
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
414
|
+
minVersion: "12.0.0",
|
|
415
|
+
version: "22.2.4",
|
|
416
|
+
ngImport: i0,
|
|
417
|
+
type: HlmCommandGroupLabel,
|
|
418
|
+
deps: [],
|
|
419
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
420
|
+
});
|
|
421
|
+
}
|
|
422
|
+
static {
|
|
423
|
+
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
424
|
+
minVersion: "14.0.0",
|
|
425
|
+
version: "22.2.4",
|
|
426
|
+
type: HlmCommandGroupLabel,
|
|
427
|
+
isStandalone: true,
|
|
428
|
+
selector: "[hlmCommandGroupLabel],hlm-command-group-label",
|
|
429
|
+
host: { attributes: {
|
|
430
|
+
"data-slot": "command-group-label",
|
|
431
|
+
"role": "presentation"
|
|
432
|
+
} },
|
|
433
|
+
ngImport: i0
|
|
434
|
+
});
|
|
435
|
+
}
|
|
436
|
+
};
|
|
437
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
438
|
+
minVersion: "12.0.0",
|
|
439
|
+
version: "22.2.4",
|
|
440
|
+
ngImport: i0,
|
|
441
|
+
type: HlmCommandGroupLabel,
|
|
442
|
+
decorators: [{
|
|
443
|
+
type: Directive,
|
|
444
|
+
args: [{
|
|
445
|
+
selector: "[hlmCommandGroupLabel],hlm-command-group-label",
|
|
446
|
+
host: {
|
|
447
|
+
"data-slot": "command-group-label",
|
|
448
|
+
role: "presentation"
|
|
449
|
+
}
|
|
450
|
+
}]
|
|
451
|
+
}],
|
|
452
|
+
ctorParameters: () => []
|
|
453
|
+
});
|
|
454
|
+
var HlmCommandInput = class HlmCommandInput {
|
|
455
|
+
constructor() {
|
|
456
|
+
this.inputId = input(...ngDevMode ? [void 0, { debugName: "inputId" }] : /* istanbul ignore next */ []);
|
|
457
|
+
this.placeholder = input("", ...ngDevMode ? [{ debugName: "placeholder" }] : /* istanbul ignore next */ []);
|
|
458
|
+
classes(() => "p-1 pb-0");
|
|
459
|
+
}
|
|
460
|
+
static {
|
|
461
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
462
|
+
minVersion: "12.0.0",
|
|
463
|
+
version: "22.2.4",
|
|
464
|
+
ngImport: i0,
|
|
465
|
+
type: HlmCommandInput,
|
|
466
|
+
deps: [],
|
|
467
|
+
target: i0.ɵɵFactoryTarget.Component
|
|
468
|
+
});
|
|
469
|
+
}
|
|
470
|
+
static {
|
|
471
|
+
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
472
|
+
minVersion: "17.1.0",
|
|
473
|
+
version: "22.2.4",
|
|
474
|
+
type: HlmCommandInput,
|
|
475
|
+
isStandalone: true,
|
|
476
|
+
selector: "hlm-command-input",
|
|
477
|
+
inputs: {
|
|
478
|
+
inputId: {
|
|
479
|
+
classPropertyName: "inputId",
|
|
480
|
+
publicName: "inputId",
|
|
481
|
+
isSignal: true,
|
|
482
|
+
isRequired: false,
|
|
483
|
+
transformFunction: null
|
|
484
|
+
},
|
|
485
|
+
placeholder: {
|
|
486
|
+
classPropertyName: "placeholder",
|
|
487
|
+
publicName: "placeholder",
|
|
488
|
+
isSignal: true,
|
|
489
|
+
isRequired: false,
|
|
490
|
+
transformFunction: null
|
|
491
|
+
}
|
|
492
|
+
},
|
|
493
|
+
host: { attributes: { "data-slot": "command-input-wrapper" } },
|
|
494
|
+
providers: [provideIcons({ lucideSearch })],
|
|
495
|
+
ngImport: i0,
|
|
496
|
+
template: `
|
|
171
497
|
<hlm-input-group class="bg-input/30 border-input/30 h-8! rounded-lg! shadow-none! *:data-[slot=input-group-addon]:ps-2!">
|
|
172
498
|
<input
|
|
173
499
|
brnCommandInput
|
|
@@ -181,19 +507,61 @@ class HlmCommandInput {
|
|
|
181
507
|
<ng-icon name="lucideSearch" class="shrink-0 text-[length:--spacing(4)] opacity-50" />
|
|
182
508
|
</hlm-input-group-addon>
|
|
183
509
|
</hlm-input-group>
|
|
184
|
-
`,
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
510
|
+
`,
|
|
511
|
+
isInline: true,
|
|
512
|
+
dependencies: [
|
|
513
|
+
{
|
|
514
|
+
kind: "directive",
|
|
515
|
+
type: i1.HlmInputGroup,
|
|
516
|
+
selector: "[hlmInputGroup],hlm-input-group"
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
kind: "directive",
|
|
520
|
+
type: i1.HlmInputGroupAddon,
|
|
521
|
+
selector: "[hlmInputGroupAddon],hlm-input-group-addon",
|
|
522
|
+
inputs: ["align"]
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
kind: "component",
|
|
526
|
+
type: NgIcon,
|
|
527
|
+
selector: "ng-icon",
|
|
528
|
+
inputs: [
|
|
529
|
+
"name",
|
|
530
|
+
"svg",
|
|
531
|
+
"size",
|
|
532
|
+
"strokeWidth",
|
|
533
|
+
"color"
|
|
534
|
+
]
|
|
535
|
+
},
|
|
536
|
+
{
|
|
537
|
+
kind: "directive",
|
|
538
|
+
type: BrnCommandInput,
|
|
539
|
+
selector: "input[brnCommandInput]",
|
|
540
|
+
inputs: ["id"]
|
|
541
|
+
}
|
|
542
|
+
],
|
|
543
|
+
changeDetection: i0.ChangeDetectionStrategy.OnPush
|
|
544
|
+
});
|
|
545
|
+
}
|
|
546
|
+
};
|
|
547
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
548
|
+
minVersion: "12.0.0",
|
|
549
|
+
version: "22.2.4",
|
|
550
|
+
ngImport: i0,
|
|
551
|
+
type: HlmCommandInput,
|
|
552
|
+
decorators: [{
|
|
553
|
+
type: Component,
|
|
554
|
+
args: [{
|
|
555
|
+
selector: "hlm-command-input",
|
|
556
|
+
imports: [
|
|
557
|
+
HlmInputGroupImports,
|
|
558
|
+
NgIcon,
|
|
559
|
+
BrnCommandInput
|
|
560
|
+
],
|
|
561
|
+
providers: [provideIcons({ lucideSearch })],
|
|
562
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
563
|
+
host: { "data-slot": "command-input-wrapper" },
|
|
564
|
+
template: `
|
|
197
565
|
<hlm-input-group class="bg-input/30 border-input/30 h-8! rounded-lg! shadow-none! *:data-[slot=input-group-addon]:ps-2!">
|
|
198
566
|
<input
|
|
199
567
|
brnCommandInput
|
|
@@ -207,109 +575,233 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.22", ngImpo
|
|
|
207
575
|
<ng-icon name="lucideSearch" class="shrink-0 text-[length:--spacing(4)] opacity-50" />
|
|
208
576
|
</hlm-input-group-addon>
|
|
209
577
|
</hlm-input-group>
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
578
|
+
`
|
|
579
|
+
}]
|
|
580
|
+
}],
|
|
581
|
+
ctorParameters: () => [],
|
|
582
|
+
propDecorators: {
|
|
583
|
+
inputId: [{
|
|
584
|
+
type: i0.Input,
|
|
585
|
+
args: [{
|
|
586
|
+
isSignal: true,
|
|
587
|
+
alias: "inputId",
|
|
588
|
+
required: false
|
|
589
|
+
}]
|
|
590
|
+
}],
|
|
591
|
+
placeholder: [{
|
|
592
|
+
type: i0.Input,
|
|
593
|
+
args: [{
|
|
594
|
+
isSignal: true,
|
|
595
|
+
alias: "placeholder",
|
|
596
|
+
required: false
|
|
597
|
+
}]
|
|
598
|
+
}]
|
|
599
|
+
}
|
|
600
|
+
});
|
|
601
|
+
var HlmCommandItem = class HlmCommandItem {
|
|
602
|
+
constructor() {
|
|
603
|
+
classes(() => "data-selected:bg-muted data-selected:text-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none in-data-[slot=dialog-content]:rounded-lg! [&_ng-icon:not([class*='text-'])]:text-[length:--spacing(4)] group/command-item w-full data-disabled:pointer-events-none data-disabled:opacity-50 data-hidden:hidden [&>ng-icon]:pointer-events-none [&>ng-icon]:shrink-0");
|
|
604
|
+
}
|
|
605
|
+
static {
|
|
606
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
607
|
+
minVersion: "12.0.0",
|
|
608
|
+
version: "22.2.4",
|
|
609
|
+
ngImport: i0,
|
|
610
|
+
type: HlmCommandItem,
|
|
611
|
+
deps: [],
|
|
612
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
613
|
+
});
|
|
614
|
+
}
|
|
615
|
+
static {
|
|
616
|
+
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
617
|
+
minVersion: "14.0.0",
|
|
618
|
+
version: "22.2.4",
|
|
619
|
+
type: HlmCommandItem,
|
|
620
|
+
isStandalone: true,
|
|
621
|
+
selector: "button[hlmCommandItem],button[hlm-command-item]",
|
|
622
|
+
host: { attributes: { "data-slot": "command-item" } },
|
|
623
|
+
hostDirectives: [{
|
|
624
|
+
directive: i1$2.BrnCommandItem,
|
|
625
|
+
inputs: [
|
|
626
|
+
"value",
|
|
627
|
+
"value",
|
|
628
|
+
"disabled",
|
|
629
|
+
"disabled",
|
|
630
|
+
"id",
|
|
631
|
+
"id"
|
|
632
|
+
],
|
|
633
|
+
outputs: ["selected", "selected"]
|
|
634
|
+
}],
|
|
635
|
+
ngImport: i0
|
|
636
|
+
});
|
|
637
|
+
}
|
|
638
|
+
};
|
|
639
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
640
|
+
minVersion: "12.0.0",
|
|
641
|
+
version: "22.2.4",
|
|
642
|
+
ngImport: i0,
|
|
643
|
+
type: HlmCommandItem,
|
|
644
|
+
decorators: [{
|
|
645
|
+
type: Directive,
|
|
646
|
+
args: [{
|
|
647
|
+
selector: "button[hlmCommandItem],button[hlm-command-item]",
|
|
648
|
+
hostDirectives: [{
|
|
649
|
+
directive: BrnCommandItem,
|
|
650
|
+
inputs: [
|
|
651
|
+
"value",
|
|
652
|
+
"disabled",
|
|
653
|
+
"id"
|
|
654
|
+
],
|
|
655
|
+
outputs: ["selected"]
|
|
656
|
+
}],
|
|
657
|
+
host: { "data-slot": "command-item" }
|
|
658
|
+
}]
|
|
659
|
+
}],
|
|
660
|
+
ctorParameters: () => []
|
|
661
|
+
});
|
|
662
|
+
var HlmCommandList = class HlmCommandList {
|
|
663
|
+
constructor() {
|
|
664
|
+
classes(() => "no-scrollbar max-h-72 scroll-py-1 outline-none overflow-x-hidden overflow-y-auto");
|
|
665
|
+
}
|
|
666
|
+
static {
|
|
667
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
668
|
+
minVersion: "12.0.0",
|
|
669
|
+
version: "22.2.4",
|
|
670
|
+
ngImport: i0,
|
|
671
|
+
type: HlmCommandList,
|
|
672
|
+
deps: [],
|
|
673
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
674
|
+
});
|
|
675
|
+
}
|
|
676
|
+
static {
|
|
677
|
+
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
678
|
+
minVersion: "14.0.0",
|
|
679
|
+
version: "22.2.4",
|
|
680
|
+
type: HlmCommandList,
|
|
681
|
+
isStandalone: true,
|
|
682
|
+
selector: "[hlmCommandList],hlm-command-list",
|
|
683
|
+
host: { attributes: { "data-slot": "command-list" } },
|
|
684
|
+
hostDirectives: [{
|
|
685
|
+
directive: i1$2.BrnCommandList,
|
|
686
|
+
inputs: ["id", "id"]
|
|
687
|
+
}],
|
|
688
|
+
ngImport: i0
|
|
689
|
+
});
|
|
690
|
+
}
|
|
691
|
+
};
|
|
692
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
693
|
+
minVersion: "12.0.0",
|
|
694
|
+
version: "22.2.4",
|
|
695
|
+
ngImport: i0,
|
|
696
|
+
type: HlmCommandList,
|
|
697
|
+
decorators: [{
|
|
698
|
+
type: Directive,
|
|
699
|
+
args: [{
|
|
700
|
+
selector: "[hlmCommandList],hlm-command-list",
|
|
701
|
+
hostDirectives: [{
|
|
702
|
+
directive: BrnCommandList,
|
|
703
|
+
inputs: ["id"]
|
|
704
|
+
}],
|
|
705
|
+
host: { "data-slot": "command-list" }
|
|
706
|
+
}]
|
|
707
|
+
}],
|
|
708
|
+
ctorParameters: () => []
|
|
709
|
+
});
|
|
710
|
+
var HlmCommandSeparator = class HlmCommandSeparator {
|
|
711
|
+
constructor() {
|
|
712
|
+
classes(() => "bg-border -mx-1 h-px block data-hidden:hidden");
|
|
713
|
+
}
|
|
714
|
+
static {
|
|
715
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
716
|
+
minVersion: "12.0.0",
|
|
717
|
+
version: "22.2.4",
|
|
718
|
+
ngImport: i0,
|
|
719
|
+
type: HlmCommandSeparator,
|
|
720
|
+
deps: [],
|
|
721
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
722
|
+
});
|
|
723
|
+
}
|
|
724
|
+
static {
|
|
725
|
+
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
726
|
+
minVersion: "14.0.0",
|
|
727
|
+
version: "22.2.4",
|
|
728
|
+
type: HlmCommandSeparator,
|
|
729
|
+
isStandalone: true,
|
|
730
|
+
selector: "[hlmCommandSeparator],hlm-command-separator",
|
|
731
|
+
host: { attributes: { "data-slot": "command-separator" } },
|
|
732
|
+
hostDirectives: [{ directive: i1$2.BrnCommandSeparator }],
|
|
733
|
+
ngImport: i0
|
|
734
|
+
});
|
|
735
|
+
}
|
|
736
|
+
};
|
|
737
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
738
|
+
minVersion: "12.0.0",
|
|
739
|
+
version: "22.2.4",
|
|
740
|
+
ngImport: i0,
|
|
741
|
+
type: HlmCommandSeparator,
|
|
742
|
+
decorators: [{
|
|
743
|
+
type: Directive,
|
|
744
|
+
args: [{
|
|
745
|
+
selector: "[hlmCommandSeparator],hlm-command-separator",
|
|
746
|
+
hostDirectives: [BrnCommandSeparator],
|
|
747
|
+
host: { "data-slot": "command-separator" }
|
|
748
|
+
}]
|
|
749
|
+
}],
|
|
750
|
+
ctorParameters: () => []
|
|
751
|
+
});
|
|
752
|
+
var HlmCommandShortcut = class HlmCommandShortcut {
|
|
753
|
+
constructor() {
|
|
754
|
+
classes(() => "text-muted-foreground group-data-[selected]/command-item:text-foreground ms-auto text-xs tracking-widest");
|
|
755
|
+
}
|
|
756
|
+
static {
|
|
757
|
+
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
758
|
+
minVersion: "12.0.0",
|
|
759
|
+
version: "22.2.4",
|
|
760
|
+
ngImport: i0,
|
|
761
|
+
type: HlmCommandShortcut,
|
|
762
|
+
deps: [],
|
|
763
|
+
target: i0.ɵɵFactoryTarget.Directive
|
|
764
|
+
});
|
|
765
|
+
}
|
|
766
|
+
static {
|
|
767
|
+
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
768
|
+
minVersion: "14.0.0",
|
|
769
|
+
version: "22.2.4",
|
|
770
|
+
type: HlmCommandShortcut,
|
|
771
|
+
isStandalone: true,
|
|
772
|
+
selector: "[hlmCommandShortcut],hlm-command-shortcut",
|
|
773
|
+
host: { attributes: { "data-slot": "command-shortcut" } },
|
|
774
|
+
ngImport: i0
|
|
775
|
+
});
|
|
776
|
+
}
|
|
777
|
+
};
|
|
778
|
+
i0.ɵɵngDeclareClassMetadata({
|
|
779
|
+
minVersion: "12.0.0",
|
|
780
|
+
version: "22.2.4",
|
|
781
|
+
ngImport: i0,
|
|
782
|
+
type: HlmCommandShortcut,
|
|
783
|
+
decorators: [{
|
|
784
|
+
type: Directive,
|
|
785
|
+
args: [{
|
|
786
|
+
selector: "[hlmCommandShortcut],hlm-command-shortcut",
|
|
787
|
+
host: { "data-slot": "command-shortcut" }
|
|
788
|
+
}]
|
|
789
|
+
}],
|
|
790
|
+
ctorParameters: () => []
|
|
791
|
+
});
|
|
296
792
|
const HlmCommandImports = [
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
793
|
+
HlmCommand,
|
|
794
|
+
HlmCommandDialog,
|
|
795
|
+
HlmCommandEmpty,
|
|
796
|
+
HlmCommandEmptyState,
|
|
797
|
+
HlmCommandGroup,
|
|
798
|
+
HlmCommandGroupLabel,
|
|
799
|
+
HlmCommandInput,
|
|
800
|
+
HlmCommandItem,
|
|
801
|
+
HlmCommandList,
|
|
802
|
+
HlmCommandSeparator,
|
|
803
|
+
HlmCommandShortcut
|
|
308
804
|
];
|
|
309
|
-
|
|
310
|
-
/**
|
|
311
|
-
* Generated bundle index. Do not edit.
|
|
312
|
-
*/
|
|
313
|
-
|
|
314
805
|
export { HlmCommand, HlmCommandDialog, HlmCommandEmpty, HlmCommandEmptyState, HlmCommandGroup, HlmCommandGroupLabel, HlmCommandImports, HlmCommandInput, HlmCommandItem, HlmCommandList, HlmCommandSeparator, HlmCommandShortcut };
|
|
315
|
-
|
|
806
|
+
|
|
807
|
+
//# sourceMappingURL=yukit-web-helm-command.mjs.map
|