@vsn-ux/ngx-gaia 0.8.1 → 0.8.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/fesm2022/vsn-ux-ngx-gaia.mjs +34 -1
- package/fesm2022/vsn-ux-ngx-gaia.mjs.map +1 -1
- package/index.d.ts +11 -3
- package/package.json +1 -1
|
@@ -1947,6 +1947,33 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImpor
|
|
|
1947
1947
|
type: Attribute,
|
|
1948
1948
|
args: ['id']
|
|
1949
1949
|
}] }] });
|
|
1950
|
+
let nextUniqueModalLabelId = 0;
|
|
1951
|
+
class GaModalLabelDirective {
|
|
1952
|
+
renderer = inject(Renderer2);
|
|
1953
|
+
elementRef = inject(ElementRef);
|
|
1954
|
+
id;
|
|
1955
|
+
constructor(id) {
|
|
1956
|
+
if (id) {
|
|
1957
|
+
this.id = id;
|
|
1958
|
+
}
|
|
1959
|
+
else {
|
|
1960
|
+
this.id = `gaModalLabel${nextUniqueModalLabelId++}`;
|
|
1961
|
+
this.renderer.setAttribute(this.elementRef.nativeElement, 'id', this.id);
|
|
1962
|
+
}
|
|
1963
|
+
}
|
|
1964
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: GaModalLabelDirective, deps: [{ token: 'id', attribute: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1965
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.4", type: GaModalLabelDirective, isStandalone: true, selector: "[gaModalLabel]", host: { classAttribute: "ga-modal__label" }, ngImport: i0 });
|
|
1966
|
+
}
|
|
1967
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: GaModalLabelDirective, decorators: [{
|
|
1968
|
+
type: Directive,
|
|
1969
|
+
args: [{
|
|
1970
|
+
selector: '[gaModalLabel]',
|
|
1971
|
+
host: { class: 'ga-modal__label' },
|
|
1972
|
+
}]
|
|
1973
|
+
}], ctorParameters: () => [{ type: undefined, decorators: [{
|
|
1974
|
+
type: Attribute,
|
|
1975
|
+
args: ['id']
|
|
1976
|
+
}] }] });
|
|
1950
1977
|
|
|
1951
1978
|
class GaModalDescriptionComponent {
|
|
1952
1979
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: GaModalDescriptionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
@@ -2056,6 +2083,7 @@ class GaModalHeaderComponent {
|
|
|
2056
2083
|
</div>
|
|
2057
2084
|
}
|
|
2058
2085
|
<div class="ga-modal__heading">
|
|
2086
|
+
<ng-content select="[gaModalLabel]" />
|
|
2059
2087
|
<ng-content select="[gaModalTitle]" />
|
|
2060
2088
|
<ng-content select="ga-modal-description" />
|
|
2061
2089
|
</div>
|
|
@@ -2095,6 +2123,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImpor
|
|
|
2095
2123
|
</div>
|
|
2096
2124
|
}
|
|
2097
2125
|
<div class="ga-modal__heading">
|
|
2126
|
+
<ng-content select="[gaModalLabel]" />
|
|
2098
2127
|
<ng-content select="[gaModalTitle]" />
|
|
2099
2128
|
<ng-content select="ga-modal-description" />
|
|
2100
2129
|
</div>
|
|
@@ -2118,12 +2147,14 @@ class GaModalModule {
|
|
|
2118
2147
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.4", ngImport: i0, type: GaModalModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2119
2148
|
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.0.4", ngImport: i0, type: GaModalModule, imports: [GaModalCloseDirective,
|
|
2120
2149
|
GaModalTitleDirective,
|
|
2150
|
+
GaModalLabelDirective,
|
|
2121
2151
|
GaModalDescriptionDirective,
|
|
2122
2152
|
GaModalDescriptionComponent,
|
|
2123
2153
|
GaModalContentComponent,
|
|
2124
2154
|
GaModalActionsComponent,
|
|
2125
2155
|
GaModalHeaderComponent], exports: [GaModalCloseDirective,
|
|
2126
2156
|
GaModalTitleDirective,
|
|
2157
|
+
GaModalLabelDirective,
|
|
2127
2158
|
GaModalDescriptionDirective,
|
|
2128
2159
|
GaModalDescriptionComponent,
|
|
2129
2160
|
GaModalContentComponent,
|
|
@@ -2137,6 +2168,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImpor
|
|
|
2137
2168
|
imports: [
|
|
2138
2169
|
GaModalCloseDirective,
|
|
2139
2170
|
GaModalTitleDirective,
|
|
2171
|
+
GaModalLabelDirective,
|
|
2140
2172
|
GaModalDescriptionDirective,
|
|
2141
2173
|
GaModalDescriptionComponent,
|
|
2142
2174
|
GaModalContentComponent,
|
|
@@ -2146,6 +2178,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImpor
|
|
|
2146
2178
|
exports: [
|
|
2147
2179
|
GaModalCloseDirective,
|
|
2148
2180
|
GaModalTitleDirective,
|
|
2181
|
+
GaModalLabelDirective,
|
|
2149
2182
|
GaModalDescriptionDirective,
|
|
2150
2183
|
GaModalDescriptionComponent,
|
|
2151
2184
|
GaModalContentComponent,
|
|
@@ -3006,5 +3039,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.4", ngImpor
|
|
|
3006
3039
|
* Generated bundle index. Do not edit.
|
|
3007
3040
|
*/
|
|
3008
3041
|
|
|
3009
|
-
export { CHECKBOX_CONTROL_VALUE_ACCESSOR, DEFAULT_MODAL_OPTIONS, GA_ALERT_I18N_FACTORY, GA_BASE_FONT_SIZE, GA_BUTTON_I18N_FACTORY, GA_CHECKBOX_REQUIRED_VALIDATOR, GA_FORM_CONTROL, GA_ICON_DEFAULT_SIZE, GA_MODAL_DATA, GA_MODAL_I18N_FACTORY, GA_SELECT_REQUIRED_VALIDATOR, GA_TOOLTIP_DEFAULT_OFFSET, GaAlertComponent, GaAlertI18n, GaAlertI18nDefault, GaAlertModule, GaAlertTitleActionsComponent, GaAlertTitleComponent, GaBadgeComponent, GaBadgeModule, GaButtonDirective, GaButtonI18n, GaButtonI18nDefault, GaButtonModule, GaCardComponent, GaCardModule, GaCheckboxComponent, GaCheckboxModule, GaCheckboxRequiredValidator, GaFieldInfoComponent, GaFieldLabelComponent, GaFormControlDirective, GaFormFieldComponent, GaFormFieldModule, GaIconButtonDirective, GaIconComponent, GaIconModule, GaInputComponent, GaInputDirective, GaInputModule, GaLabelledByFormFieldDirective, GaLinkDirective, GaLinkModule, GaMenuComponent, GaMenuItemComponent, GaMenuModule, GaMenuSeparatorComponent, GaMenuTitleComponent, GaMenuTriggerDirective, GaMenuTriggerIconComponent, GaModalActionsComponent, GaModalCloseDirective, GaModalComponent, GaModalContentComponent, GaModalDescriptionComponent, GaModalDescriptionDirective, GaModalHeaderComponent, GaModalI18n, GaModalI18nDefault, GaModalModule, GaModalOptions, GaModalRef, GaModalService, GaModalTitleDirective, GaOptgroupComponent, GaOptionComponent, GaRadioButtonComponent, GaRadioGroupComponent, GaRadioModule, GaSegmentedControlButtonDirective, GaSegmentedControlComponent, GaSegmentedControlIconButtonComponent, GaSegmentedControlModule, GaSegmentedControlTextButtonComponent, GaSelectComponent, GaSelectDropdownComponent, GaSelectDropdownSpinnerComponent, GaSelectModule, GaSelectRequiredValidator, GaSelectValueComponent, GaSpinnerComponent, GaSpinnerModule, GaTextAreaDirective, GaTextAreaModule, GaTooltipComponent, GaTooltipDirective, GaTooltipModule, RADIO_CONTROL_VALUE_ACCESSOR, provideGaAlertI18n, provideGaBaseFontSize, provideGaButtonI18n, provideGaModalI18n, provideGaModalOptions };
|
|
3042
|
+
export { CHECKBOX_CONTROL_VALUE_ACCESSOR, DEFAULT_MODAL_OPTIONS, GA_ALERT_I18N_FACTORY, GA_BASE_FONT_SIZE, GA_BUTTON_I18N_FACTORY, GA_CHECKBOX_REQUIRED_VALIDATOR, GA_FORM_CONTROL, GA_ICON_DEFAULT_SIZE, GA_MODAL_DATA, GA_MODAL_I18N_FACTORY, GA_SELECT_REQUIRED_VALIDATOR, GA_TOOLTIP_DEFAULT_OFFSET, GaAlertComponent, GaAlertI18n, GaAlertI18nDefault, GaAlertModule, GaAlertTitleActionsComponent, GaAlertTitleComponent, GaBadgeComponent, GaBadgeModule, GaButtonDirective, GaButtonI18n, GaButtonI18nDefault, GaButtonModule, GaCardComponent, GaCardModule, GaCheckboxComponent, GaCheckboxModule, GaCheckboxRequiredValidator, GaFieldInfoComponent, GaFieldLabelComponent, GaFormControlDirective, GaFormFieldComponent, GaFormFieldModule, GaIconButtonDirective, GaIconComponent, GaIconModule, GaInputComponent, GaInputDirective, GaInputModule, GaLabelledByFormFieldDirective, GaLinkDirective, GaLinkModule, GaMenuComponent, GaMenuItemComponent, GaMenuModule, GaMenuSeparatorComponent, GaMenuTitleComponent, GaMenuTriggerDirective, GaMenuTriggerIconComponent, GaModalActionsComponent, GaModalCloseDirective, GaModalComponent, GaModalContentComponent, GaModalDescriptionComponent, GaModalDescriptionDirective, GaModalHeaderComponent, GaModalI18n, GaModalI18nDefault, GaModalLabelDirective, GaModalModule, GaModalOptions, GaModalRef, GaModalService, GaModalTitleDirective, GaOptgroupComponent, GaOptionComponent, GaRadioButtonComponent, GaRadioGroupComponent, GaRadioModule, GaSegmentedControlButtonDirective, GaSegmentedControlComponent, GaSegmentedControlIconButtonComponent, GaSegmentedControlModule, GaSegmentedControlTextButtonComponent, GaSelectComponent, GaSelectDropdownComponent, GaSelectDropdownSpinnerComponent, GaSelectModule, GaSelectRequiredValidator, GaSelectValueComponent, GaSpinnerComponent, GaSpinnerModule, GaTextAreaDirective, GaTextAreaModule, GaTooltipComponent, GaTooltipDirective, GaTooltipModule, RADIO_CONTROL_VALUE_ACCESSOR, provideGaAlertI18n, provideGaBaseFontSize, provideGaButtonI18n, provideGaModalI18n, provideGaModalOptions };
|
|
3010
3043
|
//# sourceMappingURL=vsn-ux-ngx-gaia.mjs.map
|