@lucca-front/ng 20.3.0-rc.1 → 20.3.0-rc.2
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/button/index.d.ts +3 -4
- package/callout/index.d.ts +10 -2
- package/comment/index.d.ts +7 -1
- package/core-select/department/index.d.ts +1 -0
- package/core-select/index.d.ts +4 -2
- package/core-select/user/index.d.ts +1 -0
- package/date2/index.d.ts +8 -3
- package/dialog/index.d.ts +2 -2
- package/fesm2022/lucca-front-ng-api.mjs +6 -6
- package/fesm2022/lucca-front-ng-api.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-box.mjs +2 -2
- package/fesm2022/lucca-front-ng-box.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-button.mjs +9 -13
- package/fesm2022/lucca-front-ng-button.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-callout.mjs +35 -12
- package/fesm2022/lucca-front-ng-callout.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-comment.mjs +10 -4
- package/fesm2022/lucca-front-ng-comment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-department.mjs +10 -1
- package/fesm2022/lucca-front-ng-core-select-department.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select-user.mjs +1 -0
- package/fesm2022/lucca-front-ng-core-select-user.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-core-select.mjs +5 -1
- package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date.mjs +4 -4
- package/fesm2022/lucca-front-ng-date.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-date2.mjs +44 -12
- package/fesm2022/lucca-front-ng-date2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-department.mjs +2 -2
- package/fesm2022/lucca-front-ng-department.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-dialog.mjs +5 -5
- package/fesm2022/lucca-front-ng-dialog.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-empty-state.mjs +4 -4
- package/fesm2022/lucca-front-ng-empty-state.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-establishment.mjs +4 -4
- package/fesm2022/lucca-front-ng-establishment.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-file-upload.mjs +6 -6
- package/fesm2022/lucca-front-ng-file-upload.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-filter-pills.mjs +4 -4
- package/fesm2022/lucca-front-ng-filter-pills.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-footer.mjs +2 -2
- package/fesm2022/lucca-front-ng-footer.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-form-field.mjs +10 -6
- package/fesm2022/lucca-front-ng-form-field.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-formly.mjs +30 -30
- package/fesm2022/lucca-front-ng-formly.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-html.mjs +6 -2
- package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-html.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-markdown.mjs +4 -0
- package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-markdown.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-plain-text.mjs +42 -0
- package/fesm2022/lucca-front-ng-forms-rich-text-input-formatters-plain-text.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs +40 -31
- package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-forms.mjs +19 -26
- package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-gauge.mjs +50 -0
- package/fesm2022/lucca-front-ng-gauge.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-icon.mjs +4 -3
- package/fesm2022/lucca-front-ng-icon.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-inline-message.mjs +2 -2
- package/fesm2022/lucca-front-ng-inline-message.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-listbox.mjs +1 -1
- package/fesm2022/lucca-front-ng-listbox.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-listing.mjs +3 -3
- package/fesm2022/lucca-front-ng-listing.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-mobile-push.mjs +1 -1
- package/fesm2022/lucca-front-ng-mobile-push.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-modal.mjs +6 -6
- package/fesm2022/lucca-front-ng-modal.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-multi-select.mjs +27 -13
- package/fesm2022/lucca-front-ng-multi-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-option.mjs +8 -8
- package/fesm2022/lucca-front-ng-option.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-page-header.mjs +2 -2
- package/fesm2022/lucca-front-ng-page-header.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-pagination.mjs +3 -3
- package/fesm2022/lucca-front-ng-pagination.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-plg-push.mjs +1 -1
- package/fesm2022/lucca-front-ng-plg-push.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popover.mjs +5 -5
- package/fesm2022/lucca-front-ng-popover.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-popover2.mjs +2 -2
- package/fesm2022/lucca-front-ng-popover2.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-read-more.mjs +2 -2
- package/fesm2022/lucca-front-ng-read-more.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-segmentedControl.mjs +72 -0
- package/fesm2022/lucca-front-ng-segmentedControl.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-segmentedControlTabs.mjs +99 -0
- package/fesm2022/lucca-front-ng-segmentedControlTabs.mjs.map +1 -0
- package/fesm2022/lucca-front-ng-select.mjs +2 -2
- package/fesm2022/lucca-front-ng-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-simple-select.mjs +4 -4
- package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-skeleton.mjs +12 -12
- package/fesm2022/lucca-front-ng-skeleton.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tag.mjs +8 -5
- package/fesm2022/lucca-front-ng-tag.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-toast.mjs +2 -2
- package/fesm2022/lucca-front-ng-toast.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-tree-select.mjs +3 -2
- package/fesm2022/lucca-front-ng-tree-select.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user-popover.mjs +77 -74
- package/fesm2022/lucca-front-ng-user-popover.mjs.map +1 -1
- package/fesm2022/lucca-front-ng-user.mjs +16 -11
- package/fesm2022/lucca-front-ng-user.mjs.map +1 -1
- package/form-field/index.d.ts +6 -2
- package/forms/index.d.ts +5 -2
- package/forms/rich-text-input/formatters/html/index.d.ts +3 -2
- package/forms/rich-text-input/formatters/markdown/index.d.ts +1 -0
- package/forms/rich-text-input/formatters/plain-text/index.d.ts +15 -0
- package/forms/rich-text-input/index.d.ts +9 -6
- package/gauge/index.d.ts +28 -0
- package/icon/index.d.ts +3 -2
- package/package.json +36 -15
- package/schematics/class-prefix/index.js +11 -0
- package/schematics/lib/angular-component-ast.js +11 -1
- package/segmentedControl/index.d.ts +28 -0
- package/segmentedControlTabs/index.d.ts +34 -0
- package/src/components/_picker.scss +1 -2
- package/tag/index.d.ts +6 -4
- package/tree-select/index.d.ts +2 -1
- package/user/index.d.ts +2 -1
- package/user-popover/index.d.ts +2 -0
package/icon/index.d.ts
CHANGED
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
import { LuccaIcon } from '@lucca-front/icons';
|
|
2
1
|
import * as i0 from '@angular/core';
|
|
2
|
+
import { LuccaIcon } from '@lucca-front/icons';
|
|
3
3
|
|
|
4
4
|
declare class IconComponent {
|
|
5
5
|
icon: LuccaIcon;
|
|
6
6
|
alt: string;
|
|
7
7
|
size: 'XXS' | 'XS' | 'S' | 'M' | 'L' | 'XL' | 'XXL';
|
|
8
8
|
color: 'primary' | 'secondary' | 'product' | 'error' | 'warning' | 'success' | 'light' | 'placeholder' | 'inherit';
|
|
9
|
+
AI: i0.InputSignalWithTransform<boolean, unknown>;
|
|
9
10
|
get iconClasses(): {
|
|
10
11
|
[x: string]: boolean;
|
|
11
12
|
};
|
|
12
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<IconComponent, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "lu-icon", never, { "icon": { "alias": "icon"; "required": true; }; "alt": { "alias": "alt"; "required": false; }; "size": { "alias": "size"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, never, true, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "lu-icon", never, { "icon": { "alias": "icon"; "required": true; }; "alt": { "alias": "alt"; "required": false; }; "size": { "alias": "size"; "required": false; }; "color": { "alias": "color"; "required": false; }; "AI": { "alias": "AI"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
14
15
|
}
|
|
15
16
|
|
|
16
17
|
export { IconComponent };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lucca-front/ng",
|
|
3
|
-
"version": "20.3.0-rc.
|
|
3
|
+
"version": "20.3.0-rc.2",
|
|
4
4
|
"description": "A library of icons made by the team @Lucca",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -26,8 +26,9 @@
|
|
|
26
26
|
"@angular/common": "^20.0.0",
|
|
27
27
|
"@angular/core": "^20.0.0",
|
|
28
28
|
"@angular/cdk": "^20.0.0",
|
|
29
|
-
"@
|
|
30
|
-
"@lucca-front/
|
|
29
|
+
"@angular/animations": "^20.0.0",
|
|
30
|
+
"@lucca-front/icons": "20.3.0-rc.2",
|
|
31
|
+
"@lucca-front/scss": "20.3.0-rc.2",
|
|
31
32
|
"isomorphic-dompurify": "^2.17.0",
|
|
32
33
|
"date-fns": "^3.6.0",
|
|
33
34
|
"rxjs": "^7.8.0",
|
|
@@ -36,6 +37,7 @@
|
|
|
36
37
|
"@lexical/markdown": "^0.30.0",
|
|
37
38
|
"@lexical/history": "^0.30.0",
|
|
38
39
|
"@lexical/link": "^0.30.0",
|
|
40
|
+
"@lexical/plain-text": "^0.30.0",
|
|
39
41
|
"@lexical/rich-text": "^0.30.0",
|
|
40
42
|
"@lexical/selection": "^0.30.0",
|
|
41
43
|
"@lexical/utils": "^0.30.0",
|
|
@@ -58,6 +60,9 @@
|
|
|
58
60
|
"@lexical/link": {
|
|
59
61
|
"optional": true
|
|
60
62
|
},
|
|
63
|
+
"@lexical/plain-text": {
|
|
64
|
+
"optional": true
|
|
65
|
+
},
|
|
61
66
|
"@lexical/rich-text": {
|
|
62
67
|
"optional": true
|
|
63
68
|
},
|
|
@@ -128,14 +133,14 @@
|
|
|
128
133
|
"types": "./core/index.d.ts",
|
|
129
134
|
"default": "./fesm2022/lucca-front-ng-core.mjs"
|
|
130
135
|
},
|
|
131
|
-
"./core-select": {
|
|
132
|
-
"types": "./core-select/index.d.ts",
|
|
133
|
-
"default": "./fesm2022/lucca-front-ng-core-select.mjs"
|
|
134
|
-
},
|
|
135
136
|
"./date": {
|
|
136
137
|
"types": "./date/index.d.ts",
|
|
137
138
|
"default": "./fesm2022/lucca-front-ng-date.mjs"
|
|
138
139
|
},
|
|
140
|
+
"./core-select": {
|
|
141
|
+
"types": "./core-select/index.d.ts",
|
|
142
|
+
"default": "./fesm2022/lucca-front-ng-core-select.mjs"
|
|
143
|
+
},
|
|
139
144
|
"./date2": {
|
|
140
145
|
"types": "./date2/index.d.ts",
|
|
141
146
|
"default": "./fesm2022/lucca-front-ng-date2.mjs"
|
|
@@ -152,14 +157,14 @@
|
|
|
152
157
|
"types": "./divider/index.d.ts",
|
|
153
158
|
"default": "./fesm2022/lucca-front-ng-divider.mjs"
|
|
154
159
|
},
|
|
155
|
-
"./dropdown": {
|
|
156
|
-
"types": "./dropdown/index.d.ts",
|
|
157
|
-
"default": "./fesm2022/lucca-front-ng-dropdown.mjs"
|
|
158
|
-
},
|
|
159
160
|
"./empty-state": {
|
|
160
161
|
"types": "./empty-state/index.d.ts",
|
|
161
162
|
"default": "./fesm2022/lucca-front-ng-empty-state.mjs"
|
|
162
163
|
},
|
|
164
|
+
"./dropdown": {
|
|
165
|
+
"types": "./dropdown/index.d.ts",
|
|
166
|
+
"default": "./fesm2022/lucca-front-ng-dropdown.mjs"
|
|
167
|
+
},
|
|
163
168
|
"./establishment": {
|
|
164
169
|
"types": "./establishment/index.d.ts",
|
|
165
170
|
"default": "./fesm2022/lucca-front-ng-establishment.mjs"
|
|
@@ -180,18 +185,22 @@
|
|
|
180
185
|
"types": "./footer/index.d.ts",
|
|
181
186
|
"default": "./fesm2022/lucca-front-ng-footer.mjs"
|
|
182
187
|
},
|
|
183
|
-
"./form-field": {
|
|
184
|
-
"types": "./form-field/index.d.ts",
|
|
185
|
-
"default": "./fesm2022/lucca-front-ng-form-field.mjs"
|
|
186
|
-
},
|
|
187
188
|
"./formly": {
|
|
188
189
|
"types": "./formly/index.d.ts",
|
|
189
190
|
"default": "./fesm2022/lucca-front-ng-formly.mjs"
|
|
190
191
|
},
|
|
192
|
+
"./form-field": {
|
|
193
|
+
"types": "./form-field/index.d.ts",
|
|
194
|
+
"default": "./fesm2022/lucca-front-ng-form-field.mjs"
|
|
195
|
+
},
|
|
191
196
|
"./forms": {
|
|
192
197
|
"types": "./forms/index.d.ts",
|
|
193
198
|
"default": "./fesm2022/lucca-front-ng-forms.mjs"
|
|
194
199
|
},
|
|
200
|
+
"./gauge": {
|
|
201
|
+
"types": "./gauge/index.d.ts",
|
|
202
|
+
"default": "./fesm2022/lucca-front-ng-gauge.mjs"
|
|
203
|
+
},
|
|
195
204
|
"./highlight-data": {
|
|
196
205
|
"types": "./highlight-data/index.d.ts",
|
|
197
206
|
"default": "./fesm2022/lucca-front-ng-highlight-data.mjs"
|
|
@@ -308,6 +317,14 @@
|
|
|
308
317
|
"types": "./scrollBox/index.d.ts",
|
|
309
318
|
"default": "./fesm2022/lucca-front-ng-scrollBox.mjs"
|
|
310
319
|
},
|
|
320
|
+
"./segmentedControl": {
|
|
321
|
+
"types": "./segmentedControl/index.d.ts",
|
|
322
|
+
"default": "./fesm2022/lucca-front-ng-segmentedControl.mjs"
|
|
323
|
+
},
|
|
324
|
+
"./segmentedControlTabs": {
|
|
325
|
+
"types": "./segmentedControlTabs/index.d.ts",
|
|
326
|
+
"default": "./fesm2022/lucca-front-ng-segmentedControlTabs.mjs"
|
|
327
|
+
},
|
|
311
328
|
"./select": {
|
|
312
329
|
"types": "./select/index.d.ts",
|
|
313
330
|
"default": "./fesm2022/lucca-front-ng-select.mjs"
|
|
@@ -403,6 +420,10 @@
|
|
|
403
420
|
"./forms/rich-text-input/formatters/markdown": {
|
|
404
421
|
"types": "./forms/rich-text-input/formatters/markdown/index.d.ts",
|
|
405
422
|
"default": "./fesm2022/lucca-front-ng-forms-rich-text-input-formatters-markdown.mjs"
|
|
423
|
+
},
|
|
424
|
+
"./forms/rich-text-input/formatters/plain-text": {
|
|
425
|
+
"types": "./forms/rich-text-input/formatters/plain-text/index.d.ts",
|
|
426
|
+
"default": "./fesm2022/lucca-front-ng-forms-rich-text-input-formatters-plain-text.mjs"
|
|
406
427
|
}
|
|
407
428
|
},
|
|
408
429
|
"sideEffects": false,
|
|
@@ -285,6 +285,17 @@ exports.default = (options) => {
|
|
|
285
285
|
"u-paddingInline-end0": "pr-u-paddingInline-end0",
|
|
286
286
|
"u-insetInline-end0": "pr-u-insetInline-end0",
|
|
287
287
|
"u-prefersContrastMore": "pr-u-prefersContrastMore",
|
|
288
|
+
"u-border0": "pr-u-border0",
|
|
289
|
+
"u-borderBottom0": "pr-u-borderBottom0",
|
|
290
|
+
"u-borderTop0": "pr-u-borderTop0",
|
|
291
|
+
"u-borderRight0": "pr-u-borderRight0",
|
|
292
|
+
"u-borderLeft0": "pr-u-borderLeft0",
|
|
293
|
+
"u-borderInline0": "pr-u-borderInline0",
|
|
294
|
+
"u-borderBlock0": "pr-u-borderBlock0",
|
|
295
|
+
"u-borderBlockEnd0": "pr-u-borderBlockEnd0",
|
|
296
|
+
"u-borderBlockStart0": "pr-u-borderBlockStart0",
|
|
297
|
+
"u-borderInlineStart0": "pr-u-borderInlineStart0",
|
|
298
|
+
"u-borderInlineEnd0": "pr-u-borderInlineEnd0",
|
|
288
299
|
},
|
|
289
300
|
variables: {},
|
|
290
301
|
mixins: {}
|
|
@@ -122,6 +122,7 @@ function insertAngularImportIfNeeded(sourceFile, fileToEdit, symbolName) {
|
|
|
122
122
|
}
|
|
123
123
|
let insertPos = 0;
|
|
124
124
|
let needsComma = true;
|
|
125
|
+
let insertContent = symbolName;
|
|
125
126
|
(0, typescript_1.forEachChild)(sourceFile, (0, angular_template_1.createVisitor)(typescript_1.isDecorator, (decorator) => {
|
|
126
127
|
if (!(0, typescript_1.isCallExpression)(decorator.expression)) {
|
|
127
128
|
return;
|
|
@@ -151,9 +152,18 @@ function insertAngularImportIfNeeded(sourceFile, fileToEdit, symbolName) {
|
|
|
151
152
|
needsComma = false;
|
|
152
153
|
}
|
|
153
154
|
}
|
|
155
|
+
else {
|
|
156
|
+
// There is no imports at all, add them !
|
|
157
|
+
const allParams = argument.properties
|
|
158
|
+
.filter(typescript_1.isPropertyAssignment);
|
|
159
|
+
insertPos = allParams[allParams.length - 1].pos;
|
|
160
|
+
needsComma = false;
|
|
161
|
+
insertContent = `
|
|
162
|
+
imports: [${insertContent}],`;
|
|
163
|
+
}
|
|
154
164
|
}));
|
|
155
165
|
if (insertPos > 0) {
|
|
156
|
-
return new change_1.InsertChange(fileToEdit, insertPos, needsComma ? `, ${
|
|
166
|
+
return new change_1.InsertChange(fileToEdit, insertPos, needsComma ? `, ${insertContent}` : insertContent);
|
|
157
167
|
}
|
|
158
168
|
return new change_1.NoopChange();
|
|
159
169
|
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as _angular_forms from '@angular/forms';
|
|
2
|
+
import * as _angular_core from '@angular/core';
|
|
3
|
+
import * as _lucca_front_ng_segmentedControl from '@lucca-front/ng/segmentedControl';
|
|
4
|
+
import { PortalContent } from '@lucca-front/ng/core';
|
|
5
|
+
import * as i1 from '@lucca-front/ng/forms';
|
|
6
|
+
|
|
7
|
+
declare class SegmentedControlFilterComponent<T = unknown> {
|
|
8
|
+
protected segmentedControlRef: _lucca_front_ng_segmentedControl.SegmentedControlComponent;
|
|
9
|
+
disabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
10
|
+
value: _angular_core.InputSignal<T>;
|
|
11
|
+
id: string;
|
|
12
|
+
name: string;
|
|
13
|
+
label: _angular_core.InputSignal<PortalContent>;
|
|
14
|
+
get formControl(): _angular_forms.FormControl<any>;
|
|
15
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SegmentedControlFilterComponent<any>, never>;
|
|
16
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SegmentedControlFilterComponent<any>, "lu-segmented-control-filter", never, { "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": true; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
declare class SegmentedControlComponent {
|
|
20
|
+
ngControl: _angular_forms.FormControlDirective | _angular_forms.FormControlName | _angular_forms.NgModel;
|
|
21
|
+
small: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
22
|
+
vertical: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
23
|
+
id: string;
|
|
24
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SegmentedControlComponent, never>;
|
|
25
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SegmentedControlComponent, "lu-segmented-control", never, { "small": { "alias": "small"; "required": false; "isSignal": true; }; "vertical": { "alias": "vertical"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.NoopValueAccessorDirective; inputs: {}; outputs: {}; }]>;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export { SegmentedControlComponent, SegmentedControlFilterComponent };
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { AfterContentInit, ElementRef } from '@angular/core';
|
|
3
|
+
import * as _lucca_front_ng_segmentedControlTabs from '@lucca-front/ng/segmentedControlTabs';
|
|
4
|
+
import { PortalContent } from '@lucca-front/ng/core';
|
|
5
|
+
import * as i1 from '@lucca-front/ng/forms';
|
|
6
|
+
|
|
7
|
+
declare class SegmentedControlTabsPanelComponent<T = unknown> {
|
|
8
|
+
protected segmentedControlTabsRef: _lucca_front_ng_segmentedControlTabs.SegmentedControlTabsComponent<unknown>;
|
|
9
|
+
label: _angular_core.InputSignal<PortalContent>;
|
|
10
|
+
value: _angular_core.InputSignal<T>;
|
|
11
|
+
id: number;
|
|
12
|
+
panelId: string;
|
|
13
|
+
labelId: string;
|
|
14
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SegmentedControlTabsPanelComponent<any>, never>;
|
|
15
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SegmentedControlTabsPanelComponent<any>, "lu-segmented-control-tabs-panel", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": true; "isSignal": true; }; }, {}, never, ["*"], true, never>;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
declare class SegmentedControlTabsComponent<T = unknown> implements AfterContentInit {
|
|
19
|
+
small: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
20
|
+
vertical: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
21
|
+
id: string;
|
|
22
|
+
tabs: _angular_core.Signal<readonly SegmentedControlTabsPanelComponent<T>[]>;
|
|
23
|
+
tabButtons: _angular_core.Signal<readonly ElementRef<HTMLButtonElement>[]>;
|
|
24
|
+
active: _angular_core.ModelSignal<T>;
|
|
25
|
+
currentIndex: _angular_core.Signal<number>;
|
|
26
|
+
previous(): void;
|
|
27
|
+
next(): void;
|
|
28
|
+
setActiveTab(index: number): void;
|
|
29
|
+
ngAfterContentInit(): void;
|
|
30
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SegmentedControlTabsComponent<any>, never>;
|
|
31
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SegmentedControlTabsComponent<any>, "lu-segmented-control-tabs", never, { "small": { "alias": "small"; "required": false; "isSignal": true; }; "vertical": { "alias": "vertical"; "required": false; "isSignal": true; }; "active": { "alias": "active"; "required": false; "isSignal": true; }; }, { "active": "activeChange"; }, ["tabs"], ["*"], true, [{ directive: typeof i1.NoopValueAccessorDirective; inputs: {}; outputs: {}; }]>;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export { SegmentedControlTabsComponent, SegmentedControlTabsPanelComponent };
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
@use 'popover';
|
|
2
|
-
@use '@lucca-front/scss/src/commons/utils/a11y';
|
|
3
2
|
|
|
4
3
|
@layer components {
|
|
5
4
|
.lu-picker-panel {
|
|
@@ -131,7 +130,7 @@
|
|
|
131
130
|
|
|
132
131
|
&:not(:hover, :has(.is-highlighted)) {
|
|
133
132
|
.link {
|
|
134
|
-
|
|
133
|
+
opacity: 0.0001;
|
|
135
134
|
}
|
|
136
135
|
}
|
|
137
136
|
}
|
package/tag/index.d.ts
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
1
2
|
import { LuccaIcon } from '@lucca-front/icons';
|
|
2
3
|
import { Palette, DecorativePalette } from '@lucca-front/ng/core';
|
|
3
|
-
import * as i0 from '@angular/core';
|
|
4
4
|
|
|
5
5
|
declare class TagComponent {
|
|
6
|
+
withEllipis: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
6
7
|
label: string;
|
|
7
8
|
/**
|
|
8
9
|
* Which size should the callout be? Defaults to medium
|
|
9
10
|
*/
|
|
10
|
-
size: 'M' | 'L';
|
|
11
|
+
size: 'S' | 'M' | 'L';
|
|
11
12
|
/**
|
|
12
13
|
* Which palette should be used for the entire callout.
|
|
13
14
|
* Defaults to none (inherits parent palette)
|
|
@@ -26,11 +27,12 @@ declare class TagComponent {
|
|
|
26
27
|
* Defaults to no icon.
|
|
27
28
|
*/
|
|
28
29
|
icon: LuccaIcon | undefined;
|
|
30
|
+
AI: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
29
31
|
get tagClasses(): {
|
|
30
32
|
[x: string]: boolean;
|
|
31
33
|
};
|
|
32
|
-
static ɵfac:
|
|
33
|
-
static ɵcmp:
|
|
34
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TagComponent, never>;
|
|
35
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TagComponent, "lu-tag", never, { "withEllipis": { "alias": "withEllipis"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": true; }; "size": { "alias": "size"; "required": false; }; "palette": { "alias": "palette"; "required": false; }; "outlined": { "alias": "outlined"; "required": false; }; "link": { "alias": "link"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "AI": { "alias": "AI"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
34
36
|
static ngAcceptInputType_outlined: unknown;
|
|
35
37
|
}
|
|
36
38
|
|
package/tree-select/index.d.ts
CHANGED
|
@@ -24,12 +24,13 @@ declare class TreeBranchComponent<T> {
|
|
|
24
24
|
selectMany: _angular_core.OutputEmitterRef<T[]>;
|
|
25
25
|
unselectMany: _angular_core.OutputEmitterRef<T[]>;
|
|
26
26
|
simpleMode: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
27
|
+
depth: _angular_core.InputSignal<number>;
|
|
27
28
|
constructor();
|
|
28
29
|
toggle(branchData: TreeNode<T>): void;
|
|
29
30
|
selectOnlyChildren(branchData: TreeNode<T>): void;
|
|
30
31
|
flattenTree(branch: TreeNode<T>, excludeRoot?: boolean): T[];
|
|
31
32
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TreeBranchComponent<any>, never>;
|
|
32
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TreeBranchComponent<any>, "lu-tree-branch", never, { "branch": { "alias": "branch"; "required": true; "isSignal": true; }; "optionTpl": { "alias": "optionTpl"; "required": true; "isSignal": true; }; "optionIndex": { "alias": "optionIndex"; "required": true; "isSignal": true; }; "optionComparer": { "alias": "optionComparer"; "required": true; "isSignal": true; }; "selectedOptions": { "alias": "selectedOptions"; "required": false; "isSignal": true; }; "simpleMode": { "alias": "simpleMode"; "required": false; "isSignal": true; }; }, { "toggleOne": "toggleOne"; "selectMany": "selectMany"; "unselectMany": "unselectMany"; }, never, never, true, never>;
|
|
33
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TreeBranchComponent<any>, "lu-tree-branch", never, { "branch": { "alias": "branch"; "required": true; "isSignal": true; }; "optionTpl": { "alias": "optionTpl"; "required": true; "isSignal": true; }; "optionIndex": { "alias": "optionIndex"; "required": true; "isSignal": true; }; "optionComparer": { "alias": "optionComparer"; "required": true; "isSignal": true; }; "selectedOptions": { "alias": "selectedOptions"; "required": false; "isSignal": true; }; "simpleMode": { "alias": "simpleMode"; "required": false; "isSignal": true; }; "depth": { "alias": "depth"; "required": false; "isSignal": true; }; }, { "toggleOne": "toggleOne"; "selectMany": "selectMany"; "unselectMany": "unselectMany"; }, never, never, true, never>;
|
|
33
34
|
}
|
|
34
35
|
|
|
35
36
|
export { TreeBranchComponent, TreeSelectDirective };
|
package/user/index.d.ts
CHANGED
|
@@ -159,12 +159,13 @@ declare class LuUserPictureComponent implements OnChanges {
|
|
|
159
159
|
initials: string;
|
|
160
160
|
hasPicture: boolean;
|
|
161
161
|
pictureHref: string;
|
|
162
|
+
AI: i0.InputSignalWithTransform<boolean, unknown>;
|
|
162
163
|
style: {};
|
|
163
164
|
ngOnChanges(): void;
|
|
164
165
|
pictureError(): void;
|
|
165
166
|
private getNameHue;
|
|
166
167
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuUserPictureComponent, never>;
|
|
167
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuUserPictureComponent, "lu-user-picture", never, { "displayFormat": { "alias": "displayFormat"; "required": false; }; "imageLoadingAttribute": { "alias": "imageLoadingAttribute"; "required": false; }; "user": { "alias": "user"; "required": false; }; }, {}, never, never, true, never>;
|
|
168
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuUserPictureComponent, "lu-user-picture", never, { "displayFormat": { "alias": "displayFormat"; "required": false; }; "imageLoadingAttribute": { "alias": "imageLoadingAttribute"; "required": false; }; "user": { "alias": "user"; "required": false; }; "AI": { "alias": "AI"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
168
169
|
}
|
|
169
170
|
|
|
170
171
|
/**
|
package/user-popover/index.d.ts
CHANGED
|
@@ -65,6 +65,7 @@ declare class LuUserPopoverComponent {
|
|
|
65
65
|
#private;
|
|
66
66
|
luUser: _angular_core.Signal<_lucca_front_ng_user.ILuUser>;
|
|
67
67
|
intl: LuPopupEmployeeTranslations;
|
|
68
|
+
skeletonWidths: string[];
|
|
68
69
|
employee$: Observable<LuUserPopover>;
|
|
69
70
|
userPictureDisplay$: Observable<"img" | "initials">;
|
|
70
71
|
userPictureHref$: Observable<string>;
|
|
@@ -73,6 +74,7 @@ declare class LuUserPopoverComponent {
|
|
|
73
74
|
color: number;
|
|
74
75
|
}>;
|
|
75
76
|
pictureError(): void;
|
|
77
|
+
getRandomPercent(min?: number, max?: number): string;
|
|
76
78
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<LuUserPopoverComponent, never>;
|
|
77
79
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<LuUserPopoverComponent, "lu-user-popover-content", never, {}, {}, never, never, true, never>;
|
|
78
80
|
}
|