@sebgroup/green-angular 6.5.0 → 6.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/esm2022/src/v-angular/datepicker/components/date-input/date-input.component.mjs +15 -9
- package/esm2022/src/v-angular/dropdown/dropdown.component.mjs +9 -3
- package/esm2022/src/v-angular/table/table.component.mjs +11 -5
- package/esm2022/v-angular/datepicker/components/date-input/date-input.component.mjs +15 -9
- package/esm2022/v-angular/dropdown/dropdown.component.mjs +9 -3
- package/esm2022/v-angular/table/table.component.mjs +11 -5
- package/fesm2022/sebgroup-green-angular-src-v-angular-datepicker.mjs +14 -8
- package/fesm2022/sebgroup-green-angular-src-v-angular-datepicker.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-dropdown.mjs +8 -2
- package/fesm2022/sebgroup-green-angular-src-v-angular-dropdown.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-src-v-angular-table.mjs +10 -4
- package/fesm2022/sebgroup-green-angular-src-v-angular-table.mjs.map +1 -1
- package/fesm2022/sebgroup-green-angular-v-angular.mjs +32 -14
- package/fesm2022/sebgroup-green-angular-v-angular.mjs.map +1 -1
- package/package.json +1 -1
- package/src/v-angular/datepicker/components/date-input/date-input.component.d.ts +3 -1
- package/src/v-angular/dropdown/dropdown.component.d.ts +3 -1
- package/src/v-angular/table/table.component.d.ts +7 -3
- package/v-angular/datepicker/components/date-input/date-input.component.d.ts +3 -1
- package/v-angular/dropdown/dropdown.component.d.ts +3 -1
- package/v-angular/table/table.component.d.ts +7 -3
package/package.json
CHANGED
|
@@ -61,6 +61,8 @@ export declare class DateInputComponent extends DateControlValueAccessorComponen
|
|
|
61
61
|
firstDayOfWeek: WeekDay;
|
|
62
62
|
/** If set to true, it will allow to close the calendar on escape button click. */
|
|
63
63
|
closeCalendarOnEscape: boolean;
|
|
64
|
+
/** If the date-input should close when scrolling the viewport. Default: false*/
|
|
65
|
+
closeOnScroll: boolean;
|
|
64
66
|
/**
|
|
65
67
|
* Sets the displayed size of the date input field.
|
|
66
68
|
*/
|
|
@@ -107,5 +109,5 @@ export declare class DateInputComponent extends DateControlValueAccessorComponen
|
|
|
107
109
|
*/
|
|
108
110
|
private setShown;
|
|
109
111
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateInputComponent, [{ optional: true; self: true; }, { optional: true; }, null, null, null]>;
|
|
110
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateInputComponent, "nggv-dateinput,nggv-input[type=date]", never, { "thook": { "alias": "thook"; "required": false; }; "type": { "alias": "type"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "disableDates": { "alias": "disableDates"; "required": false; }; "disableWeekDays": { "alias": "disableWeekDays"; "required": false; }; "minRows": { "alias": "minRows"; "required": false; }; "firstValid": { "alias": "firstValid"; "required": false; }; "lastValid": { "alias": "lastValid"; "required": false; }; "closingTime": { "alias": "closingTime"; "required": false; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; }; "closeCalendarOnEscape": { "alias": "closeCalendarOnEscape"; "required": false; }; "size": { "alias": "size"; "required": false; }; "dynamicPosition": { "alias": "dynamicPosition"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
112
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateInputComponent, "nggv-dateinput,nggv-input[type=date]", never, { "thook": { "alias": "thook"; "required": false; }; "type": { "alias": "type"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "disableDates": { "alias": "disableDates"; "required": false; }; "disableWeekDays": { "alias": "disableWeekDays"; "required": false; }; "minRows": { "alias": "minRows"; "required": false; }; "firstValid": { "alias": "firstValid"; "required": false; }; "lastValid": { "alias": "lastValid"; "required": false; }; "closingTime": { "alias": "closingTime"; "required": false; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; }; "closeCalendarOnEscape": { "alias": "closeCalendarOnEscape"; "required": false; }; "closeOnScroll": { "alias": "closeOnScroll"; "required": false; }; "size": { "alias": "size"; "required": false; }; "dynamicPosition": { "alias": "dynamicPosition"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
111
113
|
}
|
|
@@ -33,6 +33,8 @@ export declare class NggvDropdownComponent<K = string | null | undefined, V = st
|
|
|
33
33
|
placeholder?: string;
|
|
34
34
|
/** Specific value for aria-label. If not provided, label/labelTpl will be used. */
|
|
35
35
|
ariaLabel?: string;
|
|
36
|
+
/** If the dropdown should close when scrolling the viewport. Default: false */
|
|
37
|
+
closeOnScroll: boolean;
|
|
36
38
|
/** List of {@link Option} and {@link OptionGroup} listed when dropdown is expanded. */
|
|
37
39
|
set options(value: OptionBase<T>[]);
|
|
38
40
|
get options(): OptionBase<T>[];
|
|
@@ -123,5 +125,5 @@ export declare class NggvDropdownComponent<K = string | null | undefined, V = st
|
|
|
123
125
|
*/
|
|
124
126
|
isOption(option: OptionBase<T>): option is OptionGroup<T>;
|
|
125
127
|
static ɵfac: i0.ɵɵFactoryDeclaration<NggvDropdownComponent<any, any, any>, [{ optional: true; self: true; }, { optional: true; }, null, null]>;
|
|
126
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NggvDropdownComponent<any, any, any>, "nggv-dropdown", never, { "thook": { "alias": "thook"; "required": false; }; "size": { "alias": "size"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "options": { "alias": "options"; "required": false; }; "scrollOffset": { "alias": "scrollOffset"; "required": false; }; "allowControlNullishOption": { "alias": "allowControlNullishOption"; "required": false; }; "textToHighlight": { "alias": "textToHighlight"; "required": false; }; "selectOnSingleOption": { "alias": "selectOnSingleOption"; "required": false; }; "selectWithSpace": { "alias": "selectWithSpace"; "required": false; }; "onlyHandleDistinctChanges": { "alias": "onlyHandleDistinctChanges"; "required": false; }; }, { "expandedChange": "expandedChange"; }, ["selectedContentTpl", "optionContentTpl", "groupLabelTpl"], ["*"], false, never>;
|
|
128
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NggvDropdownComponent<any, any, any>, "nggv-dropdown", never, { "thook": { "alias": "thook"; "required": false; }; "size": { "alias": "size"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "closeOnScroll": { "alias": "closeOnScroll"; "required": false; }; "options": { "alias": "options"; "required": false; }; "scrollOffset": { "alias": "scrollOffset"; "required": false; }; "allowControlNullishOption": { "alias": "allowControlNullishOption"; "required": false; }; "textToHighlight": { "alias": "textToHighlight"; "required": false; }; "selectOnSingleOption": { "alias": "selectOnSingleOption"; "required": false; }; "selectWithSpace": { "alias": "selectWithSpace"; "required": false; }; "onlyHandleDistinctChanges": { "alias": "onlyHandleDistinctChanges"; "required": false; }; }, { "expandedChange": "expandedChange"; }, ["selectedContentTpl", "optionContentTpl", "groupLabelTpl"], ["*"], false, never>;
|
|
127
129
|
}
|
|
@@ -133,6 +133,10 @@ export declare class TableComponent<T extends TableRow> implements OnInit, OnCha
|
|
|
133
133
|
* Defaults to true.
|
|
134
134
|
*/
|
|
135
135
|
selectable: boolean;
|
|
136
|
+
/**
|
|
137
|
+
* Array of row id's (as defined by rowId property) that should not have a checkbox even if selectable is true.
|
|
138
|
+
*/
|
|
139
|
+
hiddenCheckboxRowIds: string[];
|
|
136
140
|
/**
|
|
137
141
|
* Used to enable/disable expandable rows.
|
|
138
142
|
* Defaults to false.
|
|
@@ -144,8 +148,8 @@ export declare class TableComponent<T extends TableRow> implements OnInit, OnCha
|
|
|
144
148
|
*/
|
|
145
149
|
expandedByDefault: boolean;
|
|
146
150
|
/**
|
|
147
|
-
|
|
148
|
-
|
|
151
|
+
* Property name used to describe the subItems in the data table.
|
|
152
|
+
*/
|
|
149
153
|
subItemsProp: string;
|
|
150
154
|
/**
|
|
151
155
|
* Allow nggv-table to attempt sorting the data in the table. Not recommended if only a subset is loaded or if the dataset is very large.
|
|
@@ -240,5 +244,5 @@ export declare class TableComponent<T extends TableRow> implements OnInit, OnCha
|
|
|
240
244
|
getAriaLabel(column: TableColumn<T>): string | undefined;
|
|
241
245
|
private toggleRowToExpand;
|
|
242
246
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent<any>, never>;
|
|
243
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "nggv-table", never, { "tableColumns": { "alias": "tableColumns"; "required": false; }; "tableData": { "alias": "tableData"; "required": false; }; "rowId": { "alias": "rowId"; "required": false; }; "hasRowSpan": { "alias": "hasRowSpan"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "expandable": { "alias": "expandable"; "required": false; }; "expandedByDefault": { "alias": "expandedByDefault"; "required": false; }; "subItemsProp": { "alias": "subItemsProp"; "required": false; }; "allowLocalSort": { "alias": "allowLocalSort"; "required": false; }; "thook": { "alias": "thook"; "required": false; }; "trThookFn": { "alias": "trThookFn"; "required": false; }; "ariaLabelCheckboxTh": { "alias": "ariaLabelCheckboxTh"; "required": false; }; "ariaLabelCheckboxTr": { "alias": "ariaLabelCheckboxTr"; "required": false; }; "ariaLabelsOrderBy": { "alias": "ariaLabelsOrderBy"; "required": false; }; }, { "ngvRowClick": "ngvRowClick"; "ngvRowSelect": "ngvRowSelect"; "ngvOrderBy": "ngvOrderBy"; }, ["appendedRowsTemplate", "customFooterTemplate", "customTemplates"], ["*"], false, never>;
|
|
247
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "nggv-table", never, { "tableColumns": { "alias": "tableColumns"; "required": false; }; "tableData": { "alias": "tableData"; "required": false; }; "rowId": { "alias": "rowId"; "required": false; }; "hasRowSpan": { "alias": "hasRowSpan"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "hiddenCheckboxRowIds": { "alias": "hiddenCheckboxRowIds"; "required": false; }; "expandable": { "alias": "expandable"; "required": false; }; "expandedByDefault": { "alias": "expandedByDefault"; "required": false; }; "subItemsProp": { "alias": "subItemsProp"; "required": false; }; "allowLocalSort": { "alias": "allowLocalSort"; "required": false; }; "thook": { "alias": "thook"; "required": false; }; "trThookFn": { "alias": "trThookFn"; "required": false; }; "ariaLabelCheckboxTh": { "alias": "ariaLabelCheckboxTh"; "required": false; }; "ariaLabelCheckboxTr": { "alias": "ariaLabelCheckboxTr"; "required": false; }; "ariaLabelsOrderBy": { "alias": "ariaLabelsOrderBy"; "required": false; }; }, { "ngvRowClick": "ngvRowClick"; "ngvRowSelect": "ngvRowSelect"; "ngvOrderBy": "ngvOrderBy"; }, ["appendedRowsTemplate", "customFooterTemplate", "customTemplates"], ["*"], false, never>;
|
|
244
248
|
}
|
|
@@ -61,6 +61,8 @@ export declare class DateInputComponent extends DateControlValueAccessorComponen
|
|
|
61
61
|
firstDayOfWeek: WeekDay;
|
|
62
62
|
/** If set to true, it will allow to close the calendar on escape button click. */
|
|
63
63
|
closeCalendarOnEscape: boolean;
|
|
64
|
+
/** If the date-input should close when scrolling the viewport. Default: false*/
|
|
65
|
+
closeOnScroll: boolean;
|
|
64
66
|
/**
|
|
65
67
|
* Sets the displayed size of the date input field.
|
|
66
68
|
*/
|
|
@@ -107,5 +109,5 @@ export declare class DateInputComponent extends DateControlValueAccessorComponen
|
|
|
107
109
|
*/
|
|
108
110
|
private setShown;
|
|
109
111
|
static ɵfac: i0.ɵɵFactoryDeclaration<DateInputComponent, [{ optional: true; self: true; }, { optional: true; }, null, null, null]>;
|
|
110
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DateInputComponent, "nggv-dateinput,nggv-input[type=date]", never, { "thook": { "alias": "thook"; "required": false; }; "type": { "alias": "type"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "disableDates": { "alias": "disableDates"; "required": false; }; "disableWeekDays": { "alias": "disableWeekDays"; "required": false; }; "minRows": { "alias": "minRows"; "required": false; }; "firstValid": { "alias": "firstValid"; "required": false; }; "lastValid": { "alias": "lastValid"; "required": false; }; "closingTime": { "alias": "closingTime"; "required": false; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; }; "closeCalendarOnEscape": { "alias": "closeCalendarOnEscape"; "required": false; }; "size": { "alias": "size"; "required": false; }; "dynamicPosition": { "alias": "dynamicPosition"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
112
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DateInputComponent, "nggv-dateinput,nggv-input[type=date]", never, { "thook": { "alias": "thook"; "required": false; }; "type": { "alias": "type"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "disableDates": { "alias": "disableDates"; "required": false; }; "disableWeekDays": { "alias": "disableWeekDays"; "required": false; }; "minRows": { "alias": "minRows"; "required": false; }; "firstValid": { "alias": "firstValid"; "required": false; }; "lastValid": { "alias": "lastValid"; "required": false; }; "closingTime": { "alias": "closingTime"; "required": false; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; }; "closeCalendarOnEscape": { "alias": "closeCalendarOnEscape"; "required": false; }; "closeOnScroll": { "alias": "closeOnScroll"; "required": false; }; "size": { "alias": "size"; "required": false; }; "dynamicPosition": { "alias": "dynamicPosition"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
111
113
|
}
|
|
@@ -33,6 +33,8 @@ export declare class NggvDropdownComponent<K = string | null | undefined, V = st
|
|
|
33
33
|
placeholder?: string;
|
|
34
34
|
/** Specific value for aria-label. If not provided, label/labelTpl will be used. */
|
|
35
35
|
ariaLabel?: string;
|
|
36
|
+
/** If the dropdown should close when scrolling the viewport. Default: false */
|
|
37
|
+
closeOnScroll: boolean;
|
|
36
38
|
/** List of {@link Option} and {@link OptionGroup} listed when dropdown is expanded. */
|
|
37
39
|
set options(value: OptionBase<T>[]);
|
|
38
40
|
get options(): OptionBase<T>[];
|
|
@@ -123,5 +125,5 @@ export declare class NggvDropdownComponent<K = string | null | undefined, V = st
|
|
|
123
125
|
*/
|
|
124
126
|
isOption(option: OptionBase<T>): option is OptionGroup<T>;
|
|
125
127
|
static ɵfac: i0.ɵɵFactoryDeclaration<NggvDropdownComponent<any, any, any>, [{ optional: true; self: true; }, { optional: true; }, null, null]>;
|
|
126
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NggvDropdownComponent<any, any, any>, "nggv-dropdown", never, { "thook": { "alias": "thook"; "required": false; }; "size": { "alias": "size"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "options": { "alias": "options"; "required": false; }; "scrollOffset": { "alias": "scrollOffset"; "required": false; }; "allowControlNullishOption": { "alias": "allowControlNullishOption"; "required": false; }; "textToHighlight": { "alias": "textToHighlight"; "required": false; }; "selectOnSingleOption": { "alias": "selectOnSingleOption"; "required": false; }; "selectWithSpace": { "alias": "selectWithSpace"; "required": false; }; "onlyHandleDistinctChanges": { "alias": "onlyHandleDistinctChanges"; "required": false; }; }, { "expandedChange": "expandedChange"; }, ["selectedContentTpl", "optionContentTpl", "groupLabelTpl"], ["*"], false, never>;
|
|
128
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NggvDropdownComponent<any, any, any>, "nggv-dropdown", never, { "thook": { "alias": "thook"; "required": false; }; "size": { "alias": "size"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; "closeOnScroll": { "alias": "closeOnScroll"; "required": false; }; "options": { "alias": "options"; "required": false; }; "scrollOffset": { "alias": "scrollOffset"; "required": false; }; "allowControlNullishOption": { "alias": "allowControlNullishOption"; "required": false; }; "textToHighlight": { "alias": "textToHighlight"; "required": false; }; "selectOnSingleOption": { "alias": "selectOnSingleOption"; "required": false; }; "selectWithSpace": { "alias": "selectWithSpace"; "required": false; }; "onlyHandleDistinctChanges": { "alias": "onlyHandleDistinctChanges"; "required": false; }; }, { "expandedChange": "expandedChange"; }, ["selectedContentTpl", "optionContentTpl", "groupLabelTpl"], ["*"], false, never>;
|
|
127
129
|
}
|
|
@@ -133,6 +133,10 @@ export declare class TableComponent<T extends TableRow> implements OnInit, OnCha
|
|
|
133
133
|
* Defaults to true.
|
|
134
134
|
*/
|
|
135
135
|
selectable: boolean;
|
|
136
|
+
/**
|
|
137
|
+
* Array of row id's (as defined by rowId property) that should not have a checkbox even if selectable is true.
|
|
138
|
+
*/
|
|
139
|
+
hiddenCheckboxRowIds: string[];
|
|
136
140
|
/**
|
|
137
141
|
* Used to enable/disable expandable rows.
|
|
138
142
|
* Defaults to false.
|
|
@@ -144,8 +148,8 @@ export declare class TableComponent<T extends TableRow> implements OnInit, OnCha
|
|
|
144
148
|
*/
|
|
145
149
|
expandedByDefault: boolean;
|
|
146
150
|
/**
|
|
147
|
-
|
|
148
|
-
|
|
151
|
+
* Property name used to describe the subItems in the data table.
|
|
152
|
+
*/
|
|
149
153
|
subItemsProp: string;
|
|
150
154
|
/**
|
|
151
155
|
* Allow nggv-table to attempt sorting the data in the table. Not recommended if only a subset is loaded or if the dataset is very large.
|
|
@@ -240,5 +244,5 @@ export declare class TableComponent<T extends TableRow> implements OnInit, OnCha
|
|
|
240
244
|
getAriaLabel(column: TableColumn<T>): string | undefined;
|
|
241
245
|
private toggleRowToExpand;
|
|
242
246
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent<any>, never>;
|
|
243
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "nggv-table", never, { "tableColumns": { "alias": "tableColumns"; "required": false; }; "tableData": { "alias": "tableData"; "required": false; }; "rowId": { "alias": "rowId"; "required": false; }; "hasRowSpan": { "alias": "hasRowSpan"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "expandable": { "alias": "expandable"; "required": false; }; "expandedByDefault": { "alias": "expandedByDefault"; "required": false; }; "subItemsProp": { "alias": "subItemsProp"; "required": false; }; "allowLocalSort": { "alias": "allowLocalSort"; "required": false; }; "thook": { "alias": "thook"; "required": false; }; "trThookFn": { "alias": "trThookFn"; "required": false; }; "ariaLabelCheckboxTh": { "alias": "ariaLabelCheckboxTh"; "required": false; }; "ariaLabelCheckboxTr": { "alias": "ariaLabelCheckboxTr"; "required": false; }; "ariaLabelsOrderBy": { "alias": "ariaLabelsOrderBy"; "required": false; }; }, { "ngvRowClick": "ngvRowClick"; "ngvRowSelect": "ngvRowSelect"; "ngvOrderBy": "ngvOrderBy"; }, ["appendedRowsTemplate", "customFooterTemplate", "customTemplates"], ["*"], false, never>;
|
|
247
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent<any>, "nggv-table", never, { "tableColumns": { "alias": "tableColumns"; "required": false; }; "tableData": { "alias": "tableData"; "required": false; }; "rowId": { "alias": "rowId"; "required": false; }; "hasRowSpan": { "alias": "hasRowSpan"; "required": false; }; "selectable": { "alias": "selectable"; "required": false; }; "hiddenCheckboxRowIds": { "alias": "hiddenCheckboxRowIds"; "required": false; }; "expandable": { "alias": "expandable"; "required": false; }; "expandedByDefault": { "alias": "expandedByDefault"; "required": false; }; "subItemsProp": { "alias": "subItemsProp"; "required": false; }; "allowLocalSort": { "alias": "allowLocalSort"; "required": false; }; "thook": { "alias": "thook"; "required": false; }; "trThookFn": { "alias": "trThookFn"; "required": false; }; "ariaLabelCheckboxTh": { "alias": "ariaLabelCheckboxTh"; "required": false; }; "ariaLabelCheckboxTr": { "alias": "ariaLabelCheckboxTr"; "required": false; }; "ariaLabelsOrderBy": { "alias": "ariaLabelsOrderBy"; "required": false; }; }, { "ngvRowClick": "ngvRowClick"; "ngvRowSelect": "ngvRowSelect"; "ngvOrderBy": "ngvOrderBy"; }, ["appendedRowsTemplate", "customFooterTemplate", "customTemplates"], ["*"], false, never>;
|
|
244
248
|
}
|