novo-elements 11.1.0 → 11.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/fesm2022/novo-elements-elements-button.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-chips.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-common.mjs +0 -11
- package/fesm2022/novo-elements-elements-common.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-date-picker.mjs +1 -0
- package/fesm2022/novo-elements-elements-date-picker.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-drag-drop.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-field.mjs +0 -2
- package/fesm2022/novo-elements-elements-field.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-form.mjs +9 -9
- package/fesm2022/novo-elements-elements-form.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-layout.mjs +0 -2
- package/fesm2022/novo-elements-elements-layout.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-picker.mjs +1 -1
- package/fesm2022/novo-elements-elements-picker.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-query-builder.mjs +0 -1
- package/fesm2022/novo-elements-elements-query-builder.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-search.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-select-search.mjs +1 -2
- package/fesm2022/novo-elements-elements-select-search.mjs.map +1 -1
- package/fesm2022/novo-elements-elements-tabbed-group-picker.mjs +8 -3
- package/fesm2022/novo-elements-elements-tabbed-group-picker.mjs.map +1 -1
- package/fesm2022/novo-elements-utils.mjs +120 -8
- package/fesm2022/novo-elements-utils.mjs.map +1 -1
- package/package.json +1 -1
- package/utils/Helpers.d.ts +114 -0
|
@@ -53,7 +53,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
53
53
|
}]
|
|
54
54
|
}] });
|
|
55
55
|
|
|
56
|
-
// tslint:disable: directive-selector
|
|
57
56
|
class AccentColorDirective {
|
|
58
57
|
get hb_textColor() {
|
|
59
58
|
// Support legacy classic theme... for now
|
|
@@ -88,7 +87,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
88
87
|
args: ['class']
|
|
89
88
|
}] } });
|
|
90
89
|
|
|
91
|
-
// tslint:disable: directive-selector
|
|
92
90
|
class BackgroundColorDirective {
|
|
93
91
|
get hb_bgColor() {
|
|
94
92
|
return isValidColor$1(this.bg) ? 'novo-background-custom' : `novo-background-${this.bg}`;
|
|
@@ -121,7 +119,6 @@ function isValidColor$1(color) {
|
|
|
121
119
|
return color.startsWith('#') || color.startsWith('rgb');
|
|
122
120
|
}
|
|
123
121
|
|
|
124
|
-
// tslint:disable: directive-selector
|
|
125
122
|
class BorderDirective {
|
|
126
123
|
get hb_border() {
|
|
127
124
|
return `border-${this.border}`;
|
|
@@ -202,7 +199,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
202
199
|
args: ['style.border-bottom']
|
|
203
200
|
}] } });
|
|
204
201
|
|
|
205
|
-
// tslint:disable: directive-selector
|
|
206
202
|
class TextColorDirective {
|
|
207
203
|
get hb_textColor() {
|
|
208
204
|
return isValidColor(this.txc) ? 'novo-text-custom' : `novo-text-${this.txc}`;
|
|
@@ -235,7 +231,6 @@ function isValidColor(color) {
|
|
|
235
231
|
return color.startsWith('#') || color.startsWith('rgb');
|
|
236
232
|
}
|
|
237
233
|
|
|
238
|
-
// tslint:disable: directive-selector
|
|
239
234
|
class FillColorDirective {
|
|
240
235
|
get hb_textColor() {
|
|
241
236
|
return `novo-fill-${this.fill}`;
|
|
@@ -281,7 +276,6 @@ class FlexDirective {
|
|
|
281
276
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: FlexDirective, decorators: [{
|
|
282
277
|
type: Directive,
|
|
283
278
|
args: [{
|
|
284
|
-
// tslint:disable-next-line: directive-selector
|
|
285
279
|
selector: '[flex]',
|
|
286
280
|
standalone: false
|
|
287
281
|
}]
|
|
@@ -292,7 +286,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
292
286
|
type: Input
|
|
293
287
|
}] } });
|
|
294
288
|
|
|
295
|
-
// tslint:disable: directive-selector
|
|
296
289
|
/*
|
|
297
290
|
Prop CSS Property Theme Field
|
|
298
291
|
m, margin margin space
|
|
@@ -358,7 +351,6 @@ class MarginDirective {
|
|
|
358
351
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: MarginDirective, decorators: [{
|
|
359
352
|
type: Directive,
|
|
360
353
|
args: [{
|
|
361
|
-
// tslint:disable-next-line: max-line-length
|
|
362
354
|
selector: '[m],[margin],[marginTop],[marginRight],[marginBottom],[marginLeft],[marginX],[marginY],[mt],[mr],[mb],[ml],[mx],[my]',
|
|
363
355
|
standalone: false
|
|
364
356
|
}]
|
|
@@ -428,7 +420,6 @@ class PaddingDirective {
|
|
|
428
420
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: PaddingDirective, decorators: [{
|
|
429
421
|
type: Directive,
|
|
430
422
|
args: [{
|
|
431
|
-
// tslint:disable-next-line: max-line-length
|
|
432
423
|
selector: '[p],[padding],[paddingTop],[paddingRight],[paddingBottom],[paddingLeft],[paddingX],[paddingY],[pt],[pr],[pb],[pl],[px],[py]',
|
|
433
424
|
standalone: false
|
|
434
425
|
}]
|
|
@@ -536,7 +527,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImpo
|
|
|
536
527
|
type: Input
|
|
537
528
|
}] } });
|
|
538
529
|
|
|
539
|
-
// tslint:disable: directive-selector
|
|
540
530
|
class ThemeColorDirective {
|
|
541
531
|
get hb_textColor() {
|
|
542
532
|
return `novo-theme-${this.theme}`;
|
|
@@ -857,7 +847,6 @@ class NovoOptionBase {
|
|
|
857
847
|
/** The unique ID of the option. */
|
|
858
848
|
this.id = `novo-option-${_uniqueIdCounter++}`;
|
|
859
849
|
/** Event emitted when the option is selected or deselected. */
|
|
860
|
-
// tslint:disable-next-line:no-output-on-prefix
|
|
861
850
|
this.onSelectionChange = new EventEmitter();
|
|
862
851
|
/** Emits when the state of the option changes and any parents have to be notified. */
|
|
863
852
|
this._stateChanges = new Subject();
|