@logosphere-ui/angular 0.0.1-alpha.1
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/README.md +63 -0
- package/fesm2022/logosphere-ui-angular-src-lib-badge.mjs +53 -0
- package/fesm2022/logosphere-ui-angular-src-lib-badge.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-breadcrumb.mjs +37 -0
- package/fesm2022/logosphere-ui-angular-src-lib-breadcrumb.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-button.mjs +34 -0
- package/fesm2022/logosphere-ui-angular-src-lib-button.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-calendar.mjs +85 -0
- package/fesm2022/logosphere-ui-angular-src-lib-calendar.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-card.mjs +68 -0
- package/fesm2022/logosphere-ui-angular-src-lib-card.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-chatbot.mjs +62 -0
- package/fesm2022/logosphere-ui-angular-src-lib-chatbot.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-checkbox.mjs +55 -0
- package/fesm2022/logosphere-ui-angular-src-lib-checkbox.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-combobox.mjs +100 -0
- package/fesm2022/logosphere-ui-angular-src-lib-combobox.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-datepicker.mjs +102 -0
- package/fesm2022/logosphere-ui-angular-src-lib-datepicker.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-download-manager.mjs +39 -0
- package/fesm2022/logosphere-ui-angular-src-lib-download-manager.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-drawer.mjs +64 -0
- package/fesm2022/logosphere-ui-angular-src-lib-drawer.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-formfield.mjs +76 -0
- package/fesm2022/logosphere-ui-angular-src-lib-formfield.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-input.mjs +130 -0
- package/fesm2022/logosphere-ui-angular-src-lib-input.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-left-menu.mjs +99 -0
- package/fesm2022/logosphere-ui-angular-src-lib-left-menu.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-modal.mjs +66 -0
- package/fesm2022/logosphere-ui-angular-src-lib-modal.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-popover.mjs +66 -0
- package/fesm2022/logosphere-ui-angular-src-lib-popover.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-switch.mjs +46 -0
- package/fesm2022/logosphere-ui-angular-src-lib-switch.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-tab.mjs +61 -0
- package/fesm2022/logosphere-ui-angular-src-lib-tab.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-textarea.mjs +110 -0
- package/fesm2022/logosphere-ui-angular-src-lib-textarea.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-timepicker.mjs +73 -0
- package/fesm2022/logosphere-ui-angular-src-lib-timepicker.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-toast.mjs +74 -0
- package/fesm2022/logosphere-ui-angular-src-lib-toast.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular-src-lib-tree-menu.mjs +76 -0
- package/fesm2022/logosphere-ui-angular-src-lib-tree-menu.mjs.map +1 -0
- package/fesm2022/logosphere-ui-angular.mjs +1390 -0
- package/fesm2022/logosphere-ui-angular.mjs.map +1 -0
- package/package.json +112 -0
- package/types/logosphere-ui-angular-src-lib-badge.d.ts +15 -0
- package/types/logosphere-ui-angular-src-lib-breadcrumb.d.ts +17 -0
- package/types/logosphere-ui-angular-src-lib-button.d.ts +12 -0
- package/types/logosphere-ui-angular-src-lib-calendar.d.ts +30 -0
- package/types/logosphere-ui-angular-src-lib-card.d.ts +18 -0
- package/types/logosphere-ui-angular-src-lib-chatbot.d.ts +24 -0
- package/types/logosphere-ui-angular-src-lib-checkbox.d.ts +22 -0
- package/types/logosphere-ui-angular-src-lib-combobox.d.ts +35 -0
- package/types/logosphere-ui-angular-src-lib-datepicker.d.ts +36 -0
- package/types/logosphere-ui-angular-src-lib-download-manager.d.ts +11 -0
- package/types/logosphere-ui-angular-src-lib-drawer.d.ts +18 -0
- package/types/logosphere-ui-angular-src-lib-formfield.d.ts +20 -0
- package/types/logosphere-ui-angular-src-lib-input.d.ts +47 -0
- package/types/logosphere-ui-angular-src-lib-left-menu.d.ts +30 -0
- package/types/logosphere-ui-angular-src-lib-modal.d.ts +18 -0
- package/types/logosphere-ui-angular-src-lib-popover.d.ts +18 -0
- package/types/logosphere-ui-angular-src-lib-switch.d.ts +17 -0
- package/types/logosphere-ui-angular-src-lib-tab.d.ts +27 -0
- package/types/logosphere-ui-angular-src-lib-textarea.d.ts +38 -0
- package/types/logosphere-ui-angular-src-lib-timepicker.d.ts +24 -0
- package/types/logosphere-ui-angular-src-lib-toast.d.ts +27 -0
- package/types/logosphere-ui-angular-src-lib-tree-menu.d.ts +38 -0
- package/types/logosphere-ui-angular.d.ts +468 -0
|
@@ -0,0 +1,1390 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { input, output, CUSTOM_ELEMENTS_SCHEMA, Component, ViewChild } from '@angular/core';
|
|
3
|
+
import '@logosphere-ui/core/badge';
|
|
4
|
+
import '@logosphere-ui/core/button';
|
|
5
|
+
import '@logosphere-ui/core/checkbox';
|
|
6
|
+
import '@logosphere-ui/core/formfield';
|
|
7
|
+
import '@logosphere-ui/core/switch';
|
|
8
|
+
import '@logosphere-ui/core/breadcrumb';
|
|
9
|
+
import '@logosphere-ui/core/card';
|
|
10
|
+
import '@logosphere-ui/core/input';
|
|
11
|
+
import '@logosphere-ui/core/popover';
|
|
12
|
+
import '@logosphere-ui/core/textarea';
|
|
13
|
+
import '@logosphere-ui/core/timepicker';
|
|
14
|
+
import '@logosphere-ui/core/calendar';
|
|
15
|
+
import '@logosphere-ui/core/chatbot';
|
|
16
|
+
import '@logosphere-ui/core/combobox';
|
|
17
|
+
import '@logosphere-ui/core/datepicker';
|
|
18
|
+
import '@logosphere-ui/core/download-manager';
|
|
19
|
+
import '@logosphere-ui/core/drawer';
|
|
20
|
+
import '@logosphere-ui/core/left-menu';
|
|
21
|
+
import '@logosphere-ui/core/modal';
|
|
22
|
+
import '@logosphere-ui/core/tab';
|
|
23
|
+
import '@logosphere-ui/core/toast';
|
|
24
|
+
import '@logosphere-ui/core/tree-menu';
|
|
25
|
+
|
|
26
|
+
class LogosphereBadge {
|
|
27
|
+
variant = input('default', ...(ngDevMode ? [{ debugName: "variant" }] : []));
|
|
28
|
+
size = input('default', ...(ngDevMode ? [{ debugName: "size" }] : []));
|
|
29
|
+
text = input('', ...(ngDevMode ? [{ debugName: "text" }] : []));
|
|
30
|
+
closeable = input(false, ...(ngDevMode ? [{ debugName: "closeable" }] : []));
|
|
31
|
+
isRound = input(false, ...(ngDevMode ? [{ debugName: "isRound" }] : []));
|
|
32
|
+
close = output();
|
|
33
|
+
onClose(_event) {
|
|
34
|
+
this.close.emit();
|
|
35
|
+
}
|
|
36
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereBadge, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
37
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereBadge, isStandalone: true, selector: "lgs-badge", inputs: { variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, closeable: { classPropertyName: "closeable", publicName: "closeable", isSignal: true, isRequired: false, transformFunction: null }, isRound: { classPropertyName: "isRound", publicName: "isRound", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { close: "close" }, ngImport: i0, template: `
|
|
38
|
+
<logosphere-badge
|
|
39
|
+
[variant]="variant()"
|
|
40
|
+
[size]="size()"
|
|
41
|
+
[text]="text()"
|
|
42
|
+
[closeable]="closeable()"
|
|
43
|
+
[isRound]="isRound()"
|
|
44
|
+
(close)="onClose($event)"
|
|
45
|
+
>
|
|
46
|
+
<ng-content></ng-content>
|
|
47
|
+
</logosphere-badge>`, isInline: true });
|
|
48
|
+
}
|
|
49
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereBadge, decorators: [{
|
|
50
|
+
type: Component,
|
|
51
|
+
args: [{
|
|
52
|
+
selector: 'lgs-badge',
|
|
53
|
+
imports: [],
|
|
54
|
+
template: `
|
|
55
|
+
<logosphere-badge
|
|
56
|
+
[variant]="variant()"
|
|
57
|
+
[size]="size()"
|
|
58
|
+
[text]="text()"
|
|
59
|
+
[closeable]="closeable()"
|
|
60
|
+
[isRound]="isRound()"
|
|
61
|
+
(close)="onClose($event)"
|
|
62
|
+
>
|
|
63
|
+
<ng-content></ng-content>
|
|
64
|
+
</logosphere-badge>`,
|
|
65
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
66
|
+
}]
|
|
67
|
+
}], propDecorators: { variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: false }] }], closeable: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeable", required: false }] }], isRound: [{ type: i0.Input, args: [{ isSignal: true, alias: "isRound", required: false }] }], close: [{ type: i0.Output, args: ["close"] }] } });
|
|
68
|
+
|
|
69
|
+
class LogosphereButton {
|
|
70
|
+
theme = input('primary', ...(ngDevMode ? [{ debugName: "theme" }] : []));
|
|
71
|
+
size = input('md', ...(ngDevMode ? [{ debugName: "size" }] : []));
|
|
72
|
+
variant = input('primary', ...(ngDevMode ? [{ debugName: "variant" }] : []));
|
|
73
|
+
iconOnly = input(false, ...(ngDevMode ? [{ debugName: "iconOnly" }] : []));
|
|
74
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereButton, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
75
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereButton, isStandalone: true, selector: "lgs-button", inputs: { theme: { classPropertyName: "theme", publicName: "theme", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, iconOnly: { classPropertyName: "iconOnly", publicName: "iconOnly", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
76
|
+
<logosphere-button [theme]="theme()" [size]="size()" [variant]="variant()" [iconOnly]="iconOnly()">
|
|
77
|
+
<ng-content></ng-content>
|
|
78
|
+
</logosphere-button>`, isInline: true });
|
|
79
|
+
}
|
|
80
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereButton, decorators: [{
|
|
81
|
+
type: Component,
|
|
82
|
+
args: [{
|
|
83
|
+
selector: 'lgs-button',
|
|
84
|
+
imports: [],
|
|
85
|
+
template: `
|
|
86
|
+
<logosphere-button [theme]="theme()" [size]="size()" [variant]="variant()" [iconOnly]="iconOnly()">
|
|
87
|
+
<ng-content></ng-content>
|
|
88
|
+
</logosphere-button>`,
|
|
89
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
90
|
+
}]
|
|
91
|
+
}], propDecorators: { theme: [{ type: i0.Input, args: [{ isSignal: true, alias: "theme", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], iconOnly: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconOnly", required: false }] }] } });
|
|
92
|
+
|
|
93
|
+
class LogosphereCheckbox {
|
|
94
|
+
disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : []));
|
|
95
|
+
indeterminate = input(false, ...(ngDevMode ? [{ debugName: "indeterminate" }] : []));
|
|
96
|
+
checked = input(false, ...(ngDevMode ? [{ debugName: "checked" }] : []));
|
|
97
|
+
label = input('', ...(ngDevMode ? [{ debugName: "label" }] : []));
|
|
98
|
+
value = input('', ...(ngDevMode ? [{ debugName: "value" }] : []));
|
|
99
|
+
type = input("checkbox", ...(ngDevMode ? [{ debugName: "type" }] : []));
|
|
100
|
+
change = output();
|
|
101
|
+
onChange(event) {
|
|
102
|
+
const e = event;
|
|
103
|
+
this.change.emit(e.detail);
|
|
104
|
+
}
|
|
105
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereCheckbox, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
106
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereCheckbox, isStandalone: true, selector: "lgs-checkbox", inputs: { disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, indeterminate: { classPropertyName: "indeterminate", publicName: "indeterminate", isSignal: true, isRequired: false, transformFunction: null }, checked: { classPropertyName: "checked", publicName: "checked", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { change: "change" }, ngImport: i0, template: `
|
|
107
|
+
<logosphere-checkbox
|
|
108
|
+
[checked]="checked()"
|
|
109
|
+
[disabled]="disabled()"
|
|
110
|
+
[indeterminate]="indeterminate()"
|
|
111
|
+
[label]="label()"
|
|
112
|
+
[value]="value()"
|
|
113
|
+
[type]="type()"
|
|
114
|
+
(lgsChange)="onChange($event)"
|
|
115
|
+
>
|
|
116
|
+
</logosphere-checkbox>`, isInline: true });
|
|
117
|
+
}
|
|
118
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereCheckbox, decorators: [{
|
|
119
|
+
type: Component,
|
|
120
|
+
args: [{
|
|
121
|
+
selector: 'lgs-checkbox',
|
|
122
|
+
imports: [],
|
|
123
|
+
template: `
|
|
124
|
+
<logosphere-checkbox
|
|
125
|
+
[checked]="checked()"
|
|
126
|
+
[disabled]="disabled()"
|
|
127
|
+
[indeterminate]="indeterminate()"
|
|
128
|
+
[label]="label()"
|
|
129
|
+
[value]="value()"
|
|
130
|
+
[type]="type()"
|
|
131
|
+
(lgsChange)="onChange($event)"
|
|
132
|
+
>
|
|
133
|
+
</logosphere-checkbox>`,
|
|
134
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
135
|
+
}]
|
|
136
|
+
}], propDecorators: { disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], indeterminate: [{ type: i0.Input, args: [{ isSignal: true, alias: "indeterminate", required: false }] }], checked: [{ type: i0.Input, args: [{ isSignal: true, alias: "checked", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }], change: [{ type: i0.Output, args: ["change"] }] } });
|
|
137
|
+
|
|
138
|
+
class LogosphereFormField {
|
|
139
|
+
label = input('', ...(ngDevMode ? [{ debugName: "label" }] : []));
|
|
140
|
+
helper = input('', ...(ngDevMode ? [{ debugName: "helper" }] : []));
|
|
141
|
+
error = input('', ...(ngDevMode ? [{ debugName: "error" }] : []));
|
|
142
|
+
placeholder = input('', ...(ngDevMode ? [{ debugName: "placeholder" }] : []));
|
|
143
|
+
size = input('default', ...(ngDevMode ? [{ debugName: "size" }] : []));
|
|
144
|
+
variant = input('default', ...(ngDevMode ? [{ debugName: "variant" }] : []));
|
|
145
|
+
cursor = input('text', ...(ngDevMode ? [{ debugName: "cursor" }] : []));
|
|
146
|
+
required = input(false, ...(ngDevMode ? [{ debugName: "required" }] : []));
|
|
147
|
+
disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : []));
|
|
148
|
+
readonly = input(false, ...(ngDevMode ? [{ debugName: "readonly" }] : []));
|
|
149
|
+
multiline = input(false, ...(ngDevMode ? [{ debugName: "multiline" }] : []));
|
|
150
|
+
forceFocused = input(false, ...(ngDevMode ? [{ debugName: "forceFocused" }] : []));
|
|
151
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereFormField, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
152
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereFormField, isStandalone: true, selector: "lgs-formfield", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, helper: { classPropertyName: "helper", publicName: "helper", isSignal: true, isRequired: false, transformFunction: null }, error: { classPropertyName: "error", publicName: "error", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, cursor: { classPropertyName: "cursor", publicName: "cursor", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, multiline: { classPropertyName: "multiline", publicName: "multiline", isSignal: true, isRequired: false, transformFunction: null }, forceFocused: { classPropertyName: "forceFocused", publicName: "forceFocused", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
153
|
+
<logosphere-formfield
|
|
154
|
+
[label]="label()"
|
|
155
|
+
[helper]="helper()"
|
|
156
|
+
[error]="error()"
|
|
157
|
+
[placeholder]="placeholder()"
|
|
158
|
+
[size]="size()"
|
|
159
|
+
[variant]="variant()"
|
|
160
|
+
[cursor]="cursor()"
|
|
161
|
+
[required]="required()"
|
|
162
|
+
[disabled]="disabled()"
|
|
163
|
+
[readonly]="readonly()"
|
|
164
|
+
[multiline]="multiline()"
|
|
165
|
+
[forceFocused]="forceFocused()"
|
|
166
|
+
>
|
|
167
|
+
<ng-content></ng-content>
|
|
168
|
+
<ng-content select="[slot=prefix]" slot="prefix"></ng-content>
|
|
169
|
+
<ng-content select="[slot=suffix]" slot="suffix"></ng-content>
|
|
170
|
+
<ng-content select="[slot=clear]" slot="clear"></ng-content>
|
|
171
|
+
</logosphere-formfield>
|
|
172
|
+
`, isInline: true });
|
|
173
|
+
}
|
|
174
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereFormField, decorators: [{
|
|
175
|
+
type: Component,
|
|
176
|
+
args: [{
|
|
177
|
+
selector: 'lgs-formfield',
|
|
178
|
+
imports: [],
|
|
179
|
+
template: `
|
|
180
|
+
<logosphere-formfield
|
|
181
|
+
[label]="label()"
|
|
182
|
+
[helper]="helper()"
|
|
183
|
+
[error]="error()"
|
|
184
|
+
[placeholder]="placeholder()"
|
|
185
|
+
[size]="size()"
|
|
186
|
+
[variant]="variant()"
|
|
187
|
+
[cursor]="cursor()"
|
|
188
|
+
[required]="required()"
|
|
189
|
+
[disabled]="disabled()"
|
|
190
|
+
[readonly]="readonly()"
|
|
191
|
+
[multiline]="multiline()"
|
|
192
|
+
[forceFocused]="forceFocused()"
|
|
193
|
+
>
|
|
194
|
+
<ng-content></ng-content>
|
|
195
|
+
<ng-content select="[slot=prefix]" slot="prefix"></ng-content>
|
|
196
|
+
<ng-content select="[slot=suffix]" slot="suffix"></ng-content>
|
|
197
|
+
<ng-content select="[slot=clear]" slot="clear"></ng-content>
|
|
198
|
+
</logosphere-formfield>
|
|
199
|
+
`,
|
|
200
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
201
|
+
}]
|
|
202
|
+
}], propDecorators: { label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], helper: [{ type: i0.Input, args: [{ isSignal: true, alias: "helper", required: false }] }], error: [{ type: i0.Input, args: [{ isSignal: true, alias: "error", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], cursor: [{ type: i0.Input, args: [{ isSignal: true, alias: "cursor", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], readonly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }], multiline: [{ type: i0.Input, args: [{ isSignal: true, alias: "multiline", required: false }] }], forceFocused: [{ type: i0.Input, args: [{ isSignal: true, alias: "forceFocused", required: false }] }] } });
|
|
203
|
+
|
|
204
|
+
class LogosphereSwitch {
|
|
205
|
+
checked = input(false, ...(ngDevMode ? [{ debugName: "checked" }] : []));
|
|
206
|
+
disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : []));
|
|
207
|
+
size = input('md', ...(ngDevMode ? [{ debugName: "size" }] : []));
|
|
208
|
+
change = output();
|
|
209
|
+
onChange(event) {
|
|
210
|
+
const e = event;
|
|
211
|
+
this.change.emit(e.detail);
|
|
212
|
+
}
|
|
213
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereSwitch, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
214
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereSwitch, isStandalone: true, selector: "lgs-switch", inputs: { checked: { classPropertyName: "checked", publicName: "checked", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { change: "change" }, ngImport: i0, template: `
|
|
215
|
+
<logosphere-switch
|
|
216
|
+
[checked]="checked()"
|
|
217
|
+
[disabled]="disabled()"
|
|
218
|
+
[size]="size()"
|
|
219
|
+
(change)="onChange($event)"
|
|
220
|
+
></logosphere-switch>
|
|
221
|
+
`, isInline: true });
|
|
222
|
+
}
|
|
223
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereSwitch, decorators: [{
|
|
224
|
+
type: Component,
|
|
225
|
+
args: [{
|
|
226
|
+
selector: 'lgs-switch',
|
|
227
|
+
imports: [],
|
|
228
|
+
template: `
|
|
229
|
+
<logosphere-switch
|
|
230
|
+
[checked]="checked()"
|
|
231
|
+
[disabled]="disabled()"
|
|
232
|
+
[size]="size()"
|
|
233
|
+
(change)="onChange($event)"
|
|
234
|
+
></logosphere-switch>
|
|
235
|
+
`,
|
|
236
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
237
|
+
}]
|
|
238
|
+
}], propDecorators: { checked: [{ type: i0.Input, args: [{ isSignal: true, alias: "checked", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], change: [{ type: i0.Output, args: ["change"] }] } });
|
|
239
|
+
|
|
240
|
+
class LogosphereBreadcrumb {
|
|
241
|
+
items = input([], ...(ngDevMode ? [{ debugName: "items" }] : []));
|
|
242
|
+
set elRef(element) {
|
|
243
|
+
if (element) {
|
|
244
|
+
element.nativeElement.items = this.items();
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereBreadcrumb, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
248
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereBreadcrumb, isStandalone: true, selector: "lgs-breadcrumb", inputs: { items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "elRef", first: true, predicate: ["el"], descendants: true }], ngImport: i0, template: `
|
|
249
|
+
<logosphere-breadcrumb #el></logosphere-breadcrumb>
|
|
250
|
+
`, isInline: true });
|
|
251
|
+
}
|
|
252
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereBreadcrumb, decorators: [{
|
|
253
|
+
type: Component,
|
|
254
|
+
args: [{
|
|
255
|
+
selector: 'lgs-breadcrumb',
|
|
256
|
+
imports: [],
|
|
257
|
+
template: `
|
|
258
|
+
<logosphere-breadcrumb #el></logosphere-breadcrumb>
|
|
259
|
+
`,
|
|
260
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
261
|
+
}]
|
|
262
|
+
}], propDecorators: { items: [{ type: i0.Input, args: [{ isSignal: true, alias: "items", required: false }] }], elRef: [{
|
|
263
|
+
type: ViewChild,
|
|
264
|
+
args: ['el', { static: false }]
|
|
265
|
+
}] } });
|
|
266
|
+
|
|
267
|
+
class LogosphereCard {
|
|
268
|
+
cardTitle = input('', { ...(ngDevMode ? { debugName: "cardTitle" } : {}), alias: 'title' });
|
|
269
|
+
description = input('', ...(ngDevMode ? [{ debugName: "description" }] : []));
|
|
270
|
+
header = input(true, ...(ngDevMode ? [{ debugName: "header" }] : []));
|
|
271
|
+
footer = input(true, ...(ngDevMode ? [{ debugName: "footer" }] : []));
|
|
272
|
+
okLabel = input('Tamam', ...(ngDevMode ? [{ debugName: "okLabel" }] : []));
|
|
273
|
+
cancelLabel = input('İptal', ...(ngDevMode ? [{ debugName: "cancelLabel" }] : []));
|
|
274
|
+
ok = output();
|
|
275
|
+
cancel = output();
|
|
276
|
+
onOk() {
|
|
277
|
+
this.ok.emit();
|
|
278
|
+
}
|
|
279
|
+
onCancel() {
|
|
280
|
+
this.cancel.emit();
|
|
281
|
+
}
|
|
282
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereCard, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
283
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereCard, isStandalone: true, selector: "lgs-card", inputs: { cardTitle: { classPropertyName: "cardTitle", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, description: { classPropertyName: "description", publicName: "description", isSignal: true, isRequired: false, transformFunction: null }, header: { classPropertyName: "header", publicName: "header", isSignal: true, isRequired: false, transformFunction: null }, footer: { classPropertyName: "footer", publicName: "footer", isSignal: true, isRequired: false, transformFunction: null }, okLabel: { classPropertyName: "okLabel", publicName: "okLabel", isSignal: true, isRequired: false, transformFunction: null }, cancelLabel: { classPropertyName: "cancelLabel", publicName: "cancelLabel", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { ok: "ok", cancel: "cancel" }, ngImport: i0, template: `
|
|
284
|
+
<logosphere-card
|
|
285
|
+
[title]="cardTitle()"
|
|
286
|
+
[description]="description()"
|
|
287
|
+
[header]="header()"
|
|
288
|
+
[footer]="footer()"
|
|
289
|
+
[okLabel]="okLabel()"
|
|
290
|
+
[cancelLabel]="cancelLabel()"
|
|
291
|
+
(ok)="onOk()"
|
|
292
|
+
(cancel)="onCancel()"
|
|
293
|
+
>
|
|
294
|
+
<ng-content></ng-content>
|
|
295
|
+
<ng-content select="[slot=header]" slot="header"></ng-content>
|
|
296
|
+
<ng-content select="[slot=footer]" slot="footer"></ng-content>
|
|
297
|
+
</logosphere-card>
|
|
298
|
+
`, isInline: true });
|
|
299
|
+
}
|
|
300
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereCard, decorators: [{
|
|
301
|
+
type: Component,
|
|
302
|
+
args: [{
|
|
303
|
+
selector: 'lgs-card',
|
|
304
|
+
imports: [],
|
|
305
|
+
template: `
|
|
306
|
+
<logosphere-card
|
|
307
|
+
[title]="cardTitle()"
|
|
308
|
+
[description]="description()"
|
|
309
|
+
[header]="header()"
|
|
310
|
+
[footer]="footer()"
|
|
311
|
+
[okLabel]="okLabel()"
|
|
312
|
+
[cancelLabel]="cancelLabel()"
|
|
313
|
+
(ok)="onOk()"
|
|
314
|
+
(cancel)="onCancel()"
|
|
315
|
+
>
|
|
316
|
+
<ng-content></ng-content>
|
|
317
|
+
<ng-content select="[slot=header]" slot="header"></ng-content>
|
|
318
|
+
<ng-content select="[slot=footer]" slot="footer"></ng-content>
|
|
319
|
+
</logosphere-card>
|
|
320
|
+
`,
|
|
321
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
322
|
+
}]
|
|
323
|
+
}], propDecorators: { cardTitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], description: [{ type: i0.Input, args: [{ isSignal: true, alias: "description", required: false }] }], header: [{ type: i0.Input, args: [{ isSignal: true, alias: "header", required: false }] }], footer: [{ type: i0.Input, args: [{ isSignal: true, alias: "footer", required: false }] }], okLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "okLabel", required: false }] }], cancelLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "cancelLabel", required: false }] }], ok: [{ type: i0.Output, args: ["ok"] }], cancel: [{ type: i0.Output, args: ["cancel"] }] } });
|
|
324
|
+
|
|
325
|
+
class LogosphereInput {
|
|
326
|
+
value = input('', ...(ngDevMode ? [{ debugName: "value" }] : []));
|
|
327
|
+
type = input('text', ...(ngDevMode ? [{ debugName: "type" }] : []));
|
|
328
|
+
placeholder = input('', ...(ngDevMode ? [{ debugName: "placeholder" }] : []));
|
|
329
|
+
name = input('', ...(ngDevMode ? [{ debugName: "name" }] : []));
|
|
330
|
+
autocomplete = input('', ...(ngDevMode ? [{ debugName: "autocomplete" }] : []));
|
|
331
|
+
minlength = input(undefined, ...(ngDevMode ? [{ debugName: "minlength" }] : []));
|
|
332
|
+
maxlength = input(undefined, ...(ngDevMode ? [{ debugName: "maxlength" }] : []));
|
|
333
|
+
pattern = input('', ...(ngDevMode ? [{ debugName: "pattern" }] : []));
|
|
334
|
+
min = input(undefined, ...(ngDevMode ? [{ debugName: "min" }] : []));
|
|
335
|
+
max = input(undefined, ...(ngDevMode ? [{ debugName: "max" }] : []));
|
|
336
|
+
step = input(undefined, ...(ngDevMode ? [{ debugName: "step" }] : []));
|
|
337
|
+
size = input('default', ...(ngDevMode ? [{ debugName: "size" }] : []));
|
|
338
|
+
variant = input('default', ...(ngDevMode ? [{ debugName: "variant" }] : []));
|
|
339
|
+
label = input('', ...(ngDevMode ? [{ debugName: "label" }] : []));
|
|
340
|
+
helper = input('', ...(ngDevMode ? [{ debugName: "helper" }] : []));
|
|
341
|
+
error = input('', ...(ngDevMode ? [{ debugName: "error" }] : []));
|
|
342
|
+
required = input(false, ...(ngDevMode ? [{ debugName: "required" }] : []));
|
|
343
|
+
disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : []));
|
|
344
|
+
readonly = input(false, ...(ngDevMode ? [{ debugName: "readonly" }] : []));
|
|
345
|
+
mask = input('', ...(ngDevMode ? [{ debugName: "mask" }] : []));
|
|
346
|
+
inputEvent = output({ alias: 'inputChange' });
|
|
347
|
+
change = output();
|
|
348
|
+
keydown = output();
|
|
349
|
+
keyup = output();
|
|
350
|
+
clear = output();
|
|
351
|
+
onInput(event) {
|
|
352
|
+
const e = event;
|
|
353
|
+
this.inputEvent.emit(e.detail);
|
|
354
|
+
}
|
|
355
|
+
onChange(event) {
|
|
356
|
+
const e = event;
|
|
357
|
+
this.change.emit(e.detail);
|
|
358
|
+
}
|
|
359
|
+
onKeydown(event) {
|
|
360
|
+
const e = event;
|
|
361
|
+
this.keydown.emit(e.detail);
|
|
362
|
+
}
|
|
363
|
+
onKeyup(event) {
|
|
364
|
+
const e = event;
|
|
365
|
+
this.keyup.emit(e.detail);
|
|
366
|
+
}
|
|
367
|
+
onClear() {
|
|
368
|
+
this.clear.emit();
|
|
369
|
+
}
|
|
370
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereInput, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
371
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereInput, isStandalone: true, selector: "lgs-input", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, autocomplete: { classPropertyName: "autocomplete", publicName: "autocomplete", isSignal: true, isRequired: false, transformFunction: null }, minlength: { classPropertyName: "minlength", publicName: "minlength", isSignal: true, isRequired: false, transformFunction: null }, maxlength: { classPropertyName: "maxlength", publicName: "maxlength", isSignal: true, isRequired: false, transformFunction: null }, pattern: { classPropertyName: "pattern", publicName: "pattern", isSignal: true, isRequired: false, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, step: { classPropertyName: "step", publicName: "step", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, helper: { classPropertyName: "helper", publicName: "helper", isSignal: true, isRequired: false, transformFunction: null }, error: { classPropertyName: "error", publicName: "error", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, mask: { classPropertyName: "mask", publicName: "mask", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { inputEvent: "inputChange", change: "change", keydown: "keydown", keyup: "keyup", clear: "clear" }, ngImport: i0, template: `
|
|
372
|
+
<logosphere-input
|
|
373
|
+
[value]="value()"
|
|
374
|
+
[type]="type()"
|
|
375
|
+
[placeholder]="placeholder()"
|
|
376
|
+
[name]="name()"
|
|
377
|
+
[autocomplete]="autocomplete()"
|
|
378
|
+
[attr.minlength]="minlength()"
|
|
379
|
+
[attr.maxlength]="maxlength()"
|
|
380
|
+
[pattern]="pattern()"
|
|
381
|
+
[attr.min]="min()"
|
|
382
|
+
[attr.max]="max()"
|
|
383
|
+
[attr.step]="step()"
|
|
384
|
+
[size]="size()"
|
|
385
|
+
[variant]="variant()"
|
|
386
|
+
[label]="label()"
|
|
387
|
+
[helper]="helper()"
|
|
388
|
+
[error]="error()"
|
|
389
|
+
[required]="required()"
|
|
390
|
+
[disabled]="disabled()"
|
|
391
|
+
[readonly]="readonly()"
|
|
392
|
+
[mask]="mask()"
|
|
393
|
+
(input)="onInput($event)"
|
|
394
|
+
(change)="onChange($event)"
|
|
395
|
+
(keydown)="onKeydown($event)"
|
|
396
|
+
(keyup)="onKeyup($event)"
|
|
397
|
+
(clear)="onClear()"
|
|
398
|
+
>
|
|
399
|
+
<ng-content select="[slot=prefix]" slot="prefix"></ng-content>
|
|
400
|
+
<ng-content select="[slot=suffix]" slot="suffix"></ng-content>
|
|
401
|
+
</logosphere-input>
|
|
402
|
+
`, isInline: true });
|
|
403
|
+
}
|
|
404
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereInput, decorators: [{
|
|
405
|
+
type: Component,
|
|
406
|
+
args: [{
|
|
407
|
+
selector: 'lgs-input',
|
|
408
|
+
imports: [],
|
|
409
|
+
template: `
|
|
410
|
+
<logosphere-input
|
|
411
|
+
[value]="value()"
|
|
412
|
+
[type]="type()"
|
|
413
|
+
[placeholder]="placeholder()"
|
|
414
|
+
[name]="name()"
|
|
415
|
+
[autocomplete]="autocomplete()"
|
|
416
|
+
[attr.minlength]="minlength()"
|
|
417
|
+
[attr.maxlength]="maxlength()"
|
|
418
|
+
[pattern]="pattern()"
|
|
419
|
+
[attr.min]="min()"
|
|
420
|
+
[attr.max]="max()"
|
|
421
|
+
[attr.step]="step()"
|
|
422
|
+
[size]="size()"
|
|
423
|
+
[variant]="variant()"
|
|
424
|
+
[label]="label()"
|
|
425
|
+
[helper]="helper()"
|
|
426
|
+
[error]="error()"
|
|
427
|
+
[required]="required()"
|
|
428
|
+
[disabled]="disabled()"
|
|
429
|
+
[readonly]="readonly()"
|
|
430
|
+
[mask]="mask()"
|
|
431
|
+
(input)="onInput($event)"
|
|
432
|
+
(change)="onChange($event)"
|
|
433
|
+
(keydown)="onKeydown($event)"
|
|
434
|
+
(keyup)="onKeyup($event)"
|
|
435
|
+
(clear)="onClear()"
|
|
436
|
+
>
|
|
437
|
+
<ng-content select="[slot=prefix]" slot="prefix"></ng-content>
|
|
438
|
+
<ng-content select="[slot=suffix]" slot="suffix"></ng-content>
|
|
439
|
+
</logosphere-input>
|
|
440
|
+
`,
|
|
441
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
442
|
+
}]
|
|
443
|
+
}], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], autocomplete: [{ type: i0.Input, args: [{ isSignal: true, alias: "autocomplete", required: false }] }], minlength: [{ type: i0.Input, args: [{ isSignal: true, alias: "minlength", required: false }] }], maxlength: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxlength", required: false }] }], pattern: [{ type: i0.Input, args: [{ isSignal: true, alias: "pattern", required: false }] }], min: [{ type: i0.Input, args: [{ isSignal: true, alias: "min", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }], step: [{ type: i0.Input, args: [{ isSignal: true, alias: "step", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], helper: [{ type: i0.Input, args: [{ isSignal: true, alias: "helper", required: false }] }], error: [{ type: i0.Input, args: [{ isSignal: true, alias: "error", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], readonly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }], mask: [{ type: i0.Input, args: [{ isSignal: true, alias: "mask", required: false }] }], inputEvent: [{ type: i0.Output, args: ["inputChange"] }], change: [{ type: i0.Output, args: ["change"] }], keydown: [{ type: i0.Output, args: ["keydown"] }], keyup: [{ type: i0.Output, args: ["keyup"] }], clear: [{ type: i0.Output, args: ["clear"] }] } });
|
|
444
|
+
|
|
445
|
+
class LogospherePopover {
|
|
446
|
+
popoverTitle = input('', { ...(ngDevMode ? { debugName: "popoverTitle" } : {}), alias: 'title' });
|
|
447
|
+
trigger = input('click', ...(ngDevMode ? [{ debugName: "trigger" }] : []));
|
|
448
|
+
placement = input('bottom', ...(ngDevMode ? [{ debugName: "placement" }] : []));
|
|
449
|
+
offset = input(8, ...(ngDevMode ? [{ debugName: "offset" }] : []));
|
|
450
|
+
open = input(false, ...(ngDevMode ? [{ debugName: "open" }] : []));
|
|
451
|
+
closeOnOutsideClick = input(true, ...(ngDevMode ? [{ debugName: "closeOnOutsideClick" }] : []));
|
|
452
|
+
popoverOpen = output();
|
|
453
|
+
popoverClose = output();
|
|
454
|
+
onPopoverOpen() {
|
|
455
|
+
this.popoverOpen.emit();
|
|
456
|
+
}
|
|
457
|
+
onPopoverClose() {
|
|
458
|
+
this.popoverClose.emit();
|
|
459
|
+
}
|
|
460
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogospherePopover, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
461
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogospherePopover, isStandalone: true, selector: "lgs-popover", inputs: { popoverTitle: { classPropertyName: "popoverTitle", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, trigger: { classPropertyName: "trigger", publicName: "trigger", isSignal: true, isRequired: false, transformFunction: null }, placement: { classPropertyName: "placement", publicName: "placement", isSignal: true, isRequired: false, transformFunction: null }, offset: { classPropertyName: "offset", publicName: "offset", isSignal: true, isRequired: false, transformFunction: null }, open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, closeOnOutsideClick: { classPropertyName: "closeOnOutsideClick", publicName: "closeOnOutsideClick", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { popoverOpen: "popoverOpen", popoverClose: "popoverClose" }, ngImport: i0, template: `
|
|
462
|
+
<logosphere-popover
|
|
463
|
+
[title]="popoverTitle()"
|
|
464
|
+
[trigger]="trigger()"
|
|
465
|
+
[placement]="placement()"
|
|
466
|
+
[offset]="offset()"
|
|
467
|
+
[open]="open()"
|
|
468
|
+
[closeOnOutsideClick]="closeOnOutsideClick()"
|
|
469
|
+
(popover-open)="onPopoverOpen()"
|
|
470
|
+
(popover-close)="onPopoverClose()"
|
|
471
|
+
>
|
|
472
|
+
<ng-content select="[slot=trigger]" slot="trigger"></ng-content>
|
|
473
|
+
<ng-content></ng-content>
|
|
474
|
+
</logosphere-popover>
|
|
475
|
+
`, isInline: true });
|
|
476
|
+
}
|
|
477
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogospherePopover, decorators: [{
|
|
478
|
+
type: Component,
|
|
479
|
+
args: [{
|
|
480
|
+
selector: 'lgs-popover',
|
|
481
|
+
imports: [],
|
|
482
|
+
template: `
|
|
483
|
+
<logosphere-popover
|
|
484
|
+
[title]="popoverTitle()"
|
|
485
|
+
[trigger]="trigger()"
|
|
486
|
+
[placement]="placement()"
|
|
487
|
+
[offset]="offset()"
|
|
488
|
+
[open]="open()"
|
|
489
|
+
[closeOnOutsideClick]="closeOnOutsideClick()"
|
|
490
|
+
(popover-open)="onPopoverOpen()"
|
|
491
|
+
(popover-close)="onPopoverClose()"
|
|
492
|
+
>
|
|
493
|
+
<ng-content select="[slot=trigger]" slot="trigger"></ng-content>
|
|
494
|
+
<ng-content></ng-content>
|
|
495
|
+
</logosphere-popover>
|
|
496
|
+
`,
|
|
497
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
498
|
+
}]
|
|
499
|
+
}], propDecorators: { popoverTitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], trigger: [{ type: i0.Input, args: [{ isSignal: true, alias: "trigger", required: false }] }], placement: [{ type: i0.Input, args: [{ isSignal: true, alias: "placement", required: false }] }], offset: [{ type: i0.Input, args: [{ isSignal: true, alias: "offset", required: false }] }], open: [{ type: i0.Input, args: [{ isSignal: true, alias: "open", required: false }] }], closeOnOutsideClick: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeOnOutsideClick", required: false }] }], popoverOpen: [{ type: i0.Output, args: ["popoverOpen"] }], popoverClose: [{ type: i0.Output, args: ["popoverClose"] }] } });
|
|
500
|
+
|
|
501
|
+
class LogosphereTextarea {
|
|
502
|
+
value = input('', ...(ngDevMode ? [{ debugName: "value" }] : []));
|
|
503
|
+
placeholder = input('', ...(ngDevMode ? [{ debugName: "placeholder" }] : []));
|
|
504
|
+
name = input('', ...(ngDevMode ? [{ debugName: "name" }] : []));
|
|
505
|
+
autocomplete = input('', ...(ngDevMode ? [{ debugName: "autocomplete" }] : []));
|
|
506
|
+
minlength = input(undefined, ...(ngDevMode ? [{ debugName: "minlength" }] : []));
|
|
507
|
+
maxlength = input(undefined, ...(ngDevMode ? [{ debugName: "maxlength" }] : []));
|
|
508
|
+
rows = input(3, ...(ngDevMode ? [{ debugName: "rows" }] : []));
|
|
509
|
+
maxRows = input(8, ...(ngDevMode ? [{ debugName: "maxRows" }] : []));
|
|
510
|
+
cols = input(undefined, ...(ngDevMode ? [{ debugName: "cols" }] : []));
|
|
511
|
+
wrap = input('soft', ...(ngDevMode ? [{ debugName: "wrap" }] : []));
|
|
512
|
+
resize = input('vertical', ...(ngDevMode ? [{ debugName: "resize" }] : []));
|
|
513
|
+
autoResize = input(true, ...(ngDevMode ? [{ debugName: "autoResize" }] : []));
|
|
514
|
+
size = input('default', ...(ngDevMode ? [{ debugName: "size" }] : []));
|
|
515
|
+
variant = input('default', ...(ngDevMode ? [{ debugName: "variant" }] : []));
|
|
516
|
+
label = input('', ...(ngDevMode ? [{ debugName: "label" }] : []));
|
|
517
|
+
helper = input('', ...(ngDevMode ? [{ debugName: "helper" }] : []));
|
|
518
|
+
error = input('', ...(ngDevMode ? [{ debugName: "error" }] : []));
|
|
519
|
+
required = input(false, ...(ngDevMode ? [{ debugName: "required" }] : []));
|
|
520
|
+
disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : []));
|
|
521
|
+
readonly = input(false, ...(ngDevMode ? [{ debugName: "readonly" }] : []));
|
|
522
|
+
inputEvent = output({ alias: 'inputChange' });
|
|
523
|
+
change = output();
|
|
524
|
+
clear = output();
|
|
525
|
+
onInput(event) {
|
|
526
|
+
const e = event;
|
|
527
|
+
this.inputEvent.emit(e.detail);
|
|
528
|
+
}
|
|
529
|
+
onChange(event) {
|
|
530
|
+
const e = event;
|
|
531
|
+
this.change.emit(e.detail);
|
|
532
|
+
}
|
|
533
|
+
onClear() {
|
|
534
|
+
this.clear.emit();
|
|
535
|
+
}
|
|
536
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereTextarea, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
537
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereTextarea, isStandalone: true, selector: "lgs-textarea", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, name: { classPropertyName: "name", publicName: "name", isSignal: true, isRequired: false, transformFunction: null }, autocomplete: { classPropertyName: "autocomplete", publicName: "autocomplete", isSignal: true, isRequired: false, transformFunction: null }, minlength: { classPropertyName: "minlength", publicName: "minlength", isSignal: true, isRequired: false, transformFunction: null }, maxlength: { classPropertyName: "maxlength", publicName: "maxlength", isSignal: true, isRequired: false, transformFunction: null }, rows: { classPropertyName: "rows", publicName: "rows", isSignal: true, isRequired: false, transformFunction: null }, maxRows: { classPropertyName: "maxRows", publicName: "maxRows", isSignal: true, isRequired: false, transformFunction: null }, cols: { classPropertyName: "cols", publicName: "cols", isSignal: true, isRequired: false, transformFunction: null }, wrap: { classPropertyName: "wrap", publicName: "wrap", isSignal: true, isRequired: false, transformFunction: null }, resize: { classPropertyName: "resize", publicName: "resize", isSignal: true, isRequired: false, transformFunction: null }, autoResize: { classPropertyName: "autoResize", publicName: "autoResize", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, helper: { classPropertyName: "helper", publicName: "helper", isSignal: true, isRequired: false, transformFunction: null }, error: { classPropertyName: "error", publicName: "error", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { inputEvent: "inputChange", change: "change", clear: "clear" }, ngImport: i0, template: `
|
|
538
|
+
<logosphere-textarea
|
|
539
|
+
[value]="value()"
|
|
540
|
+
[placeholder]="placeholder()"
|
|
541
|
+
[name]="name()"
|
|
542
|
+
[autocomplete]="autocomplete()"
|
|
543
|
+
[attr.minlength]="minlength()"
|
|
544
|
+
[attr.maxlength]="maxlength()"
|
|
545
|
+
[rows]="rows()"
|
|
546
|
+
[maxRows]="maxRows()"
|
|
547
|
+
[attr.cols]="cols()"
|
|
548
|
+
[wrap]="wrap()"
|
|
549
|
+
[resize]="resize()"
|
|
550
|
+
[autoResize]="autoResize()"
|
|
551
|
+
[size]="size()"
|
|
552
|
+
[variant]="variant()"
|
|
553
|
+
[label]="label()"
|
|
554
|
+
[helper]="helper()"
|
|
555
|
+
[error]="error()"
|
|
556
|
+
[required]="required()"
|
|
557
|
+
[disabled]="disabled()"
|
|
558
|
+
[readonly]="readonly()"
|
|
559
|
+
(input)="onInput($event)"
|
|
560
|
+
(change)="onChange($event)"
|
|
561
|
+
(clear)="onClear()"
|
|
562
|
+
></logosphere-textarea>
|
|
563
|
+
`, isInline: true });
|
|
564
|
+
}
|
|
565
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereTextarea, decorators: [{
|
|
566
|
+
type: Component,
|
|
567
|
+
args: [{
|
|
568
|
+
selector: 'lgs-textarea',
|
|
569
|
+
imports: [],
|
|
570
|
+
template: `
|
|
571
|
+
<logosphere-textarea
|
|
572
|
+
[value]="value()"
|
|
573
|
+
[placeholder]="placeholder()"
|
|
574
|
+
[name]="name()"
|
|
575
|
+
[autocomplete]="autocomplete()"
|
|
576
|
+
[attr.minlength]="minlength()"
|
|
577
|
+
[attr.maxlength]="maxlength()"
|
|
578
|
+
[rows]="rows()"
|
|
579
|
+
[maxRows]="maxRows()"
|
|
580
|
+
[attr.cols]="cols()"
|
|
581
|
+
[wrap]="wrap()"
|
|
582
|
+
[resize]="resize()"
|
|
583
|
+
[autoResize]="autoResize()"
|
|
584
|
+
[size]="size()"
|
|
585
|
+
[variant]="variant()"
|
|
586
|
+
[label]="label()"
|
|
587
|
+
[helper]="helper()"
|
|
588
|
+
[error]="error()"
|
|
589
|
+
[required]="required()"
|
|
590
|
+
[disabled]="disabled()"
|
|
591
|
+
[readonly]="readonly()"
|
|
592
|
+
(input)="onInput($event)"
|
|
593
|
+
(change)="onChange($event)"
|
|
594
|
+
(clear)="onClear()"
|
|
595
|
+
></logosphere-textarea>
|
|
596
|
+
`,
|
|
597
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
598
|
+
}]
|
|
599
|
+
}], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], name: [{ type: i0.Input, args: [{ isSignal: true, alias: "name", required: false }] }], autocomplete: [{ type: i0.Input, args: [{ isSignal: true, alias: "autocomplete", required: false }] }], minlength: [{ type: i0.Input, args: [{ isSignal: true, alias: "minlength", required: false }] }], maxlength: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxlength", required: false }] }], rows: [{ type: i0.Input, args: [{ isSignal: true, alias: "rows", required: false }] }], maxRows: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxRows", required: false }] }], cols: [{ type: i0.Input, args: [{ isSignal: true, alias: "cols", required: false }] }], wrap: [{ type: i0.Input, args: [{ isSignal: true, alias: "wrap", required: false }] }], resize: [{ type: i0.Input, args: [{ isSignal: true, alias: "resize", required: false }] }], autoResize: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoResize", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], helper: [{ type: i0.Input, args: [{ isSignal: true, alias: "helper", required: false }] }], error: [{ type: i0.Input, args: [{ isSignal: true, alias: "error", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], readonly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }], inputEvent: [{ type: i0.Output, args: ["inputChange"] }], change: [{ type: i0.Output, args: ["change"] }], clear: [{ type: i0.Output, args: ["clear"] }] } });
|
|
600
|
+
|
|
601
|
+
class LogosphereTimePicker {
|
|
602
|
+
value = input('', ...(ngDevMode ? [{ debugName: "value" }] : []));
|
|
603
|
+
label = input('', ...(ngDevMode ? [{ debugName: "label" }] : []));
|
|
604
|
+
helper = input('', ...(ngDevMode ? [{ debugName: "helper" }] : []));
|
|
605
|
+
error = input('', ...(ngDevMode ? [{ debugName: "error" }] : []));
|
|
606
|
+
placeholder = input('__:__', ...(ngDevMode ? [{ debugName: "placeholder" }] : []));
|
|
607
|
+
required = input(false, ...(ngDevMode ? [{ debugName: "required" }] : []));
|
|
608
|
+
disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : []));
|
|
609
|
+
readonly = input(false, ...(ngDevMode ? [{ debugName: "readonly" }] : []));
|
|
610
|
+
size = input('default', ...(ngDevMode ? [{ debugName: "size" }] : []));
|
|
611
|
+
variant = input('default', ...(ngDevMode ? [{ debugName: "variant" }] : []));
|
|
612
|
+
change = output();
|
|
613
|
+
clear = output();
|
|
614
|
+
onChange(event) {
|
|
615
|
+
const e = event;
|
|
616
|
+
this.change.emit(e.detail);
|
|
617
|
+
}
|
|
618
|
+
onClear() {
|
|
619
|
+
this.clear.emit();
|
|
620
|
+
}
|
|
621
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereTimePicker, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
622
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereTimePicker, isStandalone: true, selector: "lgs-timepicker", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, helper: { classPropertyName: "helper", publicName: "helper", isSignal: true, isRequired: false, transformFunction: null }, error: { classPropertyName: "error", publicName: "error", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { change: "change", clear: "clear" }, ngImport: i0, template: `
|
|
623
|
+
<logosphere-timepicker
|
|
624
|
+
[value]="value()"
|
|
625
|
+
[label]="label()"
|
|
626
|
+
[helper]="helper()"
|
|
627
|
+
[error]="error()"
|
|
628
|
+
[placeholder]="placeholder()"
|
|
629
|
+
[required]="required()"
|
|
630
|
+
[disabled]="disabled()"
|
|
631
|
+
[readonly]="readonly()"
|
|
632
|
+
[size]="size()"
|
|
633
|
+
[variant]="variant()"
|
|
634
|
+
(change)="onChange($event)"
|
|
635
|
+
(clear)="onClear()"
|
|
636
|
+
></logosphere-timepicker>
|
|
637
|
+
`, isInline: true });
|
|
638
|
+
}
|
|
639
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereTimePicker, decorators: [{
|
|
640
|
+
type: Component,
|
|
641
|
+
args: [{
|
|
642
|
+
selector: 'lgs-timepicker',
|
|
643
|
+
imports: [],
|
|
644
|
+
template: `
|
|
645
|
+
<logosphere-timepicker
|
|
646
|
+
[value]="value()"
|
|
647
|
+
[label]="label()"
|
|
648
|
+
[helper]="helper()"
|
|
649
|
+
[error]="error()"
|
|
650
|
+
[placeholder]="placeholder()"
|
|
651
|
+
[required]="required()"
|
|
652
|
+
[disabled]="disabled()"
|
|
653
|
+
[readonly]="readonly()"
|
|
654
|
+
[size]="size()"
|
|
655
|
+
[variant]="variant()"
|
|
656
|
+
(change)="onChange($event)"
|
|
657
|
+
(clear)="onClear()"
|
|
658
|
+
></logosphere-timepicker>
|
|
659
|
+
`,
|
|
660
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
661
|
+
}]
|
|
662
|
+
}], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], helper: [{ type: i0.Input, args: [{ isSignal: true, alias: "helper", required: false }] }], error: [{ type: i0.Input, args: [{ isSignal: true, alias: "error", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], readonly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], change: [{ type: i0.Output, args: ["change"] }], clear: [{ type: i0.Output, args: ["clear"] }] } });
|
|
663
|
+
|
|
664
|
+
class LogosphereCalendar {
|
|
665
|
+
value = input(null, ...(ngDevMode ? [{ debugName: "value" }] : []));
|
|
666
|
+
min = input(null, ...(ngDevMode ? [{ debugName: "min" }] : []));
|
|
667
|
+
max = input(null, ...(ngDevMode ? [{ debugName: "max" }] : []));
|
|
668
|
+
disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : []));
|
|
669
|
+
rangeMode = input(false, ...(ngDevMode ? [{ debugName: "rangeMode" }] : []));
|
|
670
|
+
disabledDays = input([], ...(ngDevMode ? [{ debugName: "disabledDays" }] : []));
|
|
671
|
+
rangeStart = input(null, ...(ngDevMode ? [{ debugName: "rangeStart" }] : []));
|
|
672
|
+
rangeEnd = input(null, ...(ngDevMode ? [{ debugName: "rangeEnd" }] : []));
|
|
673
|
+
closable = input(false, ...(ngDevMode ? [{ debugName: "closable" }] : []));
|
|
674
|
+
change = output();
|
|
675
|
+
rangeChange = output();
|
|
676
|
+
closeRequest = output();
|
|
677
|
+
set elRef(element) {
|
|
678
|
+
if (element) {
|
|
679
|
+
element.nativeElement.disabledDays = this.disabledDays();
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
onChange(event) {
|
|
683
|
+
const e = event;
|
|
684
|
+
this.change.emit(e.detail);
|
|
685
|
+
}
|
|
686
|
+
onRangeChange(event) {
|
|
687
|
+
const e = event;
|
|
688
|
+
this.rangeChange.emit(e.detail);
|
|
689
|
+
}
|
|
690
|
+
onCloseRequest() {
|
|
691
|
+
this.closeRequest.emit();
|
|
692
|
+
}
|
|
693
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereCalendar, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
694
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereCalendar, isStandalone: true, selector: "lgs-calendar", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, rangeMode: { classPropertyName: "rangeMode", publicName: "rangeMode", isSignal: true, isRequired: false, transformFunction: null }, disabledDays: { classPropertyName: "disabledDays", publicName: "disabledDays", isSignal: true, isRequired: false, transformFunction: null }, rangeStart: { classPropertyName: "rangeStart", publicName: "rangeStart", isSignal: true, isRequired: false, transformFunction: null }, rangeEnd: { classPropertyName: "rangeEnd", publicName: "rangeEnd", isSignal: true, isRequired: false, transformFunction: null }, closable: { classPropertyName: "closable", publicName: "closable", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { change: "change", rangeChange: "rangeChange", closeRequest: "closeRequest" }, viewQueries: [{ propertyName: "elRef", first: true, predicate: ["el"], descendants: true }], ngImport: i0, template: `
|
|
695
|
+
<logosphere-calendar
|
|
696
|
+
#el
|
|
697
|
+
[attr.value]="value()"
|
|
698
|
+
[attr.min]="min()"
|
|
699
|
+
[attr.max]="max()"
|
|
700
|
+
[attr.disabled]="disabled() || null"
|
|
701
|
+
[attr.range-mode]="rangeMode() || null"
|
|
702
|
+
[attr.range-start]="rangeStart()"
|
|
703
|
+
[attr.range-end]="rangeEnd()"
|
|
704
|
+
[attr.closable]="closable() || null"
|
|
705
|
+
(change)="onChange($event)"
|
|
706
|
+
(rangeChange)="onRangeChange($event)"
|
|
707
|
+
(close-request)="onCloseRequest()"
|
|
708
|
+
></logosphere-calendar>
|
|
709
|
+
`, isInline: true });
|
|
710
|
+
}
|
|
711
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereCalendar, decorators: [{
|
|
712
|
+
type: Component,
|
|
713
|
+
args: [{
|
|
714
|
+
selector: 'lgs-calendar',
|
|
715
|
+
imports: [],
|
|
716
|
+
template: `
|
|
717
|
+
<logosphere-calendar
|
|
718
|
+
#el
|
|
719
|
+
[attr.value]="value()"
|
|
720
|
+
[attr.min]="min()"
|
|
721
|
+
[attr.max]="max()"
|
|
722
|
+
[attr.disabled]="disabled() || null"
|
|
723
|
+
[attr.range-mode]="rangeMode() || null"
|
|
724
|
+
[attr.range-start]="rangeStart()"
|
|
725
|
+
[attr.range-end]="rangeEnd()"
|
|
726
|
+
[attr.closable]="closable() || null"
|
|
727
|
+
(change)="onChange($event)"
|
|
728
|
+
(rangeChange)="onRangeChange($event)"
|
|
729
|
+
(close-request)="onCloseRequest()"
|
|
730
|
+
></logosphere-calendar>
|
|
731
|
+
`,
|
|
732
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
733
|
+
}]
|
|
734
|
+
}], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], min: [{ type: i0.Input, args: [{ isSignal: true, alias: "min", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], rangeMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "rangeMode", required: false }] }], disabledDays: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabledDays", required: false }] }], rangeStart: [{ type: i0.Input, args: [{ isSignal: true, alias: "rangeStart", required: false }] }], rangeEnd: [{ type: i0.Input, args: [{ isSignal: true, alias: "rangeEnd", required: false }] }], closable: [{ type: i0.Input, args: [{ isSignal: true, alias: "closable", required: false }] }], change: [{ type: i0.Output, args: ["change"] }], rangeChange: [{ type: i0.Output, args: ["rangeChange"] }], closeRequest: [{ type: i0.Output, args: ["closeRequest"] }], elRef: [{
|
|
735
|
+
type: ViewChild,
|
|
736
|
+
args: ['el', { static: false }]
|
|
737
|
+
}] } });
|
|
738
|
+
|
|
739
|
+
class LogosphereChatbot {
|
|
740
|
+
returnUri = input('', ...(ngDevMode ? [{ debugName: "returnUri" }] : []));
|
|
741
|
+
questionPrompt = input('', ...(ngDevMode ? [{ debugName: "questionPrompt" }] : []));
|
|
742
|
+
minimizedIconOnly = input(false, ...(ngDevMode ? [{ debugName: "minimizedIconOnly" }] : []));
|
|
743
|
+
draggable = input(false, ...(ngDevMode ? [{ debugName: "draggable" }] : []));
|
|
744
|
+
resizable = input(false, ...(ngDevMode ? [{ debugName: "resizable" }] : []));
|
|
745
|
+
openInitially = input(false, ...(ngDevMode ? [{ debugName: "openInitially" }] : []));
|
|
746
|
+
showFeedbackButtons = input(false, ...(ngDevMode ? [{ debugName: "showFeedbackButtons" }] : []));
|
|
747
|
+
products = input([], ...(ngDevMode ? [{ debugName: "products" }] : []));
|
|
748
|
+
set chatbotElRef(element) {
|
|
749
|
+
if (element) {
|
|
750
|
+
element.nativeElement.products = this.products();
|
|
751
|
+
}
|
|
752
|
+
}
|
|
753
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereChatbot, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
754
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereChatbot, isStandalone: true, selector: "lgs-chatbot", inputs: { returnUri: { classPropertyName: "returnUri", publicName: "returnUri", isSignal: true, isRequired: false, transformFunction: null }, questionPrompt: { classPropertyName: "questionPrompt", publicName: "questionPrompt", isSignal: true, isRequired: false, transformFunction: null }, minimizedIconOnly: { classPropertyName: "minimizedIconOnly", publicName: "minimizedIconOnly", isSignal: true, isRequired: false, transformFunction: null }, draggable: { classPropertyName: "draggable", publicName: "draggable", isSignal: true, isRequired: false, transformFunction: null }, resizable: { classPropertyName: "resizable", publicName: "resizable", isSignal: true, isRequired: false, transformFunction: null }, openInitially: { classPropertyName: "openInitially", publicName: "openInitially", isSignal: true, isRequired: false, transformFunction: null }, showFeedbackButtons: { classPropertyName: "showFeedbackButtons", publicName: "showFeedbackButtons", isSignal: true, isRequired: false, transformFunction: null }, products: { classPropertyName: "products", publicName: "products", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "chatbotElRef", first: true, predicate: ["chatbotEl"], descendants: true }], ngImport: i0, template: `
|
|
755
|
+
<logosphere-chatbot
|
|
756
|
+
#chatbotEl
|
|
757
|
+
[attr.return-uri]="returnUri()"
|
|
758
|
+
[attr.question-prompt]="questionPrompt()"
|
|
759
|
+
[attr.minimized-icon-only]="minimizedIconOnly() || null"
|
|
760
|
+
[attr.draggable]="draggable() || null"
|
|
761
|
+
[attr.resizable]="resizable() || null"
|
|
762
|
+
[attr.open-initially]="openInitially() || null"
|
|
763
|
+
[attr.show-feedback-buttons]="showFeedbackButtons() || null"
|
|
764
|
+
></logosphere-chatbot>
|
|
765
|
+
`, isInline: true });
|
|
766
|
+
}
|
|
767
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereChatbot, decorators: [{
|
|
768
|
+
type: Component,
|
|
769
|
+
args: [{
|
|
770
|
+
selector: 'lgs-chatbot',
|
|
771
|
+
imports: [],
|
|
772
|
+
template: `
|
|
773
|
+
<logosphere-chatbot
|
|
774
|
+
#chatbotEl
|
|
775
|
+
[attr.return-uri]="returnUri()"
|
|
776
|
+
[attr.question-prompt]="questionPrompt()"
|
|
777
|
+
[attr.minimized-icon-only]="minimizedIconOnly() || null"
|
|
778
|
+
[attr.draggable]="draggable() || null"
|
|
779
|
+
[attr.resizable]="resizable() || null"
|
|
780
|
+
[attr.open-initially]="openInitially() || null"
|
|
781
|
+
[attr.show-feedback-buttons]="showFeedbackButtons() || null"
|
|
782
|
+
></logosphere-chatbot>
|
|
783
|
+
`,
|
|
784
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
785
|
+
}]
|
|
786
|
+
}], propDecorators: { returnUri: [{ type: i0.Input, args: [{ isSignal: true, alias: "returnUri", required: false }] }], questionPrompt: [{ type: i0.Input, args: [{ isSignal: true, alias: "questionPrompt", required: false }] }], minimizedIconOnly: [{ type: i0.Input, args: [{ isSignal: true, alias: "minimizedIconOnly", required: false }] }], draggable: [{ type: i0.Input, args: [{ isSignal: true, alias: "draggable", required: false }] }], resizable: [{ type: i0.Input, args: [{ isSignal: true, alias: "resizable", required: false }] }], openInitially: [{ type: i0.Input, args: [{ isSignal: true, alias: "openInitially", required: false }] }], showFeedbackButtons: [{ type: i0.Input, args: [{ isSignal: true, alias: "showFeedbackButtons", required: false }] }], products: [{ type: i0.Input, args: [{ isSignal: true, alias: "products", required: false }] }], chatbotElRef: [{
|
|
787
|
+
type: ViewChild,
|
|
788
|
+
args: ['chatbotEl', { static: false }]
|
|
789
|
+
}] } });
|
|
790
|
+
|
|
791
|
+
class LogosphereCombobox {
|
|
792
|
+
label = input('', ...(ngDevMode ? [{ debugName: "label" }] : []));
|
|
793
|
+
helper = input('', ...(ngDevMode ? [{ debugName: "helper" }] : []));
|
|
794
|
+
error = input('', ...(ngDevMode ? [{ debugName: "error" }] : []));
|
|
795
|
+
placeholder = input('Seçim yapınız', ...(ngDevMode ? [{ debugName: "placeholder" }] : []));
|
|
796
|
+
required = input(false, ...(ngDevMode ? [{ debugName: "required" }] : []));
|
|
797
|
+
disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : []));
|
|
798
|
+
readOnly = input(false, ...(ngDevMode ? [{ debugName: "readOnly" }] : []));
|
|
799
|
+
variant = input('default', ...(ngDevMode ? [{ debugName: "variant" }] : []));
|
|
800
|
+
multiple = input(false, ...(ngDevMode ? [{ debugName: "multiple" }] : []));
|
|
801
|
+
filterable = input(false, ...(ngDevMode ? [{ debugName: "filterable" }] : []));
|
|
802
|
+
optionLabel = input('label', ...(ngDevMode ? [{ debugName: "optionLabel" }] : []));
|
|
803
|
+
optionValue = input('value', ...(ngDevMode ? [{ debugName: "optionValue" }] : []));
|
|
804
|
+
emptyMessage = input('Sonuç yok', ...(ngDevMode ? [{ debugName: "emptyMessage" }] : []));
|
|
805
|
+
size = input('default', ...(ngDevMode ? [{ debugName: "size" }] : []));
|
|
806
|
+
items = input([], ...(ngDevMode ? [{ debugName: "items" }] : []));
|
|
807
|
+
change = output();
|
|
808
|
+
selected = output();
|
|
809
|
+
set elRef(element) {
|
|
810
|
+
console.log(element);
|
|
811
|
+
if (element) {
|
|
812
|
+
console.log(element.nativeElement);
|
|
813
|
+
console.log(this.items());
|
|
814
|
+
element.nativeElement.items = this.items();
|
|
815
|
+
}
|
|
816
|
+
}
|
|
817
|
+
onChange(event) {
|
|
818
|
+
const e = event;
|
|
819
|
+
this.change.emit(e.detail);
|
|
820
|
+
}
|
|
821
|
+
onSelected(event) {
|
|
822
|
+
const e = event;
|
|
823
|
+
this.selected.emit(e.detail);
|
|
824
|
+
}
|
|
825
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereCombobox, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
826
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereCombobox, isStandalone: true, selector: "lgs-combobox", inputs: { label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, helper: { classPropertyName: "helper", publicName: "helper", isSignal: true, isRequired: false, transformFunction: null }, error: { classPropertyName: "error", publicName: "error", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, readOnly: { classPropertyName: "readOnly", publicName: "readOnly", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, multiple: { classPropertyName: "multiple", publicName: "multiple", isSignal: true, isRequired: false, transformFunction: null }, filterable: { classPropertyName: "filterable", publicName: "filterable", isSignal: true, isRequired: false, transformFunction: null }, optionLabel: { classPropertyName: "optionLabel", publicName: "optionLabel", isSignal: true, isRequired: false, transformFunction: null }, optionValue: { classPropertyName: "optionValue", publicName: "optionValue", isSignal: true, isRequired: false, transformFunction: null }, emptyMessage: { classPropertyName: "emptyMessage", publicName: "emptyMessage", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { change: "change", selected: "selected" }, viewQueries: [{ propertyName: "elRef", first: true, predicate: ["el"], descendants: true }], ngImport: i0, template: `
|
|
827
|
+
<logosphere-combobox
|
|
828
|
+
#el
|
|
829
|
+
[label]="label()"
|
|
830
|
+
[helper]="helper()"
|
|
831
|
+
[error]="error()"
|
|
832
|
+
[placeholder]="placeholder()"
|
|
833
|
+
[required]="required()"
|
|
834
|
+
[disabled]="disabled()"
|
|
835
|
+
[readOnly]="readOnly()"
|
|
836
|
+
[variant]="variant()"
|
|
837
|
+
[multiple]="multiple()"
|
|
838
|
+
[filterable]="filterable()"
|
|
839
|
+
[optionLabel]="optionLabel()"
|
|
840
|
+
[optionValue]="optionValue()"
|
|
841
|
+
[emptyMessage]="emptyMessage()"
|
|
842
|
+
[size]="size()"
|
|
843
|
+
(change)="onChange($event)"
|
|
844
|
+
(selected)="onSelected($event)"
|
|
845
|
+
></logosphere-combobox>
|
|
846
|
+
`, isInline: true });
|
|
847
|
+
}
|
|
848
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereCombobox, decorators: [{
|
|
849
|
+
type: Component,
|
|
850
|
+
args: [{
|
|
851
|
+
selector: 'lgs-combobox',
|
|
852
|
+
imports: [],
|
|
853
|
+
template: `
|
|
854
|
+
<logosphere-combobox
|
|
855
|
+
#el
|
|
856
|
+
[label]="label()"
|
|
857
|
+
[helper]="helper()"
|
|
858
|
+
[error]="error()"
|
|
859
|
+
[placeholder]="placeholder()"
|
|
860
|
+
[required]="required()"
|
|
861
|
+
[disabled]="disabled()"
|
|
862
|
+
[readOnly]="readOnly()"
|
|
863
|
+
[variant]="variant()"
|
|
864
|
+
[multiple]="multiple()"
|
|
865
|
+
[filterable]="filterable()"
|
|
866
|
+
[optionLabel]="optionLabel()"
|
|
867
|
+
[optionValue]="optionValue()"
|
|
868
|
+
[emptyMessage]="emptyMessage()"
|
|
869
|
+
[size]="size()"
|
|
870
|
+
(change)="onChange($event)"
|
|
871
|
+
(selected)="onSelected($event)"
|
|
872
|
+
></logosphere-combobox>
|
|
873
|
+
`,
|
|
874
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
875
|
+
}]
|
|
876
|
+
}], propDecorators: { label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], helper: [{ type: i0.Input, args: [{ isSignal: true, alias: "helper", required: false }] }], error: [{ type: i0.Input, args: [{ isSignal: true, alias: "error", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], readOnly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readOnly", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], multiple: [{ type: i0.Input, args: [{ isSignal: true, alias: "multiple", required: false }] }], filterable: [{ type: i0.Input, args: [{ isSignal: true, alias: "filterable", required: false }] }], optionLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "optionLabel", required: false }] }], optionValue: [{ type: i0.Input, args: [{ isSignal: true, alias: "optionValue", required: false }] }], emptyMessage: [{ type: i0.Input, args: [{ isSignal: true, alias: "emptyMessage", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], items: [{ type: i0.Input, args: [{ isSignal: true, alias: "items", required: false }] }], change: [{ type: i0.Output, args: ["change"] }], selected: [{ type: i0.Output, args: ["selected"] }], elRef: [{
|
|
877
|
+
type: ViewChild,
|
|
878
|
+
args: ['el', { static: false }]
|
|
879
|
+
}] } });
|
|
880
|
+
|
|
881
|
+
class LogosphereDatePicker {
|
|
882
|
+
value = input(null, ...(ngDevMode ? [{ debugName: "value" }] : []));
|
|
883
|
+
min = input(null, ...(ngDevMode ? [{ debugName: "min" }] : []));
|
|
884
|
+
max = input(null, ...(ngDevMode ? [{ debugName: "max" }] : []));
|
|
885
|
+
required = input(false, ...(ngDevMode ? [{ debugName: "required" }] : []));
|
|
886
|
+
disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : []));
|
|
887
|
+
readonly = input(false, ...(ngDevMode ? [{ debugName: "readonly" }] : []));
|
|
888
|
+
expandFactor = input(1.05, ...(ngDevMode ? [{ debugName: "expandFactor" }] : []));
|
|
889
|
+
placeholder = input('GG/AA/YYYY veya GG.AA.YYYY', ...(ngDevMode ? [{ debugName: "placeholder" }] : []));
|
|
890
|
+
label = input('', ...(ngDevMode ? [{ debugName: "label" }] : []));
|
|
891
|
+
helper = input('', ...(ngDevMode ? [{ debugName: "helper" }] : []));
|
|
892
|
+
error = input('', ...(ngDevMode ? [{ debugName: "error" }] : []));
|
|
893
|
+
size = input('default', ...(ngDevMode ? [{ debugName: "size" }] : []));
|
|
894
|
+
variant = input('default', ...(ngDevMode ? [{ debugName: "variant" }] : []));
|
|
895
|
+
rangeMode = input(false, ...(ngDevMode ? [{ debugName: "rangeMode" }] : []));
|
|
896
|
+
disabledDays = input([], ...(ngDevMode ? [{ debugName: "disabledDays" }] : []));
|
|
897
|
+
rangeStart = input(null, ...(ngDevMode ? [{ debugName: "rangeStart" }] : []));
|
|
898
|
+
rangeEnd = input(null, ...(ngDevMode ? [{ debugName: "rangeEnd" }] : []));
|
|
899
|
+
change = output();
|
|
900
|
+
rangeChange = output();
|
|
901
|
+
set elRef(element) {
|
|
902
|
+
if (element) {
|
|
903
|
+
element.nativeElement.disabledDays = this.disabledDays();
|
|
904
|
+
element.nativeElement.expandFactor = this.expandFactor();
|
|
905
|
+
}
|
|
906
|
+
}
|
|
907
|
+
onChange(event) {
|
|
908
|
+
const e = event;
|
|
909
|
+
this.change.emit(e.detail);
|
|
910
|
+
}
|
|
911
|
+
onRangeChange(event) {
|
|
912
|
+
const e = event;
|
|
913
|
+
this.rangeChange.emit(e.detail);
|
|
914
|
+
}
|
|
915
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereDatePicker, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
916
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereDatePicker, isStandalone: true, selector: "lgs-datepicker", inputs: { value: { classPropertyName: "value", publicName: "value", isSignal: true, isRequired: false, transformFunction: null }, min: { classPropertyName: "min", publicName: "min", isSignal: true, isRequired: false, transformFunction: null }, max: { classPropertyName: "max", publicName: "max", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, readonly: { classPropertyName: "readonly", publicName: "readonly", isSignal: true, isRequired: false, transformFunction: null }, expandFactor: { classPropertyName: "expandFactor", publicName: "expandFactor", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, helper: { classPropertyName: "helper", publicName: "helper", isSignal: true, isRequired: false, transformFunction: null }, error: { classPropertyName: "error", publicName: "error", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null }, rangeMode: { classPropertyName: "rangeMode", publicName: "rangeMode", isSignal: true, isRequired: false, transformFunction: null }, disabledDays: { classPropertyName: "disabledDays", publicName: "disabledDays", isSignal: true, isRequired: false, transformFunction: null }, rangeStart: { classPropertyName: "rangeStart", publicName: "rangeStart", isSignal: true, isRequired: false, transformFunction: null }, rangeEnd: { classPropertyName: "rangeEnd", publicName: "rangeEnd", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { change: "change", rangeChange: "rangeChange" }, viewQueries: [{ propertyName: "elRef", first: true, predicate: ["el"], descendants: true }], ngImport: i0, template: `
|
|
917
|
+
<logosphere-datepicker
|
|
918
|
+
#el
|
|
919
|
+
[attr.value]="value()"
|
|
920
|
+
[attr.min]="min()"
|
|
921
|
+
[attr.max]="max()"
|
|
922
|
+
[attr.required]="required() || null"
|
|
923
|
+
[attr.disabled]="disabled() || null"
|
|
924
|
+
[attr.readonly]="readonly() || null"
|
|
925
|
+
[attr.placeholder]="placeholder()"
|
|
926
|
+
[attr.label]="label()"
|
|
927
|
+
[attr.helper]="helper()"
|
|
928
|
+
[attr.error]="error()"
|
|
929
|
+
[attr.size]="size()"
|
|
930
|
+
[attr.variant]="variant()"
|
|
931
|
+
[attr.range-mode]="rangeMode() || null"
|
|
932
|
+
[attr.range-start]="rangeStart()"
|
|
933
|
+
[attr.range-end]="rangeEnd()"
|
|
934
|
+
(change)="onChange($event)"
|
|
935
|
+
(rangeChange)="onRangeChange($event)"
|
|
936
|
+
></logosphere-datepicker>
|
|
937
|
+
`, isInline: true });
|
|
938
|
+
}
|
|
939
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereDatePicker, decorators: [{
|
|
940
|
+
type: Component,
|
|
941
|
+
args: [{
|
|
942
|
+
selector: 'lgs-datepicker',
|
|
943
|
+
imports: [],
|
|
944
|
+
template: `
|
|
945
|
+
<logosphere-datepicker
|
|
946
|
+
#el
|
|
947
|
+
[attr.value]="value()"
|
|
948
|
+
[attr.min]="min()"
|
|
949
|
+
[attr.max]="max()"
|
|
950
|
+
[attr.required]="required() || null"
|
|
951
|
+
[attr.disabled]="disabled() || null"
|
|
952
|
+
[attr.readonly]="readonly() || null"
|
|
953
|
+
[attr.placeholder]="placeholder()"
|
|
954
|
+
[attr.label]="label()"
|
|
955
|
+
[attr.helper]="helper()"
|
|
956
|
+
[attr.error]="error()"
|
|
957
|
+
[attr.size]="size()"
|
|
958
|
+
[attr.variant]="variant()"
|
|
959
|
+
[attr.range-mode]="rangeMode() || null"
|
|
960
|
+
[attr.range-start]="rangeStart()"
|
|
961
|
+
[attr.range-end]="rangeEnd()"
|
|
962
|
+
(change)="onChange($event)"
|
|
963
|
+
(rangeChange)="onRangeChange($event)"
|
|
964
|
+
></logosphere-datepicker>
|
|
965
|
+
`,
|
|
966
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
967
|
+
}]
|
|
968
|
+
}], propDecorators: { value: [{ type: i0.Input, args: [{ isSignal: true, alias: "value", required: false }] }], min: [{ type: i0.Input, args: [{ isSignal: true, alias: "min", required: false }] }], max: [{ type: i0.Input, args: [{ isSignal: true, alias: "max", required: false }] }], required: [{ type: i0.Input, args: [{ isSignal: true, alias: "required", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], readonly: [{ type: i0.Input, args: [{ isSignal: true, alias: "readonly", required: false }] }], expandFactor: [{ type: i0.Input, args: [{ isSignal: true, alias: "expandFactor", required: false }] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], helper: [{ type: i0.Input, args: [{ isSignal: true, alias: "helper", required: false }] }], error: [{ type: i0.Input, args: [{ isSignal: true, alias: "error", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], rangeMode: [{ type: i0.Input, args: [{ isSignal: true, alias: "rangeMode", required: false }] }], disabledDays: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabledDays", required: false }] }], rangeStart: [{ type: i0.Input, args: [{ isSignal: true, alias: "rangeStart", required: false }] }], rangeEnd: [{ type: i0.Input, args: [{ isSignal: true, alias: "rangeEnd", required: false }] }], change: [{ type: i0.Output, args: ["change"] }], rangeChange: [{ type: i0.Output, args: ["rangeChange"] }], elRef: [{
|
|
969
|
+
type: ViewChild,
|
|
970
|
+
args: ['el', { static: false }]
|
|
971
|
+
}] } });
|
|
972
|
+
|
|
973
|
+
class LogosphereDownloadManager {
|
|
974
|
+
chunkSize = input(2 * 1024 * 1024, ...(ngDevMode ? [{ debugName: "chunkSize" }] : []));
|
|
975
|
+
maxConcurrentDownloads = input(3, ...(ngDevMode ? [{ debugName: "maxConcurrentDownloads" }] : []));
|
|
976
|
+
maxConcurrentChunks = input(4, ...(ngDevMode ? [{ debugName: "maxConcurrentChunks" }] : []));
|
|
977
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereDownloadManager, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
978
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereDownloadManager, isStandalone: true, selector: "lgs-download-manager", inputs: { chunkSize: { classPropertyName: "chunkSize", publicName: "chunkSize", isSignal: true, isRequired: false, transformFunction: null }, maxConcurrentDownloads: { classPropertyName: "maxConcurrentDownloads", publicName: "maxConcurrentDownloads", isSignal: true, isRequired: false, transformFunction: null }, maxConcurrentChunks: { classPropertyName: "maxConcurrentChunks", publicName: "maxConcurrentChunks", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
979
|
+
<download-manager
|
|
980
|
+
[chunkSize]="chunkSize()"
|
|
981
|
+
[maxConcurrentDownloads]="maxConcurrentDownloads()"
|
|
982
|
+
[maxConcurrentChunks]="maxConcurrentChunks()"
|
|
983
|
+
></download-manager>
|
|
984
|
+
`, isInline: true });
|
|
985
|
+
}
|
|
986
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereDownloadManager, decorators: [{
|
|
987
|
+
type: Component,
|
|
988
|
+
args: [{
|
|
989
|
+
selector: 'lgs-download-manager',
|
|
990
|
+
imports: [],
|
|
991
|
+
template: `
|
|
992
|
+
<download-manager
|
|
993
|
+
[chunkSize]="chunkSize()"
|
|
994
|
+
[maxConcurrentDownloads]="maxConcurrentDownloads()"
|
|
995
|
+
[maxConcurrentChunks]="maxConcurrentChunks()"
|
|
996
|
+
></download-manager>
|
|
997
|
+
`,
|
|
998
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
999
|
+
}]
|
|
1000
|
+
}], propDecorators: { chunkSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "chunkSize", required: false }] }], maxConcurrentDownloads: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxConcurrentDownloads", required: false }] }], maxConcurrentChunks: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxConcurrentChunks", required: false }] }] } });
|
|
1001
|
+
|
|
1002
|
+
class LogosphereDrawer {
|
|
1003
|
+
open = input(false, ...(ngDevMode ? [{ debugName: "open" }] : []));
|
|
1004
|
+
drawerTitle = input('', { ...(ngDevMode ? { debugName: "drawerTitle" } : {}), alias: 'title' });
|
|
1005
|
+
position = input('right', ...(ngDevMode ? [{ debugName: "position" }] : []));
|
|
1006
|
+
width = input(360, ...(ngDevMode ? [{ debugName: "width" }] : []));
|
|
1007
|
+
closeOnEsc = input(true, ...(ngDevMode ? [{ debugName: "closeOnEsc" }] : []));
|
|
1008
|
+
containerSelector = input('', ...(ngDevMode ? [{ debugName: "containerSelector" }] : []));
|
|
1009
|
+
drawerOpen = output();
|
|
1010
|
+
drawerClose = output();
|
|
1011
|
+
onDrawerOpen() {
|
|
1012
|
+
this.drawerOpen.emit();
|
|
1013
|
+
}
|
|
1014
|
+
onDrawerClose() {
|
|
1015
|
+
this.drawerClose.emit();
|
|
1016
|
+
}
|
|
1017
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereDrawer, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1018
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereDrawer, isStandalone: true, selector: "lgs-drawer", inputs: { open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, drawerTitle: { classPropertyName: "drawerTitle", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, width: { classPropertyName: "width", publicName: "width", isSignal: true, isRequired: false, transformFunction: null }, closeOnEsc: { classPropertyName: "closeOnEsc", publicName: "closeOnEsc", isSignal: true, isRequired: false, transformFunction: null }, containerSelector: { classPropertyName: "containerSelector", publicName: "containerSelector", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { drawerOpen: "drawerOpen", drawerClose: "drawerClose" }, ngImport: i0, template: `
|
|
1019
|
+
<logosphere-drawer
|
|
1020
|
+
[open]="open()"
|
|
1021
|
+
[title]="drawerTitle()"
|
|
1022
|
+
[position]="position()"
|
|
1023
|
+
[width]="width()"
|
|
1024
|
+
[closeOnEsc]="closeOnEsc()"
|
|
1025
|
+
[containerSelector]="containerSelector()"
|
|
1026
|
+
(drawer-open)="onDrawerOpen()"
|
|
1027
|
+
(drawer-close)="onDrawerClose()"
|
|
1028
|
+
>
|
|
1029
|
+
<ng-content></ng-content>
|
|
1030
|
+
</logosphere-drawer>
|
|
1031
|
+
`, isInline: true });
|
|
1032
|
+
}
|
|
1033
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereDrawer, decorators: [{
|
|
1034
|
+
type: Component,
|
|
1035
|
+
args: [{
|
|
1036
|
+
selector: 'lgs-drawer',
|
|
1037
|
+
imports: [],
|
|
1038
|
+
template: `
|
|
1039
|
+
<logosphere-drawer
|
|
1040
|
+
[open]="open()"
|
|
1041
|
+
[title]="drawerTitle()"
|
|
1042
|
+
[position]="position()"
|
|
1043
|
+
[width]="width()"
|
|
1044
|
+
[closeOnEsc]="closeOnEsc()"
|
|
1045
|
+
[containerSelector]="containerSelector()"
|
|
1046
|
+
(drawer-open)="onDrawerOpen()"
|
|
1047
|
+
(drawer-close)="onDrawerClose()"
|
|
1048
|
+
>
|
|
1049
|
+
<ng-content></ng-content>
|
|
1050
|
+
</logosphere-drawer>
|
|
1051
|
+
`,
|
|
1052
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
1053
|
+
}]
|
|
1054
|
+
}], propDecorators: { open: [{ type: i0.Input, args: [{ isSignal: true, alias: "open", required: false }] }], drawerTitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], position: [{ type: i0.Input, args: [{ isSignal: true, alias: "position", required: false }] }], width: [{ type: i0.Input, args: [{ isSignal: true, alias: "width", required: false }] }], closeOnEsc: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeOnEsc", required: false }] }], containerSelector: [{ type: i0.Input, args: [{ isSignal: true, alias: "containerSelector", required: false }] }], drawerOpen: [{ type: i0.Output, args: ["drawerOpen"] }], drawerClose: [{ type: i0.Output, args: ["drawerClose"] }] } });
|
|
1055
|
+
|
|
1056
|
+
class LogosphereLeftMenu {
|
|
1057
|
+
open = input(false, ...(ngDevMode ? [{ debugName: "open" }] : []));
|
|
1058
|
+
pinned = input(false, ...(ngDevMode ? [{ debugName: "pinned" }] : []));
|
|
1059
|
+
closedWidth = input(64, ...(ngDevMode ? [{ debugName: "closedWidth" }] : []));
|
|
1060
|
+
openWidth = input(248, ...(ngDevMode ? [{ debugName: "openWidth" }] : []));
|
|
1061
|
+
storageKey = input('logosphere-leftmenu-state', ...(ngDevMode ? [{ debugName: "storageKey" }] : []));
|
|
1062
|
+
pinChange = output();
|
|
1063
|
+
itemClick = output();
|
|
1064
|
+
onPinChange(event) {
|
|
1065
|
+
const e = event;
|
|
1066
|
+
this.pinChange.emit(e.detail);
|
|
1067
|
+
}
|
|
1068
|
+
onItemClick(event) {
|
|
1069
|
+
const e = event;
|
|
1070
|
+
this.itemClick.emit(e.detail);
|
|
1071
|
+
}
|
|
1072
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereLeftMenu, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1073
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereLeftMenu, isStandalone: true, selector: "lgs-left-menu", inputs: { open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, pinned: { classPropertyName: "pinned", publicName: "pinned", isSignal: true, isRequired: false, transformFunction: null }, closedWidth: { classPropertyName: "closedWidth", publicName: "closedWidth", isSignal: true, isRequired: false, transformFunction: null }, openWidth: { classPropertyName: "openWidth", publicName: "openWidth", isSignal: true, isRequired: false, transformFunction: null }, storageKey: { classPropertyName: "storageKey", publicName: "storageKey", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { pinChange: "pinChange", itemClick: "itemClick" }, ngImport: i0, template: `
|
|
1074
|
+
<logosphere-leftmenu
|
|
1075
|
+
[open]="open()"
|
|
1076
|
+
[pinned]="pinned()"
|
|
1077
|
+
[closedWidth]="closedWidth()"
|
|
1078
|
+
[openWidth]="openWidth()"
|
|
1079
|
+
[storageKey]="storageKey()"
|
|
1080
|
+
(pin-change)="onPinChange($event)"
|
|
1081
|
+
(item-click)="onItemClick($event)"
|
|
1082
|
+
>
|
|
1083
|
+
<ng-content></ng-content>
|
|
1084
|
+
</logosphere-leftmenu>
|
|
1085
|
+
`, isInline: true });
|
|
1086
|
+
}
|
|
1087
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereLeftMenu, decorators: [{
|
|
1088
|
+
type: Component,
|
|
1089
|
+
args: [{
|
|
1090
|
+
selector: 'lgs-left-menu',
|
|
1091
|
+
imports: [],
|
|
1092
|
+
template: `
|
|
1093
|
+
<logosphere-leftmenu
|
|
1094
|
+
[open]="open()"
|
|
1095
|
+
[pinned]="pinned()"
|
|
1096
|
+
[closedWidth]="closedWidth()"
|
|
1097
|
+
[openWidth]="openWidth()"
|
|
1098
|
+
[storageKey]="storageKey()"
|
|
1099
|
+
(pin-change)="onPinChange($event)"
|
|
1100
|
+
(item-click)="onItemClick($event)"
|
|
1101
|
+
>
|
|
1102
|
+
<ng-content></ng-content>
|
|
1103
|
+
</logosphere-leftmenu>
|
|
1104
|
+
`,
|
|
1105
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
1106
|
+
}]
|
|
1107
|
+
}], propDecorators: { open: [{ type: i0.Input, args: [{ isSignal: true, alias: "open", required: false }] }], pinned: [{ type: i0.Input, args: [{ isSignal: true, alias: "pinned", required: false }] }], closedWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "closedWidth", required: false }] }], openWidth: [{ type: i0.Input, args: [{ isSignal: true, alias: "openWidth", required: false }] }], storageKey: [{ type: i0.Input, args: [{ isSignal: true, alias: "storageKey", required: false }] }], pinChange: [{ type: i0.Output, args: ["pinChange"] }], itemClick: [{ type: i0.Output, args: ["itemClick"] }] } });
|
|
1108
|
+
|
|
1109
|
+
class LogosphereLeftMenuItem {
|
|
1110
|
+
itemId = input('', ...(ngDevMode ? [{ debugName: "itemId" }] : []));
|
|
1111
|
+
label = input('', ...(ngDevMode ? [{ debugName: "label" }] : []));
|
|
1112
|
+
disabled = input(false, ...(ngDevMode ? [{ debugName: "disabled" }] : []));
|
|
1113
|
+
active = input(false, ...(ngDevMode ? [{ debugName: "active" }] : []));
|
|
1114
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereLeftMenuItem, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1115
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereLeftMenuItem, isStandalone: true, selector: "lgs-left-menu-item", inputs: { itemId: { classPropertyName: "itemId", publicName: "itemId", isSignal: true, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, active: { classPropertyName: "active", publicName: "active", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: `
|
|
1116
|
+
<leftmenu-item
|
|
1117
|
+
[itemId]="itemId()"
|
|
1118
|
+
[label]="label()"
|
|
1119
|
+
[disabled]="disabled()"
|
|
1120
|
+
[active]="active()"
|
|
1121
|
+
>
|
|
1122
|
+
<ng-content></ng-content>
|
|
1123
|
+
</leftmenu-item>
|
|
1124
|
+
`, isInline: true });
|
|
1125
|
+
}
|
|
1126
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereLeftMenuItem, decorators: [{
|
|
1127
|
+
type: Component,
|
|
1128
|
+
args: [{
|
|
1129
|
+
selector: 'lgs-left-menu-item',
|
|
1130
|
+
imports: [],
|
|
1131
|
+
template: `
|
|
1132
|
+
<leftmenu-item
|
|
1133
|
+
[itemId]="itemId()"
|
|
1134
|
+
[label]="label()"
|
|
1135
|
+
[disabled]="disabled()"
|
|
1136
|
+
[active]="active()"
|
|
1137
|
+
>
|
|
1138
|
+
<ng-content></ng-content>
|
|
1139
|
+
</leftmenu-item>
|
|
1140
|
+
`,
|
|
1141
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
1142
|
+
}]
|
|
1143
|
+
}], propDecorators: { itemId: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemId", required: false }] }], label: [{ type: i0.Input, args: [{ isSignal: true, alias: "label", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], active: [{ type: i0.Input, args: [{ isSignal: true, alias: "active", required: false }] }] } });
|
|
1144
|
+
|
|
1145
|
+
class LogosphereModal {
|
|
1146
|
+
open = input(false, ...(ngDevMode ? [{ debugName: "open" }] : []));
|
|
1147
|
+
modalTitle = input('', { ...(ngDevMode ? { debugName: "modalTitle" } : {}), alias: 'title' });
|
|
1148
|
+
closeOnEsc = input(true, ...(ngDevMode ? [{ debugName: "closeOnEsc" }] : []));
|
|
1149
|
+
closeOnBackdrop = input(true, ...(ngDevMode ? [{ debugName: "closeOnBackdrop" }] : []));
|
|
1150
|
+
showBack = input(false, ...(ngDevMode ? [{ debugName: "showBack" }] : []));
|
|
1151
|
+
showClose = input(false, ...(ngDevMode ? [{ debugName: "showClose" }] : []));
|
|
1152
|
+
modalOpen = output();
|
|
1153
|
+
modalClose = output();
|
|
1154
|
+
onModalOpen() {
|
|
1155
|
+
this.modalOpen.emit();
|
|
1156
|
+
}
|
|
1157
|
+
onModalClose() {
|
|
1158
|
+
this.modalClose.emit();
|
|
1159
|
+
}
|
|
1160
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereModal, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1161
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereModal, isStandalone: true, selector: "lgs-modal", inputs: { open: { classPropertyName: "open", publicName: "open", isSignal: true, isRequired: false, transformFunction: null }, modalTitle: { classPropertyName: "modalTitle", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, closeOnEsc: { classPropertyName: "closeOnEsc", publicName: "closeOnEsc", isSignal: true, isRequired: false, transformFunction: null }, closeOnBackdrop: { classPropertyName: "closeOnBackdrop", publicName: "closeOnBackdrop", isSignal: true, isRequired: false, transformFunction: null }, showBack: { classPropertyName: "showBack", publicName: "showBack", isSignal: true, isRequired: false, transformFunction: null }, showClose: { classPropertyName: "showClose", publicName: "showClose", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { modalOpen: "modalOpen", modalClose: "modalClose" }, ngImport: i0, template: `
|
|
1162
|
+
<logosphere-modal
|
|
1163
|
+
[open]="open()"
|
|
1164
|
+
[title]="modalTitle()"
|
|
1165
|
+
[closeOnEsc]="closeOnEsc()"
|
|
1166
|
+
[closeOnBackdrop]="closeOnBackdrop()"
|
|
1167
|
+
[showBack]="showBack()"
|
|
1168
|
+
[showClose]="showClose()"
|
|
1169
|
+
(modal-open)="onModalOpen()"
|
|
1170
|
+
(modal-close)="onModalClose()"
|
|
1171
|
+
>
|
|
1172
|
+
<ng-content></ng-content>
|
|
1173
|
+
<ng-content select="[slot=footer]" slot="footer"></ng-content>
|
|
1174
|
+
</logosphere-modal>
|
|
1175
|
+
`, isInline: true });
|
|
1176
|
+
}
|
|
1177
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereModal, decorators: [{
|
|
1178
|
+
type: Component,
|
|
1179
|
+
args: [{
|
|
1180
|
+
selector: 'lgs-modal',
|
|
1181
|
+
imports: [],
|
|
1182
|
+
template: `
|
|
1183
|
+
<logosphere-modal
|
|
1184
|
+
[open]="open()"
|
|
1185
|
+
[title]="modalTitle()"
|
|
1186
|
+
[closeOnEsc]="closeOnEsc()"
|
|
1187
|
+
[closeOnBackdrop]="closeOnBackdrop()"
|
|
1188
|
+
[showBack]="showBack()"
|
|
1189
|
+
[showClose]="showClose()"
|
|
1190
|
+
(modal-open)="onModalOpen()"
|
|
1191
|
+
(modal-close)="onModalClose()"
|
|
1192
|
+
>
|
|
1193
|
+
<ng-content></ng-content>
|
|
1194
|
+
<ng-content select="[slot=footer]" slot="footer"></ng-content>
|
|
1195
|
+
</logosphere-modal>
|
|
1196
|
+
`,
|
|
1197
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
1198
|
+
}]
|
|
1199
|
+
}], propDecorators: { open: [{ type: i0.Input, args: [{ isSignal: true, alias: "open", required: false }] }], modalTitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], closeOnEsc: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeOnEsc", required: false }] }], closeOnBackdrop: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeOnBackdrop", required: false }] }], showBack: [{ type: i0.Input, args: [{ isSignal: true, alias: "showBack", required: false }] }], showClose: [{ type: i0.Input, args: [{ isSignal: true, alias: "showClose", required: false }] }], modalOpen: [{ type: i0.Output, args: ["modalOpen"] }], modalClose: [{ type: i0.Output, args: ["modalClose"] }] } });
|
|
1200
|
+
|
|
1201
|
+
class LogosphereTab {
|
|
1202
|
+
tabs = input([], ...(ngDevMode ? [{ debugName: "tabs" }] : []));
|
|
1203
|
+
activeTab = input('', ...(ngDevMode ? [{ debugName: "activeTab" }] : []));
|
|
1204
|
+
lazy = input(true, ...(ngDevMode ? [{ debugName: "lazy" }] : []));
|
|
1205
|
+
variant = input('default', ...(ngDevMode ? [{ debugName: "variant" }] : []));
|
|
1206
|
+
tabChange = output();
|
|
1207
|
+
set elRef(element) {
|
|
1208
|
+
if (element) {
|
|
1209
|
+
element.nativeElement.tabs = this.tabs();
|
|
1210
|
+
}
|
|
1211
|
+
}
|
|
1212
|
+
onTabChange(event) {
|
|
1213
|
+
const e = event;
|
|
1214
|
+
this.tabChange.emit(e.detail);
|
|
1215
|
+
}
|
|
1216
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereTab, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1217
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereTab, isStandalone: true, selector: "lgs-tab", inputs: { tabs: { classPropertyName: "tabs", publicName: "tabs", isSignal: true, isRequired: false, transformFunction: null }, activeTab: { classPropertyName: "activeTab", publicName: "activeTab", isSignal: true, isRequired: false, transformFunction: null }, lazy: { classPropertyName: "lazy", publicName: "lazy", isSignal: true, isRequired: false, transformFunction: null }, variant: { classPropertyName: "variant", publicName: "variant", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { tabChange: "tabChange" }, viewQueries: [{ propertyName: "elRef", first: true, predicate: ["el"], descendants: true }], ngImport: i0, template: `
|
|
1218
|
+
<logosphere-tab
|
|
1219
|
+
#el
|
|
1220
|
+
[activeTab]="activeTab()"
|
|
1221
|
+
[lazy]="lazy()"
|
|
1222
|
+
[variant]="variant()"
|
|
1223
|
+
(tab-change)="onTabChange($event)"
|
|
1224
|
+
>
|
|
1225
|
+
<ng-content></ng-content>
|
|
1226
|
+
</logosphere-tab>
|
|
1227
|
+
`, isInline: true });
|
|
1228
|
+
}
|
|
1229
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereTab, decorators: [{
|
|
1230
|
+
type: Component,
|
|
1231
|
+
args: [{
|
|
1232
|
+
selector: 'lgs-tab',
|
|
1233
|
+
imports: [],
|
|
1234
|
+
template: `
|
|
1235
|
+
<logosphere-tab
|
|
1236
|
+
#el
|
|
1237
|
+
[activeTab]="activeTab()"
|
|
1238
|
+
[lazy]="lazy()"
|
|
1239
|
+
[variant]="variant()"
|
|
1240
|
+
(tab-change)="onTabChange($event)"
|
|
1241
|
+
>
|
|
1242
|
+
<ng-content></ng-content>
|
|
1243
|
+
</logosphere-tab>
|
|
1244
|
+
`,
|
|
1245
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
1246
|
+
}]
|
|
1247
|
+
}], propDecorators: { tabs: [{ type: i0.Input, args: [{ isSignal: true, alias: "tabs", required: false }] }], activeTab: [{ type: i0.Input, args: [{ isSignal: true, alias: "activeTab", required: false }] }], lazy: [{ type: i0.Input, args: [{ isSignal: true, alias: "lazy", required: false }] }], variant: [{ type: i0.Input, args: [{ isSignal: true, alias: "variant", required: false }] }], tabChange: [{ type: i0.Output, args: ["tabChange"] }], elRef: [{
|
|
1248
|
+
type: ViewChild,
|
|
1249
|
+
args: ['el', { static: false }]
|
|
1250
|
+
}] } });
|
|
1251
|
+
|
|
1252
|
+
class LogosphereToast {
|
|
1253
|
+
type = input('info', ...(ngDevMode ? [{ debugName: "type" }] : []));
|
|
1254
|
+
toastTitle = input('', { ...(ngDevMode ? { debugName: "toastTitle" } : {}), alias: 'title' });
|
|
1255
|
+
text = input('', ...(ngDevMode ? [{ debugName: "text" }] : []));
|
|
1256
|
+
icon = input('', ...(ngDevMode ? [{ debugName: "icon" }] : []));
|
|
1257
|
+
closeable = input(true, ...(ngDevMode ? [{ debugName: "closeable" }] : []));
|
|
1258
|
+
duration = input(5000, ...(ngDevMode ? [{ debugName: "duration" }] : []));
|
|
1259
|
+
autoDismiss = input(true, ...(ngDevMode ? [{ debugName: "autoDismiss" }] : []));
|
|
1260
|
+
dismiss = output();
|
|
1261
|
+
onDismiss() {
|
|
1262
|
+
this.dismiss.emit();
|
|
1263
|
+
}
|
|
1264
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereToast, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1265
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereToast, isStandalone: true, selector: "lgs-toast", inputs: { type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, toastTitle: { classPropertyName: "toastTitle", publicName: "title", isSignal: true, isRequired: false, transformFunction: null }, text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, icon: { classPropertyName: "icon", publicName: "icon", isSignal: true, isRequired: false, transformFunction: null }, closeable: { classPropertyName: "closeable", publicName: "closeable", isSignal: true, isRequired: false, transformFunction: null }, duration: { classPropertyName: "duration", publicName: "duration", isSignal: true, isRequired: false, transformFunction: null }, autoDismiss: { classPropertyName: "autoDismiss", publicName: "autoDismiss", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { dismiss: "dismiss" }, ngImport: i0, template: `
|
|
1266
|
+
<logosphere-toast
|
|
1267
|
+
[type]="type()"
|
|
1268
|
+
[title]="toastTitle()"
|
|
1269
|
+
[text]="text()"
|
|
1270
|
+
[icon]="icon()"
|
|
1271
|
+
[closeable]="closeable()"
|
|
1272
|
+
[duration]="duration()"
|
|
1273
|
+
[autoDismiss]="autoDismiss()"
|
|
1274
|
+
(dismiss)="onDismiss()"
|
|
1275
|
+
></logosphere-toast>
|
|
1276
|
+
`, isInline: true });
|
|
1277
|
+
}
|
|
1278
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereToast, decorators: [{
|
|
1279
|
+
type: Component,
|
|
1280
|
+
args: [{
|
|
1281
|
+
selector: 'lgs-toast',
|
|
1282
|
+
imports: [],
|
|
1283
|
+
template: `
|
|
1284
|
+
<logosphere-toast
|
|
1285
|
+
[type]="type()"
|
|
1286
|
+
[title]="toastTitle()"
|
|
1287
|
+
[text]="text()"
|
|
1288
|
+
[icon]="icon()"
|
|
1289
|
+
[closeable]="closeable()"
|
|
1290
|
+
[duration]="duration()"
|
|
1291
|
+
[autoDismiss]="autoDismiss()"
|
|
1292
|
+
(dismiss)="onDismiss()"
|
|
1293
|
+
></logosphere-toast>
|
|
1294
|
+
`,
|
|
1295
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
1296
|
+
}]
|
|
1297
|
+
}], propDecorators: { type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }], toastTitle: [{ type: i0.Input, args: [{ isSignal: true, alias: "title", required: false }] }], text: [{ type: i0.Input, args: [{ isSignal: true, alias: "text", required: false }] }], icon: [{ type: i0.Input, args: [{ isSignal: true, alias: "icon", required: false }] }], closeable: [{ type: i0.Input, args: [{ isSignal: true, alias: "closeable", required: false }] }], duration: [{ type: i0.Input, args: [{ isSignal: true, alias: "duration", required: false }] }], autoDismiss: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoDismiss", required: false }] }], dismiss: [{ type: i0.Output, args: ["dismiss"] }] } });
|
|
1298
|
+
class LogosphereToastContainer {
|
|
1299
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereToastContainer, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1300
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.0.7", type: LogosphereToastContainer, isStandalone: true, selector: "lgs-toast-container", ngImport: i0, template: `
|
|
1301
|
+
<logosphere-toast-container #el></logosphere-toast-container>
|
|
1302
|
+
`, isInline: true });
|
|
1303
|
+
}
|
|
1304
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereToastContainer, decorators: [{
|
|
1305
|
+
type: Component,
|
|
1306
|
+
args: [{
|
|
1307
|
+
selector: 'lgs-toast-container',
|
|
1308
|
+
imports: [],
|
|
1309
|
+
template: `
|
|
1310
|
+
<logosphere-toast-container #el></logosphere-toast-container>
|
|
1311
|
+
`,
|
|
1312
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
1313
|
+
}]
|
|
1314
|
+
}] });
|
|
1315
|
+
|
|
1316
|
+
class LogosphereTreeMenu {
|
|
1317
|
+
items = input([], ...(ngDevMode ? [{ debugName: "items" }] : []));
|
|
1318
|
+
expandedIds = input([], ...(ngDevMode ? [{ debugName: "expandedIds" }] : []));
|
|
1319
|
+
expandOnLabelClick = input(true, ...(ngDevMode ? [{ debugName: "expandOnLabelClick" }] : []));
|
|
1320
|
+
chevronPosition = input('left', ...(ngDevMode ? [{ debugName: "chevronPosition" }] : []));
|
|
1321
|
+
showLabels = input(true, ...(ngDevMode ? [{ debugName: "showLabels" }] : []));
|
|
1322
|
+
iconSize = input(16, ...(ngDevMode ? [{ debugName: "iconSize" }] : []));
|
|
1323
|
+
toggle = output();
|
|
1324
|
+
itemClick = output();
|
|
1325
|
+
nodeClick = output();
|
|
1326
|
+
set elRef(element) {
|
|
1327
|
+
if (element) {
|
|
1328
|
+
element.nativeElement.items = this.items();
|
|
1329
|
+
element.nativeElement.expandedIds = this.expandedIds();
|
|
1330
|
+
}
|
|
1331
|
+
}
|
|
1332
|
+
onToggle(event) {
|
|
1333
|
+
const e = event;
|
|
1334
|
+
this.toggle.emit(e.detail);
|
|
1335
|
+
}
|
|
1336
|
+
onItemClick(event) {
|
|
1337
|
+
const e = event;
|
|
1338
|
+
this.itemClick.emit(e.detail);
|
|
1339
|
+
}
|
|
1340
|
+
onNodeClick(event) {
|
|
1341
|
+
const e = event;
|
|
1342
|
+
this.nodeClick.emit(e.detail);
|
|
1343
|
+
}
|
|
1344
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereTreeMenu, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
1345
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "21.0.7", type: LogosphereTreeMenu, isStandalone: true, selector: "lgs-tree-menu", inputs: { items: { classPropertyName: "items", publicName: "items", isSignal: true, isRequired: false, transformFunction: null }, expandedIds: { classPropertyName: "expandedIds", publicName: "expandedIds", isSignal: true, isRequired: false, transformFunction: null }, expandOnLabelClick: { classPropertyName: "expandOnLabelClick", publicName: "expandOnLabelClick", isSignal: true, isRequired: false, transformFunction: null }, chevronPosition: { classPropertyName: "chevronPosition", publicName: "chevronPosition", isSignal: true, isRequired: false, transformFunction: null }, showLabels: { classPropertyName: "showLabels", publicName: "showLabels", isSignal: true, isRequired: false, transformFunction: null }, iconSize: { classPropertyName: "iconSize", publicName: "iconSize", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { toggle: "toggle", itemClick: "itemClick", nodeClick: "nodeClick" }, viewQueries: [{ propertyName: "elRef", first: true, predicate: ["el"], descendants: true }], ngImport: i0, template: `
|
|
1346
|
+
<logosphere-tree-menu
|
|
1347
|
+
#el
|
|
1348
|
+
[expandOnLabelClick]="expandOnLabelClick()"
|
|
1349
|
+
[chevronPosition]="chevronPosition()"
|
|
1350
|
+
[showLabels]="showLabels()"
|
|
1351
|
+
[iconSize]="iconSize()"
|
|
1352
|
+
(toggle)="onToggle($event)"
|
|
1353
|
+
(item-click)="onItemClick($event)"
|
|
1354
|
+
(node-click)="onNodeClick($event)"
|
|
1355
|
+
></logosphere-tree-menu>
|
|
1356
|
+
`, isInline: true });
|
|
1357
|
+
}
|
|
1358
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.0.7", ngImport: i0, type: LogosphereTreeMenu, decorators: [{
|
|
1359
|
+
type: Component,
|
|
1360
|
+
args: [{
|
|
1361
|
+
selector: 'lgs-tree-menu',
|
|
1362
|
+
imports: [],
|
|
1363
|
+
template: `
|
|
1364
|
+
<logosphere-tree-menu
|
|
1365
|
+
#el
|
|
1366
|
+
[expandOnLabelClick]="expandOnLabelClick()"
|
|
1367
|
+
[chevronPosition]="chevronPosition()"
|
|
1368
|
+
[showLabels]="showLabels()"
|
|
1369
|
+
[iconSize]="iconSize()"
|
|
1370
|
+
(toggle)="onToggle($event)"
|
|
1371
|
+
(item-click)="onItemClick($event)"
|
|
1372
|
+
(node-click)="onNodeClick($event)"
|
|
1373
|
+
></logosphere-tree-menu>
|
|
1374
|
+
`,
|
|
1375
|
+
schemas: [CUSTOM_ELEMENTS_SCHEMA],
|
|
1376
|
+
}]
|
|
1377
|
+
}], propDecorators: { items: [{ type: i0.Input, args: [{ isSignal: true, alias: "items", required: false }] }], expandedIds: [{ type: i0.Input, args: [{ isSignal: true, alias: "expandedIds", required: false }] }], expandOnLabelClick: [{ type: i0.Input, args: [{ isSignal: true, alias: "expandOnLabelClick", required: false }] }], chevronPosition: [{ type: i0.Input, args: [{ isSignal: true, alias: "chevronPosition", required: false }] }], showLabels: [{ type: i0.Input, args: [{ isSignal: true, alias: "showLabels", required: false }] }], iconSize: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconSize", required: false }] }], toggle: [{ type: i0.Output, args: ["toggle"] }], itemClick: [{ type: i0.Output, args: ["itemClick"] }], nodeClick: [{ type: i0.Output, args: ["nodeClick"] }], elRef: [{
|
|
1378
|
+
type: ViewChild,
|
|
1379
|
+
args: ['el', { static: false }]
|
|
1380
|
+
}] } });
|
|
1381
|
+
|
|
1382
|
+
// projects/wrapper/src/public-api.ts
|
|
1383
|
+
const WRAPPER_VERSION = '1.0.0';
|
|
1384
|
+
|
|
1385
|
+
/**
|
|
1386
|
+
* Generated bundle index. Do not edit.
|
|
1387
|
+
*/
|
|
1388
|
+
|
|
1389
|
+
export { LogosphereBadge, LogosphereBreadcrumb, LogosphereButton, LogosphereCalendar, LogosphereCard, LogosphereChatbot, LogosphereCheckbox, LogosphereCombobox, LogosphereDatePicker, LogosphereDownloadManager, LogosphereDrawer, LogosphereFormField, LogosphereInput, LogosphereLeftMenu, LogosphereLeftMenuItem, LogosphereModal, LogospherePopover, LogosphereSwitch, LogosphereTab, LogosphereTextarea, LogosphereTimePicker, LogosphereToast, LogosphereToastContainer, LogosphereTreeMenu, WRAPPER_VERSION };
|
|
1390
|
+
//# sourceMappingURL=logosphere-ui-angular.mjs.map
|