@ng-atomic/components 17.9.0 → 17.11.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/atoms/icon/icon.atom.mjs +2 -2
- package/esm2022/components.module.mjs +3 -2
- package/esm2022/frames/app/app.frame.mjs +192 -16
- package/esm2022/frames/auto-layout/auto-layout.frame.mjs +2 -2
- package/esm2022/frames/columns/columns.frame.mjs +4 -4
- package/esm2022/frames/divider/divider.frame.mjs +2 -2
- package/esm2022/frames/drawer/drawer.frame.mjs +2 -2
- package/esm2022/frames/entrance/entrance.frame.mjs +2 -2
- package/esm2022/frames/fab/fab.frame.mjs +2 -2
- package/esm2022/frames/frames.module.mjs +2 -1
- package/esm2022/frames/line-up/line-up.frame.mjs +2 -2
- package/esm2022/frames/loading/loading.frame.mjs +2 -2
- package/esm2022/frames/router-outlet/router-outlet.frame.mjs +11 -4
- package/esm2022/frames/scroll/scroll.frame.mjs +2 -2
- package/esm2022/frames/scroll-v2/scroll.frame.mjs +2 -2
- package/esm2022/frames/side-nav/side-nav.frame.mjs +34 -28
- package/esm2022/frames/smart-menu/smart-menu.frame.mjs +2 -2
- package/esm2022/frames/vertical-hide/vertical-hide.frame.mjs +2 -2
- package/esm2022/molecules/checkbox-column/checkbox-column.molecule.mjs +48 -11
- package/esm2022/molecules/date-input-field/date-input-field.molecule.mjs +2 -2
- package/esm2022/molecules/date-range-input-field/date-range-input-field.molecule.mjs +2 -2
- package/esm2022/molecules/grid-item/grid-item.molecule.mjs +2 -2
- package/esm2022/molecules/loading-box/loading-box.molecule.mjs +2 -2
- package/esm2022/molecules/navigation-list-item/navigation-list-item.molecule.mjs +11 -8
- package/esm2022/molecules/select-input-field/select-input-field.molecule.mjs +2 -2
- package/esm2022/organisms/action-buttons-section/action-buttons-section.organism.mjs +2 -2
- package/esm2022/organisms/action-input-section/action-input-section.organism.mjs +2 -2
- package/esm2022/organisms/card-input-section/card-input-section.organism.mjs +2 -2
- package/esm2022/organisms/cvc-and-exp-input-section/cvc-and-exp-input-section.organism.mjs +2 -2
- package/esm2022/organisms/date-input-section/date-input-section.organism.mjs +2 -2
- package/esm2022/organisms/date-range-input-section/date-range-input-section.organism.mjs +2 -2
- package/esm2022/organisms/definition-list/definition-list.organism.mjs +2 -2
- package/esm2022/organisms/file-input-section/file-input-section.organism.mjs +2 -2
- package/esm2022/organisms/grid-cards-section/grid-cards-section.organism.mjs +2 -2
- package/esm2022/organisms/heading/heading.organism.mjs +2 -2
- package/esm2022/organisms/menu-footer/menu-footer.organism.mjs +2 -2
- package/esm2022/organisms/menu-header/menu-header.organism.mjs +4 -5
- package/esm2022/organisms/messages-section/messages-section.organism.mjs +2 -2
- package/esm2022/organisms/navigation-list/navigation-list.organism.mjs +51 -20
- package/esm2022/organisms/navigator/navigator.organism.mjs +3 -3
- package/esm2022/organisms/number-input-section/number-input-section.organism.mjs +2 -2
- package/esm2022/organisms/paginator/paginator.organism.mjs +2 -2
- package/esm2022/organisms/password-input-section/password-input-section.organism.mjs +2 -2
- package/esm2022/organisms/select-input-section/select-input-section.organism.mjs +2 -2
- package/esm2022/organisms/slider-input-section/slider-input-section.organism.mjs +4 -4
- package/esm2022/organisms/smart-list/smart-list.organism.mjs +11 -3
- package/esm2022/organisms/social-login-section/social-login-section.organism.mjs +2 -2
- package/esm2022/organisms/table/index.helpers.mjs +3 -1
- package/esm2022/organisms/table/table.organism.mjs +205 -101
- package/esm2022/organisms/text-input-section/text-input-section.organism.mjs +2 -2
- package/esm2022/organisms/textarea-section/textarea-section.organism.mjs +2 -2
- package/esm2022/organisms/thread-messages-section/thread-messages-section.organism.mjs +2 -2
- package/esm2022/pages/_index/index.page.mjs +242 -50
- package/esm2022/pages/form/form.page.mjs +71 -46
- package/esm2022/pages/pages.module.mjs +3 -4
- package/esm2022/templates/_index/index.template.mjs +66 -28
- package/esm2022/templates/background/background.template.mjs +2 -2
- package/esm2022/templates/entrance/entrance.template.mjs +2 -2
- package/esm2022/templates/form/form.builder.mjs +12 -2
- package/esm2022/templates/form/form.template.mjs +2 -2
- package/esm2022/templates/icon-button-menu/icon-button-menu.template.mjs +2 -2
- package/esm2022/templates/menu/menu.template.mjs +3 -3
- package/esm2022/templates/selection/selection.template.mjs +2 -2
- package/esm2022/templates/settings/settings.template.mjs +2 -2
- package/fesm2022/ng-atomic-components-atoms-icon.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-app.mjs +191 -15
- package/fesm2022/ng-atomic-components-frames-app.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-auto-layout.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-columns.mjs +3 -3
- package/fesm2022/ng-atomic-components-frames-columns.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-divider.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-drawer.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-entrance.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-fab.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-line-up.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-loading.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-router-outlet.mjs +10 -3
- package/fesm2022/ng-atomic-components-frames-router-outlet.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-scroll-v2.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-scroll.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-side-nav.mjs +33 -27
- package/fesm2022/ng-atomic-components-frames-side-nav.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-frames-smart-menu.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames-vertical-hide.mjs +2 -2
- package/fesm2022/ng-atomic-components-frames.mjs +1 -0
- package/fesm2022/ng-atomic-components-frames.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-checkbox-column.mjs +47 -10
- package/fesm2022/ng-atomic-components-molecules-checkbox-column.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-date-input-field.mjs +2 -2
- package/fesm2022/ng-atomic-components-molecules-date-range-input-field.mjs +2 -2
- package/fesm2022/ng-atomic-components-molecules-grid-item.mjs +2 -2
- package/fesm2022/ng-atomic-components-molecules-loading-box.mjs +2 -2
- package/fesm2022/ng-atomic-components-molecules-navigation-list-item.mjs +10 -7
- package/fesm2022/ng-atomic-components-molecules-navigation-list-item.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-molecules-select-input-field.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-action-buttons-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-action-input-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-card-input-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-cvc-and-exp-input-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-date-input-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-date-range-input-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-definition-list.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-file-input-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-grid-cards-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-heading.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-menu-footer.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-menu-header.mjs +3 -4
- package/fesm2022/ng-atomic-components-organisms-menu-header.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-messages-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-navigation-list.mjs +50 -19
- package/fesm2022/ng-atomic-components-organisms-navigation-list.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-navigator.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-navigator.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-number-input-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-paginator.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-password-input-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-select-input-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-slider-input-section.mjs +3 -3
- package/fesm2022/ng-atomic-components-organisms-slider-input-section.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-smart-list.mjs +10 -2
- package/fesm2022/ng-atomic-components-organisms-smart-list.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-social-login-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-table.mjs +206 -100
- package/fesm2022/ng-atomic-components-organisms-table.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-organisms-text-input-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-textarea-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-organisms-thread-messages-section.mjs +2 -2
- package/fesm2022/ng-atomic-components-pages-_index.mjs +242 -50
- package/fesm2022/ng-atomic-components-pages-_index.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-pages-form.mjs +71 -46
- package/fesm2022/ng-atomic-components-pages-form.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-pages.mjs +2 -3
- package/fesm2022/ng-atomic-components-pages.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-_index.mjs +65 -27
- package/fesm2022/ng-atomic-components-templates-_index.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-background.mjs +2 -2
- package/fesm2022/ng-atomic-components-templates-entrance.mjs +2 -2
- package/fesm2022/ng-atomic-components-templates-form.mjs +13 -3
- package/fesm2022/ng-atomic-components-templates-form.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-icon-button-menu.mjs +2 -2
- package/fesm2022/ng-atomic-components-templates-menu.mjs +2 -2
- package/fesm2022/ng-atomic-components-templates-menu.mjs.map +1 -1
- package/fesm2022/ng-atomic-components-templates-selection.mjs +2 -2
- package/fesm2022/ng-atomic-components-templates-settings.mjs +2 -2
- package/fesm2022/ng-atomic-components.mjs +2 -1
- package/fesm2022/ng-atomic-components.mjs.map +1 -1
- package/frames/app/app.frame.d.ts +69 -52
- package/frames/columns/columns.frame.d.ts +3 -3
- package/frames/fab/fab.frame.d.ts +3 -3
- package/frames/router-outlet/router-outlet.frame.d.ts +4 -3
- package/frames/side-nav/side-nav.frame.d.ts +16 -12
- package/molecules/actions-column/actions-column.molecule.d.ts +3 -3
- package/molecules/checkbox-column/checkbox-column.molecule.d.ts +8 -2
- package/molecules/chips-input-field/chips-input-field.molecule.d.ts +3 -3
- package/molecules/loading-box/loading-box.molecule.d.ts +3 -3
- package/molecules/navigation-list-item/navigation-list-item.molecule.d.ts +3 -2
- package/organisms/menu-header/menu-header.organism.d.ts +10 -4
- package/organisms/navigation-list/navigation-list.organism.d.ts +2 -1
- package/organisms/navigator/navigator.organism.d.ts +3 -3
- package/organisms/slider-input-section/slider-input-section.organism.d.ts +3 -3
- package/organisms/smart-list/smart-list.organism.d.ts +14 -13
- package/organisms/stripe-input-section/stripe-input-section.organism.d.ts +3 -3
- package/organisms/table/index.helpers.d.ts +1 -0
- package/organisms/table/table.organism.d.ts +39 -9
- package/package.json +3 -3
- package/pages/_index/index.page.d.ts +123 -82
- package/pages/form/form.page.d.ts +69 -56
- package/pages/terms/terms.page.d.ts +3 -3
- package/templates/_index/index.template.d.ts +27 -15
- package/templates/form/form.template.d.ts +3 -3
|
@@ -1,38 +1,42 @@
|
|
|
1
1
|
import { WritableSignal } from '@angular/core';
|
|
2
|
+
import { UIContext } from '@ng-atomic/common/services/ui';
|
|
2
3
|
import { NgAtomicComponent } from '@ng-atomic/core';
|
|
3
4
|
import { InjectableComponent } from '@ng-atomic/core';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare function injectSideNavMode(): WritableSignal<'collapsed' | 'expanded'>;
|
|
6
7
|
export declare class SideNavFrameStore extends InjectableComponent {
|
|
8
|
+
static getMode: (context: UIContext) => "collapsed" | "expanded";
|
|
9
|
+
static getFrameType: (context: UIContext) => 'lineup' | 'drawer';
|
|
10
|
+
static getMenuType: (context: UIContext) => 'menu' | 'icon-button-menu';
|
|
7
11
|
static readonly Config: {
|
|
8
|
-
provide
|
|
12
|
+
provide(useFactory?: import("@ng-atomic/common/services/ui").ReducerFactory<{
|
|
9
13
|
actions: any[];
|
|
10
|
-
menuType:
|
|
14
|
+
menuType: "menu" | "icon-button-menu";
|
|
11
15
|
menuTitle: string;
|
|
12
16
|
mode: string;
|
|
13
|
-
frameType: "
|
|
14
|
-
}
|
|
15
|
-
inject
|
|
17
|
+
frameType: "lineup" | "drawer";
|
|
18
|
+
}>, label?: string): import("@angular/core").Provider;
|
|
19
|
+
inject(): import("@angular/core").Signal<{
|
|
16
20
|
actions: any[];
|
|
17
|
-
menuType:
|
|
21
|
+
menuType: "menu" | "icon-button-menu";
|
|
18
22
|
menuTitle: string;
|
|
19
23
|
mode: string;
|
|
20
|
-
frameType: "
|
|
24
|
+
frameType: "lineup" | "drawer";
|
|
21
25
|
}>;
|
|
22
26
|
};
|
|
23
27
|
readonly config: import("@angular/core").Signal<{
|
|
24
28
|
actions: any[];
|
|
25
|
-
menuType:
|
|
29
|
+
menuType: "menu" | "icon-button-menu";
|
|
26
30
|
menuTitle: string;
|
|
27
31
|
mode: string;
|
|
28
|
-
frameType: "
|
|
32
|
+
frameType: "lineup" | "drawer";
|
|
29
33
|
}>;
|
|
30
34
|
readonly actions: import("@angular/core").InputSignal<any[]>;
|
|
31
|
-
readonly menuType: import("@angular/core").InputSignal<
|
|
35
|
+
readonly menuType: import("@angular/core").InputSignal<"menu" | "icon-button-menu">;
|
|
32
36
|
readonly menuTitle: import("@angular/core").InputSignal<string>;
|
|
33
37
|
readonly mode: import("@angular/core").InputSignal<string>;
|
|
34
|
-
readonly frameType: import("@angular/core").InputSignal<"
|
|
35
|
-
get attrFrame(): "
|
|
38
|
+
readonly frameType: import("@angular/core").InputSignal<"lineup" | "drawer">;
|
|
39
|
+
get attrFrame(): "lineup" | "drawer";
|
|
36
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<SideNavFrameStore, never>;
|
|
37
41
|
static ɵdir: i0.ɵɵDirectiveDeclaration<SideNavFrameStore, "frames-side-nav", never, { "actions": { "alias": "actions"; "required": false; "isSignal": true; }; "menuType": { "alias": "menuType"; "required": false; "isSignal": true; }; "menuTitle": { "alias": "menuTitle"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "frameType": { "alias": "frameType"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
38
42
|
}
|
|
@@ -3,14 +3,14 @@ import { Actions, InjectableComponent, NgAtomicComponent } from '@ng-atomic/core
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class ActionsColumnMoleculeStore extends InjectableComponent {
|
|
5
5
|
static readonly Config: {
|
|
6
|
-
provide
|
|
6
|
+
provide(useFactory?: import("@ng-atomic/common/services/ui").ReducerFactory<{
|
|
7
7
|
headerText: string;
|
|
8
8
|
itemActions: Actions;
|
|
9
9
|
style: {
|
|
10
10
|
width: string;
|
|
11
11
|
};
|
|
12
|
-
}
|
|
13
|
-
inject
|
|
12
|
+
}>, label?: string): import("@angular/core").Provider;
|
|
13
|
+
inject(): import("@angular/core").Signal<{
|
|
14
14
|
headerText: string;
|
|
15
15
|
itemActions: Actions;
|
|
16
16
|
style: {
|
|
@@ -1,22 +1,28 @@
|
|
|
1
1
|
import { SelectionModel } from '@angular/cdk/collections';
|
|
2
2
|
import { CdkCellDef, CdkColumnDef, CdkHeaderCellDef } from '@angular/cdk/table';
|
|
3
|
+
import { MatCheckbox } from '@angular/material/checkbox';
|
|
3
4
|
import { NgAtomicComponent } from '@ng-atomic/core';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
declare enum ActionId {
|
|
6
|
-
CHECKBOX_CLICK = "[@ng-atomic/components/molecules/checkbox-column] Checkbox Click"
|
|
7
|
+
CHECKBOX_CLICK = "[@ng-atomic/components/molecules/checkbox-column] Checkbox Click",
|
|
8
|
+
HEADER_CHECKBOX_CLICK = "[@ng-atomic/components/molecules/checkbox-column] Header Checkbox Click"
|
|
7
9
|
}
|
|
8
10
|
export declare class CheckboxColumnMolecule<T> extends NgAtomicComponent {
|
|
9
11
|
static readonly ActionId: typeof ActionId;
|
|
10
12
|
private _table;
|
|
11
13
|
readonly name: import("@angular/core").InputSignal<string>;
|
|
12
14
|
readonly selection: import("@angular/core").InputSignal<SelectionModel<string>>;
|
|
13
|
-
readonly isHidden: import("@angular/core").InputSignal<(item: T) =>
|
|
15
|
+
readonly isHidden: import("@angular/core").InputSignal<(item: T) => false>;
|
|
14
16
|
readonly columnDef: import("@angular/core").Signal<CdkColumnDef>;
|
|
15
17
|
readonly cell: import("@angular/core").Signal<CdkCellDef>;
|
|
16
18
|
readonly headerCell: import("@angular/core").Signal<CdkHeaderCellDef>;
|
|
19
|
+
readonly checkboxes: import("@angular/core").Signal<readonly MatCheckbox[]>;
|
|
20
|
+
readonly headerCheckboxChecked: import("@angular/core").Signal<boolean>;
|
|
21
|
+
readonly headerCheckboxIndeterminate: import("@angular/core").Signal<boolean>;
|
|
17
22
|
constructor();
|
|
18
23
|
ngOnInit(): void;
|
|
19
24
|
ngOnDestroy(): void;
|
|
25
|
+
protected onHeaderCheckboxClick(item: T, event: Event): void;
|
|
20
26
|
protected onCheckboxClick(item: T, event: Event): void;
|
|
21
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxColumnMolecule<any>, never>;
|
|
22
28
|
static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxColumnMolecule<any>, "molecules-checkbox-column", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; "selection": { "alias": "selection"; "required": false; "isSignal": true; }; "isHidden": { "alias": "isHidden"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
@@ -16,7 +16,7 @@ export interface ChipsInputMoleculeState {
|
|
|
16
16
|
}
|
|
17
17
|
export declare class ChipsInputFieldMoleculeStore extends InjectableComponent {
|
|
18
18
|
static readonly Config: {
|
|
19
|
-
provide
|
|
19
|
+
provide(useFactory?: import("@ng-atomic/common/services/ui").ReducerFactory<{
|
|
20
20
|
appearance: string;
|
|
21
21
|
control: FormControl<string>;
|
|
22
22
|
floatLabel: string;
|
|
@@ -24,8 +24,8 @@ export declare class ChipsInputFieldMoleculeStore extends InjectableComponent {
|
|
|
24
24
|
hint: string;
|
|
25
25
|
placeholder: string;
|
|
26
26
|
separators: readonly [13, 188, 32];
|
|
27
|
-
}
|
|
28
|
-
inject
|
|
27
|
+
}>, label?: string): import("@angular/core").Provider;
|
|
28
|
+
inject(): import("@angular/core").Signal<{
|
|
29
29
|
appearance: string;
|
|
30
30
|
control: FormControl<string>;
|
|
31
31
|
floatLabel: string;
|
|
@@ -2,10 +2,10 @@ import { InjectableComponent } from '@ng-atomic/core';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class LoadingBoxMoleculeStore extends InjectableComponent {
|
|
4
4
|
static readonly Config: {
|
|
5
|
-
provide
|
|
5
|
+
provide(useFactory?: import("@ng-atomic/common/services/ui").ReducerFactory<{
|
|
6
6
|
loadingMessage: string;
|
|
7
|
-
}
|
|
8
|
-
inject
|
|
7
|
+
}>, label?: string): import("@angular/core").Provider;
|
|
8
|
+
inject(): import("@angular/core").Signal<{
|
|
9
9
|
loadingMessage: string;
|
|
10
10
|
}>;
|
|
11
11
|
};
|
|
@@ -4,11 +4,12 @@ import * as i0 from "@angular/core";
|
|
|
4
4
|
export declare class NavigationListItemMoleculeStore extends InjectableComponent {
|
|
5
5
|
readonly action: import("@angular/core").InputSignal<Action<any>>;
|
|
6
6
|
readonly selected: import("@angular/core").InputSignal<boolean>;
|
|
7
|
+
readonly activated: import("@angular/core").InputSignal<boolean>;
|
|
7
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<NavigationListItemMoleculeStore, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NavigationListItemMoleculeStore, "molecules-navigation-list-item", never, { "action": { "alias": "action"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NavigationListItemMoleculeStore, "molecules-navigation-list-item", never, { "action": { "alias": "action"; "required": false; "isSignal": true; }; "selected": { "alias": "selected"; "required": false; "isSignal": true; }; "activated": { "alias": "activated"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
9
10
|
}
|
|
10
11
|
export declare class NavigationListItemMolecule extends NgAtomicComponent {
|
|
11
12
|
protected store: NavigationListItemMoleculeStore;
|
|
12
13
|
static ɵfac: i0.ɵɵFactoryDeclaration<NavigationListItemMolecule, never>;
|
|
13
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<NavigationListItemMolecule, "molecules-navigation-list-item", never, {}, {}, never, never, true, [{ directive: typeof NavigationListItemMoleculeStore; inputs: { "action": "action"; "selected": "selected"; }; outputs: {}; }]>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NavigationListItemMolecule, "molecules-navigation-list-item", never, {}, {}, never, never, true, [{ directive: typeof NavigationListItemMoleculeStore; inputs: { "action": "action"; "selected": "selected"; "activated": "activated"; }; outputs: {}; }]>;
|
|
14
15
|
}
|
|
@@ -2,11 +2,17 @@ import { InjectableComponent, NgAtomicComponent } from '@ng-atomic/core';
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class MenuHeaderOrganismStore extends InjectableComponent {
|
|
4
4
|
static readonly Config: {
|
|
5
|
-
provide
|
|
6
|
-
|
|
5
|
+
provide(useFactory?: import("@ng-atomic/common/services/ui").ReducerFactory<{
|
|
6
|
+
title: string;
|
|
7
|
+
}>, label?: string): import("@angular/core").Provider;
|
|
8
|
+
inject(): import("@angular/core").Signal<{
|
|
9
|
+
title: string;
|
|
10
|
+
}>;
|
|
7
11
|
};
|
|
8
|
-
readonly config: import("@angular/core").Signal<
|
|
9
|
-
|
|
12
|
+
readonly config: import("@angular/core").Signal<{
|
|
13
|
+
title: string;
|
|
14
|
+
}>;
|
|
15
|
+
readonly title: import("@angular/core").InputSignal<string>;
|
|
10
16
|
static ɵfac: i0.ɵɵFactoryDeclaration<MenuHeaderOrganismStore, never>;
|
|
11
17
|
static ɵdir: i0.ɵɵDirectiveDeclaration<MenuHeaderOrganismStore, "organisms-menu-header", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
12
18
|
}
|
|
@@ -3,8 +3,9 @@ import { Action } from '@ng-atomic/core';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class NavigationListOrganismStore extends InjectableComponent {
|
|
5
5
|
readonly actions: import("@angular/core").InputSignal<Action<string>[]>;
|
|
6
|
+
readonly type: import("@angular/core").InputSignal<"selection" | "nav">;
|
|
6
7
|
static ɵfac: i0.ɵɵFactoryDeclaration<NavigationListOrganismStore, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<NavigationListOrganismStore, "organisms-navigation-list", never, { "actions": { "alias": "actions"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
8
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NavigationListOrganismStore, "organisms-navigation-list", never, { "actions": { "alias": "actions"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
8
9
|
}
|
|
9
10
|
export declare class NavigationListOrganism extends NgAtomicComponent {
|
|
10
11
|
protected store: NavigationListOrganismStore;
|
|
@@ -3,12 +3,12 @@ import { NgAtomicComponent } from '@ng-atomic/core';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class NavigatorOrganismStore extends InjectableComponent {
|
|
5
5
|
static readonly Config: {
|
|
6
|
-
provide
|
|
6
|
+
provide(useFactory?: import("@ng-atomic/common/services/ui").ReducerFactory<{
|
|
7
7
|
title: string;
|
|
8
8
|
startActions: Actions;
|
|
9
9
|
endActions: Actions;
|
|
10
|
-
}
|
|
11
|
-
inject
|
|
10
|
+
}>, label?: string): import("@angular/core").Provider;
|
|
11
|
+
inject(): import("@angular/core").Signal<{
|
|
12
12
|
title: string;
|
|
13
13
|
startActions: Actions;
|
|
14
14
|
endActions: Actions;
|
|
@@ -3,11 +3,11 @@ import { InjectableComponent, NgAtomicComponent } from '@ng-atomic/core';
|
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class SliderInputSectionOrganismStore extends InjectableComponent {
|
|
5
5
|
static readonly Config: {
|
|
6
|
-
provide
|
|
6
|
+
provide(useFactory?: import("@ng-atomic/common/services/ui").ReducerFactory<{
|
|
7
7
|
items: any[];
|
|
8
8
|
itemActions: any[];
|
|
9
|
-
}
|
|
10
|
-
inject
|
|
9
|
+
}>, label?: string): import("@angular/core").Provider;
|
|
10
|
+
inject(): import("@angular/core").Signal<{
|
|
11
11
|
items: any[];
|
|
12
12
|
itemActions: any[];
|
|
13
13
|
}>;
|
|
@@ -7,33 +7,34 @@ export declare enum ActionId {
|
|
|
7
7
|
export declare class SmartListOrganismStore<T> extends InjectableComponent {
|
|
8
8
|
static readonly ActionId: typeof ActionId;
|
|
9
9
|
static readonly Config: {
|
|
10
|
-
provide
|
|
10
|
+
provide(useFactory?: import("@ng-atomic/common/services/ui").ReducerFactory<{
|
|
11
11
|
items: any[];
|
|
12
|
-
itemActions:
|
|
12
|
+
itemActions: Actions;
|
|
13
13
|
groupedBy: string;
|
|
14
|
-
groupKeys:
|
|
15
|
-
itemActionsType: "
|
|
16
|
-
}
|
|
17
|
-
inject
|
|
14
|
+
groupKeys: string[];
|
|
15
|
+
itemActionsType: "menu" | "dispatch";
|
|
16
|
+
}>, label?: string): import("@angular/core").Provider;
|
|
17
|
+
inject(): import("@angular/core").Signal<{
|
|
18
18
|
items: any[];
|
|
19
|
-
itemActions:
|
|
19
|
+
itemActions: Actions;
|
|
20
20
|
groupedBy: string;
|
|
21
|
-
groupKeys:
|
|
22
|
-
itemActionsType: "
|
|
21
|
+
groupKeys: string[];
|
|
22
|
+
itemActionsType: "menu" | "dispatch";
|
|
23
23
|
}>;
|
|
24
24
|
};
|
|
25
|
+
static provideItemActionsTypeConfig(): import("@angular/core").Provider;
|
|
25
26
|
readonly config: import("@angular/core").Signal<{
|
|
26
27
|
items: any[];
|
|
27
|
-
itemActions:
|
|
28
|
+
itemActions: Actions;
|
|
28
29
|
groupedBy: string;
|
|
29
|
-
groupKeys:
|
|
30
|
-
itemActionsType: "
|
|
30
|
+
groupKeys: string[];
|
|
31
|
+
itemActionsType: "menu" | "dispatch";
|
|
31
32
|
}>;
|
|
32
33
|
readonly items: import("@angular/core").InputSignal<T[]>;
|
|
33
34
|
readonly itemActions: import("@angular/core").InputSignal<Actions>;
|
|
34
35
|
readonly groupedBy: import("@angular/core").InputSignal<string>;
|
|
35
36
|
readonly groupKeys: import("@angular/core").InputSignal<string[]>;
|
|
36
|
-
readonly itemActionsType: import("@angular/core").InputSignal<"
|
|
37
|
+
readonly itemActionsType: import("@angular/core").InputSignal<"menu" | "dispatch">;
|
|
37
38
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartListOrganismStore<any>, never>;
|
|
38
39
|
static ɵdir: i0.ɵɵDirectiveDeclaration<SmartListOrganismStore<any>, never, never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "itemActions": { "alias": "itemActions"; "required": false; "isSignal": true; }; "groupedBy": { "alias": "groupedBy"; "required": false; "isSignal": true; }; "groupKeys": { "alias": "groupKeys"; "required": false; "isSignal": true; }; "itemActionsType": { "alias": "itemActionsType"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
39
40
|
}
|
|
@@ -23,7 +23,7 @@ export declare class StripeFormService {
|
|
|
23
23
|
}
|
|
24
24
|
export declare class StripeInputSectionOrganismStore extends InjectableComponent {
|
|
25
25
|
static readonly Config: {
|
|
26
|
-
provide
|
|
26
|
+
provide(useFactory?: import("@ng-atomic/common/services/ui").ReducerFactory<{
|
|
27
27
|
form: import("@angular/forms").FormGroup<{
|
|
28
28
|
email: import("@angular/forms").FormControl<string>;
|
|
29
29
|
address: import("@angular/forms").FormGroup<{
|
|
@@ -43,8 +43,8 @@ export declare class StripeInputSectionOrganismStore extends InjectableComponent
|
|
|
43
43
|
addressOptions: StripeAddressElementOptions;
|
|
44
44
|
paymentOptions: StripePaymentElementOptions;
|
|
45
45
|
elementsOptions: StripeElementsOptions;
|
|
46
|
-
}
|
|
47
|
-
inject
|
|
46
|
+
}>, label?: string): import("@angular/core").Provider;
|
|
47
|
+
inject(): import("@angular/core").Signal<{
|
|
48
48
|
form: import("@angular/forms").FormGroup<{
|
|
49
49
|
email: import("@angular/forms").FormControl<string>;
|
|
50
50
|
address: import("@angular/forms").FormGroup<{
|
|
@@ -3,8 +3,31 @@ import { DomainPipe } from '@ng-atomic/common/pipes/domain';
|
|
|
3
3
|
import { Actions, InjectableComponent, NgAtomicComponent } from '@ng-atomic/core';
|
|
4
4
|
import { SelectionModel } from '@angular/cdk/collections';
|
|
5
5
|
import { FlatTreeControl } from '@angular/cdk/tree';
|
|
6
|
+
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
8
|
+
declare enum ActionId {
|
|
9
|
+
CHECKBOX_CLICK = "[@ng-atomic/components/organisms/checkbox-column] Checkbox Click",
|
|
10
|
+
HEADER_CHECKBOX_CLICK = "[@ng-atomic/components/organisms/checkbox-column] Header Checkbox Click",
|
|
11
|
+
HEADER_CLICK = "[@ng-atomic/components/organisms/table] Header Click",
|
|
12
|
+
ROW_DROP = "[@ng-atomic/components/organisms/table] Row Drop"
|
|
13
|
+
}
|
|
7
14
|
export declare class TableOrganismStore<T> extends InjectableComponent {
|
|
15
|
+
static readonly ActionId: typeof ActionId;
|
|
16
|
+
static readonly Config: {
|
|
17
|
+
provide(useFactory?: import("@ng-atomic/common/services/ui").ReducerFactory<{
|
|
18
|
+
draggable: boolean;
|
|
19
|
+
isHidden: (item: any) => false;
|
|
20
|
+
}>, label?: string): import("@angular/core").Provider;
|
|
21
|
+
inject(): import("@angular/core").Signal<{
|
|
22
|
+
draggable: boolean;
|
|
23
|
+
isHidden: (item: any) => false;
|
|
24
|
+
}>;
|
|
25
|
+
};
|
|
26
|
+
readonly config: import("@angular/core").Signal<{
|
|
27
|
+
draggable: boolean;
|
|
28
|
+
isHidden: (item: any) => false;
|
|
29
|
+
}>;
|
|
30
|
+
readonly draggable: import("@angular/core").InputSignal<boolean>;
|
|
8
31
|
readonly domainPipe: DomainPipe;
|
|
9
32
|
readonly form: import("@angular/core").InputSignal<import("@angular/forms").FormGroup<{
|
|
10
33
|
query: import("@angular/forms").FormControl<string>;
|
|
@@ -26,7 +49,7 @@ export declare class TableOrganismStore<T> extends InjectableComponent {
|
|
|
26
49
|
readonly items: import("@angular/core").InputSignal<T[]>;
|
|
27
50
|
readonly treeControl: import("@angular/core").InputSignal<FlatTreeControl<any, any>>;
|
|
28
51
|
readonly dataSource: import("@angular/core").Signal<import("@angular/material/tree").MatTreeFlatDataSource<any, any, any> | MatTableDataSource<T, import("@angular/material/paginator").MatPaginator>>;
|
|
29
|
-
readonly isHidden: import("@angular/core").
|
|
52
|
+
readonly isHidden: import("@angular/core").InputSignal<(item: any) => false>;
|
|
30
53
|
readonly formValue: import("@angular/core").Signal<Partial<{
|
|
31
54
|
query: string;
|
|
32
55
|
page: Partial<{
|
|
@@ -49,7 +72,7 @@ export declare class TableOrganismStore<T> extends InjectableComponent {
|
|
|
49
72
|
key: string;
|
|
50
73
|
order: string;
|
|
51
74
|
}>;
|
|
52
|
-
readonly columns: import("@angular/core").Signal<{
|
|
75
|
+
readonly columns: import("@angular/core").Signal<({
|
|
53
76
|
type: string;
|
|
54
77
|
sort: string;
|
|
55
78
|
actions?: Actions;
|
|
@@ -57,21 +80,28 @@ export declare class TableOrganismStore<T> extends InjectableComponent {
|
|
|
57
80
|
visible: boolean;
|
|
58
81
|
width: number;
|
|
59
82
|
headerText?: string;
|
|
60
|
-
}
|
|
83
|
+
} | {
|
|
84
|
+
type: string;
|
|
85
|
+
headerText: string;
|
|
86
|
+
actions?: Actions;
|
|
87
|
+
name: string;
|
|
88
|
+
visible: boolean;
|
|
89
|
+
width: number;
|
|
90
|
+
sort?: boolean;
|
|
91
|
+
})[]>;
|
|
61
92
|
readonly columnNames: import("@angular/core").Signal<string[]>;
|
|
62
93
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableOrganismStore<any>, never>;
|
|
63
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TableOrganismStore<any>, "organisms-table", never, { "form": { "alias": "form"; "required": false; "isSignal": true; }; "itemActions": { "alias": "itemActions"; "required": false; "isSignal": true; }; "selection": { "alias": "selection"; "required": false; "isSignal": true; }; "highlight": { "alias": "highlight"; "required": false; "isSignal": true; }; "childrenKey": { "alias": "childrenKey"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": false; "isSignal": true; }; "treeControl": { "alias": "treeControl"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
64
|
-
}
|
|
65
|
-
declare enum ActionId {
|
|
66
|
-
CHECKBOX_CLICK = "[@ng-atomic/components/organisms/checkbox-column] Checkbox Click",
|
|
67
|
-
HEADER_CLICK = "[@ng-atomic/components/organisms/table] Header Click"
|
|
94
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<TableOrganismStore<any>, "organisms-table", never, { "draggable": { "alias": "draggable"; "required": false; "isSignal": true; }; "form": { "alias": "form"; "required": false; "isSignal": true; }; "itemActions": { "alias": "itemActions"; "required": false; "isSignal": true; }; "selection": { "alias": "selection"; "required": false; "isSignal": true; }; "highlight": { "alias": "highlight"; "required": false; "isSignal": true; }; "childrenKey": { "alias": "childrenKey"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": false; "isSignal": true; }; "treeControl": { "alias": "treeControl"; "required": false; "isSignal": true; }; "isHidden": { "alias": "isHidden"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
68
95
|
}
|
|
69
96
|
export declare class TableOrganism<Item extends object> extends NgAtomicComponent {
|
|
70
97
|
static readonly ActionId: typeof ActionId;
|
|
71
98
|
protected store: TableOrganismStore<any>;
|
|
72
99
|
protected onCheckboxClick(item: Item): void;
|
|
100
|
+
protected onHeaderCheckboxClick(item: Item): void;
|
|
73
101
|
protected onHeaderClick(column: string): void;
|
|
102
|
+
protected onDrop(event: CdkDragDrop<any, any>): void;
|
|
74
103
|
static ɵfac: i0.ɵɵFactoryDeclaration<TableOrganism<any>, never>;
|
|
75
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<TableOrganism<any>, "organisms-table", never, {}, {}, never, never, true, [{ directive: typeof TableOrganismStore; inputs: { "form": "form"; "itemActions": "itemActions"; "selection": "selection"; "items": "items"; "childrenKey": "childrenKey"; "highlight": "highlight"; }; outputs: {}; }]>;
|
|
104
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<TableOrganism<any>, "organisms-table", never, {}, {}, never, never, true, [{ directive: typeof TableOrganismStore; inputs: { "draggable": "draggable"; "form": "form"; "itemActions": "itemActions"; "selection": "selection"; "items": "items"; "childrenKey": "childrenKey"; "highlight": "highlight"; "treeControl": "treeControl"; "isHidden": "isHidden"; }; outputs: {}; }]>;
|
|
76
105
|
}
|
|
106
|
+
export declare function flatItems<T>(items: T[], key?: string): T[];
|
|
77
107
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ng-atomic/components",
|
|
3
|
-
"version": "17.
|
|
3
|
+
"version": "17.11.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/animations": "^17.0.0",
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"@codemirror/state": "^6.0.0",
|
|
18
18
|
"@codemirror/theme-one-dark": "^6.0.0",
|
|
19
19
|
"@codemirror/view": "^6.0.0",
|
|
20
|
-
"@ng-atomic/common": "17.
|
|
21
|
-
"@nx-ddd/core": "17.
|
|
20
|
+
"@ng-atomic/common": "17.11.0",
|
|
21
|
+
"@nx-ddd/core": "17.11.0",
|
|
22
22
|
"@webcontainer/api": "^1.1.7",
|
|
23
23
|
"cm6-graphql": "^0.0.4",
|
|
24
24
|
"codemirror": "^6.0.0",
|