@spw-ds/spw-angular-library 1.5.10-alpha.0 → 1.6.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/spw-ds-spw-angular-library.mjs +146 -52
- package/fesm2022/spw-ds-spw-angular-library.mjs.map +1 -1
- package/lib/spw-design-system-directives.module.d.ts +7 -1
- package/lib/stencil-generated/components.d.ts +3 -3
- package/lib/stencil-generated/text-value-accessor.d.ts +1 -1
- package/lib/value-accessors/search-field-value-accessor.d.ts +18 -0
- package/package.json +2 -2
- package/public-api.d.ts +1 -0
|
@@ -70,11 +70,11 @@ let SpwAccordion = class SpwAccordion {
|
|
|
70
70
|
this.el = r.nativeElement;
|
|
71
71
|
}
|
|
72
72
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SpwAccordion, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
73
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: SpwAccordion, isStandalone: true, selector: "spw-accordion", inputs: { background: "background" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
73
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: SpwAccordion, isStandalone: true, selector: "spw-accordion", inputs: { background: "background", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
74
74
|
};
|
|
75
75
|
SpwAccordion = __decorate([
|
|
76
76
|
ProxyCmp({
|
|
77
|
-
inputs: ['background']
|
|
77
|
+
inputs: ['background', 'variant']
|
|
78
78
|
})
|
|
79
79
|
], SpwAccordion);
|
|
80
80
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SpwAccordion, decorators: [{
|
|
@@ -84,7 +84,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
84
84
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
85
85
|
template: '<ng-content></ng-content>',
|
|
86
86
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
87
|
-
inputs: ['background'],
|
|
87
|
+
inputs: ['background', 'variant'],
|
|
88
88
|
}]
|
|
89
89
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
90
90
|
let SpwAccordionContent = class SpwAccordionContent {
|
|
@@ -117,11 +117,11 @@ let SpwAccordionItem = class SpwAccordionItem {
|
|
|
117
117
|
proxyOutputs(this, this.el, ['accordionToggle']);
|
|
118
118
|
}
|
|
119
119
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SpwAccordionItem, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
120
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: SpwAccordionItem, isStandalone: true, selector: "spw-accordion-item", inputs: { defaultOpen: "defaultOpen" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
120
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: SpwAccordionItem, isStandalone: true, selector: "spw-accordion-item", inputs: { defaultOpen: "defaultOpen", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
121
121
|
};
|
|
122
122
|
SpwAccordionItem = __decorate([
|
|
123
123
|
ProxyCmp({
|
|
124
|
-
inputs: ['defaultOpen']
|
|
124
|
+
inputs: ['defaultOpen', 'variant']
|
|
125
125
|
})
|
|
126
126
|
], SpwAccordionItem);
|
|
127
127
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SpwAccordionItem, decorators: [{
|
|
@@ -131,7 +131,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
131
131
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
132
132
|
template: '<ng-content></ng-content>',
|
|
133
133
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
134
|
-
inputs: ['defaultOpen'],
|
|
134
|
+
inputs: ['defaultOpen', 'variant'],
|
|
135
135
|
}]
|
|
136
136
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
137
137
|
let SpwAccordionTitle = class SpwAccordionTitle {
|
|
@@ -457,11 +457,11 @@ let SpwCustomSelect = class SpwCustomSelect {
|
|
|
457
457
|
proxyOutputs(this, this.el, ['valueChanged']);
|
|
458
458
|
}
|
|
459
459
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SpwCustomSelect, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
460
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: SpwCustomSelect, isStandalone: true, selector: "spw-custom-select", inputs: { assistiveText: "assistiveText", disabled: "disabled", error: "error", hint: "hint", isSearch: "isSearch", items: "items", label: "label", multiple: "multiple", name: "name", noResultsText: "noResultsText", placeholder: "placeholder", required: "required", searchPlaceholder: "searchPlaceholder", showErrorIcon: "showErrorIcon", showHintIcon: "showHintIcon", showSuccessIcon: "showSuccessIcon", showWarningIcon: "showWarningIcon", size: "size", success: "success", tooltipCursor: "tooltipCursor", tooltipDirection: "tooltipDirection", tooltipMaxWidth: "tooltipMaxWidth", tooltipText: "tooltipText", tooltipTitle: "tooltipTitle", value: "value", warning: "warning" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
460
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.2.18", type: SpwCustomSelect, isStandalone: true, selector: "spw-custom-select", inputs: { assistiveText: "assistiveText", disabled: "disabled", error: "error", fixedDropdown: "fixedDropdown", hint: "hint", isSearch: "isSearch", items: "items", label: "label", multiple: "multiple", name: "name", noResultsText: "noResultsText", placeholder: "placeholder", required: "required", searchPlaceholder: "searchPlaceholder", showErrorIcon: "showErrorIcon", showHintIcon: "showHintIcon", showSuccessIcon: "showSuccessIcon", showWarningIcon: "showWarningIcon", size: "size", success: "success", tooltipCursor: "tooltipCursor", tooltipDirection: "tooltipDirection", tooltipMaxWidth: "tooltipMaxWidth", tooltipText: "tooltipText", tooltipTitle: "tooltipTitle", value: "value", warning: "warning" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
461
461
|
};
|
|
462
462
|
SpwCustomSelect = __decorate([
|
|
463
463
|
ProxyCmp({
|
|
464
|
-
inputs: ['assistiveText', 'disabled', 'error', 'hint', 'isSearch', 'items', 'label', 'multiple', 'name', 'noResultsText', 'placeholder', 'required', 'searchPlaceholder', 'showErrorIcon', 'showHintIcon', 'showSuccessIcon', 'showWarningIcon', 'size', 'success', 'tooltipCursor', 'tooltipDirection', 'tooltipMaxWidth', 'tooltipText', 'tooltipTitle', 'value', 'warning'],
|
|
464
|
+
inputs: ['assistiveText', 'disabled', 'error', 'fixedDropdown', 'hint', 'isSearch', 'items', 'label', 'multiple', 'name', 'noResultsText', 'placeholder', 'required', 'searchPlaceholder', 'showErrorIcon', 'showHintIcon', 'showSuccessIcon', 'showWarningIcon', 'size', 'success', 'tooltipCursor', 'tooltipDirection', 'tooltipMaxWidth', 'tooltipText', 'tooltipTitle', 'value', 'warning'],
|
|
465
465
|
methods: ['setFocus', 'resetSelect', 'setValue', 'getValue']
|
|
466
466
|
})
|
|
467
467
|
], SpwCustomSelect);
|
|
@@ -472,7 +472,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
472
472
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
473
473
|
template: '<ng-content></ng-content>',
|
|
474
474
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
475
|
-
inputs: ['assistiveText', 'disabled', 'error', 'hint', 'isSearch', 'items', 'label', 'multiple', 'name', 'noResultsText', 'placeholder', 'required', 'searchPlaceholder', 'showErrorIcon', 'showHintIcon', 'showSuccessIcon', 'showWarningIcon', 'size', 'success', 'tooltipCursor', 'tooltipDirection', 'tooltipMaxWidth', 'tooltipText', 'tooltipTitle', 'value', 'warning'],
|
|
475
|
+
inputs: ['assistiveText', 'disabled', 'error', 'fixedDropdown', 'hint', 'isSearch', 'items', 'label', 'multiple', 'name', 'noResultsText', 'placeholder', 'required', 'searchPlaceholder', 'showErrorIcon', 'showHintIcon', 'showSuccessIcon', 'showWarningIcon', 'size', 'success', 'tooltipCursor', 'tooltipDirection', 'tooltipMaxWidth', 'tooltipText', 'tooltipTitle', 'value', 'warning'],
|
|
476
476
|
}]
|
|
477
477
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
478
478
|
let SpwDatePicker = class SpwDatePicker {
|
|
@@ -2508,7 +2508,7 @@ class TextValueAccessor extends ValueAccessor {
|
|
|
2508
2508
|
super(el);
|
|
2509
2509
|
}
|
|
2510
2510
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: TextValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2511
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.18", type: TextValueAccessor, isStandalone: true, selector: "spw-text-field:not([type=number]), spw-textarea, spw-select, spw-
|
|
2511
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.18", type: TextValueAccessor, isStandalone: true, selector: "spw-text-field:not([type=number]), spw-textarea, spw-select, spw-custom-select", host: { listeners: { "valueChanged": "handleChangeEvent($event.target.value)" } }, providers: [
|
|
2512
2512
|
{
|
|
2513
2513
|
provide: NG_VALUE_ACCESSOR,
|
|
2514
2514
|
useExisting: TextValueAccessor,
|
|
@@ -2520,7 +2520,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
2520
2520
|
type: Directive,
|
|
2521
2521
|
args: [{
|
|
2522
2522
|
/* tslint:disable-next-line:directive-selector */
|
|
2523
|
-
selector: 'spw-text-field:not([type=number]), spw-textarea, spw-select, spw-
|
|
2523
|
+
selector: 'spw-text-field:not([type=number]), spw-textarea, spw-select, spw-custom-select',
|
|
2524
2524
|
host: {
|
|
2525
2525
|
'(valueChanged)': 'handleChangeEvent($event.target.value)'
|
|
2526
2526
|
},
|
|
@@ -2570,46 +2570,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
2570
2570
|
}]
|
|
2571
2571
|
}], ctorParameters: () => [{ type: i0.ElementRef }] });
|
|
2572
2572
|
|
|
2573
|
-
|
|
2574
|
-
class SpwDesignSystemDirectivesModule {
|
|
2575
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SpwDesignSystemDirectivesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2576
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.18", ngImport: i0, type: SpwDesignSystemDirectivesModule, imports: [SpwAccordion, SpwAccordionContent, SpwAccordionItem, SpwAccordionTitle, SpwBreadcrumb, SpwBreadcrumbItem, SpwButton, SpwCard, SpwCardContent, SpwCardExcerpt, SpwCardImage, SpwCardSubtagItem, SpwCardSubtags, SpwCardTitle, SpwCheckbox, SpwCookies, SpwCustomSelect, SpwDatePicker, SpwDropdown, SpwDropdownContainer, SpwDropdownItem, SpwFieldLabel, SpwFieldMessage, SpwFileUpload, SpwFooter, SpwFooterBottom, SpwFooterContent, SpwFooterContentCol, SpwFooterLink, SpwGrid, SpwGridItem, SpwGroup, SpwHeader, SpwHeaderLang, SpwHeaderNavigation, SpwHeaderNavigationDropdown, SpwHeaderNavigationItem, SpwHeaderPersona, SpwHeaderPersonaItem, SpwHero, SpwIcon, SpwIllustration, SpwInputSlider, SpwLink, SpwList, SpwListDescription, SpwListItem, SpwListTitle, SpwLoading, SpwMessage, SpwModal, SpwMosaic, SpwMosaicItem, SpwPagination, SpwRadio, SpwSearchField, SpwSelect, SpwSeparator, SpwSidebar, SpwSidebarNavigationDropdown, SpwSidebarNavigationItem, SpwSidebarNavigationSeparator, SpwSkeleton, SpwSlider, SpwSliderItem, SpwSocials, SpwTable, SpwTableBody, SpwTableCell, SpwTableContainer, SpwTableFooter, SpwTableHead, SpwTableHeader, SpwTableRow, SpwTableSidebar, SpwTabs, SpwTabsContent, SpwTabsNavigation, SpwTabsNavigationItem, SpwTag, SpwTextField, SpwTextarea, SpwThemeProvider, SpwTile, SpwTileDescription, SpwTileTitle, SpwTimeline, SpwTimelineItem, SpwToc, SpwTocContainer, SpwTocNavigation, SpwTooltip, SpwTopbar, SpwWizard, SpwWizardItem, TextValueAccessor, NumericValueAccessor], exports: [SpwAccordion, SpwAccordionContent, SpwAccordionItem, SpwAccordionTitle, SpwBreadcrumb, SpwBreadcrumbItem, SpwButton, SpwCard, SpwCardContent, SpwCardExcerpt, SpwCardImage, SpwCardSubtagItem, SpwCardSubtags, SpwCardTitle, SpwCheckbox, SpwCookies, SpwCustomSelect, SpwDatePicker, SpwDropdown, SpwDropdownContainer, SpwDropdownItem, SpwFieldLabel, SpwFieldMessage, SpwFileUpload, SpwFooter, SpwFooterBottom, SpwFooterContent, SpwFooterContentCol, SpwFooterLink, SpwGrid, SpwGridItem, SpwGroup, SpwHeader, SpwHeaderLang, SpwHeaderNavigation, SpwHeaderNavigationDropdown, SpwHeaderNavigationItem, SpwHeaderPersona, SpwHeaderPersonaItem, SpwHero, SpwIcon, SpwIllustration, SpwInputSlider, SpwLink, SpwList, SpwListDescription, SpwListItem, SpwListTitle, SpwLoading, SpwMessage, SpwModal, SpwMosaic, SpwMosaicItem, SpwPagination, SpwRadio, SpwSearchField, SpwSelect, SpwSeparator, SpwSidebar, SpwSidebarNavigationDropdown, SpwSidebarNavigationItem, SpwSidebarNavigationSeparator, SpwSkeleton, SpwSlider, SpwSliderItem, SpwSocials, SpwTable, SpwTableBody, SpwTableCell, SpwTableContainer, SpwTableFooter, SpwTableHead, SpwTableHeader, SpwTableRow, SpwTableSidebar, SpwTabs, SpwTabsContent, SpwTabsNavigation, SpwTabsNavigationItem, SpwTag, SpwTextField, SpwTextarea, SpwThemeProvider, SpwTile, SpwTileDescription, SpwTileTitle, SpwTimeline, SpwTimelineItem, SpwToc, SpwTocContainer, SpwTocNavigation, SpwTooltip, SpwTopbar, SpwWizard, SpwWizardItem, TextValueAccessor, NumericValueAccessor] }); }
|
|
2577
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SpwDesignSystemDirectivesModule }); }
|
|
2578
|
-
}
|
|
2579
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SpwDesignSystemDirectivesModule, decorators: [{
|
|
2580
|
-
type: NgModule,
|
|
2581
|
-
args: [{
|
|
2582
|
-
imports: [...DIRECTIVES, ...VALUE_ACCESSORS],
|
|
2583
|
-
exports: [...DIRECTIVES, ...VALUE_ACCESSORS],
|
|
2584
|
-
}]
|
|
2585
|
-
}] });
|
|
2586
|
-
|
|
2587
|
-
class SpwDesignSystemModule {
|
|
2588
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SpwDesignSystemModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2589
|
-
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.18", ngImport: i0, type: SpwDesignSystemModule, imports: [SpwDesignSystemDirectivesModule], exports: [SpwDesignSystemDirectivesModule] }); }
|
|
2590
|
-
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SpwDesignSystemModule, providers: [
|
|
2591
|
-
{
|
|
2592
|
-
provide: APP_INITIALIZER,
|
|
2593
|
-
useFactory: () => defineCustomElements,
|
|
2594
|
-
multi: true,
|
|
2595
|
-
},
|
|
2596
|
-
], imports: [SpwDesignSystemDirectivesModule, SpwDesignSystemDirectivesModule] }); }
|
|
2597
|
-
}
|
|
2598
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SpwDesignSystemModule, decorators: [{
|
|
2599
|
-
type: NgModule,
|
|
2600
|
-
args: [{
|
|
2601
|
-
imports: [SpwDesignSystemDirectivesModule],
|
|
2602
|
-
exports: [SpwDesignSystemDirectivesModule],
|
|
2603
|
-
providers: [
|
|
2604
|
-
{
|
|
2605
|
-
provide: APP_INITIALIZER,
|
|
2606
|
-
useFactory: () => defineCustomElements,
|
|
2607
|
-
multi: true,
|
|
2608
|
-
},
|
|
2609
|
-
],
|
|
2610
|
-
}]
|
|
2611
|
-
}] });
|
|
2612
|
-
|
|
2573
|
+
// eslint-disable-next-line @angular-eslint/directive-class-suffix
|
|
2613
2574
|
class TabsValueAccessor {
|
|
2614
2575
|
constructor(el) {
|
|
2615
2576
|
this.el = el;
|
|
@@ -2651,6 +2612,7 @@ class TabsValueAccessor {
|
|
|
2651
2612
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: TabsValueAccessor, decorators: [{
|
|
2652
2613
|
type: Directive,
|
|
2653
2614
|
args: [{
|
|
2615
|
+
/* tslint:disable-next-line:directive-selector */
|
|
2654
2616
|
selector: 'spw-tabs',
|
|
2655
2617
|
providers: [
|
|
2656
2618
|
{
|
|
@@ -2669,6 +2631,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
2669
2631
|
args: ['focusout']
|
|
2670
2632
|
}] } });
|
|
2671
2633
|
|
|
2634
|
+
// eslint-disable-next-line @angular-eslint/directive-class-suffix
|
|
2672
2635
|
class CheckboxValueAccessor {
|
|
2673
2636
|
constructor(el) {
|
|
2674
2637
|
this.el = el;
|
|
@@ -2710,6 +2673,7 @@ class CheckboxValueAccessor {
|
|
|
2710
2673
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: CheckboxValueAccessor, decorators: [{
|
|
2711
2674
|
type: Directive,
|
|
2712
2675
|
args: [{
|
|
2676
|
+
/* tslint:disable-next-line:directive-selector */
|
|
2713
2677
|
selector: 'spw-checkbox',
|
|
2714
2678
|
providers: [
|
|
2715
2679
|
{
|
|
@@ -2728,6 +2692,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
2728
2692
|
args: ['focusout']
|
|
2729
2693
|
}] } });
|
|
2730
2694
|
|
|
2695
|
+
// eslint-disable-next-line @angular-eslint/directive-class-suffix
|
|
2731
2696
|
class RadioValueAccessor {
|
|
2732
2697
|
constructor(el) {
|
|
2733
2698
|
this.el = el;
|
|
@@ -2769,6 +2734,7 @@ class RadioValueAccessor {
|
|
|
2769
2734
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: RadioValueAccessor, decorators: [{
|
|
2770
2735
|
type: Directive,
|
|
2771
2736
|
args: [{
|
|
2737
|
+
/* tslint:disable-next-line:directive-selector */
|
|
2772
2738
|
selector: 'spw-radio',
|
|
2773
2739
|
providers: [
|
|
2774
2740
|
{
|
|
@@ -2787,6 +2753,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
2787
2753
|
args: ['focusout']
|
|
2788
2754
|
}] } });
|
|
2789
2755
|
|
|
2756
|
+
// eslint-disable-next-line @angular-eslint/directive-class-suffix
|
|
2790
2757
|
class DatePickerValueAccessor {
|
|
2791
2758
|
constructor(el) {
|
|
2792
2759
|
this.el = el;
|
|
@@ -2828,6 +2795,7 @@ class DatePickerValueAccessor {
|
|
|
2828
2795
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: DatePickerValueAccessor, decorators: [{
|
|
2829
2796
|
type: Directive,
|
|
2830
2797
|
args: [{
|
|
2798
|
+
/* tslint:disable-next-line:directive-selector */
|
|
2831
2799
|
selector: 'spw-date-picker',
|
|
2832
2800
|
providers: [
|
|
2833
2801
|
{
|
|
@@ -2846,6 +2814,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
2846
2814
|
args: ['focusout']
|
|
2847
2815
|
}] } });
|
|
2848
2816
|
|
|
2817
|
+
// eslint-disable-next-line @angular-eslint/directive-class-suffix
|
|
2849
2818
|
class InputSliderValueAccessor {
|
|
2850
2819
|
constructor(el) {
|
|
2851
2820
|
this.el = el;
|
|
@@ -2887,6 +2856,7 @@ class InputSliderValueAccessor {
|
|
|
2887
2856
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: InputSliderValueAccessor, decorators: [{
|
|
2888
2857
|
type: Directive,
|
|
2889
2858
|
args: [{
|
|
2859
|
+
/* tslint:disable-next-line:directive-selector */
|
|
2890
2860
|
selector: 'spw-input-slider',
|
|
2891
2861
|
providers: [
|
|
2892
2862
|
{
|
|
@@ -2905,9 +2875,133 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
|
|
|
2905
2875
|
args: ['focusout']
|
|
2906
2876
|
}] } });
|
|
2907
2877
|
|
|
2878
|
+
// eslint-disable-next-line @angular-eslint/directive-class-suffix
|
|
2879
|
+
class SearchFieldValueAccessor {
|
|
2880
|
+
constructor(el) {
|
|
2881
|
+
this.el = el;
|
|
2882
|
+
this.onChange = () => { };
|
|
2883
|
+
this.onTouched = () => { };
|
|
2884
|
+
this.lastValue = '';
|
|
2885
|
+
}
|
|
2886
|
+
writeValue(value) {
|
|
2887
|
+
this.el.nativeElement.value = this.lastValue = value == null ? '' : value;
|
|
2888
|
+
}
|
|
2889
|
+
handleValueChanged(event) {
|
|
2890
|
+
const value = event.detail;
|
|
2891
|
+
if (value !== this.lastValue) {
|
|
2892
|
+
this.lastValue = value;
|
|
2893
|
+
this.onChange(value);
|
|
2894
|
+
}
|
|
2895
|
+
}
|
|
2896
|
+
handleBlurEvent() {
|
|
2897
|
+
this.onTouched();
|
|
2898
|
+
}
|
|
2899
|
+
registerOnChange(fn) {
|
|
2900
|
+
this.onChange = fn;
|
|
2901
|
+
}
|
|
2902
|
+
registerOnTouched(fn) {
|
|
2903
|
+
this.onTouched = fn;
|
|
2904
|
+
}
|
|
2905
|
+
setDisabledState(isDisabled) {
|
|
2906
|
+
this.el.nativeElement.disabled = isDisabled;
|
|
2907
|
+
}
|
|
2908
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SearchFieldValueAccessor, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
2909
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.18", type: SearchFieldValueAccessor, isStandalone: true, selector: "spw-search-field", host: { listeners: { "valueChanged": "handleValueChanged($event)", "focusout": "handleBlurEvent()" } }, providers: [
|
|
2910
|
+
{
|
|
2911
|
+
provide: NG_VALUE_ACCESSOR,
|
|
2912
|
+
useExisting: SearchFieldValueAccessor,
|
|
2913
|
+
multi: true,
|
|
2914
|
+
},
|
|
2915
|
+
], ngImport: i0 }); }
|
|
2916
|
+
}
|
|
2917
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SearchFieldValueAccessor, decorators: [{
|
|
2918
|
+
type: Directive,
|
|
2919
|
+
args: [{
|
|
2920
|
+
/* tslint:disable-next-line:directive-selector */
|
|
2921
|
+
selector: 'spw-search-field',
|
|
2922
|
+
providers: [
|
|
2923
|
+
{
|
|
2924
|
+
provide: NG_VALUE_ACCESSOR,
|
|
2925
|
+
useExisting: SearchFieldValueAccessor,
|
|
2926
|
+
multi: true,
|
|
2927
|
+
},
|
|
2928
|
+
],
|
|
2929
|
+
standalone: true,
|
|
2930
|
+
}]
|
|
2931
|
+
}], ctorParameters: () => [{ type: i0.ElementRef }], propDecorators: { handleValueChanged: [{
|
|
2932
|
+
type: HostListener,
|
|
2933
|
+
args: ['valueChanged', ['$event']]
|
|
2934
|
+
}], handleBlurEvent: [{
|
|
2935
|
+
type: HostListener,
|
|
2936
|
+
args: ['focusout']
|
|
2937
|
+
}] } });
|
|
2938
|
+
|
|
2939
|
+
const VALUE_ACCESSORS = [
|
|
2940
|
+
TextValueAccessor,
|
|
2941
|
+
NumericValueAccessor,
|
|
2942
|
+
TabsValueAccessor,
|
|
2943
|
+
CheckboxValueAccessor,
|
|
2944
|
+
RadioValueAccessor,
|
|
2945
|
+
DatePickerValueAccessor,
|
|
2946
|
+
InputSliderValueAccessor,
|
|
2947
|
+
SearchFieldValueAccessor,
|
|
2948
|
+
];
|
|
2949
|
+
class SpwDesignSystemDirectivesModule {
|
|
2950
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SpwDesignSystemDirectivesModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2951
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.18", ngImport: i0, type: SpwDesignSystemDirectivesModule, imports: [SpwAccordion, SpwAccordionContent, SpwAccordionItem, SpwAccordionTitle, SpwBreadcrumb, SpwBreadcrumbItem, SpwButton, SpwCard, SpwCardContent, SpwCardExcerpt, SpwCardImage, SpwCardSubtagItem, SpwCardSubtags, SpwCardTitle, SpwCheckbox, SpwCookies, SpwCustomSelect, SpwDatePicker, SpwDropdown, SpwDropdownContainer, SpwDropdownItem, SpwFieldLabel, SpwFieldMessage, SpwFileUpload, SpwFooter, SpwFooterBottom, SpwFooterContent, SpwFooterContentCol, SpwFooterLink, SpwGrid, SpwGridItem, SpwGroup, SpwHeader, SpwHeaderLang, SpwHeaderNavigation, SpwHeaderNavigationDropdown, SpwHeaderNavigationItem, SpwHeaderPersona, SpwHeaderPersonaItem, SpwHero, SpwIcon, SpwIllustration, SpwInputSlider, SpwLink, SpwList, SpwListDescription, SpwListItem, SpwListTitle, SpwLoading, SpwMessage, SpwModal, SpwMosaic, SpwMosaicItem, SpwPagination, SpwRadio, SpwSearchField, SpwSelect, SpwSeparator, SpwSidebar, SpwSidebarNavigationDropdown, SpwSidebarNavigationItem, SpwSidebarNavigationSeparator, SpwSkeleton, SpwSlider, SpwSliderItem, SpwSocials, SpwTable, SpwTableBody, SpwTableCell, SpwTableContainer, SpwTableFooter, SpwTableHead, SpwTableHeader, SpwTableRow, SpwTableSidebar, SpwTabs, SpwTabsContent, SpwTabsNavigation, SpwTabsNavigationItem, SpwTag, SpwTextField, SpwTextarea, SpwThemeProvider, SpwTile, SpwTileDescription, SpwTileTitle, SpwTimeline, SpwTimelineItem, SpwToc, SpwTocContainer, SpwTocNavigation, SpwTooltip, SpwTopbar, SpwWizard, SpwWizardItem, TextValueAccessor,
|
|
2952
|
+
NumericValueAccessor,
|
|
2953
|
+
TabsValueAccessor,
|
|
2954
|
+
CheckboxValueAccessor,
|
|
2955
|
+
RadioValueAccessor,
|
|
2956
|
+
DatePickerValueAccessor,
|
|
2957
|
+
InputSliderValueAccessor,
|
|
2958
|
+
SearchFieldValueAccessor], exports: [SpwAccordion, SpwAccordionContent, SpwAccordionItem, SpwAccordionTitle, SpwBreadcrumb, SpwBreadcrumbItem, SpwButton, SpwCard, SpwCardContent, SpwCardExcerpt, SpwCardImage, SpwCardSubtagItem, SpwCardSubtags, SpwCardTitle, SpwCheckbox, SpwCookies, SpwCustomSelect, SpwDatePicker, SpwDropdown, SpwDropdownContainer, SpwDropdownItem, SpwFieldLabel, SpwFieldMessage, SpwFileUpload, SpwFooter, SpwFooterBottom, SpwFooterContent, SpwFooterContentCol, SpwFooterLink, SpwGrid, SpwGridItem, SpwGroup, SpwHeader, SpwHeaderLang, SpwHeaderNavigation, SpwHeaderNavigationDropdown, SpwHeaderNavigationItem, SpwHeaderPersona, SpwHeaderPersonaItem, SpwHero, SpwIcon, SpwIllustration, SpwInputSlider, SpwLink, SpwList, SpwListDescription, SpwListItem, SpwListTitle, SpwLoading, SpwMessage, SpwModal, SpwMosaic, SpwMosaicItem, SpwPagination, SpwRadio, SpwSearchField, SpwSelect, SpwSeparator, SpwSidebar, SpwSidebarNavigationDropdown, SpwSidebarNavigationItem, SpwSidebarNavigationSeparator, SpwSkeleton, SpwSlider, SpwSliderItem, SpwSocials, SpwTable, SpwTableBody, SpwTableCell, SpwTableContainer, SpwTableFooter, SpwTableHead, SpwTableHeader, SpwTableRow, SpwTableSidebar, SpwTabs, SpwTabsContent, SpwTabsNavigation, SpwTabsNavigationItem, SpwTag, SpwTextField, SpwTextarea, SpwThemeProvider, SpwTile, SpwTileDescription, SpwTileTitle, SpwTimeline, SpwTimelineItem, SpwToc, SpwTocContainer, SpwTocNavigation, SpwTooltip, SpwTopbar, SpwWizard, SpwWizardItem, TextValueAccessor,
|
|
2959
|
+
NumericValueAccessor,
|
|
2960
|
+
TabsValueAccessor,
|
|
2961
|
+
CheckboxValueAccessor,
|
|
2962
|
+
RadioValueAccessor,
|
|
2963
|
+
DatePickerValueAccessor,
|
|
2964
|
+
InputSliderValueAccessor,
|
|
2965
|
+
SearchFieldValueAccessor] }); }
|
|
2966
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SpwDesignSystemDirectivesModule }); }
|
|
2967
|
+
}
|
|
2968
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SpwDesignSystemDirectivesModule, decorators: [{
|
|
2969
|
+
type: NgModule,
|
|
2970
|
+
args: [{
|
|
2971
|
+
imports: [...DIRECTIVES, ...VALUE_ACCESSORS],
|
|
2972
|
+
exports: [...DIRECTIVES, ...VALUE_ACCESSORS],
|
|
2973
|
+
}]
|
|
2974
|
+
}] });
|
|
2975
|
+
|
|
2976
|
+
class SpwDesignSystemModule {
|
|
2977
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SpwDesignSystemModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
2978
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.18", ngImport: i0, type: SpwDesignSystemModule, imports: [SpwDesignSystemDirectivesModule], exports: [SpwDesignSystemDirectivesModule] }); }
|
|
2979
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SpwDesignSystemModule, providers: [
|
|
2980
|
+
{
|
|
2981
|
+
provide: APP_INITIALIZER,
|
|
2982
|
+
useFactory: () => defineCustomElements,
|
|
2983
|
+
multi: true,
|
|
2984
|
+
},
|
|
2985
|
+
], imports: [SpwDesignSystemDirectivesModule, SpwDesignSystemDirectivesModule] }); }
|
|
2986
|
+
}
|
|
2987
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: SpwDesignSystemModule, decorators: [{
|
|
2988
|
+
type: NgModule,
|
|
2989
|
+
args: [{
|
|
2990
|
+
imports: [SpwDesignSystemDirectivesModule],
|
|
2991
|
+
exports: [SpwDesignSystemDirectivesModule],
|
|
2992
|
+
providers: [
|
|
2993
|
+
{
|
|
2994
|
+
provide: APP_INITIALIZER,
|
|
2995
|
+
useFactory: () => defineCustomElements,
|
|
2996
|
+
multi: true,
|
|
2997
|
+
},
|
|
2998
|
+
],
|
|
2999
|
+
}]
|
|
3000
|
+
}] });
|
|
3001
|
+
|
|
2908
3002
|
/**
|
|
2909
3003
|
* Generated bundle index. Do not edit.
|
|
2910
3004
|
*/
|
|
2911
3005
|
|
|
2912
|
-
export { CheckboxValueAccessor, DatePickerValueAccessor, InputSliderValueAccessor, NumericValueAccessor, RadioValueAccessor, SpwAccordion, SpwAccordionContent, SpwAccordionItem, SpwAccordionTitle, SpwBreadcrumb, SpwBreadcrumbItem, SpwButton, SpwCard, SpwCardContent, SpwCardExcerpt, SpwCardImage, SpwCardSubtagItem, SpwCardSubtags, SpwCardTitle, SpwCheckbox, SpwCookies, SpwCustomSelect, SpwDatePicker, SpwDesignSystemDirectivesModule, SpwDesignSystemModule, SpwDropdown, SpwDropdownContainer, SpwDropdownItem, SpwFieldLabel, SpwFieldMessage, SpwFileUpload, SpwFooter, SpwFooterBottom, SpwFooterContent, SpwFooterContentCol, SpwFooterLink, SpwGrid, SpwGridItem, SpwGroup, SpwHeader, SpwHeaderLang, SpwHeaderNavigation, SpwHeaderNavigationDropdown, SpwHeaderNavigationItem, SpwHeaderPersona, SpwHeaderPersonaItem, SpwHero, SpwIcon, SpwIllustration, SpwInputSlider, SpwLink, SpwList, SpwListDescription, SpwListItem, SpwListTitle, SpwLoading, SpwMessage, SpwModal, SpwMosaic, SpwMosaicItem, SpwPagination, SpwRadio, SpwSearchField, SpwSelect, SpwSeparator, SpwSidebar, SpwSidebarNavigationDropdown, SpwSidebarNavigationItem, SpwSidebarNavigationSeparator, SpwSkeleton, SpwSlider, SpwSliderItem, SpwSocials, SpwTable, SpwTableBody, SpwTableCell, SpwTableContainer, SpwTableFooter, SpwTableHead, SpwTableHeader, SpwTableRow, SpwTableSidebar, SpwTabs, SpwTabsContent, SpwTabsNavigation, SpwTabsNavigationItem, SpwTag, SpwTextField, SpwTextarea, SpwThemeProvider, SpwTile, SpwTileDescription, SpwTileTitle, SpwTimeline, SpwTimelineItem, SpwToc, SpwTocContainer, SpwTocNavigation, SpwTooltip, SpwTopbar, SpwWizard, SpwWizardItem, TabsValueAccessor, TextValueAccessor, ValueAccessor };
|
|
3006
|
+
export { CheckboxValueAccessor, DatePickerValueAccessor, InputSliderValueAccessor, NumericValueAccessor, RadioValueAccessor, SearchFieldValueAccessor, SpwAccordion, SpwAccordionContent, SpwAccordionItem, SpwAccordionTitle, SpwBreadcrumb, SpwBreadcrumbItem, SpwButton, SpwCard, SpwCardContent, SpwCardExcerpt, SpwCardImage, SpwCardSubtagItem, SpwCardSubtags, SpwCardTitle, SpwCheckbox, SpwCookies, SpwCustomSelect, SpwDatePicker, SpwDesignSystemDirectivesModule, SpwDesignSystemModule, SpwDropdown, SpwDropdownContainer, SpwDropdownItem, SpwFieldLabel, SpwFieldMessage, SpwFileUpload, SpwFooter, SpwFooterBottom, SpwFooterContent, SpwFooterContentCol, SpwFooterLink, SpwGrid, SpwGridItem, SpwGroup, SpwHeader, SpwHeaderLang, SpwHeaderNavigation, SpwHeaderNavigationDropdown, SpwHeaderNavigationItem, SpwHeaderPersona, SpwHeaderPersonaItem, SpwHero, SpwIcon, SpwIllustration, SpwInputSlider, SpwLink, SpwList, SpwListDescription, SpwListItem, SpwListTitle, SpwLoading, SpwMessage, SpwModal, SpwMosaic, SpwMosaicItem, SpwPagination, SpwRadio, SpwSearchField, SpwSelect, SpwSeparator, SpwSidebar, SpwSidebarNavigationDropdown, SpwSidebarNavigationItem, SpwSidebarNavigationSeparator, SpwSkeleton, SpwSlider, SpwSliderItem, SpwSocials, SpwTable, SpwTableBody, SpwTableCell, SpwTableContainer, SpwTableFooter, SpwTableHead, SpwTableHeader, SpwTableRow, SpwTableSidebar, SpwTabs, SpwTabsContent, SpwTabsNavigation, SpwTabsNavigationItem, SpwTag, SpwTextField, SpwTextarea, SpwThemeProvider, SpwTile, SpwTileDescription, SpwTileTitle, SpwTimeline, SpwTimelineItem, SpwToc, SpwTocContainer, SpwTocNavigation, SpwTooltip, SpwTopbar, SpwWizard, SpwWizardItem, TabsValueAccessor, TextValueAccessor, ValueAccessor };
|
|
2913
3007
|
//# sourceMappingURL=spw-ds-spw-angular-library.mjs.map
|