@geelato/gl-runtime-core 0.0.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/dist/gl-runtime-core.css +1 -0
- package/dist/gl-runtime-core.css.gz +0 -0
- package/dist/gl-runtime-core.js +169768 -0
- package/dist/gl-runtime-core.js.gz +0 -0
- package/dist/gl-runtime-core.umd.cjs +35 -0
- package/dist/iconfont-BJ2VOOKJ.js +35 -0
- package/dist/iconfont-BJ2VOOKJ.js.gz +0 -0
- package/dist/types/actions/JsScriptExecutor.d.ts +291 -0
- package/dist/types/actions/fns/datetime.d.ts +22 -0
- package/dist/types/actions/fns/device.d.ts +23 -0
- package/dist/types/actions/fns/math.d.ts +27 -0
- package/dist/types/api/EntityApi.d.ts +143 -0
- package/dist/types/api/EntityDataSource.d.ts +272 -0
- package/dist/types/api/EntityDeleteService.d.ts +47 -0
- package/dist/types/api/EntityQueryCache.d.ts +62 -0
- package/dist/types/api/EntityQueryService.d.ts +71 -0
- package/dist/types/api/EntityResultMapping.d.ts +11 -0
- package/dist/types/api/EntitySaveService.d.ts +46 -0
- package/dist/types/api/EntityTypes.d.ts +135 -0
- package/dist/types/api/EntityUtilService.d.ts +42 -0
- package/dist/types/assets/globalConfig.d.ts +5 -0
- package/dist/types/components/AppProvideProxy.d.ts +21 -0
- package/dist/types/components/ComponentTreeParser.d.ts +17 -0
- package/dist/types/components/FormProvideProxy.d.ts +35 -0
- package/dist/types/components/Hooks.d.ts +7 -0
- package/dist/types/components/PageDataSourceManager.d.ts +28 -0
- package/dist/types/components/PageLoader.d.ts +6 -0
- package/dist/types/components/PageProvideProxy.d.ts +413 -0
- package/dist/types/components/UiEventNames.d.ts +15 -0
- package/dist/types/components/gl-chart/GlChart.vue.d.ts +135 -0
- package/dist/types/components/gl-component/GlComponent.vue.d.ts +191 -0
- package/dist/types/components/gl-component/GlComponentSupport.d.ts +49 -0
- package/dist/types/components/gl-component/GlInsts.vue.d.ts +19 -0
- package/dist/types/components/gl-div/GlDiv.vue.d.ts +107 -0
- package/dist/types/components/gl-dnd-placeholder/Index.vue.d.ts +112 -0
- package/dist/types/components/gl-html/Index.vue.d.ts +7 -0
- package/dist/types/components/gl-iconfont/IconsJson.d.ts +15 -0
- package/dist/types/components/gl-iconfont/Index.vue.d.ts +19 -0
- package/dist/types/components/gl-loader/GlLoader.vue.d.ts +3 -0
- package/dist/types/components/gl-login/FloatingActionButton.vue.d.ts +9 -0
- package/dist/types/components/gl-login/LoginDialog.vue.d.ts +9 -0
- package/dist/types/components/gl-loop/GlLoop.vue.d.ts +230 -0
- package/dist/types/components/gl-page-viewer/GlPageViewer.vue.d.ts +221 -0
- package/dist/types/components/gl-scanner/GlScanner.vue.d.ts +44 -0
- package/dist/types/components/gl-template/GlTemplate.vue.d.ts +154 -0
- package/dist/types/components/gl-template/Typs.d.ts +4 -0
- package/dist/types/components/gl-virtual/Index.vue.d.ts +3 -0
- package/dist/types/components/mixins.d.ts +86 -0
- package/dist/types/components/ui-mixins.d.ts +16 -0
- package/dist/types/composables/useApiUrl.d.ts +30 -0
- package/dist/types/composables/useGlobal.d.ts +21 -0
- package/dist/types/composables/useLoading.d.ts +6 -0
- package/dist/types/composables/useLogger.d.ts +32 -0
- package/dist/types/composables/useMessages.d.ts +15 -0
- package/dist/types/composables/useRole.d.ts +5 -0
- package/dist/types/locales/index.d.ts +21 -0
- package/dist/types/locales/lang/en-US.d.ts +4 -0
- package/dist/types/locales/lang/zh-CN.d.ts +4 -0
- package/dist/types/m/datasource/ApplicationApi.d.ts +163 -0
- package/dist/types/m/datasource/ArcoApi.d.ts +76 -0
- package/dist/types/m/datasource/Base.d.ts +99 -0
- package/dist/types/m/datasource/BranchApi.d.ts +2 -0
- package/dist/types/m/datasource/CompanyApi.d.ts +49 -0
- package/dist/types/m/datasource/DictApi.d.ts +127 -0
- package/dist/types/m/datasource/DictionaryApi.d.ts +16 -0
- package/dist/types/m/datasource/EncodingApi.d.ts +59 -0
- package/dist/types/m/datasource/Entry.d.ts +5 -0
- package/dist/types/m/datasource/FieldMeta.d.ts +6 -0
- package/dist/types/m/datasource/FileApi.d.ts +273 -0
- package/dist/types/m/datasource/FileTemplateApi.d.ts +114 -0
- package/dist/types/m/datasource/InterApi.d.ts +104 -0
- package/dist/types/m/datasource/MarketApi.d.ts +191 -0
- package/dist/types/m/datasource/MessageApi.d.ts +27 -0
- package/dist/types/m/datasource/ModelApi.d.ts +327 -0
- package/dist/types/m/datasource/NoticeApi.d.ts +37 -0
- package/dist/types/m/datasource/OcrPdfApi.d.ts +145 -0
- package/dist/types/m/datasource/PluginApi.d.ts +35 -0
- package/dist/types/m/datasource/ScheduleApi.d.ts +67 -0
- package/dist/types/m/datasource/SecurityApi.d.ts +253 -0
- package/dist/types/m/datasource/SiteApi.d.ts +38 -0
- package/dist/types/m/datasource/SqlApi.d.ts +45 -0
- package/dist/types/m/datasource/SysConfigApi.d.ts +52 -0
- package/dist/types/m/datasource/TenantApi.d.ts +107 -0
- package/dist/types/m/datasource/UserApi.d.ts +173 -0
- package/dist/types/m/datasource/VersionApi.d.ts +59 -0
- package/dist/types/m/datasource/WeChatApi.d.ts +34 -0
- package/dist/types/m/datasource/WorkflowApi.d.ts +317 -0
- package/dist/types/m/datasource/ZxingApi.d.ts +38 -0
- package/dist/types/main.d.ts +114 -0
- package/dist/types/store/index.d.ts +2 -0
- package/dist/types/store/modules/user/index.d.ts +16 -0
- package/dist/types/types/Operators.d.ts +19 -0
- package/dist/types/types/global.d.ts +198 -0
- package/dist/types/types/options.d.ts +35 -0
- package/dist/types/utils/Auth.d.ts +37 -0
- package/dist/types/utils/CacheManager.d.ts +110 -0
- package/dist/types/utils/CheckUtil.d.ts +5 -0
- package/dist/types/utils/ClipboardUtil.d.ts +24 -0
- package/dist/types/utils/ConvertUtil.d.ts +81 -0
- package/dist/types/utils/Event.d.ts +2 -0
- package/dist/types/utils/FileUtil.d.ts +7 -0
- package/dist/types/utils/GenerateUtil.d.ts +14 -0
- package/dist/types/utils/IsUtil.d.ts +126 -0
- package/dist/types/utils/MixUtil.d.ts +49 -0
- package/dist/types/utils/Monitor.d.ts +2 -0
- package/dist/types/utils/PageUtil.d.ts +14 -0
- package/dist/types/utils/PluginUtil.d.ts +9 -0
- package/dist/types/utils/RecordsUtil.d.ts +3 -0
- package/dist/types/utils/SseClient.d.ts +34 -0
- package/dist/types/utils/StoreUtil.d.ts +8 -0
- package/dist/types/utils/StringUtil.d.ts +29 -0
- package/dist/types/utils/Utils.d.ts +217 -0
- package/dist/types/utils/emitter.d.ts +3 -0
- package/dist/types/utils/renderTemplate.d.ts +6 -0
- package/dist/types/utils/toChineseCurrency.d.ts +5 -0
- package/package.json +76 -0
- package/src/main.ts +498 -0
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { IComponentInstance, IComponentInstanceProps } from '@geelato/gl-types';
|
|
3
|
+
import { ComponentInstance } from '@geelato/gl-ui-schema';
|
|
4
|
+
import { PageCustomType, PagePermission } from '../PageProvideProxy';
|
|
5
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
6
|
+
parentId: {
|
|
7
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
8
|
+
};
|
|
9
|
+
glComponentInst: {
|
|
10
|
+
type: PropType<IComponentInstance>;
|
|
11
|
+
default(): ComponentInstance;
|
|
12
|
+
};
|
|
13
|
+
glChildren: {
|
|
14
|
+
type: PropType<Array< IComponentInstance>>;
|
|
15
|
+
default(): never[];
|
|
16
|
+
};
|
|
17
|
+
glCtx: {
|
|
18
|
+
type: ObjectConstructor;
|
|
19
|
+
default(): {};
|
|
20
|
+
};
|
|
21
|
+
glIsRuntime: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default(): boolean;
|
|
24
|
+
};
|
|
25
|
+
glRuntimeFlag: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
default(): string;
|
|
28
|
+
};
|
|
29
|
+
glIndex: {
|
|
30
|
+
type: NumberConstructor;
|
|
31
|
+
};
|
|
32
|
+
glLoopItem: ObjectConstructor;
|
|
33
|
+
glLoopIndex: NumberConstructor;
|
|
34
|
+
glIgnoreInjectPageProxy: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default(): boolean;
|
|
37
|
+
};
|
|
38
|
+
componentStoreId: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default(): string;
|
|
41
|
+
};
|
|
42
|
+
pageCustom: PropType<PageCustomType>;
|
|
43
|
+
pagePermission: PropType<PagePermission>;
|
|
44
|
+
glDoAction: {
|
|
45
|
+
type: FunctionConstructor;
|
|
46
|
+
required: boolean;
|
|
47
|
+
};
|
|
48
|
+
modelValue: {
|
|
49
|
+
type: (StringConstructor | BooleanConstructor | ObjectConstructor | NumberConstructor | ArrayConstructor)[];
|
|
50
|
+
};
|
|
51
|
+
displayValue: {
|
|
52
|
+
type: (StringConstructor | BooleanConstructor | ObjectConstructor | NumberConstructor | ArrayConstructor)[];
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* 这个开关的典型用途在 showPopover :它会把“页面里已有的组件实例 showComponentInst ”拿出来,
|
|
56
|
+
* 再渲染一份到弹出层里 。如果这份弹出层里的 GlComponent 也去 setVueRef ,会用相同的 componentId 把
|
|
57
|
+
* PageProvideProxy.vueRefMap[componentId] 覆盖掉,导致页面内脚本/联动通过 pageProxy.getRef(id)
|
|
58
|
+
* 拿到的是“弹出层的临时实例”,从而产生错乱。所以这里显式传了 glSkipSetVueRef: true JsScriptExecutor.ts
|
|
59
|
+
*/
|
|
60
|
+
glSkipSetVueRef: {
|
|
61
|
+
type: BooleanConstructor;
|
|
62
|
+
default(): boolean;
|
|
63
|
+
};
|
|
64
|
+
}>, {
|
|
65
|
+
onMouseLeave: (...args: any[]) => void;
|
|
66
|
+
onMouseOver: (...args: any[]) => void;
|
|
67
|
+
_focus: () => Promise<void>;
|
|
68
|
+
_blur: () => void;
|
|
69
|
+
_getValue: () => string | number | boolean | object | any[] | undefined;
|
|
70
|
+
_getText: () => any;
|
|
71
|
+
_getVar: (params: {
|
|
72
|
+
name: string;
|
|
73
|
+
}) => any;
|
|
74
|
+
_getVars: () => any;
|
|
75
|
+
_getVarsRef: () => Record<string, any>;
|
|
76
|
+
_setValue: (params: {
|
|
77
|
+
value: any;
|
|
78
|
+
}) => void;
|
|
79
|
+
_reRender: (updatedProps?: object) => void;
|
|
80
|
+
_setVar: (params: {
|
|
81
|
+
name: string;
|
|
82
|
+
value: any;
|
|
83
|
+
}) => void;
|
|
84
|
+
_setLoading: (params: {
|
|
85
|
+
loading?: boolean;
|
|
86
|
+
}) => void;
|
|
87
|
+
_setReadonlyAndDisabled: (params: {
|
|
88
|
+
readonly?: boolean;
|
|
89
|
+
disabled?: boolean;
|
|
90
|
+
}) => void;
|
|
91
|
+
_isReadonlyOrDisabled: () => boolean;
|
|
92
|
+
_setSlotProps: (params: {
|
|
93
|
+
slotName: string;
|
|
94
|
+
slotProps: any;
|
|
95
|
+
}) => void;
|
|
96
|
+
_getSlotProps: (params: {
|
|
97
|
+
slotName: string;
|
|
98
|
+
defaultSlotProps?: any;
|
|
99
|
+
}) => any;
|
|
100
|
+
_setProps: (params: {
|
|
101
|
+
props: any;
|
|
102
|
+
}) => void;
|
|
103
|
+
_getProps: () => IComponentInstanceProps;
|
|
104
|
+
_hasPermission: () => boolean;
|
|
105
|
+
getPageProvideProxy: () => any;
|
|
106
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
107
|
+
update: (...args: any[]) => void;
|
|
108
|
+
"update:modelValue": (...args: any[]) => void;
|
|
109
|
+
"update:displayValue": (...args: any[]) => void;
|
|
110
|
+
selfMounted: (...args: any[]) => void;
|
|
111
|
+
onAction: (...args: any[]) => void;
|
|
112
|
+
onComponentClick: (...args: any[]) => void;
|
|
113
|
+
valueChange: (...args: any[]) => void;
|
|
114
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
115
|
+
parentId: {
|
|
116
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
117
|
+
};
|
|
118
|
+
glComponentInst: {
|
|
119
|
+
type: PropType<IComponentInstance>;
|
|
120
|
+
default(): ComponentInstance;
|
|
121
|
+
};
|
|
122
|
+
glChildren: {
|
|
123
|
+
type: PropType<Array< IComponentInstance>>;
|
|
124
|
+
default(): never[];
|
|
125
|
+
};
|
|
126
|
+
glCtx: {
|
|
127
|
+
type: ObjectConstructor;
|
|
128
|
+
default(): {};
|
|
129
|
+
};
|
|
130
|
+
glIsRuntime: {
|
|
131
|
+
type: BooleanConstructor;
|
|
132
|
+
default(): boolean;
|
|
133
|
+
};
|
|
134
|
+
glRuntimeFlag: {
|
|
135
|
+
type: StringConstructor;
|
|
136
|
+
default(): string;
|
|
137
|
+
};
|
|
138
|
+
glIndex: {
|
|
139
|
+
type: NumberConstructor;
|
|
140
|
+
};
|
|
141
|
+
glLoopItem: ObjectConstructor;
|
|
142
|
+
glLoopIndex: NumberConstructor;
|
|
143
|
+
glIgnoreInjectPageProxy: {
|
|
144
|
+
type: BooleanConstructor;
|
|
145
|
+
default(): boolean;
|
|
146
|
+
};
|
|
147
|
+
componentStoreId: {
|
|
148
|
+
type: StringConstructor;
|
|
149
|
+
default(): string;
|
|
150
|
+
};
|
|
151
|
+
pageCustom: PropType<PageCustomType>;
|
|
152
|
+
pagePermission: PropType<PagePermission>;
|
|
153
|
+
glDoAction: {
|
|
154
|
+
type: FunctionConstructor;
|
|
155
|
+
required: boolean;
|
|
156
|
+
};
|
|
157
|
+
modelValue: {
|
|
158
|
+
type: (StringConstructor | BooleanConstructor | ObjectConstructor | NumberConstructor | ArrayConstructor)[];
|
|
159
|
+
};
|
|
160
|
+
displayValue: {
|
|
161
|
+
type: (StringConstructor | BooleanConstructor | ObjectConstructor | NumberConstructor | ArrayConstructor)[];
|
|
162
|
+
};
|
|
163
|
+
/**
|
|
164
|
+
* 这个开关的典型用途在 showPopover :它会把“页面里已有的组件实例 showComponentInst ”拿出来,
|
|
165
|
+
* 再渲染一份到弹出层里 。如果这份弹出层里的 GlComponent 也去 setVueRef ,会用相同的 componentId 把
|
|
166
|
+
* PageProvideProxy.vueRefMap[componentId] 覆盖掉,导致页面内脚本/联动通过 pageProxy.getRef(id)
|
|
167
|
+
* 拿到的是“弹出层的临时实例”,从而产生错乱。所以这里显式传了 glSkipSetVueRef: true JsScriptExecutor.ts
|
|
168
|
+
*/
|
|
169
|
+
glSkipSetVueRef: {
|
|
170
|
+
type: BooleanConstructor;
|
|
171
|
+
default(): boolean;
|
|
172
|
+
};
|
|
173
|
+
}>> & Readonly<{
|
|
174
|
+
onUpdate?: ((...args: any[]) => any) | undefined;
|
|
175
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
176
|
+
"onUpdate:displayValue"?: ((...args: any[]) => any) | undefined;
|
|
177
|
+
onSelfMounted?: ((...args: any[]) => any) | undefined;
|
|
178
|
+
onOnAction?: ((...args: any[]) => any) | undefined;
|
|
179
|
+
onOnComponentClick?: ((...args: any[]) => any) | undefined;
|
|
180
|
+
onValueChange?: ((...args: any[]) => any) | undefined;
|
|
181
|
+
}>, {
|
|
182
|
+
glComponentInst: IComponentInstance;
|
|
183
|
+
glChildren: IComponentInstance[];
|
|
184
|
+
glCtx: Record<string, any>;
|
|
185
|
+
glIsRuntime: boolean;
|
|
186
|
+
glRuntimeFlag: string;
|
|
187
|
+
glIgnoreInjectPageProxy: boolean;
|
|
188
|
+
componentStoreId: string;
|
|
189
|
+
glSkipSetVueRef: boolean;
|
|
190
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
191
|
+
export default _default;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { Ctx } from '../../actions/JsScriptExecutor';
|
|
2
|
+
import { IComponentInstance } from '@geelato/gl-types';
|
|
3
|
+
/**
|
|
4
|
+
* 创建正则表达式校验器
|
|
5
|
+
* @param expression js表达式
|
|
6
|
+
* @param message 校验失败时的提示信息
|
|
7
|
+
* @param ctx 校验上下文,可以是函数,函数为无参函数执行返因对象,也可以是对象
|
|
8
|
+
* @param $gl 全局对象
|
|
9
|
+
*/
|
|
10
|
+
export declare const createValidator: (expression: string, message: string, ctx?: Record<string, any> | Function, $gl?: any) => (value: string, callback: (error?: string) => void) => void;
|
|
11
|
+
/**
|
|
12
|
+
* 要求只在运行时执该方法
|
|
13
|
+
* 尝试解析规则,构建自定校验规则器
|
|
14
|
+
* @param inst
|
|
15
|
+
*/
|
|
16
|
+
export declare function tryParsePropsRulesInRuntime(inst: IComponentInstance): void;
|
|
17
|
+
/**
|
|
18
|
+
* 一级属性为非对象、非数据组的场景
|
|
19
|
+
* 转换计算实例的一级属性,并把计算的结果值设置到一级属性中
|
|
20
|
+
* @param inst
|
|
21
|
+
* @param ctx
|
|
22
|
+
*/
|
|
23
|
+
export declare function executeInstPropsExpressions(inst: IComponentInstance, ctx: object): {
|
|
24
|
+
hasValueExpression: boolean;
|
|
25
|
+
hasPropsExpression: boolean;
|
|
26
|
+
} | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* 一级属性为对象、数据组的场景
|
|
29
|
+
* 递归计算二、三、四。。。级属性值,并将计算结果设置回相应的属性值中
|
|
30
|
+
* 如GlEntityTable的{base:{xx:yy,xx2:yy2}}
|
|
31
|
+
* @param obj
|
|
32
|
+
* @param ctx
|
|
33
|
+
*/
|
|
34
|
+
export declare function executeObjectPropsExpressions(obj: any, ctx: object): void;
|
|
35
|
+
export declare function executeArrayExpressions(ary: object[], ctx: object): void;
|
|
36
|
+
/**
|
|
37
|
+
* 运行属性表达式
|
|
38
|
+
* 依据propsExpression设置的各属值的值表达式,计算出值,并合设置到props中,覆盖props中相应属性的值
|
|
39
|
+
* @param glComponentInst
|
|
40
|
+
* @param ctx
|
|
41
|
+
*/
|
|
42
|
+
export declare const executePropsExpressions: (glComponentInst: any, ctx: Ctx) => {
|
|
43
|
+
hasValueExpression: boolean;
|
|
44
|
+
hasPropsExpression: boolean;
|
|
45
|
+
} | undefined;
|
|
46
|
+
/**
|
|
47
|
+
* 组件设置到pageProxy的时机,对于最原子的组件,即组件不引用其它动态组件,则
|
|
48
|
+
* @param componentName
|
|
49
|
+
*/
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
3
|
+
modelValue: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
default(): string;
|
|
6
|
+
};
|
|
7
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
8
|
+
"update:modelValue": (...args: any[]) => void;
|
|
9
|
+
}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
10
|
+
modelValue: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default(): string;
|
|
13
|
+
};
|
|
14
|
+
}>> & Readonly<{
|
|
15
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
16
|
+
}>, {
|
|
17
|
+
modelValue: string;
|
|
18
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { IComponentInstance } from '@geelato/gl-types';
|
|
3
|
+
import { ComponentInstance } from '@geelato/gl-ui-schema';
|
|
4
|
+
import { PageCustomType, PagePermission } from '../PageProvideProxy';
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots< DefineComponent<ExtractPropTypes<{
|
|
6
|
+
parentId: {
|
|
7
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
8
|
+
};
|
|
9
|
+
glComponentInst: {
|
|
10
|
+
type: PropType<IComponentInstance>;
|
|
11
|
+
default(): ComponentInstance;
|
|
12
|
+
};
|
|
13
|
+
glChildren: {
|
|
14
|
+
type: PropType<Array< IComponentInstance>>;
|
|
15
|
+
default(): never[];
|
|
16
|
+
};
|
|
17
|
+
glCtx: {
|
|
18
|
+
type: ObjectConstructor;
|
|
19
|
+
default(): {};
|
|
20
|
+
};
|
|
21
|
+
glIsRuntime: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default(): boolean;
|
|
24
|
+
};
|
|
25
|
+
glRuntimeFlag: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
default(): string;
|
|
28
|
+
};
|
|
29
|
+
glIndex: {
|
|
30
|
+
type: NumberConstructor;
|
|
31
|
+
};
|
|
32
|
+
glLoopItem: ObjectConstructor;
|
|
33
|
+
glLoopIndex: NumberConstructor;
|
|
34
|
+
glIgnoreInjectPageProxy: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default(): boolean;
|
|
37
|
+
};
|
|
38
|
+
componentStoreId: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default(): string;
|
|
41
|
+
};
|
|
42
|
+
pageCustom: PropType<PageCustomType>;
|
|
43
|
+
pagePermission: PropType<PagePermission>;
|
|
44
|
+
glDoAction: {
|
|
45
|
+
type: FunctionConstructor;
|
|
46
|
+
required: boolean;
|
|
47
|
+
};
|
|
48
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
49
|
+
parentId: {
|
|
50
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
51
|
+
};
|
|
52
|
+
glComponentInst: {
|
|
53
|
+
type: PropType<IComponentInstance>;
|
|
54
|
+
default(): ComponentInstance;
|
|
55
|
+
};
|
|
56
|
+
glChildren: {
|
|
57
|
+
type: PropType<Array< IComponentInstance>>;
|
|
58
|
+
default(): never[];
|
|
59
|
+
};
|
|
60
|
+
glCtx: {
|
|
61
|
+
type: ObjectConstructor;
|
|
62
|
+
default(): {};
|
|
63
|
+
};
|
|
64
|
+
glIsRuntime: {
|
|
65
|
+
type: BooleanConstructor;
|
|
66
|
+
default(): boolean;
|
|
67
|
+
};
|
|
68
|
+
glRuntimeFlag: {
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
default(): string;
|
|
71
|
+
};
|
|
72
|
+
glIndex: {
|
|
73
|
+
type: NumberConstructor;
|
|
74
|
+
};
|
|
75
|
+
glLoopItem: ObjectConstructor;
|
|
76
|
+
glLoopIndex: NumberConstructor;
|
|
77
|
+
glIgnoreInjectPageProxy: {
|
|
78
|
+
type: BooleanConstructor;
|
|
79
|
+
default(): boolean;
|
|
80
|
+
};
|
|
81
|
+
componentStoreId: {
|
|
82
|
+
type: StringConstructor;
|
|
83
|
+
default(): string;
|
|
84
|
+
};
|
|
85
|
+
pageCustom: PropType<PageCustomType>;
|
|
86
|
+
pagePermission: PropType<PagePermission>;
|
|
87
|
+
glDoAction: {
|
|
88
|
+
type: FunctionConstructor;
|
|
89
|
+
required: boolean;
|
|
90
|
+
};
|
|
91
|
+
}>> & Readonly<{}>, {
|
|
92
|
+
glComponentInst: IComponentInstance;
|
|
93
|
+
glChildren: IComponentInstance[];
|
|
94
|
+
glCtx: Record<string, any>;
|
|
95
|
+
glIsRuntime: boolean;
|
|
96
|
+
glRuntimeFlag: string;
|
|
97
|
+
glIgnoreInjectPageProxy: boolean;
|
|
98
|
+
componentStoreId: string;
|
|
99
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>, {
|
|
100
|
+
default?(_: {}): any;
|
|
101
|
+
}>;
|
|
102
|
+
export default _default;
|
|
103
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
104
|
+
new (): {
|
|
105
|
+
$slots: S;
|
|
106
|
+
};
|
|
107
|
+
};
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { DefineComponent, ExtractPropTypes, PropType, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
import { IComponentInstance } from '@geelato/gl-types';
|
|
3
|
+
import { ComponentInstance } from '@geelato/gl-ui-schema';
|
|
4
|
+
import { PageCustomType, PagePermission } from '../PageProvideProxy';
|
|
5
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
6
|
+
parentId: {
|
|
7
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
8
|
+
};
|
|
9
|
+
glComponentInst: {
|
|
10
|
+
type: PropType<IComponentInstance>;
|
|
11
|
+
default(): ComponentInstance;
|
|
12
|
+
};
|
|
13
|
+
glChildren: {
|
|
14
|
+
type: PropType<Array< IComponentInstance>>;
|
|
15
|
+
default(): never[];
|
|
16
|
+
};
|
|
17
|
+
glCtx: {
|
|
18
|
+
type: ObjectConstructor;
|
|
19
|
+
default(): {};
|
|
20
|
+
};
|
|
21
|
+
glIsRuntime: {
|
|
22
|
+
type: BooleanConstructor;
|
|
23
|
+
default(): boolean;
|
|
24
|
+
};
|
|
25
|
+
glRuntimeFlag: {
|
|
26
|
+
type: StringConstructor;
|
|
27
|
+
default(): string;
|
|
28
|
+
};
|
|
29
|
+
glIndex: {
|
|
30
|
+
type: NumberConstructor;
|
|
31
|
+
};
|
|
32
|
+
glLoopItem: ObjectConstructor;
|
|
33
|
+
glLoopIndex: NumberConstructor;
|
|
34
|
+
glIgnoreInjectPageProxy: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default(): boolean;
|
|
37
|
+
};
|
|
38
|
+
componentStoreId: {
|
|
39
|
+
type: StringConstructor;
|
|
40
|
+
default(): string;
|
|
41
|
+
};
|
|
42
|
+
pageCustom: PropType<PageCustomType>;
|
|
43
|
+
pagePermission: PropType<PagePermission>;
|
|
44
|
+
glDoAction: {
|
|
45
|
+
type: FunctionConstructor;
|
|
46
|
+
required: boolean;
|
|
47
|
+
};
|
|
48
|
+
info: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
default(): string;
|
|
51
|
+
};
|
|
52
|
+
}>, {}, {}, {}, {
|
|
53
|
+
onDragEnter(event: any): void;
|
|
54
|
+
onDragLeave(event: any): void;
|
|
55
|
+
}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
56
|
+
parentId: {
|
|
57
|
+
type: (StringConstructor | NumberConstructor)[];
|
|
58
|
+
};
|
|
59
|
+
glComponentInst: {
|
|
60
|
+
type: PropType<IComponentInstance>;
|
|
61
|
+
default(): ComponentInstance;
|
|
62
|
+
};
|
|
63
|
+
glChildren: {
|
|
64
|
+
type: PropType<Array< IComponentInstance>>;
|
|
65
|
+
default(): never[];
|
|
66
|
+
};
|
|
67
|
+
glCtx: {
|
|
68
|
+
type: ObjectConstructor;
|
|
69
|
+
default(): {};
|
|
70
|
+
};
|
|
71
|
+
glIsRuntime: {
|
|
72
|
+
type: BooleanConstructor;
|
|
73
|
+
default(): boolean;
|
|
74
|
+
};
|
|
75
|
+
glRuntimeFlag: {
|
|
76
|
+
type: StringConstructor;
|
|
77
|
+
default(): string;
|
|
78
|
+
};
|
|
79
|
+
glIndex: {
|
|
80
|
+
type: NumberConstructor;
|
|
81
|
+
};
|
|
82
|
+
glLoopItem: ObjectConstructor;
|
|
83
|
+
glLoopIndex: NumberConstructor;
|
|
84
|
+
glIgnoreInjectPageProxy: {
|
|
85
|
+
type: BooleanConstructor;
|
|
86
|
+
default(): boolean;
|
|
87
|
+
};
|
|
88
|
+
componentStoreId: {
|
|
89
|
+
type: StringConstructor;
|
|
90
|
+
default(): string;
|
|
91
|
+
};
|
|
92
|
+
pageCustom: PropType<PageCustomType>;
|
|
93
|
+
pagePermission: PropType<PagePermission>;
|
|
94
|
+
glDoAction: {
|
|
95
|
+
type: FunctionConstructor;
|
|
96
|
+
required: boolean;
|
|
97
|
+
};
|
|
98
|
+
info: {
|
|
99
|
+
type: StringConstructor;
|
|
100
|
+
default(): string;
|
|
101
|
+
};
|
|
102
|
+
}>> & Readonly<{}>, {
|
|
103
|
+
info: string;
|
|
104
|
+
glComponentInst: IComponentInstance;
|
|
105
|
+
glChildren: IComponentInstance[];
|
|
106
|
+
glCtx: Record<string, any>;
|
|
107
|
+
glIsRuntime: boolean;
|
|
108
|
+
glRuntimeFlag: string;
|
|
109
|
+
glIgnoreInjectPageProxy: boolean;
|
|
110
|
+
componentStoreId: string;
|
|
111
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
112
|
+
export default _default;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DefineComponent, ExtractPropTypes, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<ExtractPropTypes<{
|
|
3
|
+
html: StringConstructor;
|
|
4
|
+
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
|
|
5
|
+
html: StringConstructor;
|
|
6
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
7
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export declare class IconsJson {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
font_family: string;
|
|
5
|
+
css_prefix_text: string;
|
|
6
|
+
description: string;
|
|
7
|
+
glyphs: Array<IconFont>;
|
|
8
|
+
}
|
|
9
|
+
export declare class IconFont {
|
|
10
|
+
icon_id: string;
|
|
11
|
+
name: string;
|
|
12
|
+
font_class: string;
|
|
13
|
+
unicode: string;
|
|
14
|
+
unicode_decimal: number;
|
|
15
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { StyleValue, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{
|
|
3
|
+
modelValue?: string;
|
|
4
|
+
type?: string;
|
|
5
|
+
text?: string;
|
|
6
|
+
spin?: boolean;
|
|
7
|
+
rotate?: number;
|
|
8
|
+
twoToneColor?: string;
|
|
9
|
+
iconStyle?: StyleValue;
|
|
10
|
+
}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{
|
|
11
|
+
modelValue?: string;
|
|
12
|
+
type?: string;
|
|
13
|
+
text?: string;
|
|
14
|
+
spin?: boolean;
|
|
15
|
+
rotate?: number;
|
|
16
|
+
twoToneColor?: string;
|
|
17
|
+
iconStyle?: StyleValue;
|
|
18
|
+
}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, HTMLSpanElement>;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
3
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
3
|
+
login: (...args: any[]) => void;
|
|
4
|
+
logout: (...args: any[]) => void;
|
|
5
|
+
}, string, PublicProps, Readonly<{}> & Readonly<{
|
|
6
|
+
onLogin?: ((...args: any[]) => any) | undefined;
|
|
7
|
+
onLogout?: ((...args: any[]) => any) | undefined;
|
|
8
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
9
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
+
declare const _default: DefineComponent<{}, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
3
|
+
login: (...args: any[]) => void;
|
|
4
|
+
close: (...args: any[]) => void;
|
|
5
|
+
}, string, PublicProps, Readonly<{}> & Readonly<{
|
|
6
|
+
onLogin?: ((...args: any[]) => any) | undefined;
|
|
7
|
+
onClose?: ((...args: any[]) => any) | undefined;
|
|
8
|
+
}>, {}, {}, {}, {}, string, ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
9
|
+
export default _default;
|