@lucca-front/ng 19.3.0-rc.3 → 19.3.0-rc.4

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.
Files changed (81) hide show
  1. package/core-select/input/select-input.component.d.ts +3 -1
  2. package/date2/abstract-date-component.d.ts +1 -1
  3. package/date2/date-input/date-input.component.d.ts +1 -0
  4. package/date2/date-range-input/date-range-input.component.d.ts +1 -0
  5. package/fesm2022/lucca-front-ng-core-select-user.mjs +1 -1
  6. package/fesm2022/lucca-front-ng-core-select-user.mjs.map +1 -1
  7. package/fesm2022/lucca-front-ng-core-select.mjs +17 -2
  8. package/fesm2022/lucca-front-ng-core-select.mjs.map +1 -1
  9. package/fesm2022/lucca-front-ng-date2.mjs +23 -14
  10. package/fesm2022/lucca-front-ng-date2.mjs.map +1 -1
  11. package/fesm2022/lucca-front-ng-divider.mjs +2 -2
  12. package/fesm2022/lucca-front-ng-divider.mjs.map +1 -1
  13. package/fesm2022/lucca-front-ng-fancy-box.mjs +2 -2
  14. package/fesm2022/lucca-front-ng-fancy-box.mjs.map +1 -1
  15. package/fesm2022/lucca-front-ng-file-upload.mjs +343 -0
  16. package/fesm2022/lucca-front-ng-file-upload.mjs.map +1 -0
  17. package/fesm2022/lucca-front-ng-filter-pills.mjs +5 -4
  18. package/fesm2022/lucca-front-ng-filter-pills.mjs.map +1 -1
  19. package/fesm2022/lucca-front-ng-form-field.mjs +13 -5
  20. package/fesm2022/lucca-front-ng-form-field.mjs.map +1 -1
  21. package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs +2 -2
  22. package/fesm2022/lucca-front-ng-forms-rich-text-input.mjs.map +1 -1
  23. package/fesm2022/lucca-front-ng-forms.mjs +9 -4
  24. package/fesm2022/lucca-front-ng-forms.mjs.map +1 -1
  25. package/fesm2022/lucca-front-ng-icon.mjs +2 -2
  26. package/fesm2022/lucca-front-ng-icon.mjs.map +1 -1
  27. package/fesm2022/lucca-front-ng-inline-message.mjs +14 -6
  28. package/fesm2022/lucca-front-ng-inline-message.mjs.map +1 -1
  29. package/fesm2022/lucca-front-ng-link.mjs +2 -2
  30. package/fesm2022/lucca-front-ng-multi-select.mjs +3 -3
  31. package/fesm2022/lucca-front-ng-multi-select.mjs.map +1 -1
  32. package/fesm2022/lucca-front-ng-numeric-badge.mjs +2 -2
  33. package/fesm2022/lucca-front-ng-numeric-badge.mjs.map +1 -1
  34. package/fesm2022/lucca-front-ng-popup-employee.mjs +2 -2
  35. package/fesm2022/lucca-front-ng-popup-employee.mjs.map +1 -1
  36. package/fesm2022/lucca-front-ng-simple-select.mjs +2 -2
  37. package/fesm2022/lucca-front-ng-simple-select.mjs.map +1 -1
  38. package/fesm2022/lucca-front-ng-skeleton.mjs +2 -2
  39. package/fesm2022/lucca-front-ng-skeleton.mjs.map +1 -1
  40. package/fesm2022/lucca-front-ng-statusBadge.mjs +2 -2
  41. package/fesm2022/lucca-front-ng-statusBadge.mjs.map +1 -1
  42. package/fesm2022/lucca-front-ng-title.mjs +26 -17
  43. package/fesm2022/lucca-front-ng-title.mjs.map +1 -1
  44. package/fesm2022/lucca-front-ng-tooltip.mjs +2 -2
  45. package/fesm2022/lucca-front-ng-tooltip.mjs.map +1 -1
  46. package/fesm2022/lucca-front-ng-user.mjs +2 -2
  47. package/fesm2022/lucca-front-ng-user.mjs.map +1 -1
  48. package/file-upload/base-file-upload/base-file-upload.component.d.ts +24 -0
  49. package/file-upload/file-dropzone/file-dropzone.component.d.ts +6 -0
  50. package/file-upload/file-entry/file-entry.component.d.ts +35 -0
  51. package/file-upload/file-upload-entry.d.ts +6 -0
  52. package/file-upload/file-upload.translate.d.ts +34 -0
  53. package/file-upload/formatter.d.ts +3 -0
  54. package/file-upload/index.d.ts +5 -0
  55. package/file-upload/multi/multi-file-upload.component.d.ts +6 -0
  56. package/file-upload/public-api.d.ts +5 -0
  57. package/file-upload/single/single-file-upload.component.d.ts +13 -0
  58. package/file-upload/translations.d.ts +242 -0
  59. package/filter-pills/core/filter-pill-input-component.d.ts +1 -0
  60. package/filter-pills/filter-pill/filter-pill.component.d.ts +1 -0
  61. package/form-field/form-field.component.d.ts +5 -1
  62. package/formly/style/_components.scss +1 -0
  63. package/forms/checkbox-input/checkbox-input.component.d.ts +1 -0
  64. package/forms/multilanguage-input/multilanguage-input.component.d.ts +1 -0
  65. package/inline-message/inline-message.component.d.ts +3 -1
  66. package/package.json +34 -30
  67. package/schematics/lib/angular-component-ast.js +18 -7
  68. package/schematics/lu-select/migration.js +3 -3
  69. package/schematics/lu-select/util.js +1 -1
  70. package/src/components/_dropdown.scss +0 -0
  71. package/src/components/_input.scss +9 -11
  72. package/src/components/_picker.scss +1 -1
  73. package/src/components/_popup.scss +37 -35
  74. package/src/components/cdk/_dragDrop.scss +6 -0
  75. package/src/components/cdk/_overlay.scss +6 -12
  76. package/src/definitions/option/_option-item.scss +2 -3
  77. package/src/definitions/select/_select-input.scss +1 -0
  78. package/src/definitions/user/user-picture.scss +1 -0
  79. package/title/README.md +40 -46
  80. package/title/title-translate.service.d.ts +2 -1
  81. package/title/title.strategy.d.ts +15 -7
@@ -0,0 +1,242 @@
1
+ export declare const Translations: {
2
+ en: {
3
+ acceptedFormat: {
4
+ one: string;
5
+ other: string;
6
+ };
7
+ selectFile: {
8
+ one: string;
9
+ other: string;
10
+ };
11
+ dropOrClick: {
12
+ one: string;
13
+ other: string;
14
+ };
15
+ maxWeight: {
16
+ one: string;
17
+ other: string;
18
+ };
19
+ fileUploadedListed: {
20
+ one: string;
21
+ other: string;
22
+ };
23
+ all: string;
24
+ file: string;
25
+ download: string;
26
+ downloadFile: string;
27
+ delete: string;
28
+ deleteFile: string;
29
+ password: string;
30
+ confirmPassword: string;
31
+ };
32
+ de: {
33
+ acceptedFormat: {
34
+ one: string;
35
+ other: string;
36
+ };
37
+ selectFile: {
38
+ one: string;
39
+ other: string;
40
+ };
41
+ dropOrClick: {
42
+ one: string;
43
+ other: string;
44
+ };
45
+ maxWeight: {
46
+ one: string;
47
+ other: string;
48
+ };
49
+ fileUploadedListed: {
50
+ one: string;
51
+ other: string;
52
+ };
53
+ all: string;
54
+ file: string;
55
+ download: string;
56
+ downloadFile: string;
57
+ delete: string;
58
+ deleteFile: string;
59
+ password: string;
60
+ confirmPassword: string;
61
+ };
62
+ fr: {
63
+ acceptedFormat: {
64
+ one: string;
65
+ other: string;
66
+ };
67
+ selectFile: {
68
+ one: string;
69
+ other: string;
70
+ };
71
+ dropOrClick: {
72
+ one: string;
73
+ other: string;
74
+ };
75
+ maxWeight: {
76
+ one: string;
77
+ other: string;
78
+ };
79
+ fileUploadedListed: {
80
+ one: string;
81
+ other: string;
82
+ };
83
+ all: string;
84
+ file: string;
85
+ download: string;
86
+ downloadFile: string;
87
+ delete: string;
88
+ deleteFile: string;
89
+ password: string;
90
+ confirmPassword: string;
91
+ };
92
+ it: {
93
+ acceptedFormat: {
94
+ one: string;
95
+ other: string;
96
+ };
97
+ selectFile: {
98
+ one: string;
99
+ other: string;
100
+ };
101
+ dropOrClick: {
102
+ one: string;
103
+ other: string;
104
+ };
105
+ maxWeight: {
106
+ one: string;
107
+ other: string;
108
+ };
109
+ fileUploadedListed: {
110
+ one: string;
111
+ other: string;
112
+ };
113
+ all: string;
114
+ file: string;
115
+ download: string;
116
+ downloadFile: string;
117
+ delete: string;
118
+ deleteFile: string;
119
+ password: string;
120
+ confirmPassword: string;
121
+ };
122
+ nl: {
123
+ acceptedFormat: {
124
+ one: string;
125
+ other: string;
126
+ };
127
+ selectFile: {
128
+ one: string;
129
+ other: string;
130
+ };
131
+ dropOrClick: {
132
+ one: string;
133
+ other: string;
134
+ };
135
+ maxWeight: {
136
+ one: string;
137
+ other: string;
138
+ };
139
+ fileUploadedListed: {
140
+ one: string;
141
+ other: string;
142
+ };
143
+ all: string;
144
+ file: string;
145
+ download: string;
146
+ downloadFile: string;
147
+ delete: string;
148
+ deleteFile: string;
149
+ password: string;
150
+ confirmPassword: string;
151
+ };
152
+ 'nl-BE': {
153
+ acceptedFormat: {
154
+ one: string;
155
+ other: string;
156
+ };
157
+ selectFile: {
158
+ one: string;
159
+ other: string;
160
+ };
161
+ dropOrClick: {
162
+ one: string;
163
+ other: string;
164
+ };
165
+ maxWeight: {
166
+ one: string;
167
+ other: string;
168
+ };
169
+ fileUploadedListed: {
170
+ one: string;
171
+ other: string;
172
+ };
173
+ all: string;
174
+ file: string;
175
+ download: string;
176
+ downloadFile: string;
177
+ delete: string;
178
+ deleteFile: string;
179
+ password: string;
180
+ confirmPassword: string;
181
+ };
182
+ es: {
183
+ acceptedFormat: {
184
+ one: string;
185
+ other: string;
186
+ };
187
+ selectFile: {
188
+ one: string;
189
+ other: string;
190
+ };
191
+ dropOrClick: {
192
+ one: string;
193
+ other: string;
194
+ };
195
+ maxWeight: {
196
+ one: string;
197
+ other: string;
198
+ };
199
+ fileUploadedListed: {
200
+ one: string;
201
+ other: string;
202
+ };
203
+ all: string;
204
+ file: string;
205
+ download: string;
206
+ downloadFile: string;
207
+ delete: string;
208
+ deleteFile: string;
209
+ password: string;
210
+ confirmPassword: string;
211
+ };
212
+ pt: {
213
+ acceptedFormat: {
214
+ one: string;
215
+ other: string;
216
+ };
217
+ selectFile: {
218
+ one: string;
219
+ other: string;
220
+ };
221
+ dropOrClick: {
222
+ one: string;
223
+ other: string;
224
+ };
225
+ maxWeight: {
226
+ one: string;
227
+ other: string;
228
+ };
229
+ fileUploadedListed: {
230
+ one: string;
231
+ other: string;
232
+ };
233
+ all: string;
234
+ file: string;
235
+ download: string;
236
+ downloadFile: string;
237
+ delete: string;
238
+ deleteFile: string;
239
+ password: string;
240
+ confirmPassword: string;
241
+ };
242
+ };
@@ -3,6 +3,7 @@ import { LuccaIcon } from '@lucca-front/icons';
3
3
  export type FilterPillLayout = 'checkable';
4
4
  export interface FilterPillInputComponent {
5
5
  isFilterPillEmpty: Signal<boolean>;
6
+ isFilterPillClearable: Signal<boolean>;
6
7
  filterPillLayout?: Signal<FilterPillLayout>;
7
8
  hideCombobox?: Signal<boolean>;
8
9
  showColon?: Signal<boolean>;
@@ -29,6 +29,7 @@ export declare class FilterPillComponent {
29
29
  displayedIcon: import("@angular/core").Signal<LuccaIcon>;
30
30
  shouldHideCombobox: import("@angular/core").Signal<boolean>;
31
31
  inputIsEmpty: import("@angular/core").Signal<boolean>;
32
+ inputIsClearable: import("@angular/core").Signal<boolean>;
32
33
  shouldShowColon: import("@angular/core").Signal<boolean>;
33
34
  colonDisplay: import("@angular/core").Signal<"" | " :" | ":">;
34
35
  modCheckbox: import("@angular/core").Signal<boolean>;
@@ -41,6 +41,10 @@ export declare class FormFieldComponent implements OnDestroy, DoCheck {
41
41
  */
42
42
  inlineMessageState: import("@angular/core").InputSignal<InlineMessageState>;
43
43
  size: import("@angular/core").InputSignal<FormFieldSize>;
44
+ /**
45
+ * Extra aria-describedby attribute
46
+ */
47
+ extraDescribedBy: import("@angular/core").InputSignal<string>;
44
48
  layout: import("@angular/core").ModelSignal<"default" | "checkable" | "fieldset">;
45
49
  hasArrow: boolean;
46
50
  /**
@@ -61,6 +65,6 @@ export declare class FormFieldComponent implements OnDestroy, DoCheck {
61
65
  ngOnDestroy(): void;
62
66
  ngDoCheck(): void;
63
67
  static ɵfac: i0.ɵɵFactoryDeclaration<FormFieldComponent, never>;
64
- static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldComponent, "lu-form-field", never, { "label": { "alias": "label"; "required": true; "isSignal": true; }; "hiddenLabel": { "alias": "hiddenLabel"; "required": false; "isSignal": true; }; "rolePresentationLabel": { "alias": "rolePresentationLabel"; "required": false; "isSignal": true; }; "inline": { "alias": "inline"; "required": false; "isSignal": true; }; "statusControl": { "alias": "statusControl"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "inlineMessage": { "alias": "inlineMessage"; "required": false; "isSignal": true; }; "errorInlineMessage": { "alias": "errorInlineMessage"; "required": false; "isSignal": true; }; "inlineMessageState": { "alias": "inlineMessageState"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "counter": { "alias": "counter"; "required": false; "isSignal": true; }; }, { "rolePresentationLabel": "rolePresentationLabelChange"; "layout": "layoutChange"; }, ["formFieldChildren", "requiredValidators", "ngControls"], ["*"], true, never>;
68
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormFieldComponent, "lu-form-field", never, { "label": { "alias": "label"; "required": true; "isSignal": true; }; "hiddenLabel": { "alias": "hiddenLabel"; "required": false; "isSignal": true; }; "rolePresentationLabel": { "alias": "rolePresentationLabel"; "required": false; "isSignal": true; }; "inline": { "alias": "inline"; "required": false; "isSignal": true; }; "statusControl": { "alias": "statusControl"; "required": false; "isSignal": true; }; "tooltip": { "alias": "tooltip"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "inlineMessage": { "alias": "inlineMessage"; "required": false; "isSignal": true; }; "errorInlineMessage": { "alias": "errorInlineMessage"; "required": false; "isSignal": true; }; "inlineMessageState": { "alias": "inlineMessageState"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "extraDescribedBy": { "alias": "extraDescribedBy"; "required": false; "isSignal": true; }; "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "counter": { "alias": "counter"; "required": false; "isSignal": true; }; }, { "rolePresentationLabel": "rolePresentationLabelChange"; "layout": "layoutChange"; }, ["formFieldChildren", "requiredValidators", "ngControls"], ["*"], true, never>;
65
69
  }
66
70
  export {};
@@ -6,6 +6,7 @@ formly-field {
6
6
  flex-direction: inherit;
7
7
  inline-size: 100%;
8
8
  }
9
+
9
10
  formly-form .checkboxesfield:not(fieldset),
10
11
  formly-form .radiosfield:not(fieldset) {
11
12
  margin-block-start: 0 !important;
@@ -9,6 +9,7 @@ export declare class CheckboxInputComponent implements FilterPillInputComponent
9
9
  filterPillInputId: string;
10
10
  filterPillLayout: Signal<FilterPillLayout>;
11
11
  isFilterPillEmpty: Signal<boolean>;
12
+ isFilterPillClearable: Signal<boolean>;
12
13
  hideCombobox: Signal<boolean>;
13
14
  showColon: Signal<boolean>;
14
15
  ngControl: import("@angular/forms").NgModel | import("@angular/forms").FormControlDirective | import("@angular/forms").FormControlName;
@@ -6,6 +6,7 @@ import * as i0 from "@angular/core";
6
6
  export declare class MultilanguageInputComponent implements ControlValueAccessor {
7
7
  #private;
8
8
  intl: import("./multilanguage-input.translate").LuMultilanguageInputTranslations;
9
+ formFieldSize: import("@angular/core").InputSignal<import("@lucca-front/ng/form-field").FormFieldSize>;
9
10
  protected onTouched: () => void;
10
11
  protected onChange: (_value: MultilanguageTranslation[]) => void;
11
12
  placeholder: import("@angular/core").InputSignal<string>;
@@ -7,8 +7,10 @@ export declare class InlineMessageComponent implements OnChanges {
7
7
  label: PortalContent;
8
8
  state: InlineMessageState;
9
9
  size: 'S' | 'M';
10
+ withTooltip: boolean;
10
11
  ngOnChanges(): void;
11
12
  isStringPortalContent(message: PortalContent): message is string;
12
13
  static ɵfac: i0.ɵɵFactoryDeclaration<InlineMessageComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<InlineMessageComponent, "lu-inline-message", never, { "label": { "alias": "label"; "required": true; }; "state": { "alias": "state"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, never, true, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<InlineMessageComponent, "lu-inline-message", never, { "label": { "alias": "label"; "required": true; }; "state": { "alias": "state"; "required": false; }; "size": { "alias": "size"; "required": false; }; "withTooltip": { "alias": "withTooltip"; "required": false; }; }, {}, never, never, true, never>;
15
+ static ngAcceptInputType_withTooltip: unknown;
14
16
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lucca-front/ng",
3
- "version": "19.3.0-rc.3",
3
+ "version": "19.3.0-rc.4",
4
4
  "description": "A library of icons made by the team @Lucca",
5
5
  "repository": {
6
6
  "type": "git",
@@ -26,8 +26,8 @@
26
26
  "@angular/common": "^19.0.0",
27
27
  "@angular/core": "^19.0.0",
28
28
  "@angular/cdk": "^19.0.0",
29
- "@lucca-front/icons": "19.3.0-rc.3",
30
- "@lucca-front/scss": "19.3.0-rc.3",
29
+ "@lucca-front/icons": "19.3.0-rc.4",
30
+ "@lucca-front/scss": "19.3.0-rc.4",
31
31
  "isomorphic-dompurify": "^2.17.0",
32
32
  "date-fns": "^3.6.0",
33
33
  "rxjs": "^7.8.0"
@@ -62,29 +62,29 @@
62
62
  "types": "./animations/index.d.ts",
63
63
  "default": "./fesm2022/lucca-front-ng-animations.mjs"
64
64
  },
65
+ "./api": {
66
+ "types": "./api/index.d.ts",
67
+ "default": "./fesm2022/lucca-front-ng-api.mjs"
68
+ },
65
69
  "./breadcrumbs": {
66
70
  "types": "./breadcrumbs/index.d.ts",
67
71
  "default": "./fesm2022/lucca-front-ng-breadcrumbs.mjs"
68
72
  },
69
- "./button": {
70
- "types": "./button/index.d.ts",
71
- "default": "./fesm2022/lucca-front-ng-button.mjs"
72
- },
73
73
  "./chip": {
74
74
  "types": "./chip/index.d.ts",
75
75
  "default": "./fesm2022/lucca-front-ng-chip.mjs"
76
76
  },
77
+ "./callout": {
78
+ "types": "./callout/index.d.ts",
79
+ "default": "./fesm2022/lucca-front-ng-callout.mjs"
80
+ },
77
81
  "./comment": {
78
82
  "types": "./comment/index.d.ts",
79
83
  "default": "./fesm2022/lucca-front-ng-comment.mjs"
80
84
  },
81
- "./api": {
82
- "types": "./api/index.d.ts",
83
- "default": "./fesm2022/lucca-front-ng-api.mjs"
84
- },
85
- "./callout": {
86
- "types": "./callout/index.d.ts",
87
- "default": "./fesm2022/lucca-front-ng-callout.mjs"
85
+ "./button": {
86
+ "types": "./button/index.d.ts",
87
+ "default": "./fesm2022/lucca-front-ng-button.mjs"
88
88
  },
89
89
  "./core": {
90
90
  "types": "./core/index.d.ts",
@@ -98,14 +98,14 @@
98
98
  "types": "./date/index.d.ts",
99
99
  "default": "./fesm2022/lucca-front-ng-date.mjs"
100
100
  },
101
- "./date2": {
102
- "types": "./date2/index.d.ts",
103
- "default": "./fesm2022/lucca-front-ng-date2.mjs"
104
- },
105
101
  "./department": {
106
102
  "types": "./department/index.d.ts",
107
103
  "default": "./fesm2022/lucca-front-ng-department.mjs"
108
104
  },
105
+ "./date2": {
106
+ "types": "./date2/index.d.ts",
107
+ "default": "./fesm2022/lucca-front-ng-date2.mjs"
108
+ },
109
109
  "./dialog": {
110
110
  "types": "./dialog/index.d.ts",
111
111
  "default": "./fesm2022/lucca-front-ng-dialog.mjs"
@@ -130,6 +130,10 @@
130
130
  "types": "./fancy-box/index.d.ts",
131
131
  "default": "./fesm2022/lucca-front-ng-fancy-box.mjs"
132
132
  },
133
+ "./file-upload": {
134
+ "types": "./file-upload/index.d.ts",
135
+ "default": "./fesm2022/lucca-front-ng-file-upload.mjs"
136
+ },
133
137
  "./filter-pills": {
134
138
  "types": "./filter-pills/index.d.ts",
135
139
  "default": "./fesm2022/lucca-front-ng-filter-pills.mjs"
@@ -146,14 +150,14 @@
146
150
  "types": "./formly/index.d.ts",
147
151
  "default": "./fesm2022/lucca-front-ng-formly.mjs"
148
152
  },
149
- "./highlight-data": {
150
- "types": "./highlight-data/index.d.ts",
151
- "default": "./fesm2022/lucca-front-ng-highlight-data.mjs"
152
- },
153
153
  "./forms": {
154
154
  "types": "./forms/index.d.ts",
155
155
  "default": "./fesm2022/lucca-front-ng-forms.mjs"
156
156
  },
157
+ "./highlight-data": {
158
+ "types": "./highlight-data/index.d.ts",
159
+ "default": "./fesm2022/lucca-front-ng-highlight-data.mjs"
160
+ },
157
161
  "./horizontal-navigation": {
158
162
  "types": "./horizontal-navigation/index.d.ts",
159
163
  "default": "./fesm2022/lucca-front-ng-horizontal-navigation.mjs"
@@ -162,14 +166,14 @@
162
166
  "types": "./icon/index.d.ts",
163
167
  "default": "./fesm2022/lucca-front-ng-icon.mjs"
164
168
  },
165
- "./input": {
166
- "types": "./input/index.d.ts",
167
- "default": "./fesm2022/lucca-front-ng-input.mjs"
168
- },
169
169
  "./inline-message": {
170
170
  "types": "./inline-message/index.d.ts",
171
171
  "default": "./fesm2022/lucca-front-ng-inline-message.mjs"
172
172
  },
173
+ "./input": {
174
+ "types": "./input/index.d.ts",
175
+ "default": "./fesm2022/lucca-front-ng-input.mjs"
176
+ },
173
177
  "./link": {
174
178
  "types": "./link/index.d.ts",
175
179
  "default": "./fesm2022/lucca-front-ng-link.mjs"
@@ -282,14 +286,14 @@
282
286
  "types": "./title/index.d.ts",
283
287
  "default": "./fesm2022/lucca-front-ng-title.mjs"
284
288
  },
285
- "./tooltip": {
286
- "types": "./tooltip/index.d.ts",
287
- "default": "./fesm2022/lucca-front-ng-tooltip.mjs"
288
- },
289
289
  "./toast": {
290
290
  "types": "./toast/index.d.ts",
291
291
  "default": "./fesm2022/lucca-front-ng-toast.mjs"
292
292
  },
293
+ "./tooltip": {
294
+ "types": "./tooltip/index.d.ts",
295
+ "default": "./fesm2022/lucca-front-ng-tooltip.mjs"
296
+ },
293
297
  "./user": {
294
298
  "types": "./user/index.d.ts",
295
299
  "default": "./fesm2022/lucca-front-ng-user.mjs"
@@ -154,7 +154,7 @@ function removeAngularImport(sourceFile, fileToEdit, symbolName) {
154
154
  return new change_1.NoopChange();
155
155
  }
156
156
  let removePos = 0;
157
- let toRemove = symbolName;
157
+ let toRemove = 0;
158
158
  (0, typescript_1.forEachChild)(sourceFile, (0, angular_template_1.createVisitor)(typescript_1.isDecorator, (decorator) => {
159
159
  if (!(0, typescript_1.isCallExpression)(decorator.expression)) {
160
160
  return;
@@ -178,20 +178,26 @@ function removeAngularImport(sourceFile, fileToEdit, symbolName) {
178
178
  if (imports) {
179
179
  imports.forEach((exp, index) => {
180
180
  if (exp && (0, typescript_1.isIdentifier)(exp) && exp.text === symbolName) {
181
- removePos = exp.getFullStart();
181
+ toRemove = exp.getFullWidth();
182
182
  if (index === 0) {
183
183
  removePos = importExpression.elements[0].getStart(sourceFile) || 0;
184
- toRemove += ',';
185
184
  }
186
- else if (index < imports.length - 1) {
187
- toRemove += ' , ';
185
+ else {
186
+ removePos = exp.getFullStart();
187
+ }
188
+ while (['\n', '\t'].includes(sourceFile.text.charAt(removePos - 1))) {
189
+ removePos--;
190
+ toRemove++;
191
+ }
192
+ while ([' ', '\n', '\t', ','].includes(sourceFile.text.charAt(removePos + toRemove))) {
193
+ toRemove++;
188
194
  }
189
195
  }
190
196
  });
191
197
  }
192
198
  }));
193
199
  if (removePos > 0) {
194
- return new change_1.RemoveChange(fileToEdit, removePos, toRemove);
200
+ return new change_1.RemoveChange(fileToEdit, removePos, ' '.repeat(toRemove));
195
201
  }
196
202
  return new change_1.NoopChange();
197
203
  }
@@ -208,7 +214,12 @@ function removeTSImport(sourceFile, fileToEdit, symbolName) {
208
214
  else {
209
215
  const specifier = namedImports.elements.find((sp) => sp.name.text === symbolName);
210
216
  if (specifier) {
211
- return new change_1.RemoveChange(fileToEdit, specifier.getFullStart(), symbolName + ', ');
217
+ let size = specifier?.getWidth(sourceFile);
218
+ const start = specifier.getStart(sourceFile);
219
+ while ([' ', '\n', '\t', ','].includes(sourceFile.text.charAt(start + size))) {
220
+ size++;
221
+ }
222
+ return new change_1.RemoveChange(fileToEdit, start, ' '.repeat(size));
212
223
  }
213
224
  }
214
225
  return new change_1.NoopChange();
@@ -16,9 +16,9 @@ const importSource = {
16
16
  LuDisplayerDirective: '@lucca-front/ng/core-select',
17
17
  LuOptionDirective: '@lucca-front/ng/core-select',
18
18
  LuInputClearerComponent: '@lucca-front/ng/input',
19
- LuCoreSelectEstablishmentsDirective: '@lucca-front/ng/core-select',
20
- LuCoreSelectJobQualificationsDirective: '@lucca-front/ng/core-select',
21
- LuCoreSelectUsersDirective: '@lucca-front/ng/core-select',
19
+ LuCoreSelectEstablishmentsDirective: '@lucca-front/ng/core-select/establishment',
20
+ LuCoreSelectJobQualificationsDirective: '@lucca-front/ng/core-select/job-qualification',
21
+ LuCoreSelectUsersDirective: '@lucca-front/ng/core-select/user',
22
22
  LuCoreSelectApiV3Directive: '@lucca-front/ng/core-select/api',
23
23
  LuCoreSelectApiV4Directive: '@lucca-front/ng/core-select/api'
24
24
  };
@@ -22,7 +22,7 @@ var RejectionReason;
22
22
  })(RejectionReason || (exports.RejectionReason = RejectionReason = {}));
23
23
  const allowedAttributes = [/class/, /ngModel/, /ngModelChange/, /ngClass/, /disabled/,
24
24
  /title/, /formControl/, /formControlName/, /required/, /data-.+/, /attr\..+/, /class\..+/,
25
- /placeholder/, /title/, /filters/, /multiple/, /api/, /orderBy/, /fields/];
25
+ /placeholder/, /title/, /filters/, /multiple/, /api/, /orderBy/, /fields/, /id/, /luTooltip/];
26
26
  function isRejection(value) {
27
27
  return value?.reason !== undefined && RejectionReason[value.reason] != undefined;
28
28
  }
File without changes
@@ -29,6 +29,15 @@
29
29
  @include field.fieldFramedError('textfield');
30
30
  }
31
31
  }
32
+
33
+ .checkbox,
34
+ .radio {
35
+ &.is-error,
36
+ &.is-invalid,
37
+ &.ng-invalid.ng-touched {
38
+ @include field.fieldFramedError('radiosfield');
39
+ }
40
+ }
32
41
  }
33
42
 
34
43
  .radiosfield,
@@ -44,14 +53,3 @@
44
53
  }
45
54
  }
46
55
  }
47
-
48
- .form.mod-framed {
49
- .checkbox,
50
- .radio {
51
- &.is-error,
52
- &.is-invalid,
53
- &.ng-invalid.ng-touched {
54
- @include field.fieldFramedError('radiosfield');
55
- }
56
- }
57
- }
@@ -16,7 +16,7 @@
16
16
  margin-inline-end: calc(var(--pr-t-spacings-50) * -1);
17
17
 
18
18
  &.is-loading {
19
- //block-size: 17.5rem;
19
+ // block-size: 17.5rem;
20
20
  }
21
21
  }
22
22