@lucca-front/ng 15.1.3 → 15.2.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/esm2020/api/lib/select/input/api-select-input.component.mjs +3 -3
- package/esm2020/date/lib/select/date-select-input.component.mjs +3 -3
- package/esm2020/department/lib/select/input/department-select-input.component.mjs +3 -3
- package/esm2020/establishment/lib/select/input/establishment-select-input.component.mjs +3 -3
- package/esm2020/input/lib/clearer/clearer.component.mjs +3 -3
- package/esm2020/modal/lib/modal-config.default.mjs +8 -2
- package/esm2020/modal/lib/modal-config.model.mjs +5 -2
- package/esm2020/modal/lib/modal-panel.component.mjs +26 -26
- package/esm2020/modal/lib/modal-ref.factory.mjs +11 -11
- package/esm2020/modal/lib/modal-ref.model.mjs +8 -1
- package/esm2020/modal/lib/modal.module.mjs +13 -13
- package/esm2020/modal/lib/modal.service.mjs +1 -1
- package/esm2020/modal/lib/modal.token.mjs +4 -4
- package/esm2020/option/lib/item/tree-option-item.component.mjs +3 -3
- package/esm2020/popup/lib/popup-config.default.mjs +2 -2
- package/esm2020/popup/lib/popup-ref.model.mjs +33 -18
- package/esm2020/popup/lib/popup.service.mjs +1 -1
- package/esm2020/qualification/lib/select/input/qualification-select-input.component.mjs +3 -3
- package/esm2020/select/lib/input/select-input.component.mjs +2 -2
- package/esm2020/sidepanel/lib/index.mjs +1 -8
- package/esm2020/sidepanel/lib/sidepanel.model.mjs +27 -2
- package/esm2020/sidepanel/lib/sidepanel.module.mjs +9 -15
- package/esm2020/sidepanel/lib/sidepanel.service.mjs +11 -3
- package/esm2020/simple-select/api/lib/api-v3.directive.mjs +57 -0
- package/esm2020/simple-select/api/lib/api-v4.directive.mjs +50 -0
- package/esm2020/simple-select/api/lib/api.directive.mjs +40 -0
- package/esm2020/simple-select/api/lucca-front-ng-simple-select-api.mjs +5 -0
- package/esm2020/simple-select/api/public-api.mjs +4 -0
- package/esm2020/simple-select/lib/index.mjs +2 -1
- package/esm2020/simple-select/lib/input/panel-ref.factory.mjs +90 -0
- package/esm2020/simple-select/lib/input/select-input.component.mjs +54 -174
- package/esm2020/simple-select/lib/input/select-input.models.mjs +60 -0
- package/esm2020/simple-select/lib/option/default-option.component.mjs +21 -0
- package/esm2020/simple-select/lib/option/disabled.directive.mjs +26 -0
- package/esm2020/simple-select/lib/option/index.mjs +4 -2
- package/esm2020/simple-select/lib/option/option-outlet.directive.mjs +70 -0
- package/esm2020/simple-select/lib/option/option.component.mjs +36 -17
- package/esm2020/simple-select/lib/option/option.token.mjs +22 -0
- package/esm2020/simple-select/lib/panel/index.mjs +2 -1
- package/esm2020/simple-select/lib/panel/panel.component.mjs +27 -53
- package/esm2020/simple-select/lib/panel/panel.models.mjs +23 -0
- package/esm2020/simple-select/lib/select.model.mjs +1 -1
- package/esm2020/simple-select/lib/select.translate.mjs +37 -0
- package/esm2020/user/lib/select/input/user-select-input.component.mjs +3 -3
- package/fesm2015/lucca-front-ng-api.mjs +2 -2
- package/fesm2015/lucca-front-ng-api.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-date.mjs +2 -2
- package/fesm2015/lucca-front-ng-date.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-department.mjs +2 -2
- package/fesm2015/lucca-front-ng-department.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-establishment.mjs +2 -2
- package/fesm2015/lucca-front-ng-establishment.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-input.mjs +2 -2
- package/fesm2015/lucca-front-ng-input.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-modal.mjs +64 -48
- package/fesm2015/lucca-front-ng-modal.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-option.mjs +2 -2
- package/fesm2015/lucca-front-ng-option.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-popup.mjs +33 -18
- package/fesm2015/lucca-front-ng-popup.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-qualification.mjs +2 -2
- package/fesm2015/lucca-front-ng-qualification.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-select.mjs +2 -2
- package/fesm2015/lucca-front-ng-select.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-sidepanel.mjs +40 -141
- package/fesm2015/lucca-front-ng-sidepanel.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-simple-select-api.mjs +137 -0
- package/fesm2015/lucca-front-ng-simple-select-api.mjs.map +1 -0
- package/fesm2015/lucca-front-ng-simple-select.mjs +378 -192
- package/fesm2015/lucca-front-ng-simple-select.mjs.map +1 -1
- package/fesm2015/lucca-front-ng-user.mjs +2 -2
- package/fesm2015/lucca-front-ng-user.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-api.mjs +2 -2
- package/fesm2020/lucca-front-ng-api.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-date.mjs +2 -2
- package/fesm2020/lucca-front-ng-date.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-department.mjs +2 -2
- package/fesm2020/lucca-front-ng-department.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-establishment.mjs +2 -2
- package/fesm2020/lucca-front-ng-establishment.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-input.mjs +2 -2
- package/fesm2020/lucca-front-ng-input.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-modal.mjs +68 -48
- package/fesm2020/lucca-front-ng-modal.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-option.mjs +2 -2
- package/fesm2020/lucca-front-ng-option.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-popup.mjs +33 -18
- package/fesm2020/lucca-front-ng-popup.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-qualification.mjs +2 -2
- package/fesm2020/lucca-front-ng-qualification.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-select.mjs +2 -2
- package/fesm2020/lucca-front-ng-select.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-sidepanel.mjs +40 -141
- package/fesm2020/lucca-front-ng-sidepanel.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-simple-select-api.mjs +145 -0
- package/fesm2020/lucca-front-ng-simple-select-api.mjs.map +1 -0
- package/fesm2020/lucca-front-ng-simple-select.mjs +373 -182
- package/fesm2020/lucca-front-ng-simple-select.mjs.map +1 -1
- package/fesm2020/lucca-front-ng-user.mjs +2 -2
- package/fesm2020/lucca-front-ng-user.mjs.map +1 -1
- package/modal/lib/modal-config.default.d.ts +3 -2
- package/modal/lib/modal-config.model.d.ts +23 -3
- package/modal/lib/modal-panel.component.d.ts +8 -7
- package/modal/lib/modal-ref.factory.d.ts +9 -8
- package/modal/lib/modal-ref.model.d.ts +8 -2
- package/modal/lib/modal.module.d.ts +8 -6
- package/modal/lib/modal.service.d.ts +3 -3
- package/modal/lib/modal.token.d.ts +2 -2
- package/package.json +11 -3
- package/popup/lib/popup-ref.model.d.ts +9 -4
- package/popup/lib/popup.service.d.ts +2 -2
- package/sidepanel/lib/index.d.ts +0 -7
- package/sidepanel/lib/sidepanel.model.d.ts +42 -1
- package/sidepanel/lib/sidepanel.module.d.ts +5 -6
- package/sidepanel/lib/sidepanel.service.d.ts +12 -4
- package/simple-select/api/index.d.ts +5 -0
- package/simple-select/api/lib/api-v3.directive.d.ts +25 -0
- package/simple-select/api/lib/api-v4.directive.d.ts +22 -0
- package/simple-select/api/lib/api.directive.d.ts +32 -0
- package/simple-select/api/public-api.d.ts +3 -0
- package/simple-select/lib/index.d.ts +1 -0
- package/simple-select/lib/input/panel-ref.factory.d.ts +16 -0
- package/simple-select/lib/input/select-input.component.d.ts +22 -33
- package/simple-select/lib/input/select-input.models.d.ts +3 -0
- package/simple-select/lib/option/default-option.component.d.ts +9 -0
- package/simple-select/lib/option/disabled.directive.d.ts +7 -0
- package/simple-select/lib/option/index.d.ts +3 -1
- package/simple-select/lib/option/option-outlet.directive.d.ts +19 -0
- package/simple-select/lib/option/option.component.d.ts +16 -6
- package/simple-select/lib/option/option.token.d.ts +9 -0
- package/simple-select/lib/panel/index.d.ts +1 -0
- package/simple-select/lib/panel/panel.component.d.ts +11 -21
- package/simple-select/lib/panel/panel.models.d.ts +13 -0
- package/simple-select/lib/select.model.d.ts +3 -3
- package/simple-select/lib/select.translate.d.ts +10 -0
- package/src/components/_dropdown.scss +6 -4
- package/src/components/_sidepanel.scss +16 -6
- package/src/definitions/select/_select-clearer.scss +24 -9
- package/src/definitions/select/_select-input.scss +5 -16
- package/esm2020/sidepanel/lib/sidepanel-config.default.mjs +0 -11
- package/esm2020/sidepanel/lib/sidepanel-config.model.mjs +0 -2
- package/esm2020/sidepanel/lib/sidepanel-panel.component.mjs +0 -44
- package/esm2020/sidepanel/lib/sidepanel-ref.factory.mjs +0 -59
- package/esm2020/sidepanel/lib/sidepanel-ref.model.mjs +0 -4
- package/esm2020/sidepanel/lib/sidepanel.token.mjs +0 -6
- package/esm2020/sidepanel/lib/sidepanel.translate.mjs +0 -22
- package/sidepanel/lib/sidepanel-config.default.d.ts +0 -2
- package/sidepanel/lib/sidepanel-config.model.d.ts +0 -4
- package/sidepanel/lib/sidepanel-panel.component.d.ts +0 -19
- package/sidepanel/lib/sidepanel-ref.factory.d.ts +0 -29
- package/sidepanel/lib/sidepanel-ref.model.d.ts +0 -5
- package/sidepanel/lib/sidepanel.token.d.ts +0 -7
- package/sidepanel/lib/sidepanel.translate.d.ts +0 -9
|
@@ -7,6 +7,7 @@ export interface ILuPopupRef<T = unknown, D = unknown, R = unknown> {
|
|
|
7
7
|
onOpen: Observable<D>;
|
|
8
8
|
onClose: Observable<R>;
|
|
9
9
|
onDismiss: Observable<void>;
|
|
10
|
+
onBackdropClick: Observable<void>;
|
|
10
11
|
open(data: D): void;
|
|
11
12
|
close(result: R): void;
|
|
12
13
|
dismiss(): void;
|
|
@@ -14,18 +15,19 @@ export interface ILuPopupRef<T = unknown, D = unknown, R = unknown> {
|
|
|
14
15
|
export interface ILuPopupRefFactory<TComponent = unknown, TConfig extends ILuPopupConfig = ILuPopupConfig> {
|
|
15
16
|
forge<T extends TComponent, C extends TConfig, D, R>(component: ComponentType<T>, config: C): ILuPopupRef<T, D, R>;
|
|
16
17
|
}
|
|
17
|
-
export declare abstract class ALuPopupRef<T = unknown, D = unknown, R = unknown> implements ILuPopupRef<T, D, R> {
|
|
18
|
+
export declare abstract class ALuPopupRef<T = unknown, D = unknown, R = unknown, C extends ILuPopupConfig = ILuPopupConfig> implements ILuPopupRef<T, D, R> {
|
|
18
19
|
protected _overlay: Overlay;
|
|
19
20
|
protected _injector: Injector;
|
|
20
21
|
protected _component: ComponentType<T>;
|
|
21
|
-
protected _config:
|
|
22
|
+
protected _config: C;
|
|
22
23
|
onOpen: Subject<D>;
|
|
23
24
|
onClose: Subject<R>;
|
|
24
25
|
onDismiss: Subject<void>;
|
|
26
|
+
onBackdropClick: Subject<void>;
|
|
25
27
|
protected _overlayRef: OverlayRef;
|
|
26
28
|
protected _componentRef: ComponentRef<T>;
|
|
27
29
|
protected _subs: Subscription;
|
|
28
|
-
constructor(_overlay: Overlay, _injector: Injector, _component: ComponentType<T>, _config:
|
|
30
|
+
constructor(_overlay: Overlay, _injector: Injector, _component: ComponentType<T>, _config: C);
|
|
29
31
|
open(data?: D): void;
|
|
30
32
|
close(result?: R): void;
|
|
31
33
|
dismiss(): void;
|
|
@@ -40,10 +42,13 @@ export declare abstract class ALuPopupRef<T = unknown, D = unknown, R = unknown>
|
|
|
40
42
|
*/
|
|
41
43
|
protected _getOverlayConfig(): OverlayConfig;
|
|
42
44
|
protected _openPopup(data?: D): void;
|
|
45
|
+
protected _getOverlayPanelClasses(): string[];
|
|
43
46
|
protected _destroy(): void;
|
|
44
|
-
_completeSubjects(): void;
|
|
47
|
+
protected _completeSubjects(): void;
|
|
45
48
|
protected _destroyOverlay(): void;
|
|
46
49
|
protected _closePopup(): void;
|
|
47
50
|
protected _subToCloseEvents(): void;
|
|
51
|
+
protected _subToEscapeKeydownEvent(): void;
|
|
52
|
+
protected _subToBackdropClickEvent(): void;
|
|
48
53
|
protected _cleanSubscription(): void;
|
|
49
54
|
}
|
|
@@ -4,8 +4,8 @@ import { ILuPopupRef } from './popup-ref.model';
|
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class LuPopup<C extends ILuPopupConfig = ILuPopupConfig> {
|
|
6
6
|
protected _factory: import("./popup-ref.model").ILuPopupRefFactory<unknown, ILuPopupConfig>;
|
|
7
|
-
protected _config:
|
|
8
|
-
open<T, D, R>(component: ComponentType<T>, data?: D, config?: C): ILuPopupRef<T, D, R>;
|
|
7
|
+
protected _config: C;
|
|
8
|
+
open<T, D, R>(component: ComponentType<T>, data?: D, config?: Partial<C>): ILuPopupRef<T, D, R>;
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuPopup<any>, never>;
|
|
10
10
|
static ɵprov: i0.ɵɵInjectableDeclaration<LuPopup<any>>;
|
|
11
11
|
}
|
package/sidepanel/lib/index.d.ts
CHANGED
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
export * from './sidepanel-config.default';
|
|
2
|
-
export * from './sidepanel-config.model';
|
|
3
|
-
export * from './sidepanel-panel.component';
|
|
4
|
-
export * from './sidepanel-ref.factory';
|
|
5
|
-
export * from './sidepanel-ref.model';
|
|
6
1
|
export * from './sidepanel.model';
|
|
7
2
|
export * from './sidepanel.module';
|
|
8
3
|
export * from './sidepanel.service';
|
|
9
|
-
export * from './sidepanel.token';
|
|
10
|
-
export * from './sidepanel.translate';
|
|
@@ -1,2 +1,43 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import { ILuTranslation } from '@lucca-front/ng/core';
|
|
3
|
+
import { ILuModalContent, ILuModalLabel, ILuModalRef, LuModalConfig } from '@lucca-front/ng/modal';
|
|
4
|
+
/**
|
|
5
|
+
* For backward compatibility, we re-export modal tokens as sidepanel tokens.
|
|
6
|
+
* We should remove all sidepanel related files in the next major version (16+).
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* @deprecated Use LU_MODAL_CONFIG from @lucca-front/ng/modal instead.
|
|
10
|
+
*/
|
|
11
|
+
export declare const LU_SIDEPANEL_CONFIG: InjectionToken<LuModalConfig>;
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated Use LU_MODAL_DATA from @lucca-front/ng/modal instead.
|
|
14
|
+
*/
|
|
15
|
+
export declare const LU_SIDEPANEL_DATA: InjectionToken<unknown>;
|
|
16
|
+
/**
|
|
17
|
+
* @deprecated Use LU_MODAL_TRANSLATIONS from @lucca-front/ng/modal instead.
|
|
18
|
+
*/
|
|
19
|
+
export declare const LU_SIDEPANEL_TRANSLATIONS: InjectionToken<ILuTranslation<ILuModalLabel>>;
|
|
20
|
+
/**
|
|
21
|
+
* @deprecated Use ILuModalLabel from @lucca-front/ng/modal instead.
|
|
22
|
+
*/
|
|
23
|
+
export declare type ILuSidepanelLabel = ILuModalLabel;
|
|
24
|
+
/**
|
|
25
|
+
* @deprecated Use luModalTranslations from @lucca-front/ng/modal instead.
|
|
26
|
+
*/
|
|
27
|
+
export declare const luSidepanelTranslations: ILuTranslation<ILuSidepanelLabel>;
|
|
28
|
+
/**
|
|
29
|
+
* @deprecated Use LuModalConfig from @lucca-front/ng/modal instead.
|
|
30
|
+
*/
|
|
31
|
+
export declare type LuSidepanelConfig = LuModalConfig;
|
|
32
|
+
/**
|
|
33
|
+
* @deprecated Use LuModalConfig from @lucca-front/ng/modal instead.
|
|
34
|
+
*/
|
|
35
|
+
export declare type ILuSidepanelConfig = LuModalConfig;
|
|
36
|
+
/**
|
|
37
|
+
* @deprecated Use ILuModalContent from @lucca-front/ng/modal instead.
|
|
38
|
+
*/
|
|
2
39
|
export declare type ILuSidepanelContent<T = unknown> = ILuModalContent<T>;
|
|
40
|
+
/**
|
|
41
|
+
* @deprecated Use ILuModalRef from @lucca-front/ng/modal instead.
|
|
42
|
+
*/
|
|
43
|
+
export declare type ILuSidepanelRef<T extends ILuSidepanelContent = ILuSidepanelContent, D = unknown, R = unknown> = ILuModalRef<T, D, R>;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
|
-
import * as i1 from "
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
import * as i5 from "@lucca-front/ng/tooltip";
|
|
2
|
+
import * as i1 from "@lucca-front/ng/modal";
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated Use LuModal with `modal.open(component, data, { mode: 'sidepanel' })` instead.
|
|
5
|
+
*/
|
|
7
6
|
export declare class LuSidepanelModule {
|
|
8
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuSidepanelModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<LuSidepanelModule,
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<LuSidepanelModule, never, [typeof i1.LuModalModule], never>;
|
|
10
9
|
static ɵinj: i0.ɵɵInjectorDeclaration<LuSidepanelModule>;
|
|
11
10
|
}
|
|
@@ -1,9 +1,17 @@
|
|
|
1
|
+
import { ComponentType } from '@angular/cdk/overlay';
|
|
1
2
|
import { LuModal } from '@lucca-front/ng/modal';
|
|
2
|
-
import {
|
|
3
|
+
import { ILuPopupRef } from '@lucca-front/ng/popup';
|
|
4
|
+
import { LuSidepanelConfig } from './sidepanel.model';
|
|
3
5
|
import * as i0 from "@angular/core";
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
6
|
+
/**
|
|
7
|
+
* @deprecated Use LuModal with `modal.open(component, data, { mode: 'sidepanel' })` instead.
|
|
8
|
+
*/
|
|
9
|
+
export declare class LuSidepanel<C extends LuSidepanelConfig = LuSidepanelConfig> extends LuModal<C> {
|
|
10
|
+
protected _config: C;
|
|
11
|
+
/**
|
|
12
|
+
* @deprecated Use LuModal with `modal.open(component, data, { mode: 'sidepanel' })` instead.
|
|
13
|
+
*/
|
|
14
|
+
open<T, D, R>(component: ComponentType<T>, data?: D, config?: Partial<C>): ILuPopupRef<T, D, R>;
|
|
7
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuSidepanel<any>, never>;
|
|
8
16
|
static ɵprov: i0.ɵɵInjectableDeclaration<LuSidepanel<any>>;
|
|
9
17
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { ILuApiItem } from '@lucca-front/ng/api';
|
|
3
|
+
import { BehaviorSubject, Observable, ReplaySubject } from 'rxjs';
|
|
4
|
+
import { ALuSimpleSelectApiDirective } from './api.directive';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class LuSimpleSelectApiV3Directive<T extends ILuApiItem> extends ALuSimpleSelectApiDirective<T> {
|
|
7
|
+
set apiV3(value: string);
|
|
8
|
+
set fields(value: string);
|
|
9
|
+
set orderBy(value: string);
|
|
10
|
+
set filters(value: Record<string, string | number | boolean>);
|
|
11
|
+
protected url$: ReplaySubject<string>;
|
|
12
|
+
protected fields$: BehaviorSubject<string>;
|
|
13
|
+
protected orderBy$: BehaviorSubject<string>;
|
|
14
|
+
protected filters$: BehaviorSubject<Record<string, string | number | boolean>>;
|
|
15
|
+
protected httpClient: HttpClient;
|
|
16
|
+
protected params$: Observable<{
|
|
17
|
+
name?: string;
|
|
18
|
+
fields: string;
|
|
19
|
+
orderBy: string;
|
|
20
|
+
}>;
|
|
21
|
+
protected getOptions(params: Record<string, string | number | boolean>, page: number): Observable<T[]>;
|
|
22
|
+
protected optionComparer: (a: T, b: T) => boolean;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LuSimpleSelectApiV3Directive<any>, never>;
|
|
24
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LuSimpleSelectApiV3Directive<any>, "lu-simple-select[apiV3]", never, { "apiV3": "apiV3"; "fields": "fields"; "orderBy": "orderBy"; "filters": "filters"; }, {}, never, never, true, never>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { ILuApiItem } from '@lucca-front/ng/api';
|
|
3
|
+
import { BehaviorSubject, Observable, ReplaySubject } from 'rxjs';
|
|
4
|
+
import { ALuSimpleSelectApiDirective } from './api.directive';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class LuSimpleSelectApiV4Directive<T extends ILuApiItem> extends ALuSimpleSelectApiDirective<T> {
|
|
7
|
+
set apiV4(value: string);
|
|
8
|
+
set sort(value: string);
|
|
9
|
+
set filters(value: Record<string, string | number | boolean>);
|
|
10
|
+
protected url$: ReplaySubject<string>;
|
|
11
|
+
protected sort$: BehaviorSubject<string>;
|
|
12
|
+
protected filters$: BehaviorSubject<Record<string, string | number | boolean>>;
|
|
13
|
+
protected httpClient: HttpClient;
|
|
14
|
+
protected params$: Observable<{
|
|
15
|
+
search?: string;
|
|
16
|
+
sort: string;
|
|
17
|
+
}>;
|
|
18
|
+
protected getOptions(params: Record<string, string | number | boolean>, page: number): Observable<T[]>;
|
|
19
|
+
protected optionComparer: (a: T, b: T) => boolean;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LuSimpleSelectApiV4Directive<any>, never>;
|
|
21
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LuSimpleSelectApiV4Directive<any>, "lu-simple-select[apiV4]", never, { "apiV4": "apiV4"; "sort": "sort"; "filters": "filters"; }, {}, never, never, true, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { LuSimpleSelectInputComponent } from '@lucca-front/ng/simple-select';
|
|
3
|
+
import { BehaviorSubject, Observable, Subject } from 'rxjs';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare const MAGIC_PAGE_SIZE = 20;
|
|
6
|
+
export declare const MAGIC_DEBOUNCE_DURATION = 250;
|
|
7
|
+
export declare abstract class ALuSimpleSelectApiDirective<TOption, TParams = Record<string, string | number | boolean>> implements OnDestroy, OnInit {
|
|
8
|
+
protected destroy$: Subject<void>;
|
|
9
|
+
protected pageSize: number;
|
|
10
|
+
protected debounceDuration: number;
|
|
11
|
+
protected select: LuSimpleSelectInputComponent<TOption>;
|
|
12
|
+
protected page$: Observable<number>;
|
|
13
|
+
protected clue$: Observable<string>;
|
|
14
|
+
/**
|
|
15
|
+
* Create an object that will be used as params for the api call
|
|
16
|
+
*/
|
|
17
|
+
protected abstract params$: Observable<TParams>;
|
|
18
|
+
/**
|
|
19
|
+
* Compare two options to know if they are the same. For example, compare by id or by JSON
|
|
20
|
+
*/
|
|
21
|
+
protected abstract optionComparer: (a: TOption, b: TOption) => boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Return the options for the given params and page
|
|
24
|
+
*/
|
|
25
|
+
protected abstract getOptions(params: TParams, page: number): Observable<TOption[]>;
|
|
26
|
+
protected loading$: BehaviorSubject<boolean>;
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
protected buildOptions(): Observable<TOption[]>;
|
|
29
|
+
ngOnDestroy(): void;
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ALuSimpleSelectApiDirective<any, any>, never>;
|
|
31
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ALuSimpleSelectApiDirective<any, any>, never, never, {}, {}, never, never, false, never>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Overlay, OverlayConfig, OverlayPositionBuilder, ScrollStrategyOptions } from '@angular/cdk/overlay';
|
|
2
|
+
import { ElementRef, Injector } from '@angular/core';
|
|
3
|
+
import { LuSelectPanelRef } from '../panel';
|
|
4
|
+
import { ILuSelectPanelData } from '../select.model';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class LuSimpleSelectPanelRefFactory {
|
|
7
|
+
protected overlay: Overlay;
|
|
8
|
+
protected elementRef: ElementRef<HTMLElement>;
|
|
9
|
+
protected positionBuilder: OverlayPositionBuilder;
|
|
10
|
+
protected scrollStrategies: ScrollStrategyOptions;
|
|
11
|
+
protected parentInjector: Injector;
|
|
12
|
+
buildPanelRef<T>(panelData: ILuSelectPanelData<T>, overlayConfigOverride?: OverlayConfig): LuSelectPanelRef<T>;
|
|
13
|
+
protected buildOverlayConfig(overlayConfigOverride?: OverlayConfig): OverlayConfig;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LuSimpleSelectPanelRefFactory, never>;
|
|
15
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LuSimpleSelectPanelRefFactory>;
|
|
16
|
+
}
|
|
@@ -1,36 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ChangeDetectorRef,
|
|
1
|
+
import { OverlayConfig } from '@angular/cdk/overlay';
|
|
2
|
+
import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit, TemplateRef, Type } from '@angular/core';
|
|
3
3
|
import { ControlValueAccessor } from '@angular/forms';
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
4
|
+
import { BehaviorSubject, ReplaySubject } from 'rxjs';
|
|
5
|
+
import { LuSelectPanelRef } from '../panel';
|
|
6
|
+
import { LuOptionContext } from '../select.model';
|
|
7
|
+
import { LuSimpleSelectPanelRefFactory } from './panel-ref.factory';
|
|
7
8
|
import * as i0 from "@angular/core";
|
|
8
|
-
declare class SelectPanelRef<T> extends LuSelectPanelRef<T> {
|
|
9
|
-
private overlayRef;
|
|
10
|
-
instance: LuSelectPanelComponent<T>;
|
|
11
|
-
private panelRef;
|
|
12
|
-
private portalRef;
|
|
13
|
-
constructor(overlayRef: OverlayRef, parentInjector: Injector, panelData: ILuSelectPanelData<T>);
|
|
14
|
-
emitValue(value: T): void;
|
|
15
|
-
close(): void;
|
|
16
|
-
}
|
|
17
9
|
export declare class LuSimpleSelectInputComponent<T> implements ControlValueAccessor, OnDestroy, OnInit {
|
|
18
|
-
protected positionBuilder: OverlayPositionBuilder;
|
|
19
|
-
protected scrollStrategies: ScrollStrategyOptions;
|
|
20
|
-
protected elementRef: ElementRef<HTMLElement>;
|
|
21
|
-
protected injector: Injector;
|
|
22
|
-
protected overlay: Overlay;
|
|
23
|
-
protected changeDetectorRef: ChangeDetectorRef;
|
|
24
|
-
protected label: HTMLElement | undefined;
|
|
25
|
-
protected labelId: string;
|
|
26
10
|
tabindex: number;
|
|
27
11
|
placeholder: string;
|
|
28
|
-
multiple: boolean;
|
|
29
12
|
clearable: boolean;
|
|
30
13
|
get searchable(): boolean;
|
|
31
14
|
disabled: boolean;
|
|
32
15
|
get isFilled(): boolean;
|
|
33
|
-
isPanelOpen: boolean;
|
|
16
|
+
get isPanelOpen(): boolean;
|
|
17
|
+
isPanelOpen$: BehaviorSubject<boolean>;
|
|
34
18
|
role: string;
|
|
35
19
|
activeDescendant: string | undefined;
|
|
36
20
|
get ariaControls(): string;
|
|
@@ -38,22 +22,27 @@ export declare class LuSimpleSelectInputComponent<T> implements ControlValueAcce
|
|
|
38
22
|
set loading(value: boolean);
|
|
39
23
|
set options(options: T[]);
|
|
40
24
|
optionComparer: (option1: T, option2: T) => boolean;
|
|
41
|
-
optionTpl?: TemplateRef<LuOptionContext<T
|
|
42
|
-
valueTpl?: TemplateRef<LuOptionContext<T
|
|
25
|
+
optionTpl?: TemplateRef<LuOptionContext<T>> | Type<unknown>;
|
|
26
|
+
valueTpl?: TemplateRef<LuOptionContext<T>> | Type<unknown>;
|
|
43
27
|
clueChange: EventEmitter<string>;
|
|
44
28
|
nextPage: EventEmitter<void>;
|
|
45
29
|
previousPage: EventEmitter<void>;
|
|
46
|
-
value
|
|
30
|
+
get value(): T;
|
|
31
|
+
protected set value(value: T);
|
|
32
|
+
protected _value?: T;
|
|
47
33
|
options$: ReplaySubject<T[]>;
|
|
48
34
|
loading$: ReplaySubject<boolean>;
|
|
49
35
|
clue: string | null;
|
|
36
|
+
intl: import("../select.translate").ILuSimpleSelectLabel;
|
|
50
37
|
protected onChange?: (value: T | null) => void;
|
|
51
38
|
protected onTouched?: () => void;
|
|
52
|
-
protected panelRef?:
|
|
53
|
-
protected overlayContainerRef: HTMLElement;
|
|
54
|
-
protected destroyed$: Subject<void>;
|
|
39
|
+
protected panelRef?: LuSelectPanelRef<T>;
|
|
55
40
|
onKeydown($event: KeyboardEvent): void;
|
|
56
|
-
|
|
41
|
+
protected changeDetectorRef: ChangeDetectorRef;
|
|
42
|
+
protected overlayContainerRef: HTMLElement;
|
|
43
|
+
protected panelRefFactory: LuSimpleSelectPanelRefFactory;
|
|
44
|
+
protected label: HTMLElement | undefined;
|
|
45
|
+
protected labelId: string;
|
|
57
46
|
registerOnChange(onChange: (value: T) => void): void;
|
|
58
47
|
registerOnTouched(onTouched: () => void): void;
|
|
59
48
|
setDisabledState(isDisabled: boolean): void;
|
|
@@ -63,7 +52,7 @@ export declare class LuSimpleSelectInputComponent<T> implements ControlValueAcce
|
|
|
63
52
|
openPanel(): void;
|
|
64
53
|
closePanel(): void;
|
|
65
54
|
writeValue(value: T): void;
|
|
55
|
+
updateValue(value: T): void;
|
|
66
56
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuSimpleSelectInputComponent<any>, never>;
|
|
67
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuSimpleSelectInputComponent<any>, "lu-simple-select", never, { "placeholder": "placeholder"; "
|
|
57
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuSimpleSelectInputComponent<any>, "lu-simple-select", never, { "placeholder": "placeholder"; "clearable": "clearable"; "disabled": "disabled"; "overlayConfig": "overlayConfig"; "loading": "loading"; "options": "options"; "optionComparer": "optionComparer"; "optionTpl": "optionTpl"; "valueTpl": "valueTpl"; }, { "clueChange": "clueChange"; "nextPage": "nextPage"; "previousPage": "previousPage"; }, never, never, true, never>;
|
|
68
58
|
}
|
|
69
|
-
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ILuOptionContext } from './option.token';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class LuSimpleSelectDefaultOptionComponent {
|
|
4
|
+
context: ILuOptionContext<{
|
|
5
|
+
name?: string;
|
|
6
|
+
}>;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LuSimpleSelectDefaultOptionComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuSimpleSelectDefaultOptionComponent, "lu-simple-select-default-option", never, {}, {}, never, never, true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class LuDisabledOptionDirective {
|
|
3
|
+
private context;
|
|
4
|
+
set isDisabled(disabled: boolean | null);
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LuDisabledOptionDirective, never>;
|
|
6
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LuDisabledOptionDirective, "[luDisabledOption]", never, { "isDisabled": "luDisabledOption"; }, {}, never, never, true, never>;
|
|
7
|
+
}
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export * from './default-option.component';
|
|
2
|
+
export * from './disabled.directive';
|
|
1
3
|
export * from './displayer.directive';
|
|
2
|
-
export
|
|
4
|
+
export { LuOptionComponent as ɵLuOptionComponent } from './option.component';
|
|
3
5
|
export * from './option.directive';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { OnChanges, OnDestroy, SimpleChanges, TemplateRef, Type } from '@angular/core';
|
|
2
|
+
import { LuOptionContext } from '../select.model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class LuOptionOutletDirective<T> implements OnChanges, OnDestroy {
|
|
5
|
+
luOptionOutlet?: Type<unknown> | TemplateRef<LuOptionContext<T>>;
|
|
6
|
+
luOptionOutletValue: T | undefined;
|
|
7
|
+
private viewContainerRef;
|
|
8
|
+
private injector;
|
|
9
|
+
private embeddedViewRef?;
|
|
10
|
+
private componentRef?;
|
|
11
|
+
private optionContext;
|
|
12
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
13
|
+
ngOnDestroy(): void;
|
|
14
|
+
private clearContainer;
|
|
15
|
+
private createComponent;
|
|
16
|
+
private updateRefValue;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LuOptionOutletDirective<any>, never>;
|
|
18
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LuOptionOutletDirective<any>, "[luOptionOutlet]", never, { "luOptionOutlet": "luOptionOutlet"; "luOptionOutletValue": "luOptionOutletValue"; }, {}, never, never, true, never>;
|
|
19
|
+
}
|
|
@@ -1,21 +1,31 @@
|
|
|
1
1
|
import { Highlightable } from '@angular/cdk/a11y';
|
|
2
|
-
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { AfterViewInit, ElementRef, OnDestroy, TemplateRef, Type } from '@angular/core';
|
|
3
3
|
import { BehaviorSubject } from 'rxjs';
|
|
4
|
+
import { LuOptionContext } from '../select.model';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class LuOptionComponent<T> implements Highlightable {
|
|
6
|
-
protected elementRef: ElementRef<HTMLElement>;
|
|
7
|
-
protected selectId: number;
|
|
6
|
+
export declare class LuOptionComponent<T> implements Highlightable, AfterViewInit, OnDestroy {
|
|
8
7
|
hasOptionItemClass: boolean;
|
|
8
|
+
optionTpl: TemplateRef<LuOptionContext<T>> | Type<unknown> | undefined;
|
|
9
9
|
isSelected: boolean;
|
|
10
10
|
option?: T;
|
|
11
11
|
optionIndex: number;
|
|
12
12
|
isHighlighted$: BehaviorSubject<boolean>;
|
|
13
|
+
/**
|
|
14
|
+
* Whether option is disabled. Used by ListKeyManager.
|
|
15
|
+
*/
|
|
13
16
|
disabled: boolean;
|
|
17
|
+
private optionContext?;
|
|
18
|
+
private cdr;
|
|
19
|
+
private subscription?;
|
|
14
20
|
role: string;
|
|
15
21
|
get id(): string;
|
|
16
|
-
|
|
22
|
+
protected elementRef: ElementRef<HTMLElement>;
|
|
23
|
+
protected selectId: number;
|
|
24
|
+
ngOnDestroy(): void;
|
|
25
|
+
ngAfterViewInit(): void;
|
|
17
26
|
setActiveStyles(): void;
|
|
18
27
|
setInactiveStyles(): void;
|
|
28
|
+
selectOption($event: Event): void;
|
|
19
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<LuOptionComponent<any>, never>;
|
|
20
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LuOptionComponent<any>, "lu-select-option", never, { "
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LuOptionComponent<any>, "lu-select-option", never, { "optionTpl": "optionTpl"; "isSelected": "isSelected"; "option": "option"; "optionIndex": "optionIndex"; }, {}, never, never, true, never>;
|
|
21
31
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { InjectionToken, Provider } from '@angular/core';
|
|
2
|
+
import { BehaviorSubject } from 'rxjs';
|
|
3
|
+
export interface ILuOptionContext<T> {
|
|
4
|
+
isDisabled$: BehaviorSubject<boolean>;
|
|
5
|
+
option$: BehaviorSubject<T | undefined>;
|
|
6
|
+
destroy(): void;
|
|
7
|
+
}
|
|
8
|
+
export declare const LU_OPTION_CONTEXT: InjectionToken<ILuOptionContext<unknown>>;
|
|
9
|
+
export declare function provideOptionContext(): Provider;
|
|
@@ -1,34 +1,24 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef,
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { AfterViewInit, ElementRef, QueryList } from '@angular/core';
|
|
2
|
+
import { ɵLuOptionComponent } from '../option/index';
|
|
3
|
+
import { ILuSelectPanelData } from '../select.model';
|
|
4
|
+
import { LuSelectPanelRef } from './panel.models';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
|
-
export declare abstract class LuSelectPanelRef<T> {
|
|
7
|
-
closed: EventEmitter<void>;
|
|
8
|
-
previousPage: EventEmitter<void>;
|
|
9
|
-
nextPage: EventEmitter<void>;
|
|
10
|
-
valueChanged: EventEmitter<T>;
|
|
11
|
-
clueChanged: EventEmitter<string>;
|
|
12
|
-
activeOptionIdChanged: EventEmitter<string>;
|
|
13
|
-
options$: Observable<T>;
|
|
14
|
-
abstract emitValue(value: T): void;
|
|
15
|
-
close(): void;
|
|
16
|
-
}
|
|
17
6
|
export declare class LuSelectPanelComponent<T> implements AfterViewInit {
|
|
7
|
+
protected panelData: ILuSelectPanelData<T>;
|
|
18
8
|
panelRef: LuSelectPanelRef<T>;
|
|
19
9
|
selectId: number;
|
|
20
|
-
|
|
21
|
-
|
|
10
|
+
intl: import("../select.translate").ILuSimpleSelectLabel;
|
|
11
|
+
options$: import("rxjs").Observable<T[]>;
|
|
12
|
+
loading$: import("rxjs").Observable<boolean>;
|
|
22
13
|
optionComparer: (option1: T, option2: T) => boolean;
|
|
23
|
-
initialValue
|
|
24
|
-
optionTpl: TemplateRef<LuOptionContext<T>>;
|
|
14
|
+
initialValue: T | undefined;
|
|
15
|
+
optionTpl: import("@angular/core").Type<unknown> | import("@angular/core").TemplateRef<import("../select.model").LuOptionContext<T>>;
|
|
25
16
|
searchable: boolean;
|
|
26
17
|
set searchInput(input: ElementRef<HTMLInputElement> | undefined);
|
|
27
|
-
optionsQL: QueryList
|
|
18
|
+
optionsQL: QueryList<ɵLuOptionComponent<T>>;
|
|
28
19
|
private keyManager;
|
|
29
20
|
search: string | null;
|
|
30
21
|
get selected(): T | undefined;
|
|
31
|
-
constructor(panelRef: LuSelectPanelRef<T>, selectId: number, data: ILuSelectPanelData<T>);
|
|
32
22
|
onScroll(evt: Event): void;
|
|
33
23
|
ngAfterViewInit(): void;
|
|
34
24
|
onKeyDown($event: KeyboardEvent): void;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
export declare abstract class LuSelectPanelRef<T> {
|
|
4
|
+
closed: EventEmitter<void>;
|
|
5
|
+
previousPage: EventEmitter<void>;
|
|
6
|
+
nextPage: EventEmitter<void>;
|
|
7
|
+
valueChanged: EventEmitter<T>;
|
|
8
|
+
clueChanged: EventEmitter<string>;
|
|
9
|
+
activeOptionIdChanged: EventEmitter<string>;
|
|
10
|
+
options$: Observable<T>;
|
|
11
|
+
abstract emitValue(value: T): void;
|
|
12
|
+
close(): void;
|
|
13
|
+
}
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { InjectionToken, TemplateRef } from '@angular/core';
|
|
1
|
+
import { InjectionToken, TemplateRef, Type } from '@angular/core';
|
|
2
2
|
import { Observable } from 'rxjs';
|
|
3
3
|
export interface ILuSelectPanelData<T> {
|
|
4
4
|
options$: Observable<T[]>;
|
|
5
5
|
loading$: Observable<boolean>;
|
|
6
6
|
optionComparer: (option1: T, option2: T) => boolean;
|
|
7
7
|
initialValue: T | undefined;
|
|
8
|
-
optionTpl: TemplateRef<LuOptionContext<T
|
|
8
|
+
optionTpl: TemplateRef<LuOptionContext<T>> | Type<unknown>;
|
|
9
9
|
searchable: boolean;
|
|
10
10
|
}
|
|
11
11
|
export interface LuOptionContext<T> {
|
|
12
12
|
$implicit: T;
|
|
13
13
|
}
|
|
14
14
|
export declare const SELECT_ID: InjectionToken<number>;
|
|
15
|
-
export declare const SELECT_PANEL_DATA: InjectionToken<
|
|
15
|
+
export declare const SELECT_PANEL_DATA: InjectionToken<unknown>;
|
|
16
16
|
export declare const SELECT_LABEL: InjectionToken<HTMLLabelElement>;
|
|
17
17
|
export declare const SELECT_LABEL_ID: InjectionToken<string>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import { ILuTranslation } from '@lucca-front/ng/core';
|
|
3
|
+
export declare const LU_SIMPLE_SELECT_TRANSLATIONS: InjectionToken<ILuTranslation<ILuSimpleSelectLabel>>;
|
|
4
|
+
export interface ILuSimpleSelectLabel {
|
|
5
|
+
placeholder: string;
|
|
6
|
+
clear: string;
|
|
7
|
+
clearSearch: string;
|
|
8
|
+
emptyResults: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const luSimpleSelectTranslations: ILuTranslation<ILuSimpleSelectLabel>;
|
|
@@ -23,20 +23,22 @@
|
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
.lu-dropdown-options-item-action {
|
|
26
|
-
|
|
26
|
+
align-items: flex-start;
|
|
27
27
|
background-color: transparent;
|
|
28
28
|
border: 0;
|
|
29
|
-
padding: var(--spacings-XS) var(--spacings-S);
|
|
30
29
|
cursor: pointer;
|
|
30
|
+
display: flex;
|
|
31
|
+
gap: var(--spacings-XS);
|
|
31
32
|
line-height: var(--sizes-M-lineHeight);
|
|
32
|
-
|
|
33
|
+
padding: var(--spacings-XS) var(--spacings-S);
|
|
33
34
|
text-align: left;
|
|
34
35
|
transition: background-color var(--commons-animations-durations-standard);
|
|
35
36
|
text-decoration: none;
|
|
37
|
+
width: 100%;
|
|
36
38
|
|
|
37
39
|
.lucca-icon {
|
|
38
40
|
font-size: 1rem;
|
|
39
|
-
|
|
41
|
+
line-height: var(--sizes-M-lineHeight);
|
|
40
42
|
}
|
|
41
43
|
|
|
42
44
|
&,
|