@piying-lib/angular-daisyui 1.0.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/README.md +64 -0
- package/extension/index.d.ts +449 -0
- package/fesm2022/piying-lib-angular-daisyui-extension.mjs +1356 -0
- package/fesm2022/piying-lib-angular-daisyui-extension.mjs.map +1 -0
- package/fesm2022/piying-lib-angular-daisyui-field-control-props.directive-C5mF89PX.mjs +27 -0
- package/fesm2022/piying-lib-angular-daisyui-field-control-props.directive-C5mF89PX.mjs.map +1 -0
- package/fesm2022/piying-lib-angular-daisyui-field-control.mjs +616 -0
- package/fesm2022/piying-lib-angular-daisyui-field-control.mjs.map +1 -0
- package/fesm2022/piying-lib-angular-daisyui-field-group.mjs +345 -0
- package/fesm2022/piying-lib-angular-daisyui-field-group.mjs.map +1 -0
- package/fesm2022/piying-lib-angular-daisyui-non-field-control.mjs +452 -0
- package/fesm2022/piying-lib-angular-daisyui-non-field-control.mjs.map +1 -0
- package/fesm2022/piying-lib-angular-daisyui-pipe.mjs +55 -0
- package/fesm2022/piying-lib-angular-daisyui-pipe.mjs.map +1 -0
- package/fesm2022/piying-lib-angular-daisyui-service.mjs +115 -0
- package/fesm2022/piying-lib-angular-daisyui-service.mjs.map +1 -0
- package/fesm2022/piying-lib-angular-daisyui-wrapper.mjs +75 -0
- package/fesm2022/piying-lib-angular-daisyui-wrapper.mjs.map +1 -0
- package/fesm2022/piying-lib-angular-daisyui.mjs +4 -0
- package/fesm2022/piying-lib-angular-daisyui.mjs.map +1 -0
- package/field-control/index.d.ts +204 -0
- package/field-group/index.d.ts +162 -0
- package/index.d.ts +2 -0
- package/non-field-control/index.d.ts +255 -0
- package/package.json +54 -0
- package/pipe/index.d.ts +25 -0
- package/preset-css/css/style.css +1 -0
- package/preset-css/css/style.split.css +126 -0
- package/preset-css/json/manifest.json +739 -0
- package/preset-css/ts/accordion.ts +9 -0
- package/preset-css/ts/alert.ts +12 -0
- package/preset-css/ts/avatar.ts +7 -0
- package/preset-css/ts/badge.ts +20 -0
- package/preset-css/ts/breadcrumbs.ts +1 -0
- package/preset-css/ts/browser-mockup.ts +1 -0
- package/preset-css/ts/button.ts +27 -0
- package/preset-css/ts/calendar.ts +1 -0
- package/preset-css/ts/card.ts +15 -0
- package/preset-css/ts/carousel.ts +9 -0
- package/preset-css/ts/chat-bubble.ts +17 -0
- package/preset-css/ts/checkbox.ts +16 -0
- package/preset-css/ts/code-mockup.ts +1 -0
- package/preset-css/ts/collapse.ts +9 -0
- package/preset-css/ts/countdown.ts +1 -0
- package/preset-css/ts/diff.ts +1 -0
- package/preset-css/ts/divider.ts +15 -0
- package/preset-css/ts/dock.ts +10 -0
- package/preset-css/ts/drawer-sidebar.ts +11 -0
- package/preset-css/ts/dropdown.ts +13 -0
- package/preset-css/ts/fab-speed-dial.ts +1 -0
- package/preset-css/ts/fieldset.ts +1 -0
- package/preset-css/ts/file-input.ts +17 -0
- package/preset-css/ts/filter.ts +1 -0
- package/preset-css/ts/footer.ts +7 -0
- package/preset-css/ts/hero.ts +1 -0
- package/preset-css/ts/hover-gallery.ts +1 -0
- package/preset-css/ts/index.ts +63 -0
- package/preset-css/ts/indicator.ts +10 -0
- package/preset-css/ts/join.ts +1 -0
- package/preset-css/ts/kbd.ts +1 -0
- package/preset-css/ts/label.ts +1 -0
- package/preset-css/ts/link.ts +12 -0
- package/preset-css/ts/list.ts +1 -0
- package/preset-css/ts/loading.ts +14 -0
- package/preset-css/ts/mask.ts +20 -0
- package/preset-css/ts/menu.ts +17 -0
- package/preset-css/ts/modal.ts +13 -0
- package/preset-css/ts/navbar.ts +1 -0
- package/preset-css/ts/pagination.ts +1 -0
- package/preset-css/ts/phone-mockup.ts +5 -0
- package/preset-css/ts/progress.ts +11 -0
- package/preset-css/ts/radial-progress.ts +1 -0
- package/preset-css/ts/radio.ts +16 -0
- package/preset-css/ts/range-slider.ts +16 -0
- package/preset-css/ts/rating.ts +10 -0
- package/preset-css/ts/select.ts +17 -0
- package/preset-css/ts/skeleton.ts +1 -0
- package/preset-css/ts/stack.ts +1 -0
- package/preset-css/ts/stat.ts +11 -0
- package/preset-css/ts/status.ts +16 -0
- package/preset-css/ts/steps.ts +15 -0
- package/preset-css/ts/swap.ts +9 -0
- package/preset-css/ts/table.ts +11 -0
- package/preset-css/ts/tabs.ts +17 -0
- package/preset-css/ts/text-input.ts +17 -0
- package/preset-css/ts/textarea.ts +17 -0
- package/preset-css/ts/theme-controller.ts +1 -0
- package/preset-css/ts/timeline.ts +11 -0
- package/preset-css/ts/toast.ts +9 -0
- package/preset-css/ts/toggle.ts +16 -0
- package/preset-css/ts/tooltip.ts +17 -0
- package/preset-css/ts/validator.ts +1 -0
- package/preset-css/ts/window-mockup.ts +1 -0
- package/service/index.d.ts +42 -0
- package/wrapper/index.d.ts +27 -0
package/README.md
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# Daisyui
|
|
2
|
+
|
|
3
|
+
This project was generated using [Angular CLI](https://github.com/angular/angular-cli) version 20.3.0.
|
|
4
|
+
|
|
5
|
+
## Code scaffolding
|
|
6
|
+
|
|
7
|
+
Angular CLI includes powerful code scaffolding tools. To generate a new component, run:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
ng generate component component-name
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
For a complete list of available schematics (such as `components`, `directives`, or `pipes`), run:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
ng generate --help
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## Building
|
|
20
|
+
|
|
21
|
+
To build the library, run:
|
|
22
|
+
|
|
23
|
+
```bash
|
|
24
|
+
ng build daisyui
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
This command will compile your project, and the build artifacts will be placed in the `dist/` directory.
|
|
28
|
+
|
|
29
|
+
### Publishing the Library
|
|
30
|
+
|
|
31
|
+
Once the project is built, you can publish your library by following these steps:
|
|
32
|
+
|
|
33
|
+
1. Navigate to the `dist` directory:
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
cd dist/daisyui
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
2. Run the `npm publish` command to publish your library to the npm registry:
|
|
40
|
+
```bash
|
|
41
|
+
npm publish
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## Running unit tests
|
|
45
|
+
|
|
46
|
+
To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:
|
|
47
|
+
|
|
48
|
+
```bash
|
|
49
|
+
ng test
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
## Running end-to-end tests
|
|
53
|
+
|
|
54
|
+
For end-to-end (e2e) testing, run:
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
ng e2e
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.
|
|
61
|
+
|
|
62
|
+
## Additional Resources
|
|
63
|
+
|
|
64
|
+
For more information on using the Angular CLI, including detailed command references, visit the [Angular CLI Overview and Command Reference](https://angular.dev/tools/cli) page.
|
|
@@ -0,0 +1,449 @@
|
|
|
1
|
+
import * as _angular_core from '@angular/core';
|
|
2
|
+
import { Signal, Injector, WritableSignal } from '@angular/core';
|
|
3
|
+
import { IconConfig, StrOrTemplateComponent, Size, isSchema, SelectOption, OptionConvert, transformOption, ResolvedOption } from '@piying-lib/angular-core';
|
|
4
|
+
import { Params, ActivatedRoute, UrlTree, RouterLinkActive, IsActiveMatchOptions } from '@angular/router';
|
|
5
|
+
import * as _piying_view_angular_core from '@piying/view-angular-core';
|
|
6
|
+
import * as _piying_valibot_visit from '@piying/valibot-visit';
|
|
7
|
+
import * as v from 'valibot';
|
|
8
|
+
import * as _piying_view_angular from '@piying/view-angular';
|
|
9
|
+
import { PiyingViewGroupBase, BaseControl, PiyingView } from '@piying/view-angular';
|
|
10
|
+
import { SelectorlessOutlet } from '@cyia/ngx-common/directive';
|
|
11
|
+
import { OverlayConfig } from '@angular/cdk/overlay';
|
|
12
|
+
import { BehaviorSubject } from 'rxjs';
|
|
13
|
+
|
|
14
|
+
declare const ExactMatchOptions: IsActiveMatchOptions;
|
|
15
|
+
declare const SubsetMatchOptions: IsActiveMatchOptions;
|
|
16
|
+
interface NavigationItem {
|
|
17
|
+
title?: string;
|
|
18
|
+
subtitle?: string;
|
|
19
|
+
type: 'basic' | 'divider' | 'group';
|
|
20
|
+
hidden?: (item: NavigationItem) => boolean;
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
tooltip?: string;
|
|
23
|
+
function?: (item: NavigationItem) => void;
|
|
24
|
+
icon?: IconConfig;
|
|
25
|
+
badge?: {
|
|
26
|
+
title?: string;
|
|
27
|
+
class?: string;
|
|
28
|
+
};
|
|
29
|
+
children?: NavigationItem[];
|
|
30
|
+
router?: {
|
|
31
|
+
queryParams?: Params;
|
|
32
|
+
fragment?: string;
|
|
33
|
+
queryParamsHandling?: string;
|
|
34
|
+
state?: {
|
|
35
|
+
[k: string]: any;
|
|
36
|
+
};
|
|
37
|
+
info?: unknown;
|
|
38
|
+
relativeTo?: ActivatedRoute | null;
|
|
39
|
+
target?: string;
|
|
40
|
+
preserveFragment?: boolean;
|
|
41
|
+
skipLocationChange?: boolean;
|
|
42
|
+
replaceUrl?: boolean;
|
|
43
|
+
routerLink?: readonly any[] | string | UrlTree | null;
|
|
44
|
+
activate?: {
|
|
45
|
+
routerLinkActiveOptions?: RouterLinkActive['routerLinkActiveOptions'];
|
|
46
|
+
ariaCurrentWhenActive?: RouterLinkActive['ariaCurrentWhenActive'];
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
href?: string;
|
|
50
|
+
target?: '_blank' | '_self' | '_parent' | '_top' | string;
|
|
51
|
+
}
|
|
52
|
+
type NavigationMode = 'over' | 'side';
|
|
53
|
+
type NavigationPosition = 'left' | 'right';
|
|
54
|
+
|
|
55
|
+
declare class MenuTreeNFCC {
|
|
56
|
+
#private;
|
|
57
|
+
static __version: number;
|
|
58
|
+
readonly routerLinkActiveOptions: {
|
|
59
|
+
exact: boolean;
|
|
60
|
+
};
|
|
61
|
+
readonly StrOrTemplateComponent: typeof StrOrTemplateComponent;
|
|
62
|
+
templateRef: _angular_core.Signal<unknown>;
|
|
63
|
+
list: _angular_core.InputSignal<NavigationItem[]>;
|
|
64
|
+
size: _angular_core.InputSignal<Size | undefined>;
|
|
65
|
+
direction: _angular_core.InputSignal<"horizontal" | "vertical" | undefined>;
|
|
66
|
+
wrapperClass$: _angular_core.Signal<string>;
|
|
67
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MenuTreeNFCC, never>;
|
|
68
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<MenuTreeNFCC, "app-menu-tree", never, { "list": { "alias": "list"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "direction": { "alias": "direction"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
declare class PaginationNFCC {
|
|
72
|
+
#private;
|
|
73
|
+
static __version: number;
|
|
74
|
+
readonly StrOrTemplateComponent: typeof StrOrTemplateComponent;
|
|
75
|
+
templateRef: _angular_core.Signal<unknown>;
|
|
76
|
+
direction: _angular_core.InputSignal<"horizontal" | "vertical" | undefined>;
|
|
77
|
+
sizeOptions: _angular_core.InputSignal<number[] | undefined>;
|
|
78
|
+
optionsLabel: _angular_core.InputSignal<((size: number, index: number, count: number) => string) | undefined>;
|
|
79
|
+
value: _angular_core.ModelSignal<{
|
|
80
|
+
index: number;
|
|
81
|
+
size: number;
|
|
82
|
+
}>;
|
|
83
|
+
count: _angular_core.InputSignal<number>;
|
|
84
|
+
wrapperClass$: _angular_core.Signal<string>;
|
|
85
|
+
maxPageCount$$: _angular_core.Signal<number>;
|
|
86
|
+
pageRange$$: _angular_core.Signal<{
|
|
87
|
+
type: string;
|
|
88
|
+
value: number;
|
|
89
|
+
}[]>;
|
|
90
|
+
ngOnInit(): void;
|
|
91
|
+
gotoPage(value: number): void;
|
|
92
|
+
pageSizeChange(value: number): void;
|
|
93
|
+
updatePageToProps(): void;
|
|
94
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PaginationNFCC, never>;
|
|
95
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PaginationNFCC, "app-pagination", never, { "direction": { "alias": "direction"; "required": false; "isSignal": true; }; "sizeOptions": { "alias": "sizeOptions"; "required": false; "isSignal": true; }; "optionsLabel": { "alias": "optionsLabel"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": true; "isSignal": true; }; "count": { "alias": "count"; "required": true; "isSignal": true; }; }, { "value": "valueChange"; }, never, never, true, never>;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
type ItemCellBase = string | v.BaseSchema<any, any, any>;
|
|
99
|
+
type ItemCell = ItemCellBase | ((rowData: any) => any);
|
|
100
|
+
type DataResolved = [number, any[]];
|
|
101
|
+
interface RowItem {
|
|
102
|
+
define: v.TupleSchema<[], undefined>;
|
|
103
|
+
columns?: (string | number)[];
|
|
104
|
+
}
|
|
105
|
+
interface ColumnDefine {
|
|
106
|
+
head?: ItemCellBase;
|
|
107
|
+
body?: ItemCell;
|
|
108
|
+
foot?: ItemCellBase;
|
|
109
|
+
}
|
|
110
|
+
type ColumnGroupDefine = {
|
|
111
|
+
[s: string]: ColumnDefine;
|
|
112
|
+
} | ArrayLike<ColumnDefine>;
|
|
113
|
+
interface TableItemDefine2 {
|
|
114
|
+
row?: {
|
|
115
|
+
head?: RowItem[];
|
|
116
|
+
body?: RowItem[];
|
|
117
|
+
foot?: RowItem[];
|
|
118
|
+
};
|
|
119
|
+
columns: ColumnGroupDefine;
|
|
120
|
+
}
|
|
121
|
+
declare function createRowDefine(): v.SchemaWithPipe<readonly [v.TupleSchema<[], undefined>, _piying_valibot_visit.DefineTypeAction<[]> | _piying_valibot_visit.RawConfigAction<"viewRawConfig", [], _piying_view_angular_core.AnyCoreSchemaHandle>]>;
|
|
122
|
+
declare function createDefaultColDefine(isHeader: boolean, content: any, context?: any): v.SchemaWithPipe<readonly [v.OptionalSchema<v.VoidSchema<undefined>, undefined>, _piying_valibot_visit.DefineTypeAction<void | undefined> | _piying_valibot_visit.RawConfigAction<"viewRawConfig", void | undefined, _piying_view_angular_core.AnyCoreSchemaHandle>, _piying_valibot_visit.RawConfigAction<"viewRawConfig", void | undefined, _piying_view_angular_core.AnyCoreSchemaHandle>, _piying_valibot_visit.RawConfigAction<"viewRawConfig", void | undefined, _piying_view_angular_core.AnyCoreSchemaHandle>]>;
|
|
123
|
+
declare function createDefaultColDefineFn(isHeader: boolean, content: (item: any, index: number) => any, context?: any): v.SchemaWithPipe<readonly [v.OptionalSchema<v.VoidSchema<undefined>, undefined>, _piying_valibot_visit.DefineTypeAction<void | undefined> | _piying_valibot_visit.RawConfigAction<"viewRawConfig", void | undefined, _piying_view_angular_core.AnyCoreSchemaHandle>, _piying_valibot_visit.RawConfigAction<"viewRawConfig", void | undefined, _piying_view_angular_core.AnyCoreSchemaHandle>, _piying_valibot_visit.RawConfigAction<"viewRawConfig", void | undefined, _piying_view_angular_core.AnyCoreSchemaHandle>, _piying_valibot_visit.RawConfigAction<"viewRawConfig", void | undefined, _piying_view_angular_core.AnyCoreSchemaHandle>]>;
|
|
124
|
+
declare class TableNFCC {
|
|
125
|
+
#private;
|
|
126
|
+
static __version: number;
|
|
127
|
+
templateRef: Signal<unknown>;
|
|
128
|
+
readonly StrOrTemplateComponent: typeof StrOrTemplateComponent;
|
|
129
|
+
define: _angular_core.InputSignal<TableItemDefine2 | undefined>;
|
|
130
|
+
data: _angular_core.InputSignal<any[] | Signal<any[]>>;
|
|
131
|
+
injector: Injector;
|
|
132
|
+
data$$: Signal<any[]>;
|
|
133
|
+
zebra: _angular_core.InputSignal<boolean | undefined>;
|
|
134
|
+
pin: _angular_core.InputSignal<{
|
|
135
|
+
rows?: boolean;
|
|
136
|
+
cols?: boolean;
|
|
137
|
+
} | undefined>;
|
|
138
|
+
size: _angular_core.InputSignal<Size | undefined>;
|
|
139
|
+
trackBy: _angular_core.InputSignal<(key: number, value: any) => number>;
|
|
140
|
+
pagination: _angular_core.InputSignal<{
|
|
141
|
+
sizeOptions?: number[];
|
|
142
|
+
enable: boolean;
|
|
143
|
+
optionsLabel?: (size: number, index: number, count: number) => string;
|
|
144
|
+
} | undefined>;
|
|
145
|
+
type: _angular_core.InputSignal<"category" | undefined>;
|
|
146
|
+
wrapperClass$$: Signal<string>;
|
|
147
|
+
columnsList$$: Signal<ColumnDefine[]>;
|
|
148
|
+
headList$$: Signal<v.TupleSchema<any, undefined>[]>;
|
|
149
|
+
bodyList$$: Signal<v.TupleSchema<any, undefined>[]>;
|
|
150
|
+
footList$$: Signal<v.TupleSchema<any, undefined>[]>;
|
|
151
|
+
dataConvert(data: any[]): DataResolved;
|
|
152
|
+
isFunction(input: any): boolean;
|
|
153
|
+
selectorlessInput: (content: any, context?: any) => Record<string, any>;
|
|
154
|
+
getItemData: (id: unknown, value: any) => WritableSignal<any>;
|
|
155
|
+
isSchema: typeof isSchema;
|
|
156
|
+
categoryHeadData: (data: Signal<any>) => Signal<any>;
|
|
157
|
+
categoryBodyData: (data: Signal<any>, index: number) => Signal<any>;
|
|
158
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableNFCC, never>;
|
|
159
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableNFCC, "app-table", never, { "define": { "alias": "define"; "required": false; "isSignal": true; }; "data": { "alias": "data"; "required": false; "isSignal": true; }; "zebra": { "alias": "zebra"; "required": false; "isSignal": true; }; "pin": { "alias": "pin"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "trackBy": { "alias": "trackBy"; "required": false; "isSignal": true; }; "pagination": { "alias": "pagination"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
declare class TableRowFGC extends PiyingViewGroupBase {
|
|
163
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableRowFGC, never>;
|
|
164
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableRowFGC, "tr", never, {}, {}, never, never, true, never>;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
declare class TableResourceWC {
|
|
168
|
+
static __version: number;
|
|
169
|
+
templateRef: _angular_core.Signal<unknown>;
|
|
170
|
+
field$$: _angular_core.Signal<_piying_view_angular.PiResolvedViewFieldConfig>;
|
|
171
|
+
props$$: _angular_core.Signal<Record<string, any>>;
|
|
172
|
+
rawData$$: _angular_core.Signal<any>;
|
|
173
|
+
queryParams$$: _angular_core.Signal<any>;
|
|
174
|
+
data$: _angular_core.ResourceRef<any>;
|
|
175
|
+
list$$: _angular_core.Signal<unknown>;
|
|
176
|
+
count$$: _angular_core.Signal<unknown>;
|
|
177
|
+
constructor();
|
|
178
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableResourceWC, never>;
|
|
179
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableResourceWC, "app-table-resource", never, {}, {}, never, never, true, never>;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
declare class SortHeaderWC {
|
|
183
|
+
#private;
|
|
184
|
+
static __version: number;
|
|
185
|
+
templateRef: _angular_core.Signal<unknown>;
|
|
186
|
+
field$$: _angular_core.Signal<_piying_view_angular.PiResolvedViewFieldConfig>;
|
|
187
|
+
props$$: _angular_core.Signal<Record<string, any>>;
|
|
188
|
+
key$$: _angular_core.Signal<any>;
|
|
189
|
+
index$: _angular_core.WritableSignal<any>;
|
|
190
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SortHeaderWC, never>;
|
|
191
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SortHeaderWC, "app-sort-header", never, {}, {}, never, never, true, never>;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
type SortDirection = 0 | 1 | -1;
|
|
195
|
+
|
|
196
|
+
declare class inputSortDirective {
|
|
197
|
+
#private;
|
|
198
|
+
key: _angular_core.InputSignal<string>;
|
|
199
|
+
inputSort: _angular_core.ModelSignal<SortDirection>;
|
|
200
|
+
ngOnChanges(): void;
|
|
201
|
+
ngOnInit(): void;
|
|
202
|
+
chagne(): void;
|
|
203
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<inputSortDirective, never>;
|
|
204
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<inputSortDirective, "[inputSort]", never, { "key": { "alias": "key"; "required": true; "isSignal": true; }; "inputSort": { "alias": "inputSort"; "required": true; "isSignal": true; }; }, { "inputSort": "inputSortChange"; }, never, never, true, never>;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
declare class SortTablehWC {
|
|
208
|
+
#private;
|
|
209
|
+
static __version: number;
|
|
210
|
+
templateRef: _angular_core.Signal<unknown>;
|
|
211
|
+
field$$: _angular_core.Signal<_piying_view_angular.PiResolvedViewFieldConfig>;
|
|
212
|
+
props$$: _angular_core.Signal<Record<string, any>>;
|
|
213
|
+
constructor();
|
|
214
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<SortTablehWC, never>;
|
|
215
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<SortTablehWC, "app-sort-table", never, {}, {}, never, never, true, never>;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
declare class ExpandRowDirective {
|
|
219
|
+
#private;
|
|
220
|
+
a(event: PointerEvent): void;
|
|
221
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ExpandRowDirective, never>;
|
|
222
|
+
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<ExpandRowDirective, "app-expand", never, {}, {}, never, never, true, never>;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
declare class TableStatusWC {
|
|
226
|
+
static __version: number;
|
|
227
|
+
templateRef: _angular_core.Signal<unknown>;
|
|
228
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableStatusWC, never>;
|
|
229
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableStatusWC, "app-table-status", never, {}, {}, never, never, true, never>;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
declare class TableStatusService {
|
|
233
|
+
expanded: BehaviorSubject<undefined>;
|
|
234
|
+
toggleExpand(value: any): void;
|
|
235
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableStatusService, never>;
|
|
236
|
+
static ɵprov: _angular_core.ɵɵInjectableDeclaration<TableStatusService>;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
declare class CheckboxTableWC {
|
|
240
|
+
#private;
|
|
241
|
+
static __version: number;
|
|
242
|
+
templateRef: _angular_core.Signal<unknown>;
|
|
243
|
+
field$$: _angular_core.Signal<_piying_view_angular.PiResolvedViewFieldConfig>;
|
|
244
|
+
props$$: _angular_core.Signal<Record<string, any>>;
|
|
245
|
+
constructor();
|
|
246
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CheckboxTableWC, never>;
|
|
247
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CheckboxTableWC, "app-checkbox-table", never, {}, {}, never, never, true, never>;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
declare class TableCheckboxAllWC {
|
|
251
|
+
#private;
|
|
252
|
+
field$$: _angular_core.Signal<_piying_view_angular.PiResolvedViewFieldConfig>;
|
|
253
|
+
props$$: _angular_core.Signal<Record<string, any>>;
|
|
254
|
+
static __version: number;
|
|
255
|
+
templateRef: _angular_core.Signal<unknown>;
|
|
256
|
+
toggle(): void;
|
|
257
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableCheckboxAllWC, never>;
|
|
258
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableCheckboxAllWC, "app-table-checkbox-all", never, {}, {}, never, never, true, never>;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
declare class TableCheckboxOneWC {
|
|
262
|
+
#private;
|
|
263
|
+
static __version: number;
|
|
264
|
+
templateRef: _angular_core.Signal<unknown>;
|
|
265
|
+
field$$: _angular_core.Signal<_piying_view_angular.PiResolvedViewFieldConfig>;
|
|
266
|
+
props$$: _angular_core.Signal<Record<string, any>>;
|
|
267
|
+
constructor();
|
|
268
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableCheckboxOneWC, never>;
|
|
269
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableCheckboxOneWC, "app-table-checkbox-body", never, {}, {}, never, never, true, never>;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
type wrapper_index_d$1_SortHeaderWC = SortHeaderWC;
|
|
273
|
+
declare const wrapper_index_d$1_SortHeaderWC: typeof SortHeaderWC;
|
|
274
|
+
type wrapper_index_d$1_SortTablehWC = SortTablehWC;
|
|
275
|
+
declare const wrapper_index_d$1_SortTablehWC: typeof SortTablehWC;
|
|
276
|
+
type wrapper_index_d$1_TableCheckboxAllWC = TableCheckboxAllWC;
|
|
277
|
+
declare const wrapper_index_d$1_TableCheckboxAllWC: typeof TableCheckboxAllWC;
|
|
278
|
+
type wrapper_index_d$1_TableCheckboxOneWC = TableCheckboxOneWC;
|
|
279
|
+
declare const wrapper_index_d$1_TableCheckboxOneWC: typeof TableCheckboxOneWC;
|
|
280
|
+
type wrapper_index_d$1_TableResourceWC = TableResourceWC;
|
|
281
|
+
declare const wrapper_index_d$1_TableResourceWC: typeof TableResourceWC;
|
|
282
|
+
type wrapper_index_d$1_TableStatusWC = TableStatusWC;
|
|
283
|
+
declare const wrapper_index_d$1_TableStatusWC: typeof TableStatusWC;
|
|
284
|
+
declare namespace wrapper_index_d$1 {
|
|
285
|
+
export {
|
|
286
|
+
CheckboxTableWC as CheckboxTablehWC,
|
|
287
|
+
wrapper_index_d$1_SortHeaderWC as SortHeaderWC,
|
|
288
|
+
wrapper_index_d$1_SortTablehWC as SortTablehWC,
|
|
289
|
+
wrapper_index_d$1_TableCheckboxAllWC as TableCheckboxAllWC,
|
|
290
|
+
wrapper_index_d$1_TableCheckboxOneWC as TableCheckboxOneWC,
|
|
291
|
+
wrapper_index_d$1_TableResourceWC as TableResourceWC,
|
|
292
|
+
wrapper_index_d$1_TableStatusWC as TableStatusWC,
|
|
293
|
+
};
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
declare class PickerRefFCC extends BaseControl {
|
|
297
|
+
static index: number;
|
|
298
|
+
SelectorlessOutlet: typeof SelectorlessOutlet;
|
|
299
|
+
static __version: number;
|
|
300
|
+
templateRef: _angular_core.Signal<unknown>;
|
|
301
|
+
readonly PiyingView: typeof PiyingView;
|
|
302
|
+
trigger: _angular_core.InputSignal<unknown>;
|
|
303
|
+
content: _angular_core.InputSignal<unknown>;
|
|
304
|
+
changeClose: _angular_core.InputSignal<boolean | undefined>;
|
|
305
|
+
isOpen$: _angular_core.WritableSignal<boolean>;
|
|
306
|
+
overlayConfig: _angular_core.InputSignal<OverlayConfig | undefined>;
|
|
307
|
+
position$: _angular_core.WritableSignal<string>;
|
|
308
|
+
parentPyOptions: _angular_core.Signal<Omit<_piying_view_angular_core.SetOptional<Omit<_piying_valibot_visit.ConvertOptions<typeof _piying_view_angular_core.CoreSchemaHandle>, "handle"> & Partial<Pick<_piying_valibot_visit.ConvertOptions<typeof _piying_view_angular_core.CoreSchemaHandle>, "handle">> & {
|
|
309
|
+
builder: typeof _piying_view_angular_core.FormBuilder;
|
|
310
|
+
fieldGlobalConfig?: _piying_view_angular.PiViewConfig;
|
|
311
|
+
}, "handle" | "builder">, "fieldGlobalConfig"> & {
|
|
312
|
+
fieldGlobalConfig?: _piying_view_angular.PiViewConfig;
|
|
313
|
+
}> | null;
|
|
314
|
+
triggerInput$$: _angular_core.Signal<any>;
|
|
315
|
+
contentInput$$: _angular_core.Signal<any>;
|
|
316
|
+
contentOutput$$: _angular_core.Signal<{
|
|
317
|
+
modelChange: (value: any) => void;
|
|
318
|
+
}>;
|
|
319
|
+
openRef(): void;
|
|
320
|
+
outsideClick(): void;
|
|
321
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<PickerRefFCC, never>;
|
|
322
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<PickerRefFCC, "app-picker-ref", never, { "trigger": { "alias": "trigger"; "required": false; "isSignal": true; }; "content": { "alias": "content"; "required": false; "isSignal": true; }; "changeClose": { "alias": "changeClose"; "required": false; "isSignal": true; }; "overlayConfig": { "alias": "overlayConfig"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
declare class OptionListFCC extends BaseControl {
|
|
326
|
+
static __version: number;
|
|
327
|
+
readonly StrOrTemplateComponent: typeof StrOrTemplateComponent;
|
|
328
|
+
readonly PiyingView: typeof PiyingView;
|
|
329
|
+
templateRef: _angular_core.Signal<unknown>;
|
|
330
|
+
options: _angular_core.InputSignalWithTransform<SelectOption[], SelectOption[] | undefined>;
|
|
331
|
+
optionTemplate: _angular_core.InputSignal<Record<string, any> | undefined>;
|
|
332
|
+
optionConvert: _angular_core.InputSignalWithTransform<OptionConvert, Partial<OptionConvert>>;
|
|
333
|
+
transformOption: typeof transformOption;
|
|
334
|
+
optionInput: (content: any) => {
|
|
335
|
+
content: _angular_core.WritableSignal<any>;
|
|
336
|
+
};
|
|
337
|
+
selectOption(item: ResolvedOption): void;
|
|
338
|
+
parentPyOptions: _angular_core.Signal<Omit<_piying_view_angular_core.SetOptional<Omit<_piying_valibot_visit.ConvertOptions<typeof _piying_view_angular_core.CoreSchemaHandle>, "handle"> & Partial<Pick<_piying_valibot_visit.ConvertOptions<typeof _piying_view_angular_core.CoreSchemaHandle>, "handle">> & {
|
|
339
|
+
builder: typeof _piying_view_angular_core.FormBuilder;
|
|
340
|
+
fieldGlobalConfig?: _piying_view_angular.PiViewConfig;
|
|
341
|
+
}, "handle" | "builder">, "fieldGlobalConfig"> & {
|
|
342
|
+
fieldGlobalConfig?: _piying_view_angular.PiViewConfig;
|
|
343
|
+
}> | null;
|
|
344
|
+
getInput$$: (schema: any) => any;
|
|
345
|
+
activateClass: (a: any, b: any) => "" | "menu-active";
|
|
346
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<OptionListFCC, never>;
|
|
347
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<OptionListFCC, "app-option-list", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; "optionTemplate": { "alias": "optionTemplate"; "required": false; "isSignal": true; }; "optionConvert": { "alias": "optionConvert"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
declare class ListTemplateNFCC {
|
|
351
|
+
static __version: number;
|
|
352
|
+
readonly StrOrTemplateComponent: typeof StrOrTemplateComponent;
|
|
353
|
+
readonly PiyingView: typeof PiyingView;
|
|
354
|
+
templateRef: _angular_core.Signal<unknown>;
|
|
355
|
+
template: _angular_core.InputSignal<any>;
|
|
356
|
+
list: _angular_core.InputSignal<any[]>;
|
|
357
|
+
parentPyOptions: _angular_core.Signal<Omit<_piying_view_angular_core.SetOptional<Omit<_piying_valibot_visit.ConvertOptions<typeof _piying_view_angular_core.CoreSchemaHandle>, "handle"> & Partial<Pick<_piying_valibot_visit.ConvertOptions<typeof _piying_view_angular_core.CoreSchemaHandle>, "handle">> & {
|
|
358
|
+
builder: typeof _piying_view_angular_core.FormBuilder;
|
|
359
|
+
fieldGlobalConfig?: _piying_view_angular.PiViewConfig;
|
|
360
|
+
}, "handle" | "builder">, "fieldGlobalConfig"> & {
|
|
361
|
+
fieldGlobalConfig?: _piying_view_angular.PiViewConfig;
|
|
362
|
+
}> | null;
|
|
363
|
+
field: _angular_core.Signal<_piying_view_angular.PiResolvedViewFieldConfig>;
|
|
364
|
+
templateInput$$: (data: any) => {
|
|
365
|
+
schema: _angular_core.InputSignal<any>;
|
|
366
|
+
options: _angular_core.Signal<{
|
|
367
|
+
context: any;
|
|
368
|
+
handle?: typeof _piying_view_angular_core.CoreSchemaHandle | undefined;
|
|
369
|
+
environments?: string[] | undefined;
|
|
370
|
+
defaultMetadataActionsGroup?: Record<string, v.BaseMetadata<any>[]> | undefined;
|
|
371
|
+
additionalData?: Record<string, any> | undefined;
|
|
372
|
+
builder?: typeof _piying_view_angular_core.FormBuilder | undefined;
|
|
373
|
+
fieldGlobalConfig?: _piying_view_angular.PiViewConfig;
|
|
374
|
+
}>;
|
|
375
|
+
selectorless: boolean;
|
|
376
|
+
};
|
|
377
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<ListTemplateNFCC, never>;
|
|
378
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<ListTemplateNFCC, "app-list-template", never, { "template": { "alias": "template"; "required": true; "isSignal": true; }; "list": { "alias": "list"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
type component_index_d_ListTemplateNFCC = ListTemplateNFCC;
|
|
382
|
+
declare const component_index_d_ListTemplateNFCC: typeof ListTemplateNFCC;
|
|
383
|
+
type component_index_d_MenuTreeNFCC = MenuTreeNFCC;
|
|
384
|
+
declare const component_index_d_MenuTreeNFCC: typeof MenuTreeNFCC;
|
|
385
|
+
type component_index_d_OptionListFCC = OptionListFCC;
|
|
386
|
+
declare const component_index_d_OptionListFCC: typeof OptionListFCC;
|
|
387
|
+
type component_index_d_PaginationNFCC = PaginationNFCC;
|
|
388
|
+
declare const component_index_d_PaginationNFCC: typeof PaginationNFCC;
|
|
389
|
+
type component_index_d_PickerRefFCC = PickerRefFCC;
|
|
390
|
+
declare const component_index_d_PickerRefFCC: typeof PickerRefFCC;
|
|
391
|
+
type component_index_d_TableNFCC = TableNFCC;
|
|
392
|
+
declare const component_index_d_TableNFCC: typeof TableNFCC;
|
|
393
|
+
type component_index_d_TableRowFGC = TableRowFGC;
|
|
394
|
+
declare const component_index_d_TableRowFGC: typeof TableRowFGC;
|
|
395
|
+
declare namespace component_index_d {
|
|
396
|
+
export {
|
|
397
|
+
component_index_d_ListTemplateNFCC as ListTemplateNFCC,
|
|
398
|
+
component_index_d_MenuTreeNFCC as MenuTreeNFCC,
|
|
399
|
+
component_index_d_OptionListFCC as OptionListFCC,
|
|
400
|
+
component_index_d_PaginationNFCC as PaginationNFCC,
|
|
401
|
+
component_index_d_PickerRefFCC as PickerRefFCC,
|
|
402
|
+
component_index_d_TableNFCC as TableNFCC,
|
|
403
|
+
component_index_d_TableRowFGC as TableRowFGC,
|
|
404
|
+
};
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
declare class OptionListLocalFilterWC {
|
|
408
|
+
static __version: number;
|
|
409
|
+
templateRef: _angular_core.Signal<unknown>;
|
|
410
|
+
searchContent: _angular_core.WritableSignal<string>;
|
|
411
|
+
fileterOption: {
|
|
412
|
+
type: string;
|
|
413
|
+
};
|
|
414
|
+
field$$: _angular_core.Signal<_piying_view_angular.PiResolvedViewFieldConfig>;
|
|
415
|
+
props$$: _angular_core.Signal<Record<string, any>>;
|
|
416
|
+
constructor();
|
|
417
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<OptionListLocalFilterWC, never>;
|
|
418
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<OptionListLocalFilterWC, "app-local-filter", never, {}, {}, never, never, true, never>;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
type wrapper_index_d_OptionListLocalFilterWC = OptionListLocalFilterWC;
|
|
422
|
+
declare const wrapper_index_d_OptionListLocalFilterWC: typeof OptionListLocalFilterWC;
|
|
423
|
+
type wrapper_index_d_SortHeaderWC = SortHeaderWC;
|
|
424
|
+
declare const wrapper_index_d_SortHeaderWC: typeof SortHeaderWC;
|
|
425
|
+
type wrapper_index_d_SortTablehWC = SortTablehWC;
|
|
426
|
+
declare const wrapper_index_d_SortTablehWC: typeof SortTablehWC;
|
|
427
|
+
type wrapper_index_d_TableCheckboxAllWC = TableCheckboxAllWC;
|
|
428
|
+
declare const wrapper_index_d_TableCheckboxAllWC: typeof TableCheckboxAllWC;
|
|
429
|
+
type wrapper_index_d_TableCheckboxOneWC = TableCheckboxOneWC;
|
|
430
|
+
declare const wrapper_index_d_TableCheckboxOneWC: typeof TableCheckboxOneWC;
|
|
431
|
+
type wrapper_index_d_TableResourceWC = TableResourceWC;
|
|
432
|
+
declare const wrapper_index_d_TableResourceWC: typeof TableResourceWC;
|
|
433
|
+
type wrapper_index_d_TableStatusWC = TableStatusWC;
|
|
434
|
+
declare const wrapper_index_d_TableStatusWC: typeof TableStatusWC;
|
|
435
|
+
declare namespace wrapper_index_d {
|
|
436
|
+
export {
|
|
437
|
+
CheckboxTableWC as CheckboxTablehWC,
|
|
438
|
+
wrapper_index_d_OptionListLocalFilterWC as OptionListLocalFilterWC,
|
|
439
|
+
wrapper_index_d_SortHeaderWC as SortHeaderWC,
|
|
440
|
+
wrapper_index_d_SortTablehWC as SortTablehWC,
|
|
441
|
+
wrapper_index_d_TableCheckboxAllWC as TableCheckboxAllWC,
|
|
442
|
+
wrapper_index_d_TableCheckboxOneWC as TableCheckboxOneWC,
|
|
443
|
+
wrapper_index_d_TableResourceWC as TableResourceWC,
|
|
444
|
+
wrapper_index_d_TableStatusWC as TableStatusWC,
|
|
445
|
+
};
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
export { CheckboxTableWC, ExactMatchOptions, ExpandRowDirective, component_index_d as ExtComponentGroup, wrapper_index_d as ExtWrapperGroup, ListTemplateNFCC, MenuTreeNFCC, OptionListFCC, OptionListLocalFilterWC, PaginationNFCC, PickerRefFCC, SortHeaderWC, SortTablehWC, SubsetMatchOptions, TableCheckboxAllWC, TableCheckboxOneWC, TableNFCC, TableResourceWC, TableRowFGC, TableStatusService, TableStatusWC, wrapper_index_d$1 as WrapperGroup, createDefaultColDefine, createDefaultColDefineFn, createRowDefine, inputSortDirective };
|
|
449
|
+
export type { DataResolved, ItemCell, ItemCellBase, NavigationItem, NavigationMode, NavigationPosition, TableItemDefine2 };
|