@gct-paas/word 0.1.13 → 0.1.14
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/base/select/src/basic-select.vue.d.ts +1 -1
- package/dist/core/command/InputComposition.d.ts +2 -1
- package/dist/core/command/base/CommandBase.d.ts +1 -0
- package/dist/core/index.d.ts +1 -0
- package/dist/core/layout/handlers/fields/BaseHandler.d.ts +11 -0
- package/dist/core/layout/logic/LayoutBuilder.d.ts +14 -2
- package/dist/core/model/document/Wp.d.ts +12 -0
- package/dist/core/model/document/WpPr.d.ts +13 -0
- package/dist/core/view/runs/TextWidget.d.ts +6 -0
- package/dist/domain/widget/component-type.d.ts +5 -1
- package/dist/index.es.js +13945 -14013
- package/dist/{suites/edhr/panel-schema/data-init/common/add-ipaas/out-param-modal.vue.d.ts → runtime/canvas/paper/inner-corner-mark.vue.d.ts} +5 -3
- package/dist/suites/edhr/panel-schema/data-init/common/add-builtin-field/add-builtin-field-modal.vue.d.ts +3 -1
- package/dist/suites/edhr/panel-schema/data-init/common/add-ipaas/ipaas-param-config.vue.d.ts +1 -1
- package/dist/utils/TriggerUtil.d.ts +1 -1
- package/dist/utils/func/core.d.ts +7 -0
- package/dist/word.css +31 -88
- package/package.json +1 -1
- package/dist/suites/edhr/panel-schema/data-init/common/add-ipaas/input-param-modal.vue.d.ts +0 -10
- package/dist/suites/edhr/panel-schema/data-init/common/add-ipaas/json-param-editor.vue.d.ts +0 -14
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
x: number;
|
|
3
|
+
y: number;
|
|
4
|
+
padding: number[];
|
|
5
|
+
width: number;
|
|
6
|
+
height: number;
|
|
5
7
|
};
|
|
6
8
|
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
7
9
|
export default _default;
|
|
@@ -4,5 +4,7 @@ type __VLS_Props = {
|
|
|
4
4
|
callback?: any;
|
|
5
5
|
options?: object;
|
|
6
6
|
};
|
|
7
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
7
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {
|
|
8
|
+
selectedKeys: import('vue').Ref<string[], string[]>;
|
|
9
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
8
10
|
export default _default;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
type TriggerName = 'OPEN_DATA_INIT_DATASOURCE_FORM_MODEL_MODAL';
|
|
1
|
+
type TriggerName = 'OPEN_DATA_INIT_DATASOURCE_FORM_MODEL_MODAL' | 'OPEN_DATA_INIT_DATASOURCE_INPUT_PARAMS_MODAL' | 'OPEN_DATA_INIT_DATASOURCE_OUTPUT_PARAMS_MODAL';
|
|
2
2
|
export type TriggerHandler = (name: TriggerName, options?: any) => Promise<any>;
|
|
3
3
|
interface TriggerUtilHandlers {
|
|
4
4
|
handle?: TriggerHandler;
|
|
@@ -36,6 +36,7 @@ export declare function getBeforeBracket(str: string): string;
|
|
|
36
36
|
/** 防抖特性的RAF,同一帧内多次调用 schedule() 只会执行一次 */
|
|
37
37
|
export declare function createRafOnce(): {
|
|
38
38
|
schedule: (fn: () => void) => void;
|
|
39
|
+
syncSchedule: <T>(fn: () => T) => Promise<T>;
|
|
39
40
|
cancel: () => void;
|
|
40
41
|
};
|
|
41
42
|
export declare function listToTree<T extends {
|
|
@@ -48,3 +49,9 @@ export declare function listToTree<T extends {
|
|
|
48
49
|
export declare function flattenTree<T extends Record<string, any>>(tree: T[], childrenKey?: string): T[];
|
|
49
50
|
/** 从 URL 提取 name */
|
|
50
51
|
export declare function getFileName(url: string): string;
|
|
52
|
+
/**
|
|
53
|
+
* 校验文本是否为合法数值类型
|
|
54
|
+
* @param {string} text 输入的任意内容
|
|
55
|
+
* @returns {boolean} true=合法数值,false=非数值
|
|
56
|
+
*/
|
|
57
|
+
export declare function isNumberText(text: any): boolean;
|
package/dist/word.css
CHANGED
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
.hidden-input[data-v-fc40fb60] {
|
|
2
|
-
position: absolute;
|
|
3
|
-
resize: none;
|
|
4
|
-
border: none;
|
|
5
|
-
outline: none;
|
|
6
|
-
background: transparent;
|
|
7
|
-
padding: 0;
|
|
8
|
-
margin: 0;
|
|
9
|
-
overflow: hidden;
|
|
10
|
-
user-select: none;
|
|
11
|
-
}
|
|
12
1
|
.gct-button[data-v-443a4cd5] {
|
|
13
2
|
display: flex;
|
|
14
3
|
justify-content: center;
|
|
@@ -2121,6 +2110,17 @@ input[data-v-2deda526]::placeholder {
|
|
|
2121
2110
|
.picker-trigger .clear-icon:hover .gct-icon[data-v-79ed0bf3] {
|
|
2122
2111
|
color: rgba(0, 0, 0, 0.55);
|
|
2123
2112
|
}
|
|
2113
|
+
.hidden-input[data-v-fc40fb60] {
|
|
2114
|
+
position: absolute;
|
|
2115
|
+
resize: none;
|
|
2116
|
+
border: none;
|
|
2117
|
+
outline: none;
|
|
2118
|
+
background: transparent;
|
|
2119
|
+
padding: 0;
|
|
2120
|
+
margin: 0;
|
|
2121
|
+
overflow: hidden;
|
|
2122
|
+
user-select: none;
|
|
2123
|
+
}
|
|
2124
2124
|
.layer[data-v-fe63dcf8] {
|
|
2125
2125
|
position: absolute;
|
|
2126
2126
|
left: -3px;
|
|
@@ -3531,7 +3531,7 @@ ul li .widget-icon[data-v-95297f21] {
|
|
|
3531
3531
|
left: 0;
|
|
3532
3532
|
height: 100%;
|
|
3533
3533
|
}
|
|
3534
|
-
.page-container[data-v-
|
|
3534
|
+
.page-container[data-v-1cd9f2fe] {
|
|
3535
3535
|
position: absolute;
|
|
3536
3536
|
top: 0;
|
|
3537
3537
|
left: 0;
|
|
@@ -4229,57 +4229,7 @@ svg.portrait-icon[data-v-8bdb451e] {
|
|
|
4229
4229
|
margin-top: 16px;
|
|
4230
4230
|
margin-bottom: 16px;
|
|
4231
4231
|
}
|
|
4232
|
-
.
|
|
4233
|
-
margin-bottom: 10px;
|
|
4234
|
-
}
|
|
4235
|
-
.json-param-editor .key-input[data-v-3518a7bf] {
|
|
4236
|
-
width: 100px;
|
|
4237
|
-
flex-grow: 1;
|
|
4238
|
-
}
|
|
4239
|
-
.json-param-editor .type-select[data-v-3518a7bf] {
|
|
4240
|
-
width: 120px;
|
|
4241
|
-
}
|
|
4242
|
-
.json-param-editor .row[data-v-3518a7bf] {
|
|
4243
|
-
display: flex;
|
|
4244
|
-
gap: 10px;
|
|
4245
|
-
margin-bottom: 10px;
|
|
4246
|
-
}
|
|
4247
|
-
.json-param-editor .title[data-v-3518a7bf] {
|
|
4248
|
-
font-weight: bold;
|
|
4249
|
-
padding-left: 8px;
|
|
4250
|
-
}
|
|
4251
|
-
.json-param-editor .col-1[data-v-3518a7bf] {
|
|
4252
|
-
flex-grow: 1;
|
|
4253
|
-
}
|
|
4254
|
-
.json-param-editor .col-2[data-v-3518a7bf] {
|
|
4255
|
-
width: 120px !important;
|
|
4256
|
-
}
|
|
4257
|
-
.json-param-editor .col-3[data-v-3518a7bf] {
|
|
4258
|
-
width: 200px !important;
|
|
4259
|
-
}
|
|
4260
|
-
.json-param-editor .col-4[data-v-3518a7bf] {
|
|
4261
|
-
width: 120px !important;
|
|
4262
|
-
}
|
|
4263
|
-
.json-param-editor .col-5[data-v-3518a7bf] {
|
|
4264
|
-
width: 100px !important;
|
|
4265
|
-
}
|
|
4266
|
-
.input-param-modal-wrapper .input-param-modal-container {
|
|
4267
|
-
width: 100%;
|
|
4268
|
-
padding: 16px 24px;
|
|
4269
|
-
overflow: hidden;
|
|
4270
|
-
display: flex;
|
|
4271
|
-
flex-direction: column;
|
|
4272
|
-
}
|
|
4273
|
-
.input-param-modal-tabs {
|
|
4274
|
-
margin-bottom: 20px;
|
|
4275
|
-
}
|
|
4276
|
-
.out-param-drawer-wrapper .out-param-container {
|
|
4277
|
-
flex: 1;
|
|
4278
|
-
max-height: 100%;
|
|
4279
|
-
max-width: 100%;
|
|
4280
|
-
padding: 16px;
|
|
4281
|
-
}
|
|
4282
|
-
.ipaas-param-item[data-v-4c821569] {
|
|
4232
|
+
.ipaas-param-item[data-v-a2a0557f] {
|
|
4283
4233
|
flex: 1;
|
|
4284
4234
|
color: #026ac8;
|
|
4285
4235
|
cursor: pointer;
|
|
@@ -4290,29 +4240,29 @@ svg.portrait-icon[data-v-8bdb451e] {
|
|
|
4290
4240
|
align-items: center;
|
|
4291
4241
|
justify-content: center;
|
|
4292
4242
|
}
|
|
4293
|
-
.ipaas-param-item .iconfont[data-v-
|
|
4243
|
+
.ipaas-param-item .iconfont[data-v-a2a0557f] {
|
|
4294
4244
|
font-size: 16px;
|
|
4295
4245
|
line-height: 1;
|
|
4296
4246
|
}
|
|
4297
|
-
.ipaas-param-item.update[data-v-
|
|
4247
|
+
.ipaas-param-item.update[data-v-a2a0557f] {
|
|
4298
4248
|
color: #de5e5f;
|
|
4299
4249
|
background-color: #fff;
|
|
4300
4250
|
}
|
|
4301
|
-
.ipaas-param-item.has-data[data-v-
|
|
4251
|
+
.ipaas-param-item.has-data[data-v-a2a0557f] {
|
|
4302
4252
|
background-color: #026ac8;
|
|
4303
4253
|
color: #fff;
|
|
4304
4254
|
}
|
|
4305
|
-
.split[data-v-
|
|
4255
|
+
.split[data-v-a2a0557f] {
|
|
4306
4256
|
width: 1px;
|
|
4307
4257
|
height: 26px;
|
|
4308
4258
|
background-color: #e6e6e6;
|
|
4309
4259
|
flex-shrink: 0;
|
|
4310
4260
|
}
|
|
4311
|
-
.data-source-model-link-wrapper[data-v-
|
|
4261
|
+
.data-source-model-link-wrapper[data-v-4a7293cf] {
|
|
4312
4262
|
padding: 4px 0 4px 24px;
|
|
4313
4263
|
position: relative;
|
|
4314
4264
|
}
|
|
4315
|
-
.data-source-model-link-wrapper[data-v-
|
|
4265
|
+
.data-source-model-link-wrapper[data-v-4a7293cf]::before {
|
|
4316
4266
|
content: '';
|
|
4317
4267
|
position: absolute;
|
|
4318
4268
|
height: 1px;
|
|
@@ -4322,7 +4272,7 @@ svg.portrait-icon[data-v-8bdb451e] {
|
|
|
4322
4272
|
transform: translateX(100%);
|
|
4323
4273
|
background: #e0e0e0;
|
|
4324
4274
|
}
|
|
4325
|
-
.data-source-model-link-wrapper[data-v-
|
|
4275
|
+
.data-source-model-link-wrapper[data-v-4a7293cf]::after {
|
|
4326
4276
|
content: '';
|
|
4327
4277
|
position: absolute;
|
|
4328
4278
|
left: 12px;
|
|
@@ -4331,43 +4281,43 @@ svg.portrait-icon[data-v-8bdb451e] {
|
|
|
4331
4281
|
width: 1px;
|
|
4332
4282
|
background: #e0e0e0;
|
|
4333
4283
|
}
|
|
4334
|
-
.data-source-model-link-wrapper .custom-select[data-v-
|
|
4284
|
+
.data-source-model-link-wrapper .custom-select[data-v-4a7293cf] {
|
|
4335
4285
|
flex: 1;
|
|
4336
4286
|
font-size: 12px;
|
|
4337
4287
|
overflow: hidden;
|
|
4338
4288
|
width: 80px;
|
|
4339
4289
|
}
|
|
4340
|
-
.data-source-model-link-wrapper .custom-select[data-v-
|
|
4290
|
+
.data-source-model-link-wrapper .custom-select[data-v-4a7293cf] .gct-basic-select-container {
|
|
4341
4291
|
border: none;
|
|
4342
4292
|
}
|
|
4343
|
-
.data-source-model-link-wrapper .model-link-container[data-v-
|
|
4293
|
+
.data-source-model-link-wrapper .model-link-container[data-v-4a7293cf] {
|
|
4344
4294
|
border: 1px dashed #f0f0f0;
|
|
4345
4295
|
background: #fcfcfc;
|
|
4346
4296
|
border-radius: 4px;
|
|
4347
4297
|
padding: 8px;
|
|
4348
4298
|
}
|
|
4349
|
-
.data-source-model-link-wrapper .model-link-container .model-link-content[data-v-
|
|
4299
|
+
.data-source-model-link-wrapper .model-link-container .model-link-content[data-v-4a7293cf] {
|
|
4350
4300
|
position: relative;
|
|
4351
4301
|
border: 1px solid #e6e6e6;
|
|
4352
4302
|
border-radius: 4px;
|
|
4353
4303
|
overflow: hidden;
|
|
4354
4304
|
background-color: #fff;
|
|
4355
4305
|
}
|
|
4356
|
-
.data-source-model-link-wrapper .model-link-container .model-link-content .model-link-item[data-v-
|
|
4306
|
+
.data-source-model-link-wrapper .model-link-container .model-link-content .model-link-item[data-v-4a7293cf] {
|
|
4357
4307
|
display: flex;
|
|
4358
4308
|
align-items: center;
|
|
4359
4309
|
border-bottom: 1px solid #e6e6e6;
|
|
4360
4310
|
}
|
|
4361
|
-
.data-source-model-link-wrapper .model-link-container .model-link-content .model-link-item[data-v-
|
|
4311
|
+
.data-source-model-link-wrapper .model-link-container .model-link-content .model-link-item[data-v-4a7293cf]:last-child {
|
|
4362
4312
|
border-bottom: none;
|
|
4363
4313
|
}
|
|
4364
|
-
.data-source-model-link-wrapper .model-link-container .split[data-v-
|
|
4314
|
+
.data-source-model-link-wrapper .model-link-container .split[data-v-4a7293cf] {
|
|
4365
4315
|
width: 1px;
|
|
4366
4316
|
height: 26px;
|
|
4367
4317
|
background-color: #e6e6e6;
|
|
4368
4318
|
flex-shrink: 0;
|
|
4369
4319
|
}
|
|
4370
|
-
.data-source-model-link-wrapper .model-link-container .blank[data-v-
|
|
4320
|
+
.data-source-model-link-wrapper .model-link-container .blank[data-v-4a7293cf] {
|
|
4371
4321
|
position: relative;
|
|
4372
4322
|
width: 24px;
|
|
4373
4323
|
height: 26px;
|
|
@@ -4380,7 +4330,7 @@ svg.portrait-icon[data-v-8bdb451e] {
|
|
|
4380
4330
|
color: #8f8f8f;
|
|
4381
4331
|
flex-shrink: 0;
|
|
4382
4332
|
}
|
|
4383
|
-
.data-source-model-link-wrapper .model-link-container .blank.first[data-v-
|
|
4333
|
+
.data-source-model-link-wrapper .model-link-container .blank.first[data-v-4a7293cf]::before {
|
|
4384
4334
|
content: '';
|
|
4385
4335
|
position: absolute;
|
|
4386
4336
|
width: 1px;
|
|
@@ -4388,7 +4338,7 @@ svg.portrait-icon[data-v-8bdb451e] {
|
|
|
4388
4338
|
background-color: #e6e6e6;
|
|
4389
4339
|
right: 0;
|
|
4390
4340
|
}
|
|
4391
|
-
.data-source-model-link-wrapper .model-link-container .blank.last[data-v-
|
|
4341
|
+
.data-source-model-link-wrapper .model-link-container .blank.last[data-v-4a7293cf]::before {
|
|
4392
4342
|
content: '';
|
|
4393
4343
|
position: absolute;
|
|
4394
4344
|
width: 1px;
|
|
@@ -4396,7 +4346,7 @@ svg.portrait-icon[data-v-8bdb451e] {
|
|
|
4396
4346
|
background-color: #e6e6e6;
|
|
4397
4347
|
left: 0;
|
|
4398
4348
|
}
|
|
4399
|
-
.data-source-model-link-wrapper .model-link-container .blank .iconfont[data-v-
|
|
4349
|
+
.data-source-model-link-wrapper .model-link-container .blank .iconfont[data-v-4a7293cf] {
|
|
4400
4350
|
line-height: 1;
|
|
4401
4351
|
font-size: 14px;
|
|
4402
4352
|
cursor: pointer;
|
|
@@ -4404,19 +4354,12 @@ svg.portrait-icon[data-v-8bdb451e] {
|
|
|
4404
4354
|
}
|
|
4405
4355
|
.add-builtin-field-modal-container {
|
|
4406
4356
|
width: 100%;
|
|
4407
|
-
padding: 16px 24px;
|
|
4408
4357
|
overflow: hidden;
|
|
4409
4358
|
display: flex;
|
|
4410
4359
|
flex-direction: column;
|
|
4411
4360
|
}
|
|
4412
|
-
.add-builtin-field-modal-container .title {
|
|
4413
|
-
color: #212528;
|
|
4414
|
-
margin-left: 4px;
|
|
4415
|
-
margin-bottom: 16px;
|
|
4416
|
-
}
|
|
4417
4361
|
.add-builtin-field-modal-container .search {
|
|
4418
4362
|
width: 264px;
|
|
4419
|
-
margin-top: 16px;
|
|
4420
4363
|
margin-bottom: 16px;
|
|
4421
4364
|
}
|
|
4422
4365
|
.add-builtin-field-modal-container .field-table-wrap {
|
package/package.json
CHANGED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
type __VLS_Props = {
|
|
2
|
-
metaHeader: string;
|
|
3
|
-
metaBody: string;
|
|
4
|
-
metaQuery: string;
|
|
5
|
-
metaUri: string;
|
|
6
|
-
callback?: any;
|
|
7
|
-
options?: object;
|
|
8
|
-
};
|
|
9
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
10
|
-
export default _default;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ParameterPosition } from '../../utils';
|
|
2
|
-
import { ITreeJsonParam } from '../../utils/json-param-logic';
|
|
3
|
-
type __VLS_Props = {
|
|
4
|
-
value: ITreeJsonParam;
|
|
5
|
-
position?: ParameterPosition;
|
|
6
|
-
};
|
|
7
|
-
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
8
|
-
"update:value": (value: ITreeJsonParam) => any;
|
|
9
|
-
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
10
|
-
"onUpdate:value"?: ((value: ITreeJsonParam) => any) | undefined;
|
|
11
|
-
}>, {
|
|
12
|
-
position: ParameterPosition;
|
|
13
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
14
|
-
export default _default;
|