@sebgroup/green-core-ng 2.35.0 → 2.35.1

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.
@@ -14,6 +14,7 @@ import { GdsCardLinked } from '@sebgroup/green-core/components/card-linked/card-
14
14
  import { GdsCheckbox } from '@sebgroup/green-core/components/checkbox/checkbox.component.js';
15
15
  import { GdsCoachmark } from '@sebgroup/green-core/components/coachmark/coachmark.component.js';
16
16
  import { GdsContextMenu, GdsMenuItem, GdsMenuHeading } from '@sebgroup/green-core/components/context-menu/context-menu.component.js';
17
+ import { GdsDatepicker } from '@sebgroup/green-core/components/datepicker/datepicker.component.js';
17
18
  import { GdsDetails } from '@sebgroup/green-core/components/details/details.component.js';
18
19
  import { GdsDialog } from '@sebgroup/green-core/components/dialog/dialog.component.js';
19
20
  import { GdsDiv } from '@sebgroup/green-core/components/div/div.component.js';
@@ -22,7 +23,6 @@ import { GdsDropdown, GdsOption } from '@sebgroup/green-core/components/dropdown
22
23
  import { GdsFab } from '@sebgroup/green-core/components/fab/fab.component.js';
23
24
  import { GdsFilterChips } from '@sebgroup/green-core/components/filter-chips/filter-chips.component.js';
24
25
  import { GdsFlex } from '@sebgroup/green-core/components/flex/flex.component.js';
25
- import { GdsDatepicker } from '@sebgroup/green-core/components/datepicker/datepicker.component.js';
26
26
  import { GdsFormSummary } from '@sebgroup/green-core/components/form-summary/summary.component.js';
27
27
  import { GdsGrid } from '@sebgroup/green-core/components/grid/grid.component.js';
28
28
  import { GdsGroupedList } from '@sebgroup/green-core/components/grouped-list/grouped-list.component.js';
@@ -1892,6 +1892,178 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
1892
1892
  * Auto-generated from Custom Elements Manifest
1893
1893
  */
1894
1894
 
1895
+ /**
1896
+ * Angular wrapper for the gds-datepicker web component
1897
+ *
1898
+ */
1899
+ let GdsDatepickerComponent = class GdsDatepickerComponent extends GdsFormControlBase {
1900
+ constructor() {
1901
+ super(...arguments);
1902
+ /** Fired when the value of the dropdown is changed through user interaction (not when value prop is set programatically). */
1903
+ this.change = new EventEmitter();
1904
+ /** Fired when the dropdown is opened or closed. */
1905
+ this.gdsUiState = new EventEmitter();
1906
+ }
1907
+ get element() {
1908
+ return this.elementRef.nativeElement;
1909
+ }
1910
+ ngOnInit() {
1911
+ super.ngOnInit();
1912
+ // Define the custom element
1913
+ try {
1914
+ GdsDatepicker.define();
1915
+ }
1916
+ catch (e) {
1917
+ // Component may not be available in this version of green-core
1918
+ console.warn('Failed to define gds-datepicker:', e);
1919
+ }
1920
+ // Set up event listeners
1921
+ this.elementRef.nativeElement.addEventListener('gds-ui-state', (event) => {
1922
+ this.gdsUiState.emit(event);
1923
+ });
1924
+ }
1925
+ ngOnChanges(changes) {
1926
+ // Implementation added by @ProxyInputs decorator
1927
+ }
1928
+ ngAfterViewInit() {
1929
+ super.ngAfterViewInit();
1930
+ }
1931
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: GdsDatepickerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
1932
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.18", type: GdsDatepickerComponent, isStandalone: true, selector: "gds-datepicker", inputs: { width: "width", minWidth: "minWidth", maxWidth: "maxWidth", inlineSize: "inlineSize", minInlineSize: "minInlineSize", maxInlineSize: "maxInlineSize", margin: "margin", marginInline: "marginInline", marginBlock: "marginBlock", alignSelf: "alignSelf", justifySelf: "justifySelf", placeSelf: "placeSelf", gridColumn: "gridColumn", gridRow: "gridRow", gridArea: "gridArea", flex: "flex", order: "order", value: "value", min: "min", max: "max", open: ["open", "open", booleanAttribute], supportingText: "supportingText", size: "size", plain: ["plain", "plain", booleanAttribute], showWeekNumbers: ["showWeekNumbers", "showWeekNumbers", booleanAttribute], hideLabel: ["hideLabel", "hideLabel", booleanAttribute], clearable: ["clearable", "clearable", booleanAttribute], hideTodayButton: ["hideTodayButton", "hideTodayButton", booleanAttribute], utcHours: "utcHours", dateformat: "dateformat", disabledWeekends: ["disabledWeekends", "disabledWeekends", booleanAttribute], disabledDates: "disabledDates", showExtendedSupportingText: ["showExtendedSupportingText", "showExtendedSupportingText", booleanAttribute], test_calendarButton: "test_calendarButton", test_clearButton: "test_clearButton", test_todayButton: "test_todayButton", validator: "validator", required: ["required", "required", booleanAttribute], errorMessage: "errorMessage", invalid: "invalid", label: "label", name: "name", disabled: ["disabled", "disabled", booleanAttribute] }, outputs: { change: "change", gdsUiState: "gdsUiState" }, providers: [
1933
+ {
1934
+ provide: NG_VALUE_ACCESSOR,
1935
+ useExisting: forwardRef(() => GdsDatepickerComponent),
1936
+ multi: true,
1937
+ },
1938
+ ], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
1939
+ };
1940
+ GdsDatepickerComponent = __decorate([
1941
+ ProxyInputs(['width', 'min-width', 'max-width', 'inline-size', 'min-inline-size', 'max-inline-size', 'margin', 'margin-inline', 'margin-block', 'align-self', 'justify-self', 'place-self', 'grid-column', 'grid-row', 'grid-area', 'flex', 'order', 'value', 'min', 'max', 'open', 'supportingText', 'size', 'plain', 'showWeekNumbers', 'hideLabel', 'clearable', 'hideTodayButton', 'utcHours', 'dateformat', 'disabledWeekends', 'disabledDates', 'showExtendedSupportingText', 'test_calendarButton', 'test_clearButton', 'test_todayButton', 'validator', 'required', 'errorMessage', 'invalid', 'label', 'name', 'disabled'])
1942
+ ], GdsDatepickerComponent);
1943
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: GdsDatepickerComponent, decorators: [{
1944
+ type: Component,
1945
+ args: [{
1946
+ selector: 'gds-datepicker',
1947
+ standalone: true,
1948
+ changeDetection: ChangeDetectionStrategy.OnPush,
1949
+ template: `<ng-content></ng-content>`,
1950
+ providers: [
1951
+ {
1952
+ provide: NG_VALUE_ACCESSOR,
1953
+ useExisting: forwardRef(() => GdsDatepickerComponent),
1954
+ multi: true,
1955
+ },
1956
+ ]
1957
+ }]
1958
+ }], propDecorators: { width: [{
1959
+ type: Input
1960
+ }], minWidth: [{
1961
+ type: Input
1962
+ }], maxWidth: [{
1963
+ type: Input
1964
+ }], inlineSize: [{
1965
+ type: Input
1966
+ }], minInlineSize: [{
1967
+ type: Input
1968
+ }], maxInlineSize: [{
1969
+ type: Input
1970
+ }], margin: [{
1971
+ type: Input
1972
+ }], marginInline: [{
1973
+ type: Input
1974
+ }], marginBlock: [{
1975
+ type: Input
1976
+ }], alignSelf: [{
1977
+ type: Input
1978
+ }], justifySelf: [{
1979
+ type: Input
1980
+ }], placeSelf: [{
1981
+ type: Input
1982
+ }], gridColumn: [{
1983
+ type: Input
1984
+ }], gridRow: [{
1985
+ type: Input
1986
+ }], gridArea: [{
1987
+ type: Input
1988
+ }], flex: [{
1989
+ type: Input
1990
+ }], order: [{
1991
+ type: Input
1992
+ }], value: [{
1993
+ type: Input
1994
+ }], min: [{
1995
+ type: Input
1996
+ }], max: [{
1997
+ type: Input
1998
+ }], open: [{
1999
+ type: Input,
2000
+ args: [{ transform: booleanAttribute }]
2001
+ }], supportingText: [{
2002
+ type: Input
2003
+ }], size: [{
2004
+ type: Input
2005
+ }], plain: [{
2006
+ type: Input,
2007
+ args: [{ transform: booleanAttribute }]
2008
+ }], showWeekNumbers: [{
2009
+ type: Input,
2010
+ args: [{ transform: booleanAttribute }]
2011
+ }], hideLabel: [{
2012
+ type: Input,
2013
+ args: [{ transform: booleanAttribute }]
2014
+ }], clearable: [{
2015
+ type: Input,
2016
+ args: [{ transform: booleanAttribute }]
2017
+ }], hideTodayButton: [{
2018
+ type: Input,
2019
+ args: [{ transform: booleanAttribute }]
2020
+ }], utcHours: [{
2021
+ type: Input
2022
+ }], dateformat: [{
2023
+ type: Input
2024
+ }], disabledWeekends: [{
2025
+ type: Input,
2026
+ args: [{ transform: booleanAttribute }]
2027
+ }], disabledDates: [{
2028
+ type: Input
2029
+ }], showExtendedSupportingText: [{
2030
+ type: Input,
2031
+ args: [{ transform: booleanAttribute }]
2032
+ }], test_calendarButton: [{
2033
+ type: Input
2034
+ }], test_clearButton: [{
2035
+ type: Input
2036
+ }], test_todayButton: [{
2037
+ type: Input
2038
+ }], validator: [{
2039
+ type: Input
2040
+ }], required: [{
2041
+ type: Input,
2042
+ args: [{ transform: booleanAttribute }]
2043
+ }], errorMessage: [{
2044
+ type: Input
2045
+ }], invalid: [{
2046
+ type: Input
2047
+ }], label: [{
2048
+ type: Input
2049
+ }], name: [{
2050
+ type: Input
2051
+ }], disabled: [{
2052
+ type: Input,
2053
+ args: [{ transform: booleanAttribute }]
2054
+ }], change: [{
2055
+ type: Output
2056
+ }], gdsUiState: [{
2057
+ type: Output
2058
+ }] } });
2059
+
2060
+ /**
2061
+ * GdsDatepickerComponent - Angular wrapper for gds-datepicker
2062
+ *
2063
+ *
2064
+ * Auto-generated from Custom Elements Manifest
2065
+ */
2066
+
1895
2067
  /**
1896
2068
  * Angular wrapper for the gds-details web component
1897
2069
  * Details component that provides collapsible content sections.
@@ -2981,178 +3153,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
2981
3153
  * Auto-generated from Custom Elements Manifest
2982
3154
  */
2983
3155
 
2984
- /**
2985
- * Angular wrapper for the gds-datepicker web component
2986
- *
2987
- */
2988
- let GdsDatepickerComponent = class GdsDatepickerComponent extends GdsFormControlBase {
2989
- constructor() {
2990
- super(...arguments);
2991
- /** Fired when the value of the dropdown is changed through user interaction (not when value prop is set programatically). */
2992
- this.change = new EventEmitter();
2993
- /** Fired when the dropdown is opened or closed. */
2994
- this.gdsUiState = new EventEmitter();
2995
- }
2996
- get element() {
2997
- return this.elementRef.nativeElement;
2998
- }
2999
- ngOnInit() {
3000
- super.ngOnInit();
3001
- // Define the custom element
3002
- try {
3003
- GdsDatepicker.define();
3004
- }
3005
- catch (e) {
3006
- // Component may not be available in this version of green-core
3007
- console.warn('Failed to define gds-datepicker:', e);
3008
- }
3009
- // Set up event listeners
3010
- this.elementRef.nativeElement.addEventListener('gds-ui-state', (event) => {
3011
- this.gdsUiState.emit(event);
3012
- });
3013
- }
3014
- ngOnChanges(changes) {
3015
- // Implementation added by @ProxyInputs decorator
3016
- }
3017
- ngAfterViewInit() {
3018
- super.ngAfterViewInit();
3019
- }
3020
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: GdsDatepickerComponent, deps: null, target: i0.ɵɵFactoryTarget.Component }); }
3021
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "16.1.0", version: "19.2.18", type: GdsDatepickerComponent, isStandalone: true, selector: "gds-datepicker", inputs: { width: "width", minWidth: "minWidth", maxWidth: "maxWidth", inlineSize: "inlineSize", minInlineSize: "minInlineSize", maxInlineSize: "maxInlineSize", margin: "margin", marginInline: "marginInline", marginBlock: "marginBlock", alignSelf: "alignSelf", justifySelf: "justifySelf", placeSelf: "placeSelf", gridColumn: "gridColumn", gridRow: "gridRow", gridArea: "gridArea", flex: "flex", order: "order", value: "value", min: "min", max: "max", open: ["open", "open", booleanAttribute], supportingText: "supportingText", size: "size", plain: ["plain", "plain", booleanAttribute], showWeekNumbers: ["showWeekNumbers", "showWeekNumbers", booleanAttribute], hideLabel: ["hideLabel", "hideLabel", booleanAttribute], clearable: ["clearable", "clearable", booleanAttribute], hideTodayButton: ["hideTodayButton", "hideTodayButton", booleanAttribute], utcHours: "utcHours", dateformat: "dateformat", disabledWeekends: ["disabledWeekends", "disabledWeekends", booleanAttribute], disabledDates: "disabledDates", showExtendedSupportingText: ["showExtendedSupportingText", "showExtendedSupportingText", booleanAttribute], test_calendarButton: "test_calendarButton", test_clearButton: "test_clearButton", test_todayButton: "test_todayButton", validator: "validator", required: ["required", "required", booleanAttribute], errorMessage: "errorMessage", invalid: "invalid", label: "label", name: "name", disabled: ["disabled", "disabled", booleanAttribute] }, outputs: { change: "change", gdsUiState: "gdsUiState" }, providers: [
3022
- {
3023
- provide: NG_VALUE_ACCESSOR,
3024
- useExisting: forwardRef(() => GdsDatepickerComponent),
3025
- multi: true,
3026
- },
3027
- ], usesInheritance: true, usesOnChanges: true, ngImport: i0, template: `<ng-content></ng-content>`, isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
3028
- };
3029
- GdsDatepickerComponent = __decorate([
3030
- ProxyInputs(['width', 'min-width', 'max-width', 'inline-size', 'min-inline-size', 'max-inline-size', 'margin', 'margin-inline', 'margin-block', 'align-self', 'justify-self', 'place-self', 'grid-column', 'grid-row', 'grid-area', 'flex', 'order', 'value', 'min', 'max', 'open', 'supportingText', 'size', 'plain', 'showWeekNumbers', 'hideLabel', 'clearable', 'hideTodayButton', 'utcHours', 'dateformat', 'disabledWeekends', 'disabledDates', 'showExtendedSupportingText', 'test_calendarButton', 'test_clearButton', 'test_todayButton', 'validator', 'required', 'errorMessage', 'invalid', 'label', 'name', 'disabled'])
3031
- ], GdsDatepickerComponent);
3032
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImport: i0, type: GdsDatepickerComponent, decorators: [{
3033
- type: Component,
3034
- args: [{
3035
- selector: 'gds-datepicker',
3036
- standalone: true,
3037
- changeDetection: ChangeDetectionStrategy.OnPush,
3038
- template: `<ng-content></ng-content>`,
3039
- providers: [
3040
- {
3041
- provide: NG_VALUE_ACCESSOR,
3042
- useExisting: forwardRef(() => GdsDatepickerComponent),
3043
- multi: true,
3044
- },
3045
- ]
3046
- }]
3047
- }], propDecorators: { width: [{
3048
- type: Input
3049
- }], minWidth: [{
3050
- type: Input
3051
- }], maxWidth: [{
3052
- type: Input
3053
- }], inlineSize: [{
3054
- type: Input
3055
- }], minInlineSize: [{
3056
- type: Input
3057
- }], maxInlineSize: [{
3058
- type: Input
3059
- }], margin: [{
3060
- type: Input
3061
- }], marginInline: [{
3062
- type: Input
3063
- }], marginBlock: [{
3064
- type: Input
3065
- }], alignSelf: [{
3066
- type: Input
3067
- }], justifySelf: [{
3068
- type: Input
3069
- }], placeSelf: [{
3070
- type: Input
3071
- }], gridColumn: [{
3072
- type: Input
3073
- }], gridRow: [{
3074
- type: Input
3075
- }], gridArea: [{
3076
- type: Input
3077
- }], flex: [{
3078
- type: Input
3079
- }], order: [{
3080
- type: Input
3081
- }], value: [{
3082
- type: Input
3083
- }], min: [{
3084
- type: Input
3085
- }], max: [{
3086
- type: Input
3087
- }], open: [{
3088
- type: Input,
3089
- args: [{ transform: booleanAttribute }]
3090
- }], supportingText: [{
3091
- type: Input
3092
- }], size: [{
3093
- type: Input
3094
- }], plain: [{
3095
- type: Input,
3096
- args: [{ transform: booleanAttribute }]
3097
- }], showWeekNumbers: [{
3098
- type: Input,
3099
- args: [{ transform: booleanAttribute }]
3100
- }], hideLabel: [{
3101
- type: Input,
3102
- args: [{ transform: booleanAttribute }]
3103
- }], clearable: [{
3104
- type: Input,
3105
- args: [{ transform: booleanAttribute }]
3106
- }], hideTodayButton: [{
3107
- type: Input,
3108
- args: [{ transform: booleanAttribute }]
3109
- }], utcHours: [{
3110
- type: Input
3111
- }], dateformat: [{
3112
- type: Input
3113
- }], disabledWeekends: [{
3114
- type: Input,
3115
- args: [{ transform: booleanAttribute }]
3116
- }], disabledDates: [{
3117
- type: Input
3118
- }], showExtendedSupportingText: [{
3119
- type: Input,
3120
- args: [{ transform: booleanAttribute }]
3121
- }], test_calendarButton: [{
3122
- type: Input
3123
- }], test_clearButton: [{
3124
- type: Input
3125
- }], test_todayButton: [{
3126
- type: Input
3127
- }], validator: [{
3128
- type: Input
3129
- }], required: [{
3130
- type: Input,
3131
- args: [{ transform: booleanAttribute }]
3132
- }], errorMessage: [{
3133
- type: Input
3134
- }], invalid: [{
3135
- type: Input
3136
- }], label: [{
3137
- type: Input
3138
- }], name: [{
3139
- type: Input
3140
- }], disabled: [{
3141
- type: Input,
3142
- args: [{ transform: booleanAttribute }]
3143
- }], change: [{
3144
- type: Output
3145
- }], gdsUiState: [{
3146
- type: Output
3147
- }] } });
3148
-
3149
- /**
3150
- * GdsDatepickerComponent - Angular wrapper for gds-datepicker
3151
- *
3152
- *
3153
- * Auto-generated from Custom Elements Manifest
3154
- */
3155
-
3156
3156
  /**
3157
3157
  * Angular wrapper for the gds-form-summary web component
3158
3158
  *
@@ -37967,6 +37967,7 @@ class GreenCoreNgModule {
37967
37967
  GdsCheckboxComponent,
37968
37968
  GdsCoachmarkComponent,
37969
37969
  GdsContextMenuComponent,
37970
+ GdsDatepickerComponent,
37970
37971
  GdsDetailsComponent,
37971
37972
  GdsDialogComponent,
37972
37973
  GdsDivComponent,
@@ -37975,7 +37976,6 @@ class GreenCoreNgModule {
37975
37976
  GdsFabComponent,
37976
37977
  GdsFilterChipsComponent,
37977
37978
  GdsFlexComponent,
37978
- GdsDatepickerComponent,
37979
37979
  GdsFormSummaryComponent,
37980
37980
  GdsGridComponent,
37981
37981
  GdsGroupedListComponent,
@@ -38364,6 +38364,7 @@ class GreenCoreNgModule {
38364
38364
  GdsCheckboxComponent,
38365
38365
  GdsCoachmarkComponent,
38366
38366
  GdsContextMenuComponent,
38367
+ GdsDatepickerComponent,
38367
38368
  GdsDetailsComponent,
38368
38369
  GdsDialogComponent,
38369
38370
  GdsDivComponent,
@@ -38372,7 +38373,6 @@ class GreenCoreNgModule {
38372
38373
  GdsFabComponent,
38373
38374
  GdsFilterChipsComponent,
38374
38375
  GdsFlexComponent,
38375
- GdsDatepickerComponent,
38376
38376
  GdsFormSummaryComponent,
38377
38377
  GdsGridComponent,
38378
38378
  GdsGroupedListComponent,
@@ -38768,6 +38768,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
38768
38768
  GdsCheckboxComponent,
38769
38769
  GdsCoachmarkComponent,
38770
38770
  GdsContextMenuComponent,
38771
+ GdsDatepickerComponent,
38771
38772
  GdsDetailsComponent,
38772
38773
  GdsDialogComponent,
38773
38774
  GdsDivComponent,
@@ -38776,7 +38777,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
38776
38777
  GdsFabComponent,
38777
38778
  GdsFilterChipsComponent,
38778
38779
  GdsFlexComponent,
38779
- GdsDatepickerComponent,
38780
38780
  GdsFormSummaryComponent,
38781
38781
  GdsGridComponent,
38782
38782
  GdsGroupedListComponent,
@@ -39168,6 +39168,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
39168
39168
  GdsCheckboxComponent,
39169
39169
  GdsCoachmarkComponent,
39170
39170
  GdsContextMenuComponent,
39171
+ GdsDatepickerComponent,
39171
39172
  GdsDetailsComponent,
39172
39173
  GdsDialogComponent,
39173
39174
  GdsDivComponent,
@@ -39176,7 +39177,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.18", ngImpo
39176
39177
  GdsFabComponent,
39177
39178
  GdsFilterChipsComponent,
39178
39179
  GdsFlexComponent,
39179
- GdsDatepickerComponent,
39180
39180
  GdsFormSummaryComponent,
39181
39181
  GdsGridComponent,
39182
39182
  GdsGroupedListComponent,