@yongdall/web 0.1.2 → 0.1.4
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/index.d.mts +128 -82
- package/index.mjs +12 -12
- package/index.mjs.map +1 -1
- package/package.json +3 -3
package/index.d.mts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as dot_request1 from "dot-request";
|
|
2
2
|
import DotRequest, { default as DotRequest$1 } from "dot-request";
|
|
3
|
-
import { ArrayStore,
|
|
3
|
+
import { ArrayStore, ObjectStore, Schema, Schema as Schema$1, Store, Store as Store$1, StoreLayout, StoreLayout as StoreLayout$1, renderStore } from "@neeloong/form";
|
|
4
4
|
import { BootConfiguration, Hook, Indicator, Plugin, Search } from "@yongdall/common";
|
|
5
|
-
import { Field, MaybePromise, Permission } from "@yongdall/types";
|
|
5
|
+
import { Field, MaybePromise, Permission, Permissions } from "@yongdall/types";
|
|
6
6
|
import { Signal as Signal$1 } from "signal-polyfill";
|
|
7
7
|
export * from "@yongdall/common";
|
|
8
8
|
|
|
@@ -504,21 +504,21 @@ declare class Page {
|
|
|
504
504
|
* @param {AbortSignal} [signal]
|
|
505
505
|
* @returns
|
|
506
506
|
*/
|
|
507
|
-
createHeader(signal?: AbortSignal): PageHeader
|
|
507
|
+
createHeader(signal?: AbortSignal): PageHeader;
|
|
508
508
|
/**
|
|
509
509
|
*
|
|
510
510
|
* @param {AbortSignal} [signal]
|
|
511
511
|
* @returns
|
|
512
512
|
*/
|
|
513
|
-
createFooter(signal?: AbortSignal): PageFooter
|
|
513
|
+
createFooter(signal?: AbortSignal): PageFooter;
|
|
514
514
|
/**
|
|
515
515
|
*
|
|
516
516
|
* @param {'start' | 'end' | 'before' | 'after'} position
|
|
517
517
|
* @param {boolean} [inserted]
|
|
518
518
|
* @param {AbortSignal} [signal]
|
|
519
|
-
* @returns {PageSection
|
|
519
|
+
* @returns {PageSection}
|
|
520
520
|
*/
|
|
521
|
-
createSection(position: "start" | "end" | "before" | "after", inserted?: boolean, signal?: AbortSignal): PageSection
|
|
521
|
+
createSection(position: "start" | "end" | "before" | "after", inserted?: boolean, signal?: AbortSignal): PageSection;
|
|
522
522
|
get signal(): AbortSignal;
|
|
523
523
|
set siderOpen(open: boolean);
|
|
524
524
|
get siderOpen(): boolean;
|
|
@@ -526,9 +526,9 @@ declare class Page {
|
|
|
526
526
|
*
|
|
527
527
|
* @param {boolean} [inserted]
|
|
528
528
|
* @param {AbortSignal} [signal]
|
|
529
|
-
* @returns {PageSider
|
|
529
|
+
* @returns {PageSider}
|
|
530
530
|
*/
|
|
531
|
-
createSider(inserted?: boolean, signal?: AbortSignal): PageSider
|
|
531
|
+
createSider(inserted?: boolean, signal?: AbortSignal): PageSider;
|
|
532
532
|
#private;
|
|
533
533
|
}
|
|
534
534
|
//#endregion
|
|
@@ -540,25 +540,25 @@ type PageConfiguration = {
|
|
|
540
540
|
organization?: string | undefined;
|
|
541
541
|
workspace?: string | undefined;
|
|
542
542
|
page?: string | undefined;
|
|
543
|
-
widget
|
|
544
|
-
title
|
|
545
|
-
titlePattern
|
|
546
|
-
config
|
|
547
|
-
fields
|
|
543
|
+
widget?: string | null | undefined;
|
|
544
|
+
title?: string | undefined;
|
|
545
|
+
titlePattern?: string | undefined;
|
|
546
|
+
config?: Record<string, any> | undefined;
|
|
547
|
+
fields?: {
|
|
548
548
|
field?: string;
|
|
549
549
|
label?: string;
|
|
550
550
|
width?: number;
|
|
551
551
|
pattern?: string;
|
|
552
|
-
}[];
|
|
553
|
-
sides
|
|
552
|
+
}[] | undefined;
|
|
553
|
+
sides?: {
|
|
554
554
|
widget: string;
|
|
555
555
|
options: string;
|
|
556
|
-
}[];
|
|
557
|
-
menuButtons
|
|
558
|
-
menus
|
|
559
|
-
forms
|
|
556
|
+
}[] | undefined;
|
|
557
|
+
menuButtons?: Menu.Button[] | undefined;
|
|
558
|
+
menus?: (Menu | null)[] | undefined;
|
|
559
|
+
forms?: Record<string, {
|
|
560
560
|
layoutId?: string;
|
|
561
|
-
} | null
|
|
561
|
+
} | null> | undefined;
|
|
562
562
|
where?: Search.AndList | undefined;
|
|
563
563
|
orWhere?: Search.OrList | undefined;
|
|
564
564
|
defaultQuery?: string | undefined;
|
|
@@ -670,9 +670,9 @@ declare namespace PageIdent {
|
|
|
670
670
|
* @returns
|
|
671
671
|
*/
|
|
672
672
|
declare function modelService(model: string): {
|
|
673
|
-
then<TResult1 = ModelConfiguration, TResult2 = never>(onfulfilled?: ((value: ModelConfiguration) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined): Promise<TResult1 | TResult2>;
|
|
674
|
-
catch<TResult2 = never>(onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined): Promise<ModelConfiguration | TResult2>;
|
|
675
|
-
finally(onfinally?: (() => void) | null | undefined): Promise<ModelConfiguration>;
|
|
673
|
+
then<TResult1 = ModelConfiguration | null, TResult2 = never>(onfulfilled?: ((value: ModelConfiguration | null) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined): Promise<TResult1 | TResult2>;
|
|
674
|
+
catch<TResult2 = never>(onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined): Promise<ModelConfiguration | TResult2 | null>;
|
|
675
|
+
finally(onfinally?: (() => void) | null | undefined): Promise<ModelConfiguration | null>;
|
|
676
676
|
/**
|
|
677
677
|
* @param {Search.Param} [options]
|
|
678
678
|
* @returns {Promise<{documents: any[]; total: number}>}
|
|
@@ -749,22 +749,10 @@ declare function modelService(model: string): {
|
|
|
749
749
|
get: () => Promise<any>;
|
|
750
750
|
};
|
|
751
751
|
};
|
|
752
|
-
loadModel: (force?: boolean) => Promise<ModelConfiguration>;
|
|
753
|
-
loadScript: (force?: boolean) => Promise<ModelScriptConfiguration>;
|
|
752
|
+
loadModel: (force?: boolean) => Promise<ModelConfiguration | null>;
|
|
753
|
+
loadScript: (force?: boolean) => Promise<ModelScriptConfiguration | null>;
|
|
754
754
|
getModel: () => ModelConfiguration | null;
|
|
755
755
|
getScript: () => ModelScriptConfiguration | null;
|
|
756
|
-
page: (page: string, workspace?: string | null) => {
|
|
757
|
-
load: (force?: boolean) => Promise<PageConfiguration>;
|
|
758
|
-
/**
|
|
759
|
-
* @template [TResult1=PageConfiguration]
|
|
760
|
-
* @template [TResult2=never]
|
|
761
|
-
* @param {((value: PageConfiguration) => TResult1 | PromiseLike<TResult1>)?} [onfulfilled]
|
|
762
|
-
* @param {((reason: any) => TResult2 | PromiseLike<TResult2>)?} [onrejected]
|
|
763
|
-
* @returns {Promise<TResult1 | TResult2>};
|
|
764
|
-
*/
|
|
765
|
-
then<TResult1 = PageConfiguration, TResult2 = never>(onfulfilled?: ((value: PageConfiguration) => TResult1 | PromiseLike<TResult1>) | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null): Promise<TResult1 | TResult2>;
|
|
766
|
-
configuration(): Promise<false | Record<string, any>>;
|
|
767
|
-
};
|
|
768
756
|
};
|
|
769
757
|
type ModelConfiguration = {
|
|
770
758
|
id?: string | undefined;
|
|
@@ -799,6 +787,10 @@ type ModelConfiguration = {
|
|
|
799
787
|
options?: Record<string, unknown> | null | undefined;
|
|
800
788
|
/**
|
|
801
789
|
* 关联前端脚本
|
|
790
|
+
*/
|
|
791
|
+
scripts?: (string | [string, object])[] | null | undefined;
|
|
792
|
+
/**
|
|
793
|
+
* 关联默认页面
|
|
802
794
|
* // TODO: 查询配置
|
|
803
795
|
* // TODO: 前端按钮配置
|
|
804
796
|
* // TODO: 是否可销毁、可创建、更新、保存、upsert
|
|
@@ -807,7 +799,7 @@ type ModelConfiguration = {
|
|
|
807
799
|
* // TODO: 操作事件
|
|
808
800
|
* // TODO: 是否分页
|
|
809
801
|
*/
|
|
810
|
-
|
|
802
|
+
pages?: Record<string, string | object | null> | null | undefined;
|
|
811
803
|
};
|
|
812
804
|
type FieldScriptConfiguration = Omit<Field, "scripts" | "type"> & {
|
|
813
805
|
script?: Omit<FieldScript, "subFields">;
|
|
@@ -868,13 +860,13 @@ type FieldScript = {
|
|
|
868
860
|
step?: ((store: Store$1) => string) | null | undefined;
|
|
869
861
|
max?: ((store: Store$1) => string) | null | undefined;
|
|
870
862
|
min?: ((store: Store$1) => string) | null | undefined;
|
|
871
|
-
validator?:
|
|
863
|
+
validator?: Schema$1.Validator | Schema$1.Validator[] | null | undefined;
|
|
872
864
|
validators?: {
|
|
873
|
-
input?:
|
|
874
|
-
change?:
|
|
875
|
-
click?:
|
|
876
|
-
focus?:
|
|
877
|
-
blur?:
|
|
865
|
+
input?: Schema$1.AsyncValidator | Schema$1.AsyncValidator[] | null | undefined;
|
|
866
|
+
change?: Schema$1.AsyncValidator | Schema$1.AsyncValidator[] | null | undefined;
|
|
867
|
+
click?: Schema$1.AsyncValidator | Schema$1.AsyncValidator[] | null | undefined;
|
|
868
|
+
focus?: Schema$1.AsyncValidator | Schema$1.AsyncValidator[] | null | undefined;
|
|
869
|
+
blur?: Schema$1.AsyncValidator | Schema$1.AsyncValidator[] | null | undefined;
|
|
878
870
|
} | undefined;
|
|
879
871
|
};
|
|
880
872
|
//#endregion
|
|
@@ -1037,9 +1029,13 @@ declare namespace User {
|
|
|
1037
1029
|
const session: User | null;
|
|
1038
1030
|
const target: User | null;
|
|
1039
1031
|
const current: User | null;
|
|
1040
|
-
|
|
1041
|
-
|
|
1042
|
-
|
|
1032
|
+
/** @param {string} permission */
|
|
1033
|
+
function hasPermission(permission: string): boolean;
|
|
1034
|
+
/** @param {string} permission @param {string} [organization] */
|
|
1035
|
+
function hasOrganizationPermission(permission: string, organization?: string): boolean;
|
|
1036
|
+
const permissions: Permissions;
|
|
1037
|
+
const organizationPermissions: Record<string, Permissions>;
|
|
1038
|
+
const allOrganizationPermissions: Permissions;
|
|
1043
1039
|
const waitLogin: boolean;
|
|
1044
1040
|
/**
|
|
1045
1041
|
* @template {Record<string, any>} T
|
|
@@ -1139,9 +1135,15 @@ interface FieldContext {
|
|
|
1139
1135
|
listen<K extends keyof FieldComponentEvent>(event: K, listen: FieldComponentEvent[K]): () => void;
|
|
1140
1136
|
emit(event: string, e: any): void;
|
|
1141
1137
|
}
|
|
1138
|
+
interface ConfiguratorContext extends FieldContext {
|
|
1139
|
+
root: HTMLElement;
|
|
1140
|
+
}
|
|
1142
1141
|
interface FieldComponent<T extends Record<string, any> = Record<string, any>> {
|
|
1143
1142
|
(ctx: FieldContext, options?: T): HTMLElement;
|
|
1144
1143
|
}
|
|
1144
|
+
interface ConfiguratorComponent<T extends Record<string, any> = Record<string, any>> {
|
|
1145
|
+
(ctx: ConfiguratorContext, options?: T): void;
|
|
1146
|
+
}
|
|
1145
1147
|
interface SubmodelsLayoutEvent {
|
|
1146
1148
|
reset(list: object[]): void;
|
|
1147
1149
|
update(list: object[]): void;
|
|
@@ -1155,10 +1157,6 @@ interface FieldStyle {
|
|
|
1155
1157
|
/** 是否为设计模式 */
|
|
1156
1158
|
design?: boolean;
|
|
1157
1159
|
}
|
|
1158
|
-
interface RendererFieldStyle extends FieldStyle {
|
|
1159
|
-
/** 是否为编辑模式 */
|
|
1160
|
-
editable?: boolean;
|
|
1161
|
-
}
|
|
1162
1160
|
interface FieldShowHandle {
|
|
1163
1161
|
readonly root: HTMLElement;
|
|
1164
1162
|
destroy(): void;
|
|
@@ -1212,10 +1210,19 @@ interface FormFieldHook {
|
|
|
1212
1210
|
filters: Record<string, FieldFilterComponent | [FieldFilterComponent, string?]>;
|
|
1213
1211
|
}
|
|
1214
1212
|
declare namespace FromRenderer {
|
|
1215
|
-
interface Options
|
|
1213
|
+
interface Options {
|
|
1214
|
+
model?: ModelScriptConfiguration | null;
|
|
1215
|
+
layout?: StoreLayout$1<any> | null;
|
|
1216
|
+
editable?: boolean;
|
|
1217
|
+
signal?: AbortSignal;
|
|
1218
|
+
/** 是否启用链接 */
|
|
1219
|
+
enableLink?: boolean;
|
|
1220
|
+
/** 是否为设计模式 */
|
|
1221
|
+
design?: boolean;
|
|
1222
|
+
}
|
|
1216
1223
|
}
|
|
1217
1224
|
interface FromRenderer {
|
|
1218
|
-
render(
|
|
1225
|
+
render(store: Store$1<any, any>, root: HTMLElement, options?: FromRenderer.Options): void;
|
|
1219
1226
|
}
|
|
1220
1227
|
interface UserHook {
|
|
1221
1228
|
permissions(userPlugin: Record<string, any>, user: User): Set<string> | null;
|
|
@@ -1318,36 +1325,39 @@ declare class PageContext extends GeneralContext {
|
|
|
1318
1325
|
/**
|
|
1319
1326
|
*
|
|
1320
1327
|
* @param {AbortSignal} [signal]
|
|
1321
|
-
* @returns {PageHeader
|
|
1328
|
+
* @returns {PageHeader}
|
|
1322
1329
|
*/
|
|
1323
|
-
createHeader(signal?: AbortSignal): PageHeader
|
|
1330
|
+
createHeader(signal?: AbortSignal): PageHeader;
|
|
1324
1331
|
/**
|
|
1325
1332
|
*
|
|
1326
1333
|
* @param {AbortSignal} [signal]
|
|
1327
|
-
* @returns {PageFooter
|
|
1334
|
+
* @returns {PageFooter}
|
|
1328
1335
|
*/
|
|
1329
|
-
createFooter(signal?: AbortSignal): PageFooter
|
|
1336
|
+
createFooter(signal?: AbortSignal): PageFooter;
|
|
1330
1337
|
/**
|
|
1331
1338
|
*
|
|
1332
1339
|
* @param {boolean} [inserted]
|
|
1333
1340
|
* @param {AbortSignal} [signal]
|
|
1334
1341
|
* @returns
|
|
1335
1342
|
*/
|
|
1336
|
-
createSider(inserted?: boolean, signal?: AbortSignal): PageSider
|
|
1343
|
+
createSider(inserted?: boolean, signal?: AbortSignal): PageSider;
|
|
1337
1344
|
/**
|
|
1338
1345
|
*
|
|
1339
1346
|
* @param {'start' | 'end' | 'before' | 'after'} position
|
|
1340
1347
|
* @param {boolean} [inserted]
|
|
1341
1348
|
* @param {AbortSignal} [signal]
|
|
1342
|
-
* @returns {PageSection
|
|
1349
|
+
* @returns {PageSection}
|
|
1343
1350
|
*/
|
|
1344
|
-
createSection(position: "start" | "end" | "before" | "after", inserted?: boolean, signal?: AbortSignal): PageSection
|
|
1351
|
+
createSection(position: "start" | "end" | "before" | "after", inserted?: boolean, signal?: AbortSignal): PageSection;
|
|
1345
1352
|
/**
|
|
1346
1353
|
*
|
|
1347
|
-
* @param {
|
|
1354
|
+
* @param {{widget: string; options: string}[]} sides
|
|
1348
1355
|
* @param {PageSectionParam} param
|
|
1349
1356
|
*/
|
|
1350
|
-
renderSides(sides:
|
|
1357
|
+
renderSides(sides: {
|
|
1358
|
+
widget: string;
|
|
1359
|
+
options: string;
|
|
1360
|
+
}[], param: PageSectionParam): void;
|
|
1351
1361
|
/**
|
|
1352
1362
|
* @param {string} url
|
|
1353
1363
|
* @param {string | PageIdent} [page]
|
|
@@ -1519,25 +1529,29 @@ declare function toSchema(fields: Record<string, FieldScriptConfiguration>, comp
|
|
|
1519
1529
|
//#region packages/web/form/renderForm.d.mts
|
|
1520
1530
|
/**
|
|
1521
1531
|
*
|
|
1522
|
-
* @param {
|
|
1523
|
-
* @param {Store} store
|
|
1532
|
+
* @param {Store<any, any>} store
|
|
1524
1533
|
* @param {HTMLElement} root
|
|
1525
|
-
* @param {
|
|
1526
|
-
* @
|
|
1527
|
-
* @param {string?} [type]
|
|
1534
|
+
* @param {FromRenderer.Options & {type?: string}} [options]
|
|
1535
|
+
* @returns {void}
|
|
1528
1536
|
*/
|
|
1529
|
-
declare function _default$1(
|
|
1537
|
+
declare function _default$1(store: Store$1<any, any>, root: HTMLElement, options?: FromRenderer.Options & {
|
|
1538
|
+
type?: string;
|
|
1539
|
+
}): void;
|
|
1530
1540
|
//#endregion
|
|
1531
|
-
//#region packages/web/form/
|
|
1541
|
+
//#region packages/web/form/renderStoreForm.d.mts
|
|
1532
1542
|
/**
|
|
1533
1543
|
*
|
|
1534
|
-
* @param {
|
|
1535
|
-
* @param {Store} store
|
|
1544
|
+
* @param {Store<any, any>} store
|
|
1536
1545
|
* @param {HTMLElement} root
|
|
1537
|
-
* @param {
|
|
1538
|
-
* @param {StoreLayout?} [options]
|
|
1546
|
+
* @param {FromRenderer.Options} [options]
|
|
1539
1547
|
*/
|
|
1540
|
-
declare function _default$2(
|
|
1548
|
+
declare function _default$2(store: Store$1<any, any>, root: HTMLElement, {
|
|
1549
|
+
enableLink,
|
|
1550
|
+
design,
|
|
1551
|
+
layout,
|
|
1552
|
+
editable,
|
|
1553
|
+
signal
|
|
1554
|
+
}?: FromRenderer.Options): void;
|
|
1541
1555
|
//#endregion
|
|
1542
1556
|
//#region packages/web/form/createStore.d.mts
|
|
1543
1557
|
/**
|
|
@@ -1595,10 +1609,11 @@ declare function showFilterDialog(modelDefine: ModelScriptConfiguration, value?:
|
|
|
1595
1609
|
*
|
|
1596
1610
|
* @param {Store} store
|
|
1597
1611
|
* @param {FieldStyle} style
|
|
1612
|
+
* @param {any} [renderer]
|
|
1598
1613
|
* @param {StoreLayout.Options?} [options]
|
|
1599
|
-
* @returns {
|
|
1614
|
+
* @returns {HTMLElement?}
|
|
1600
1615
|
*/
|
|
1601
|
-
declare function createStoreField(store: Store$1, style: FieldStyle, options?: StoreLayout$1.Options | null):
|
|
1616
|
+
declare function createStoreField(store: Store$1, style: FieldStyle, renderer?: any, options?: StoreLayout$1.Options | null): HTMLElement | null;
|
|
1602
1617
|
//#endregion
|
|
1603
1618
|
//#region packages/web/utils/toUrl.d.mts
|
|
1604
1619
|
/**
|
|
@@ -1656,22 +1671,22 @@ declare function formLayoutsService(layout: string): {
|
|
|
1656
1671
|
then<TResult1 = {
|
|
1657
1672
|
layout: any;
|
|
1658
1673
|
type?: string;
|
|
1659
|
-
}, TResult2 = never>(onfulfilled?: ((value: {
|
|
1674
|
+
} | null, TResult2 = never>(onfulfilled?: ((value: {
|
|
1660
1675
|
layout: any;
|
|
1661
1676
|
type?: string;
|
|
1662
|
-
}) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined): Promise<TResult1 | TResult2>;
|
|
1677
|
+
} | null) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined): Promise<TResult1 | TResult2>;
|
|
1663
1678
|
catch<TResult2 = never>(onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined): Promise<{
|
|
1664
1679
|
layout: any;
|
|
1665
1680
|
type?: string;
|
|
1666
|
-
} | TResult2>;
|
|
1681
|
+
} | TResult2 | null>;
|
|
1667
1682
|
finally(onfinally?: (() => void) | null | undefined): Promise<{
|
|
1668
1683
|
layout: any;
|
|
1669
1684
|
type?: string;
|
|
1670
|
-
}>;
|
|
1685
|
+
} | null>;
|
|
1671
1686
|
load: (force?: boolean) => Promise<{
|
|
1672
1687
|
layout: any;
|
|
1673
1688
|
type?: string;
|
|
1674
|
-
}>;
|
|
1689
|
+
} | null>;
|
|
1675
1690
|
get: () => {
|
|
1676
1691
|
layout: any;
|
|
1677
1692
|
type?: string;
|
|
@@ -1797,6 +1812,37 @@ declare function loadOptions({
|
|
|
1797
1812
|
disabled?: string | null | undefined;
|
|
1798
1813
|
values?: any;
|
|
1799
1814
|
}, getPlaceholder?: ((placeholder: string) => string | (() => string) | null) | false, exec?: (value: Search.ExecParam) => boolean | null): State<Option[]>;
|
|
1815
|
+
/**
|
|
1816
|
+
*
|
|
1817
|
+
* @param {object} options
|
|
1818
|
+
* @param {string?} [options.type]
|
|
1819
|
+
* @param {string?} [options.name]
|
|
1820
|
+
* @param {string?} [options.filter]
|
|
1821
|
+
* @param {*} [options.values]
|
|
1822
|
+
* @param {string} [options.configurator]
|
|
1823
|
+
* @param {string?} [options.parent]
|
|
1824
|
+
* @param {string?} [options.children]
|
|
1825
|
+
* @param {((placeholder: string) => string | (() => string) | null)} [getPlaceholder]
|
|
1826
|
+
* @param {(value: Search.ExecParam) => boolean?} [exec]
|
|
1827
|
+
* @returns
|
|
1828
|
+
*/
|
|
1829
|
+
declare function findConfigurator({
|
|
1830
|
+
type,
|
|
1831
|
+
name,
|
|
1832
|
+
values,
|
|
1833
|
+
configurator,
|
|
1834
|
+
parent,
|
|
1835
|
+
children,
|
|
1836
|
+
filter
|
|
1837
|
+
}: {
|
|
1838
|
+
type?: string | null | undefined;
|
|
1839
|
+
name?: string | null | undefined;
|
|
1840
|
+
filter?: string | null | undefined;
|
|
1841
|
+
values?: any;
|
|
1842
|
+
configurator?: string | undefined;
|
|
1843
|
+
parent?: string | null | undefined;
|
|
1844
|
+
children?: string | null | undefined;
|
|
1845
|
+
}, getPlaceholder?: ((placeholder: string) => string | (() => string) | null), exec?: (value: Search.ExecParam) => boolean | null): State<any>;
|
|
1800
1846
|
type Option = {
|
|
1801
1847
|
id: string | number;
|
|
1802
1848
|
value: string | number;
|
|
@@ -2151,4 +2197,4 @@ declare function updateHooks(hooks: Record<string, Hook.Define<Hooks>>): void;
|
|
|
2151
2197
|
/** @type {Hook<Hooks>} */
|
|
2152
2198
|
declare const allHooks: Hook<Hooks>;
|
|
2153
2199
|
//#endregion
|
|
2154
|
-
export { ArrayStore,
|
|
2200
|
+
export { ArrayStore, Authenticator, Command, ConfiguratorComponent, ConfiguratorContext, type ContinuationDefine, DotRequest, FieldComponent, FieldComponentEvent, FieldComponents, FieldContext, FieldDefine, FieldFilterComponent, FieldFilterContext, FieldFilterStyle, type FieldScript, type FieldScriptConfiguration, FieldShowHandle, FieldStyle, FormFieldHook, FromRenderer, GeneralContext, type HomeContext, Hooks, IconDefine, Ident_d_exports as Ident, List, type Match, Menu, type ModelConfiguration, ModelIndicator, type ModelScript, type ModelScriptConfiguration, ObjectStore, Option, Page, type PageContext, type PageError, PageFooter, type PageHandle, PageHeader, type PageIdent, type PageManager, type PageRenderer, PageSection, PageSectionParam, PageSider, Pagination, ResponseError, type Schema, Signal$1 as Signal, State, Store, type StoreLayout, SubmodelsLayoutEvent, Theme, User, UserHook, VerifyContext, VerifyError, type WorkspaceDefine, addManager, allHooks, buildPlugin, configuration, createComputed, createFilters, createIcon, createQuickFilters, createShowField, createState, createStore, createStoreField, effect, enumerationsService, execScript, filterPermission, findConfigurator, formLayoutsService, getAuthorizations, getField, getFieldFilter, getFieldFilterOperators, getPages, getPrimaryFields, hasField, hasFieldFilter, importStyle, importWidget, isPluginId, loadMenu, loadOptions, modelService, neverAbortedSignal, pathRoots, _default as permissionsService, plugins, _default$1 as renderForm, renderStore, _default$2 as renderStoreForm, request, root$1 as root, selectFile, setIcon, showFilterDialog, single, start, testPermission, testPermissionConstraints, toFileLink, toFileURL, toId, toSchema, toUrl, updateHooks, userMenus, waitAbortSignal, watch, webRoot };
|