@piying-lib/angular-daisyui 1.1.7 → 1.2.1
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/extension/index.d.ts +163 -11
- package/fesm2022/piying-lib-angular-daisyui-extension.mjs +446 -29
- package/fesm2022/piying-lib-angular-daisyui-extension.mjs.map +1 -1
- package/fesm2022/{piying-lib-angular-daisyui-field-control-props.directive-C5mF89PX.mjs → piying-lib-angular-daisyui-field-control-props.directive-I-MQ3iQV.mjs} +2 -1
- package/fesm2022/piying-lib-angular-daisyui-field-control-props.directive-I-MQ3iQV.mjs.map +1 -0
- package/fesm2022/piying-lib-angular-daisyui-field-control.mjs +218 -17
- package/fesm2022/piying-lib-angular-daisyui-field-control.mjs.map +1 -1
- package/fesm2022/piying-lib-angular-daisyui-field-group.mjs +113 -27
- package/fesm2022/piying-lib-angular-daisyui-field-group.mjs.map +1 -1
- package/fesm2022/piying-lib-angular-daisyui-non-field-control.mjs +147 -9
- package/fesm2022/piying-lib-angular-daisyui-non-field-control.mjs.map +1 -1
- package/fesm2022/piying-lib-angular-daisyui-service.mjs.map +1 -1
- package/fesm2022/piying-lib-angular-daisyui-wrapper.mjs +47 -4
- package/fesm2022/piying-lib-angular-daisyui-wrapper.mjs.map +1 -1
- package/field-control/index.d.ts +162 -10
- package/field-group/index.d.ts +97 -13
- package/non-field-control/index.d.ts +150 -0
- package/package.json +2 -2
- package/preset-css/css/style.css +1 -1
- package/preset-css/css/style.split.css +1 -1
- package/preset-css/json/manifest.json +747 -851
- package/preset-css/ts/accordion.ts +9 -9
- package/preset-css/ts/alert.ts +12 -12
- package/preset-css/ts/avatar.ts +7 -7
- package/preset-css/ts/badge.ts +20 -20
- package/preset-css/ts/breadcrumbs.ts +1 -3
- package/preset-css/ts/browser-mockup.ts +1 -4
- package/preset-css/ts/button.ts +27 -27
- package/preset-css/ts/calendar.ts +1 -5
- package/preset-css/ts/card.ts +15 -15
- package/preset-css/ts/carousel.ts +9 -9
- package/preset-css/ts/chat-bubble.ts +17 -17
- package/preset-css/ts/checkbox.ts +16 -16
- package/preset-css/ts/code-mockup.ts +1 -3
- package/preset-css/ts/collapse.ts +9 -9
- package/preset-css/ts/countdown.ts +1 -3
- package/preset-css/ts/diff.ts +1 -6
- package/preset-css/ts/divider.ts +15 -15
- package/preset-css/ts/dock.ts +10 -10
- package/preset-css/ts/drawer-sidebar.ts +11 -11
- package/preset-css/ts/dropdown.ts +14 -14
- package/preset-css/ts/fab-speed-dial.ts +1 -6
- package/preset-css/ts/fieldset.ts +1 -5
- package/preset-css/ts/file-input.ts +17 -17
- package/preset-css/ts/filter.ts +1 -4
- package/preset-css/ts/footer.ts +7 -7
- package/preset-css/ts/hero.ts +1 -5
- package/preset-css/ts/hover-3-d-card.ts +1 -3
- package/preset-css/ts/hover-gallery.ts +1 -3
- package/preset-css/ts/index.ts +1 -1
- package/preset-css/ts/indicator.ts +10 -10
- package/preset-css/ts/join-group-items.ts +6 -6
- package/preset-css/ts/kbd.ts +1 -8
- package/preset-css/ts/label.ts +1 -4
- package/preset-css/ts/link.ts +12 -12
- package/preset-css/ts/list.ts +1 -6
- package/preset-css/ts/loading.ts +14 -14
- package/preset-css/ts/mask.ts +20 -20
- package/preset-css/ts/menu.ts +17 -17
- package/preset-css/ts/modal.ts +13 -13
- package/preset-css/ts/navbar.ts +1 -6
- package/preset-css/ts/pagination.ts +1 -6
- package/preset-css/ts/phone-mockup.ts +5 -5
- package/preset-css/ts/progress.ts +11 -11
- package/preset-css/ts/radial-progress.ts +1 -3
- package/preset-css/ts/radio.ts +16 -16
- package/preset-css/ts/range-slider.ts +16 -16
- package/preset-css/ts/rating.ts +10 -10
- package/preset-css/ts/select.ts +17 -17
- package/preset-css/ts/skeleton.ts +1 -4
- package/preset-css/ts/stack.ts +1 -7
- package/preset-css/ts/stat.ts +11 -11
- package/preset-css/ts/status.ts +16 -16
- package/preset-css/ts/steps.ts +15 -15
- package/preset-css/ts/swap.ts +9 -9
- package/preset-css/ts/table.ts +11 -11
- package/preset-css/ts/tabs.ts +17 -17
- package/preset-css/ts/text-input.ts +17 -17
- package/preset-css/ts/text-rotate.ts +1 -3
- package/preset-css/ts/textarea.ts +17 -17
- package/preset-css/ts/theme-controller.ts +1 -3
- package/preset-css/ts/timeline.ts +11 -11
- package/preset-css/ts/toast.ts +9 -9
- package/preset-css/ts/toggle.ts +16 -16
- package/preset-css/ts/tooltip.ts +17 -17
- package/preset-css/ts/validator.ts +1 -4
- package/preset-css/ts/window-mockup.ts +1 -3
- package/service/index.d.ts +1 -1
- package/wrapper/index.d.ts +23 -2
- package/fesm2022/piying-lib-angular-daisyui-field-control-props.directive-C5mF89PX.mjs.map +0 -1
package/extension/index.d.ts
CHANGED
|
@@ -2,8 +2,8 @@ import * as _angular_core from '@angular/core';
|
|
|
2
2
|
import { Signal, Injector, WritableSignal } from '@angular/core';
|
|
3
3
|
import { IconConfig, StrOrTemplateComponent, Size, isSchema, SelectOption, OptionConvert, transformOption, ResolvedOption } from '@piying-lib/angular-core';
|
|
4
4
|
import { Params, ActivatedRoute, UrlTree, RouterLinkActive, IsActiveMatchOptions } from '@angular/router';
|
|
5
|
-
import * as _piying_view_angular_core from '@piying/view-angular-core';
|
|
6
5
|
import * as _piying_valibot_visit from '@piying/valibot-visit';
|
|
6
|
+
import * as _piying_view_angular_core from '@piying/view-angular-core';
|
|
7
7
|
import * as v from 'valibot';
|
|
8
8
|
import * as _piying_view_angular from '@piying/view-angular';
|
|
9
9
|
import { PiyingViewGroupBase, BaseControl, PiyingView } from '@piying/view-angular';
|
|
@@ -62,8 +62,11 @@ declare class MenuTreeNFCC {
|
|
|
62
62
|
};
|
|
63
63
|
readonly StrOrTemplateComponent: typeof StrOrTemplateComponent;
|
|
64
64
|
templateRef: _angular_core.Signal<unknown>;
|
|
65
|
+
/** 菜单项列表 */
|
|
65
66
|
list: _angular_core.InputSignal<NavigationItem[]>;
|
|
67
|
+
/** 尺寸大小 */
|
|
66
68
|
size: _angular_core.InputSignal<Size | undefined>;
|
|
69
|
+
/** 方向 */
|
|
67
70
|
direction: _angular_core.InputSignal<"horizontal" | "vertical" | undefined>;
|
|
68
71
|
wrapperClass$: _angular_core.Signal<string>;
|
|
69
72
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<MenuTreeNFCC, never>;
|
|
@@ -75,8 +78,11 @@ declare class PaginationNFCC {
|
|
|
75
78
|
static __version: number;
|
|
76
79
|
readonly StrOrTemplateComponent: typeof StrOrTemplateComponent;
|
|
77
80
|
templateRef: _angular_core.Signal<unknown>;
|
|
81
|
+
/** 方向 */
|
|
78
82
|
direction: _angular_core.InputSignal<"horizontal" | "vertical" | undefined>;
|
|
83
|
+
/** 每页条数选项 */
|
|
79
84
|
sizeOptions: _angular_core.InputSignal<number[] | undefined>;
|
|
85
|
+
/** 每页条数标签函数 */
|
|
80
86
|
optionsLabel: _angular_core.InputSignal<((size: number, index: number, count: number) => string) | undefined>;
|
|
81
87
|
value: _angular_core.ModelSignal<{
|
|
82
88
|
index: number;
|
|
@@ -101,6 +107,11 @@ declare class PaginationNFCC {
|
|
|
101
107
|
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"; "valueChange": "valueChange"; }, never, never, true, never>;
|
|
102
108
|
}
|
|
103
109
|
|
|
110
|
+
declare class TableRowFGC extends PiyingViewGroupBase {
|
|
111
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableRowFGC, never>;
|
|
112
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableRowFGC, "tr", never, {}, {}, never, never, true, never>;
|
|
113
|
+
}
|
|
114
|
+
|
|
104
115
|
type ItemCellBase = string | v.BaseSchema<any, any, any>;
|
|
105
116
|
type ItemCell = ItemCellBase | ((rowData: any) => any);
|
|
106
117
|
type DataResolved = [number, any[]];
|
|
@@ -124,25 +135,38 @@ interface TableItemDefine2 {
|
|
|
124
135
|
};
|
|
125
136
|
columns: ColumnGroupDefine;
|
|
126
137
|
}
|
|
127
|
-
declare function createRowDefine(): v.SchemaWithPipe<readonly [v.TupleSchema<[], undefined>, _piying_valibot_visit.
|
|
128
|
-
|
|
129
|
-
|
|
138
|
+
declare function createRowDefine(): v.SchemaWithPipe<readonly [v.TupleSchema<[], undefined>, _piying_valibot_visit.RawConfigAction<"viewRawConfig", [], _piying_view_angular_core.AnyCoreSchemaHandle> & {
|
|
139
|
+
__type: typeof TableRowFGC;
|
|
140
|
+
}]>;
|
|
141
|
+
declare function createDefaultColDefine(isHeader: boolean, content: any, context?: any): v.SchemaWithPipe<readonly [v.OptionalSchema<v.VoidSchema<undefined>, undefined>, _piying_valibot_visit.RawConfigAction<"viewRawConfig", void | undefined, _piying_view_angular_core.AnyCoreSchemaHandle> & {
|
|
142
|
+
__type: typeof StrOrTemplateComponent;
|
|
143
|
+
}, _piying_valibot_visit.RawConfigAction<"viewRawConfig", void | undefined, _piying_view_angular_core.AnyCoreSchemaHandle>, _piying_valibot_visit.RawConfigAction<"viewRawConfig", void | undefined, _piying_view_angular_core.AnyCoreSchemaHandle>]>;
|
|
144
|
+
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.RawConfigAction<"viewRawConfig", void | undefined, _piying_view_angular_core.AnyCoreSchemaHandle> & {
|
|
145
|
+
__type: typeof StrOrTemplateComponent;
|
|
146
|
+
}, _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>]>;
|
|
130
147
|
declare class TableNFCC {
|
|
131
148
|
#private;
|
|
132
149
|
static __version: number;
|
|
133
150
|
templateRef: Signal<unknown>;
|
|
134
151
|
readonly StrOrTemplateComponent: typeof StrOrTemplateComponent;
|
|
152
|
+
/** 表格定义 */
|
|
135
153
|
define: _angular_core.InputSignal<TableItemDefine2 | undefined>;
|
|
154
|
+
/** 数据列表 */
|
|
136
155
|
data: _angular_core.InputSignal<any[] | Signal<any[]>>;
|
|
137
156
|
injector: Injector;
|
|
138
157
|
data$$: Signal<any[]>;
|
|
158
|
+
/** 是否启用斑马纹效果 */
|
|
139
159
|
zebra: _angular_core.InputSignal<boolean | undefined>;
|
|
160
|
+
/** 固定配置 */
|
|
140
161
|
pin: _angular_core.InputSignal<{
|
|
141
162
|
rows?: boolean;
|
|
142
163
|
cols?: boolean;
|
|
143
164
|
} | undefined>;
|
|
165
|
+
/** 尺寸大小 */
|
|
144
166
|
size: _angular_core.InputSignal<Size | undefined>;
|
|
167
|
+
/** 跟踪函数 */
|
|
145
168
|
trackBy: _angular_core.InputSignal<(key: number, value: any) => number>;
|
|
169
|
+
/** 分页配置 */
|
|
146
170
|
pagination: _angular_core.InputSignal<{
|
|
147
171
|
sizeOptions?: number[];
|
|
148
172
|
enable: boolean;
|
|
@@ -165,11 +189,6 @@ declare class TableNFCC {
|
|
|
165
189
|
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>;
|
|
166
190
|
}
|
|
167
191
|
|
|
168
|
-
declare class TableRowFGC extends PiyingViewGroupBase {
|
|
169
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TableRowFGC, never>;
|
|
170
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TableRowFGC, "tr", never, {}, {}, never, never, true, never>;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
192
|
declare class SortHeaderWC {
|
|
174
193
|
static __version: number;
|
|
175
194
|
templateRef: _angular_core.Signal<unknown>;
|
|
@@ -200,6 +219,7 @@ declare class SortService {
|
|
|
200
219
|
|
|
201
220
|
declare class inputSortDirective {
|
|
202
221
|
#private;
|
|
222
|
+
/** 排序键 */
|
|
203
223
|
key: _angular_core.InputSignal<string>;
|
|
204
224
|
inputSort: _angular_core.WritableSignal<SortDirection>;
|
|
205
225
|
ngOnInit(): void;
|
|
@@ -325,10 +345,14 @@ declare class PickerRefFCC extends BaseControl {
|
|
|
325
345
|
static __version: number;
|
|
326
346
|
templateRef: _angular_core.Signal<unknown>;
|
|
327
347
|
readonly PiyingView: typeof PiyingView;
|
|
348
|
+
/** 触发器内容 */
|
|
328
349
|
trigger: _angular_core.InputSignal<unknown>;
|
|
350
|
+
/** 弹窗内容 */
|
|
329
351
|
content: _angular_core.InputSignal<unknown>;
|
|
352
|
+
/** 选择后是否自动关闭 */
|
|
330
353
|
changeClose: _angular_core.InputSignal<boolean | undefined>;
|
|
331
354
|
isOpen$: _angular_core.WritableSignal<boolean>;
|
|
355
|
+
/** 弹窗配置 */
|
|
332
356
|
overlayConfig: _angular_core.InputSignal<OverlayConfig | undefined>;
|
|
333
357
|
position$: _angular_core.WritableSignal<string>;
|
|
334
358
|
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">> & {
|
|
@@ -353,8 +377,11 @@ declare class OptionListFCC extends BaseControl {
|
|
|
353
377
|
readonly StrOrTemplateComponent: typeof StrOrTemplateComponent;
|
|
354
378
|
readonly PiyingView: typeof PiyingView;
|
|
355
379
|
templateRef: _angular_core.Signal<unknown>;
|
|
380
|
+
/** 选项列表 */
|
|
356
381
|
options: _angular_core.InputSignalWithTransform<SelectOption[], SelectOption[] | undefined>;
|
|
382
|
+
/** 选项模板 */
|
|
357
383
|
optionTemplate: _angular_core.InputSignal<Record<string, any> | undefined>;
|
|
384
|
+
/** 选项转换器 */
|
|
358
385
|
optionConvert: _angular_core.InputSignalWithTransform<OptionConvert, Partial<OptionConvert>>;
|
|
359
386
|
transformOption: typeof transformOption;
|
|
360
387
|
optionInput: (content: any) => {
|
|
@@ -378,7 +405,9 @@ declare class ListTemplateNFCC {
|
|
|
378
405
|
readonly StrOrTemplateComponent: typeof StrOrTemplateComponent;
|
|
379
406
|
readonly PiyingView: typeof PiyingView;
|
|
380
407
|
templateRef: _angular_core.Signal<unknown>;
|
|
408
|
+
/** 模板 */
|
|
381
409
|
template: _angular_core.InputSignal<any>;
|
|
410
|
+
/** 列表数据 */
|
|
382
411
|
list: _angular_core.InputSignal<any[]>;
|
|
383
412
|
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">> & {
|
|
384
413
|
builder: typeof _piying_view_angular_core.FormBuilder;
|
|
@@ -404,6 +433,111 @@ declare class ListTemplateNFCC {
|
|
|
404
433
|
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>;
|
|
405
434
|
}
|
|
406
435
|
|
|
436
|
+
declare class EditableGroupFGC extends PiyingViewGroupBase {
|
|
437
|
+
#private;
|
|
438
|
+
static __version: number;
|
|
439
|
+
templateRef: _angular_core.Signal<unknown>;
|
|
440
|
+
PiyingView: typeof PiyingView;
|
|
441
|
+
/** 布局方式 */
|
|
442
|
+
layout: _angular_core.InputSignal<"row" | "columen">;
|
|
443
|
+
/** 是否禁用添加 */
|
|
444
|
+
disableAdd: _angular_core.InputSignal<boolean>;
|
|
445
|
+
/** 添加模式 */
|
|
446
|
+
addMode: _angular_core.InputSignal<number>;
|
|
447
|
+
/** 是否禁用删除 */
|
|
448
|
+
disableRemove: _angular_core.InputSignal<boolean>;
|
|
449
|
+
/** 添加位置 */
|
|
450
|
+
addPosition: _angular_core.InputSignal<"bottom" | "top">;
|
|
451
|
+
/** 初始值生成函数 */
|
|
452
|
+
initValue: _angular_core.InputSignal<((index: number | undefined) => any) | undefined>;
|
|
453
|
+
/** 最小长度 */
|
|
454
|
+
minLength: _angular_core.InputSignal<number>;
|
|
455
|
+
isRecord$$: _angular_core.Signal<boolean>;
|
|
456
|
+
wrapperClass$$: _angular_core.Signal<"flex gap-2 items-center" | "flex flex-col gap-2">;
|
|
457
|
+
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">> & {
|
|
458
|
+
builder: typeof _piying_view_angular_core.FormBuilder;
|
|
459
|
+
fieldGlobalConfig?: _piying_view_angular.PiViewConfig;
|
|
460
|
+
}, "handle" | "builder">, "fieldGlobalConfig"> & {
|
|
461
|
+
fieldGlobalConfig?: _piying_view_angular.PiViewConfig;
|
|
462
|
+
}> | null;
|
|
463
|
+
keySchemaOptions$$: _angular_core.Signal<{
|
|
464
|
+
schema: v.BaseSchema<any, any, any> | undefined;
|
|
465
|
+
options: {
|
|
466
|
+
context: any;
|
|
467
|
+
handle?: typeof _piying_view_angular_core.CoreSchemaHandle | undefined;
|
|
468
|
+
environments?: string[] | undefined;
|
|
469
|
+
defaultMetadataActionsGroup?: Record<string, v.BaseMetadata<any>[]> | undefined;
|
|
470
|
+
additionalData?: Record<string, any> | undefined;
|
|
471
|
+
builder?: typeof _piying_view_angular_core.FormBuilder | undefined;
|
|
472
|
+
fieldGlobalConfig?: _piying_view_angular.PiViewConfig;
|
|
473
|
+
};
|
|
474
|
+
selectorless: boolean;
|
|
475
|
+
}>;
|
|
476
|
+
valueSchemaOptions$$: _angular_core.Signal<{
|
|
477
|
+
schema: v.BaseSchema<any, any, any> | undefined;
|
|
478
|
+
options: {
|
|
479
|
+
context: any;
|
|
480
|
+
handle?: typeof _piying_view_angular_core.CoreSchemaHandle | undefined;
|
|
481
|
+
environments?: string[] | undefined;
|
|
482
|
+
defaultMetadataActionsGroup?: Record<string, v.BaseMetadata<any>[]> | undefined;
|
|
483
|
+
additionalData?: Record<string, any> | undefined;
|
|
484
|
+
builder?: typeof _piying_view_angular_core.FormBuilder | undefined;
|
|
485
|
+
fieldGlobalConfig?: _piying_view_angular.PiViewConfig;
|
|
486
|
+
};
|
|
487
|
+
selectorless: boolean;
|
|
488
|
+
}>;
|
|
489
|
+
addNewInputs: (input: Record<string, any>, newValueFn: ((index: number | undefined) => any) | undefined, model: any) => {
|
|
490
|
+
model: any;
|
|
491
|
+
};
|
|
492
|
+
addNew(newValue?: SelectorlessOutlet<PiyingView>, newKey?: SelectorlessOutlet<PiyingView>): void;
|
|
493
|
+
removeItem(key: number): void;
|
|
494
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<EditableGroupFGC, never>;
|
|
495
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<EditableGroupFGC, "app-editable-group", never, { "layout": { "alias": "layout"; "required": false; "isSignal": true; }; "disableAdd": { "alias": "disableAdd"; "required": false; "isSignal": true; }; "addMode": { "alias": "addMode"; "required": false; "isSignal": true; }; "disableRemove": { "alias": "disableRemove"; "required": false; "isSignal": true; }; "addPosition": { "alias": "addPosition"; "required": false; "isSignal": true; }; "initValue": { "alias": "initValue"; "required": false; "isSignal": true; }; "minLength": { "alias": "minLength"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
496
|
+
}
|
|
497
|
+
|
|
498
|
+
interface CheckboxOption {
|
|
499
|
+
value: any;
|
|
500
|
+
inputs?: any;
|
|
501
|
+
props?: any;
|
|
502
|
+
}
|
|
503
|
+
declare class CheckboxListFGC extends PiyingViewGroupBase {
|
|
504
|
+
#private;
|
|
505
|
+
static __version: number;
|
|
506
|
+
templateRef: _angular_core.Signal<unknown>;
|
|
507
|
+
readonly PiyingView: typeof PiyingView;
|
|
508
|
+
/** 选项列表 */
|
|
509
|
+
options: _angular_core.InputSignal<CheckboxOption[] | undefined>;
|
|
510
|
+
templateSchema$$: _angular_core.Signal<v.BaseSchema<any, any, any>>;
|
|
511
|
+
schemaItemFn: (template: any, input: CheckboxOption) => v.SchemaWithPipe<readonly [v.OptionalSchema<any, undefined>, _piying_valibot_visit.RawConfigAction<"viewRawConfig", any, _piying_view_angular_core.AnyCoreSchemaHandle>, _piying_valibot_visit.RawConfigAction<"viewRawConfig", any, _piying_view_angular_core.AnyCoreSchemaHandle>, _piying_valibot_visit.RawConfigAction<"viewRawConfig", any, _piying_view_angular_core.AnyCoreSchemaHandle>]>;
|
|
512
|
+
schemaOptions$$: (template: any, input: CheckboxOption, value: any[]) => {
|
|
513
|
+
schema: any;
|
|
514
|
+
options: 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">> & {
|
|
515
|
+
builder: typeof _piying_view_angular_core.FormBuilder;
|
|
516
|
+
fieldGlobalConfig?: _piying_view_angular.PiViewConfig;
|
|
517
|
+
}, "handle" | "builder">, "fieldGlobalConfig"> & {
|
|
518
|
+
fieldGlobalConfig?: _piying_view_angular.PiViewConfig;
|
|
519
|
+
};
|
|
520
|
+
selectorless: boolean;
|
|
521
|
+
model: boolean;
|
|
522
|
+
};
|
|
523
|
+
value$$: _angular_core.Signal<any[]>;
|
|
524
|
+
modelOutput: (booleanValue: any) => {
|
|
525
|
+
modelChange: (value: any) => void;
|
|
526
|
+
};
|
|
527
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<CheckboxListFGC, never>;
|
|
528
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<CheckboxListFGC, "app-checkbox-list", never, { "options": { "alias": "options"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
declare class logicGroupFGC extends PiyingViewGroupBase {
|
|
532
|
+
static __version: number;
|
|
533
|
+
templateRef: _angular_core.Signal<unknown>;
|
|
534
|
+
activateChildren$$: _angular_core.Signal<_piying_view_angular_core._PiResolvedCommonViewFieldConfig[]>;
|
|
535
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<logicGroupFGC, never>;
|
|
536
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<logicGroupFGC, "app-logic-group", never, {}, {}, never, never, true, never>;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
type component_index_d_CheckboxListFGC = CheckboxListFGC;
|
|
540
|
+
declare const component_index_d_CheckboxListFGC: typeof CheckboxListFGC;
|
|
407
541
|
type component_index_d_ListTemplateNFCC = ListTemplateNFCC;
|
|
408
542
|
declare const component_index_d_ListTemplateNFCC: typeof ListTemplateNFCC;
|
|
409
543
|
type component_index_d_MenuTreeNFCC = MenuTreeNFCC;
|
|
@@ -420,8 +554,12 @@ type component_index_d_TableNFCC = TableNFCC;
|
|
|
420
554
|
declare const component_index_d_TableNFCC: typeof TableNFCC;
|
|
421
555
|
type component_index_d_TableRowFGC = TableRowFGC;
|
|
422
556
|
declare const component_index_d_TableRowFGC: typeof TableRowFGC;
|
|
557
|
+
type component_index_d_logicGroupFGC = logicGroupFGC;
|
|
558
|
+
declare const component_index_d_logicGroupFGC: typeof logicGroupFGC;
|
|
423
559
|
declare namespace component_index_d {
|
|
424
560
|
export {
|
|
561
|
+
component_index_d_CheckboxListFGC as CheckboxListFGC,
|
|
562
|
+
EditableGroupFGC as EditableArrayFGC,
|
|
425
563
|
component_index_d_ListTemplateNFCC as ListTemplateNFCC,
|
|
426
564
|
component_index_d_MenuTreeNFCC as MenuTreeNFCC,
|
|
427
565
|
component_index_d_OptionListFCC as OptionListFCC,
|
|
@@ -430,6 +568,7 @@ declare namespace component_index_d {
|
|
|
430
568
|
component_index_d_TableExpandOneTableCell as TableExpandOneTableCell,
|
|
431
569
|
component_index_d_TableNFCC as TableNFCC,
|
|
432
570
|
component_index_d_TableRowFGC as TableRowFGC,
|
|
571
|
+
component_index_d_logicGroupFGC as logicGroupFGC,
|
|
433
572
|
};
|
|
434
573
|
}
|
|
435
574
|
|
|
@@ -447,6 +586,18 @@ declare class OptionListLocalFilterWC {
|
|
|
447
586
|
static ɵcmp: _angular_core.ɵɵComponentDeclaration<OptionListLocalFilterWC, "app-local-filter", never, {}, {}, never, never, true, never>;
|
|
448
587
|
}
|
|
449
588
|
|
|
589
|
+
declare class FilterOptionNFCC {
|
|
590
|
+
#private;
|
|
591
|
+
static __version: number;
|
|
592
|
+
templateRef: _angular_core.Signal<unknown>;
|
|
593
|
+
content: WritableSignal<string>;
|
|
594
|
+
stopKeyboardListen(event: KeyboardEvent): void;
|
|
595
|
+
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FilterOptionNFCC, never>;
|
|
596
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FilterOptionNFCC, "app-filter-option", never, {}, {}, never, never, true, never>;
|
|
597
|
+
}
|
|
598
|
+
|
|
599
|
+
type wrapper_index_d_FilterOptionNFCC = FilterOptionNFCC;
|
|
600
|
+
declare const wrapper_index_d_FilterOptionNFCC: typeof FilterOptionNFCC;
|
|
450
601
|
type wrapper_index_d_OptionListLocalFilterWC = OptionListLocalFilterWC;
|
|
451
602
|
declare const wrapper_index_d_OptionListLocalFilterWC: typeof OptionListLocalFilterWC;
|
|
452
603
|
type wrapper_index_d_SortHeaderWC = SortHeaderWC;
|
|
@@ -457,6 +608,7 @@ type wrapper_index_d_TableCheckboxOneWC = TableCheckboxOneWC;
|
|
|
457
608
|
declare const wrapper_index_d_TableCheckboxOneWC: typeof TableCheckboxOneWC;
|
|
458
609
|
declare namespace wrapper_index_d {
|
|
459
610
|
export {
|
|
611
|
+
wrapper_index_d_FilterOptionNFCC as FilterOptionNFCC,
|
|
460
612
|
wrapper_index_d_OptionListLocalFilterWC as OptionListLocalFilterWC,
|
|
461
613
|
wrapper_index_d_SortHeaderWC as SortHeaderWC,
|
|
462
614
|
wrapper_index_d_TableCheckboxAllWC as TableCheckboxAllWC,
|
|
@@ -464,5 +616,5 @@ declare namespace wrapper_index_d {
|
|
|
464
616
|
};
|
|
465
617
|
}
|
|
466
618
|
|
|
467
|
-
export { CheckboxService, ExactMatchOptions, ExpandRowDirective, component_index_d as ExtComponentGroup, wrapper_index_d as ExtWrapperGroup, ListTemplateNFCC, MenuTreeNFCC, OptionListFCC, OptionListLocalFilterWC, PaginationNFCC, PickerRefFCC, SortHeaderWC, SortService, SubsetMatchOptions, TableCheckboxAllWC, TableCheckboxOneWC, TableExpandOneTableCell, TableExpandService, TableNFCC, TableResourceService, TableRowFGC, wrapper_index_d$1 as WrapperGroup, createDefaultColDefine, createDefaultColDefineFn, createRowDefine, inputSortDirective };
|
|
468
|
-
export type { CheckBoxConfig, DataResolved, ItemCell, ItemCellBase, NavigationItem, NavigationMode, NavigationPosition, RequestFn, SortDirection, SortList, TableItemDefine2 };
|
|
619
|
+
export { CheckboxListFGC, CheckboxService, EditableGroupFGC, ExactMatchOptions, ExpandRowDirective, component_index_d as ExtComponentGroup, wrapper_index_d as ExtWrapperGroup, ListTemplateNFCC, MenuTreeNFCC, OptionListFCC, OptionListLocalFilterWC, PaginationNFCC, PickerRefFCC, SortHeaderWC, SortService, SubsetMatchOptions, TableCheckboxAllWC, TableCheckboxOneWC, TableExpandOneTableCell, TableExpandService, TableNFCC, TableResourceService, TableRowFGC, wrapper_index_d$1 as WrapperGroup, createDefaultColDefine, createDefaultColDefineFn, createRowDefine, inputSortDirective, logicGroupFGC };
|
|
620
|
+
export type { CheckBoxConfig, CheckboxOption, DataResolved, ItemCell, ItemCellBase, NavigationItem, NavigationMode, NavigationPosition, RequestFn, SortDirection, SortList, TableItemDefine2 };
|