@six-group/ui-library-angular 5.1.1 → 5.2.0-rc.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/six-group-ui-library-angular.mjs +84 -11
- package/fesm2022/six-group-ui-library-angular.mjs.map +1 -1
- package/lib/control-value-accessors/checkbox-multi-select-value-accessor.d.ts +16 -0
- package/lib/control-value-accessors/checkbox-value-accessor.d.ts +1 -1
- package/lib/control-value-accessors/value-accessor.d.ts +2 -2
- package/lib/stencil-generated/components.d.ts +1 -1
- package/lib/ui-library-angular-config.d.ts +2 -1
- package/lib/ui-library-angular.module.d.ts +8 -7
- package/package.json +9 -1
- package/public-api.d.ts +1 -0
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ElementRef, Injector } from '@angular/core';
|
|
2
|
+
import { ValueAccessor } from './value-accessor';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SixCheckboxGroupDirective {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SixCheckboxGroupDirective, never>;
|
|
6
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SixCheckboxGroupDirective, "[six-checkbox-group]", never, {}, {}, never, never, false, never>;
|
|
7
|
+
}
|
|
8
|
+
export declare class CheckboxMultiSelectValueAccessor<T extends string = string> extends ValueAccessor {
|
|
9
|
+
value: T;
|
|
10
|
+
constructor(injector: Injector, el: ElementRef);
|
|
11
|
+
onHostChange(el: HTMLSixCheckboxElement): void;
|
|
12
|
+
writeValue(values: T[]): void;
|
|
13
|
+
setDisabledState(isDisabled: boolean): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxMultiSelectValueAccessor<any>, never>;
|
|
15
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CheckboxMultiSelectValueAccessor<any>, "six-checkbox[six-checkbox-group]", never, { "value": { "alias": "value"; "required": true; }; }, {}, never, never, false, never>;
|
|
16
|
+
}
|
|
@@ -6,5 +6,5 @@ export declare class CheckboxValueAccessor extends ValueAccessor {
|
|
|
6
6
|
handleChangeEvent(el: HTMLSixCheckboxElement): void;
|
|
7
7
|
writeValue(value: any): void;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxValueAccessor, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CheckboxValueAccessor, "six-checkbox", never, {}, {}, never, never, false, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CheckboxValueAccessor, "six-checkbox:not([six-checkbox-group])", never, {}, {}, never, never, false, never>;
|
|
10
10
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { AfterViewInit, ElementRef, Injector, OnDestroy } from '@angular/core';
|
|
2
|
-
import { AbstractControl, ControlValueAccessor } from '@angular/forms';
|
|
2
|
+
import { AbstractControl, ControlValueAccessor, NgControl } from '@angular/forms';
|
|
3
3
|
import { UiLibraryConfig } from '../ui-library-angular-config';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class ValueAccessor implements ControlValueAccessor, AfterViewInit, OnDestroy {
|
|
6
6
|
protected injector: Injector;
|
|
7
7
|
protected el: ElementRef;
|
|
8
8
|
private statusChanges?;
|
|
9
|
-
|
|
9
|
+
ngControl?: NgControl;
|
|
10
10
|
private initialErrorText?;
|
|
11
11
|
private validationMessagesService;
|
|
12
12
|
protected config: UiLibraryConfig;
|
|
@@ -290,7 +290,7 @@ export declare class SixDropdown {
|
|
|
290
290
|
protected el: HTMLSixDropdownElement;
|
|
291
291
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
292
292
|
static ɵfac: i0.ɵɵFactoryDeclaration<SixDropdown, never>;
|
|
293
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SixDropdown, "six-dropdown", never, { "asyncFilter": { "alias": "asyncFilter"; "required": false; }; "autofocusFilter": { "alias": "autofocusFilter"; "required": false; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; }; "containingElement": { "alias": "containingElement"; "required": false; }; "disableHideOnEnterAndSpace": { "alias": "disableHideOnEnterAndSpace"; "required": false; }; "distance": { "alias": "distance"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "filterDebounce": { "alias": "filterDebounce"; "required": false; }; "filterPlaceholder": { "alias": "filterPlaceholder"; "required": false; }; "hoist": { "alias": "hoist"; "required": false; }; "matchTriggerWidth": { "alias": "matchTriggerWidth"; "required": false; }; "open": { "alias": "open"; "required": false; }; "options": { "alias": "options"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "skidding": { "alias": "skidding"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
293
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SixDropdown, "six-dropdown", never, { "asyncFilter": { "alias": "asyncFilter"; "required": false; }; "autofocusFilter": { "alias": "autofocusFilter"; "required": false; }; "closeOnSelect": { "alias": "closeOnSelect"; "required": false; }; "containingElement": { "alias": "containingElement"; "required": false; }; "disableHideOnEnterAndSpace": { "alias": "disableHideOnEnterAndSpace"; "required": false; }; "distance": { "alias": "distance"; "required": false; }; "filter": { "alias": "filter"; "required": false; }; "filterDebounce": { "alias": "filterDebounce"; "required": false; }; "filterPlaceholder": { "alias": "filterPlaceholder"; "required": false; }; "hoist": { "alias": "hoist"; "required": false; }; "matchTriggerWidth": { "alias": "matchTriggerWidth"; "required": false; }; "noScroll": { "alias": "noScroll"; "required": false; }; "open": { "alias": "open"; "required": false; }; "options": { "alias": "options"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "skidding": { "alias": "skidding"; "required": false; }; "virtualScroll": { "alias": "virtualScroll"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
294
294
|
}
|
|
295
295
|
export declare interface SixDropdown extends Components.SixDropdown {
|
|
296
296
|
/**
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { InjectionToken } from '@angular/core';
|
|
2
2
|
export interface UiLibraryConfig {
|
|
3
|
-
showAsteriskOnRequiredValidator
|
|
3
|
+
showAsteriskOnRequiredValidator?: boolean;
|
|
4
|
+
disableValidationService?: boolean;
|
|
4
5
|
}
|
|
5
6
|
export declare const DEFAULT_UI_LIBRARY_CONFIG: UiLibraryConfig;
|
|
6
7
|
export declare const UI_LIBRARY_CONFIG: InjectionToken<UiLibraryConfig>;
|
|
@@ -11,15 +11,16 @@ import * as i6 from "./control-value-accessors/date-value-accessor";
|
|
|
11
11
|
import * as i7 from "./control-value-accessors/timepicker-value-accessor";
|
|
12
12
|
import * as i8 from "./control-value-accessors/select-value-accessor";
|
|
13
13
|
import * as i9 from "./control-value-accessors/checkbox-value-accessor";
|
|
14
|
-
import * as i10 from "./control-value-accessors/
|
|
15
|
-
import * as i11 from "./control-value-accessors/
|
|
16
|
-
import * as i12 from "./
|
|
17
|
-
import * as i13 from "./
|
|
18
|
-
import * as i14 from "./
|
|
19
|
-
import * as i15 from "./
|
|
14
|
+
import * as i10 from "./control-value-accessors/checkbox-multi-select-value-accessor";
|
|
15
|
+
import * as i11 from "./control-value-accessors/switch-value-accessor";
|
|
16
|
+
import * as i12 from "./control-value-accessors/range-value-accessor";
|
|
17
|
+
import * as i13 from "./validators/six-ui-library-validators";
|
|
18
|
+
import * as i14 from "./form/six-form.directive";
|
|
19
|
+
import * as i15 from "./link/six-router-link.directive";
|
|
20
|
+
import * as i16 from "./sidebar/active-sidebar.directive";
|
|
20
21
|
export declare class UiLibraryAngularModule {
|
|
21
22
|
static forRoot<T extends ValidationMessagesService>(customValidationMessagesService?: Type<T>, config?: UiLibraryConfig): ModuleWithProviders<UiLibraryAngularModule>;
|
|
22
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiLibraryAngularModule, never>;
|
|
23
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<UiLibraryAngularModule, [typeof i1.SixAlert, typeof i1.SixAvatar, typeof i1.SixBadge, typeof i1.SixBreadcrumbs, typeof i1.SixBreadcrumbsItem, typeof i1.SixButton, typeof i1.SixCard, typeof i1.SixCheckbox, typeof i1.SixDate, typeof i1.SixDatepicker, typeof i1.SixDetails, typeof i1.SixDialog, typeof i1.SixDrawer, typeof i1.SixDropdown, typeof i1.SixError, typeof i1.SixErrorPage, typeof i1.SixFileList, typeof i1.SixFileListItem, typeof i1.SixFileUpload, typeof i1.SixFooter, typeof i1.SixGroupLabel, typeof i1.SixHeader, typeof i1.SixHeaderDropdownItem, typeof i1.SixHeaderItem, typeof i1.SixHeaderMenuButton, typeof i1.SixIcon, typeof i1.SixIconButton, typeof i1.SixInput, typeof i1.SixItemPicker, typeof i1.SixLanguageSwitcher, typeof i1.SixLayoutGrid, typeof i1.SixLogo, typeof i1.SixMainContainer, typeof i1.SixMenu, typeof i1.SixMenuDivider, typeof i1.SixMenuItem, typeof i1.SixMenuLabel, typeof i1.SixPicto, typeof i1.SixProgressBar, typeof i1.SixProgressRing, typeof i1.SixRadio, typeof i1.SixRange, typeof i1.SixRating, typeof i1.SixRoot, typeof i1.SixSearchField, typeof i1.SixSelect, typeof i1.SixSidebar, typeof i1.SixSidebarItem, typeof i1.SixSidebarItemGroup, typeof i1.SixSpinner, typeof i1.SixStageIndicator, typeof i1.SixSwitch, typeof i1.SixTab, typeof i1.SixTabGroup, typeof i1.SixTabPanel, typeof i1.SixTag, typeof i1.SixTextarea, typeof i1.SixTile, typeof i1.SixTimepicker, typeof i1.SixTooltip, typeof i2.TextValueAccessor, typeof i3.NumericValueAccessor, typeof i4.RadioValueAccessor, typeof i5.DatepickerValueAccessor, typeof i6.DateValueAccessor, typeof i7.TimepickerValueAccessor, typeof i8.SelectValueAccessor, typeof i9.CheckboxValueAccessor, typeof i10.
|
|
24
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<UiLibraryAngularModule, [typeof i1.SixAlert, typeof i1.SixAvatar, typeof i1.SixBadge, typeof i1.SixBreadcrumbs, typeof i1.SixBreadcrumbsItem, typeof i1.SixButton, typeof i1.SixCard, typeof i1.SixCheckbox, typeof i1.SixDate, typeof i1.SixDatepicker, typeof i1.SixDetails, typeof i1.SixDialog, typeof i1.SixDrawer, typeof i1.SixDropdown, typeof i1.SixError, typeof i1.SixErrorPage, typeof i1.SixFileList, typeof i1.SixFileListItem, typeof i1.SixFileUpload, typeof i1.SixFooter, typeof i1.SixGroupLabel, typeof i1.SixHeader, typeof i1.SixHeaderDropdownItem, typeof i1.SixHeaderItem, typeof i1.SixHeaderMenuButton, typeof i1.SixIcon, typeof i1.SixIconButton, typeof i1.SixInput, typeof i1.SixItemPicker, typeof i1.SixLanguageSwitcher, typeof i1.SixLayoutGrid, typeof i1.SixLogo, typeof i1.SixMainContainer, typeof i1.SixMenu, typeof i1.SixMenuDivider, typeof i1.SixMenuItem, typeof i1.SixMenuLabel, typeof i1.SixPicto, typeof i1.SixProgressBar, typeof i1.SixProgressRing, typeof i1.SixRadio, typeof i1.SixRange, typeof i1.SixRating, typeof i1.SixRoot, typeof i1.SixSearchField, typeof i1.SixSelect, typeof i1.SixSidebar, typeof i1.SixSidebarItem, typeof i1.SixSidebarItemGroup, typeof i1.SixSpinner, typeof i1.SixStageIndicator, typeof i1.SixSwitch, typeof i1.SixTab, typeof i1.SixTabGroup, typeof i1.SixTabPanel, typeof i1.SixTag, typeof i1.SixTextarea, typeof i1.SixTile, typeof i1.SixTimepicker, typeof i1.SixTooltip, typeof i2.TextValueAccessor, typeof i3.NumericValueAccessor, typeof i4.RadioValueAccessor, typeof i5.DatepickerValueAccessor, typeof i6.DateValueAccessor, typeof i7.TimepickerValueAccessor, typeof i8.SelectValueAccessor, typeof i9.CheckboxValueAccessor, typeof i10.CheckboxMultiSelectValueAccessor, typeof i10.SixCheckboxGroupDirective, typeof i11.SwitchValueAccessor, typeof i12.RangeValueAccessor, typeof i13.MinValidator, typeof i13.MaxValidator, typeof i13.MinDateValidator, typeof i13.MaxDateValidator, typeof i13.AllowedDatesValidator, typeof i13.MinDateValidatorIso, typeof i13.MaxDateValidatorIso, typeof i13.AllowedDatesValidatorIso, typeof i14.SixFormDirective, typeof i14.SixFormUtilDirective, typeof i15.SixRouterLinkDirective, typeof i16.ActiveSidebarItemDirective, typeof i16.ActiveSidebarItemGroupDirective, typeof i16.ActiveSidebarDirective], never, [typeof i1.SixAlert, typeof i1.SixAvatar, typeof i1.SixBadge, typeof i1.SixBreadcrumbs, typeof i1.SixBreadcrumbsItem, typeof i1.SixButton, typeof i1.SixCard, typeof i1.SixCheckbox, typeof i1.SixDate, typeof i1.SixDatepicker, typeof i1.SixDetails, typeof i1.SixDialog, typeof i1.SixDrawer, typeof i1.SixDropdown, typeof i1.SixError, typeof i1.SixErrorPage, typeof i1.SixFileList, typeof i1.SixFileListItem, typeof i1.SixFileUpload, typeof i1.SixFooter, typeof i1.SixGroupLabel, typeof i1.SixHeader, typeof i1.SixHeaderDropdownItem, typeof i1.SixHeaderItem, typeof i1.SixHeaderMenuButton, typeof i1.SixIcon, typeof i1.SixIconButton, typeof i1.SixInput, typeof i1.SixItemPicker, typeof i1.SixLanguageSwitcher, typeof i1.SixLayoutGrid, typeof i1.SixLogo, typeof i1.SixMainContainer, typeof i1.SixMenu, typeof i1.SixMenuDivider, typeof i1.SixMenuItem, typeof i1.SixMenuLabel, typeof i1.SixPicto, typeof i1.SixProgressBar, typeof i1.SixProgressRing, typeof i1.SixRadio, typeof i1.SixRange, typeof i1.SixRating, typeof i1.SixRoot, typeof i1.SixSearchField, typeof i1.SixSelect, typeof i1.SixSidebar, typeof i1.SixSidebarItem, typeof i1.SixSidebarItemGroup, typeof i1.SixSpinner, typeof i1.SixStageIndicator, typeof i1.SixSwitch, typeof i1.SixTab, typeof i1.SixTabGroup, typeof i1.SixTabPanel, typeof i1.SixTag, typeof i1.SixTextarea, typeof i1.SixTile, typeof i1.SixTimepicker, typeof i1.SixTooltip, typeof i2.TextValueAccessor, typeof i3.NumericValueAccessor, typeof i4.RadioValueAccessor, typeof i5.DatepickerValueAccessor, typeof i6.DateValueAccessor, typeof i7.TimepickerValueAccessor, typeof i8.SelectValueAccessor, typeof i9.CheckboxValueAccessor, typeof i10.CheckboxMultiSelectValueAccessor, typeof i10.SixCheckboxGroupDirective, typeof i11.SwitchValueAccessor, typeof i12.RangeValueAccessor, typeof i13.MinValidator, typeof i13.MaxValidator, typeof i13.MinDateValidator, typeof i13.MaxDateValidator, typeof i13.AllowedDatesValidator, typeof i13.MinDateValidatorIso, typeof i13.MaxDateValidatorIso, typeof i13.AllowedDatesValidatorIso, typeof i14.SixFormDirective, typeof i14.SixFormUtilDirective, typeof i15.SixRouterLinkDirective, typeof i16.ActiveSidebarItemDirective, typeof i16.ActiveSidebarItemGroupDirective, typeof i16.ActiveSidebarDirective]>;
|
|
24
25
|
static ɵinj: i0.ɵɵInjectorDeclaration<UiLibraryAngularModule>;
|
|
25
26
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@six-group/ui-library-angular",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.2.0-rc.2",
|
|
4
4
|
"description": "Angular wrapper components for @six-group/ui-library",
|
|
5
5
|
"private": false,
|
|
6
6
|
"peerDependencies": {
|
|
@@ -10,9 +10,17 @@
|
|
|
10
10
|
"@angular/forms": ">=19.0.0",
|
|
11
11
|
"@six-group/ui-library": "*"
|
|
12
12
|
},
|
|
13
|
+
"publishConfig": {
|
|
14
|
+
"access": "public",
|
|
15
|
+
"provenance": true
|
|
16
|
+
},
|
|
13
17
|
"dependencies": {
|
|
14
18
|
"tslib": "^2.3.0"
|
|
15
19
|
},
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "https://github.com/six-group/six-webcomponents.git"
|
|
23
|
+
},
|
|
16
24
|
"sideEffects": false,
|
|
17
25
|
"engines": {
|
|
18
26
|
"node": ">=22"
|
package/public-api.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ export * from './lib/control-value-accessors/date-value-accessor';
|
|
|
10
10
|
export * from './lib/control-value-accessors/timepicker-value-accessor';
|
|
11
11
|
export * from './lib/control-value-accessors/select-value-accessor';
|
|
12
12
|
export * from './lib/control-value-accessors/checkbox-value-accessor';
|
|
13
|
+
export * from './lib/control-value-accessors/checkbox-multi-select-value-accessor';
|
|
13
14
|
export * from './lib/control-value-accessors/switch-value-accessor';
|
|
14
15
|
export * from './lib/control-value-accessors/range-value-accessor';
|
|
15
16
|
export * from './lib/validators/six-ui-library-validators';
|