@gct-paas/word 0.1.52-beta.10 → 0.1.52-beta.12
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/core/layout/handlers/FieldHandler.d.ts +1 -1
- package/dist/core/layout/handlers/fields/FieldBaseHandler.d.ts +7 -0
- package/dist/domain/field/field-binding.d.ts +4 -0
- package/dist/domain/table/business/warehouse/warehouse-allocate/profile/field-keys.d.ts +2 -1
- package/dist/index.es.js +182 -171
- package/dist/sdk/doc-runtime/factories/document-initializer.d.ts +2 -0
- package/dist/suites/edhr/check-table/check-table-dyn-value.d.ts +1 -1
- package/dist/word.css +49 -49
- package/package.json +1 -1
|
@@ -3,5 +3,5 @@ import { LayoutContext } from '../LayoutContext';
|
|
|
3
3
|
export declare class FieldHandler {
|
|
4
4
|
static layout(context: LayoutContext, wr: WrText): void;
|
|
5
5
|
/** 检验表交叉区 value_:按同行检验项 type_ 渲染,值路径固定 value_ */
|
|
6
|
-
private static
|
|
6
|
+
private static layoutCheckTableValue;
|
|
7
7
|
}
|
|
@@ -8,6 +8,13 @@ import { DataSlotIndex } from '../../../view/types';
|
|
|
8
8
|
type ValueType = string | number | undefined | null;
|
|
9
9
|
export declare class FieldBaseHandler extends RunHandlerBase {
|
|
10
10
|
static hasValue(value: ValueType): boolean;
|
|
11
|
+
/** 将展示文案拆成逐字 run;空串 split 会得到 [],需单独处理 */
|
|
12
|
+
static toLayoutChars(label: unknown): string[];
|
|
13
|
+
/**
|
|
14
|
+
* 展示内容为空时补一个带 widgetMeta/valuePath 的占位 run
|
|
15
|
+
* 避免段落只剩默认 TextRun(isPlaceholder=true)导致 getWidgetInstances 收集不到
|
|
16
|
+
*/
|
|
17
|
+
static ensureFieldWidgetAnchor(ctx: HandlerContext, layoutStyle: Partial<TextRun>, extra?: Partial<TextWidget>): void;
|
|
11
18
|
static getModelRefId(context: LayoutContext, wr: WrText): string;
|
|
12
19
|
static getDataSlotIndex(context: LayoutContext): DataSlotIndex | undefined;
|
|
13
20
|
static getValue(ctx: HandlerContext, valuePath: string): any;
|
|
@@ -4,16 +4,17 @@
|
|
|
4
4
|
/** 单字段 key */
|
|
5
5
|
export declare const F: {
|
|
6
6
|
readonly batch: "production_identification_id_";
|
|
7
|
+
readonly batchLb: "production_identification_id__lb_";
|
|
7
8
|
readonly product: "product_id_";
|
|
8
9
|
readonly productName: "product_id_name_";
|
|
9
10
|
readonly productCode: "product_id_code_";
|
|
10
11
|
readonly productSpec: "product_id_spec_";
|
|
11
|
-
readonly matno: "material_no_";
|
|
12
12
|
readonly validity: "validity_";
|
|
13
13
|
readonly stock: "stock_num_";
|
|
14
14
|
readonly warehouse: "warehouse_id_";
|
|
15
15
|
readonly location: "location_id_";
|
|
16
16
|
readonly originWarehouseId: "origin_warehouse_id_";
|
|
17
|
+
readonly originWarehouseIdLb: "origin_warehouse_id__lb_";
|
|
17
18
|
readonly originLocationId: "origin_location_id_";
|
|
18
19
|
readonly originLocationIdLb: "origin_location_id__lb_";
|
|
19
20
|
readonly allocateReason: "allocate_reason_";
|
package/dist/index.es.js
CHANGED
|
@@ -355,116 +355,85 @@ function setupGlobDirectives(app) {
|
|
|
355
355
|
}
|
|
356
356
|
const apiConfig$2 = [
|
|
357
357
|
{
|
|
358
|
-
name: "
|
|
359
|
-
entityName: "
|
|
358
|
+
name: "ai",
|
|
359
|
+
entityName: "ai",
|
|
360
360
|
apis: [
|
|
361
361
|
{
|
|
362
362
|
mode: "post",
|
|
363
|
-
method: "
|
|
364
|
-
path: "
|
|
363
|
+
method: "postFormConvertBatchAddFormTmpl",
|
|
364
|
+
path: "form-convert/batch-add-form-tmpl",
|
|
365
365
|
hasData: true
|
|
366
366
|
},
|
|
367
|
-
{
|
|
368
|
-
mode: "get",
|
|
369
|
-
method: "getModelMetaGetSysConfig",
|
|
370
|
-
path: "modelMeta/getSysConfig",
|
|
371
|
-
hasQuery: true
|
|
372
|
-
},
|
|
373
|
-
{
|
|
374
|
-
mode: "get",
|
|
375
|
-
method: "getModelMetaHasDataAssociation",
|
|
376
|
-
path: "modelMeta/hasDataAssociation",
|
|
377
|
-
hasQuery: true
|
|
378
|
-
},
|
|
379
|
-
{
|
|
380
|
-
mode: "get",
|
|
381
|
-
method: "getModelMetaModelDataAssociation",
|
|
382
|
-
path: "modelMeta/modelDataAssociation",
|
|
383
|
-
hasQuery: true
|
|
384
|
-
},
|
|
385
367
|
{
|
|
386
368
|
mode: "post",
|
|
387
|
-
method: "
|
|
388
|
-
path: "
|
|
369
|
+
method: "postFormConvertBatchFailReasons",
|
|
370
|
+
path: "form-convert/batch/fail-reasons",
|
|
389
371
|
hasData: true
|
|
390
372
|
},
|
|
391
373
|
{
|
|
392
374
|
mode: "post",
|
|
393
|
-
method: "
|
|
394
|
-
path: "
|
|
375
|
+
method: "postFormConvertBatchList",
|
|
376
|
+
path: "form-convert/batch/list",
|
|
395
377
|
hasData: true
|
|
396
378
|
},
|
|
397
379
|
{
|
|
398
380
|
mode: "post",
|
|
399
|
-
method: "
|
|
400
|
-
path: "
|
|
381
|
+
method: "postFormConvertBatchUpload",
|
|
382
|
+
path: "form-convert/batch/upload",
|
|
401
383
|
hasData: true
|
|
402
384
|
},
|
|
403
385
|
{
|
|
404
|
-
mode: "
|
|
405
|
-
method: "
|
|
406
|
-
path: "
|
|
407
|
-
|
|
386
|
+
mode: "get",
|
|
387
|
+
method: "getFormConvertBatchId",
|
|
388
|
+
path: "form-convert/batch/{id}",
|
|
389
|
+
hasPathParams: true
|
|
408
390
|
},
|
|
409
391
|
{
|
|
410
|
-
mode: "
|
|
411
|
-
method: "
|
|
412
|
-
path: "
|
|
413
|
-
|
|
392
|
+
mode: "delete",
|
|
393
|
+
method: "deleteFormConvertBatchId",
|
|
394
|
+
path: "form-convert/batch/{id}",
|
|
395
|
+
hasPathParams: true
|
|
414
396
|
},
|
|
415
397
|
{
|
|
416
398
|
mode: "post",
|
|
417
|
-
method: "
|
|
418
|
-
path: "
|
|
399
|
+
method: "postFormConvertFailReasons",
|
|
400
|
+
path: "form-convert/fail-reasons",
|
|
419
401
|
hasData: true
|
|
420
402
|
},
|
|
421
|
-
{
|
|
422
|
-
mode: "get",
|
|
423
|
-
method: "getEdhrAttachmentGetEdhrAttachment",
|
|
424
|
-
path: "edhrAttachment/getEdhrAttachment",
|
|
425
|
-
hasQuery: true
|
|
426
|
-
},
|
|
427
403
|
{
|
|
428
404
|
mode: "post",
|
|
429
|
-
method: "
|
|
430
|
-
path: "
|
|
431
|
-
hasQuery: true
|
|
432
|
-
},
|
|
433
|
-
{
|
|
434
|
-
mode: "post",
|
|
435
|
-
method: "postFormChangeProcessApprove",
|
|
436
|
-
path: "form/change/process/approve",
|
|
405
|
+
method: "postFormConvertList",
|
|
406
|
+
path: "form-convert/list",
|
|
437
407
|
hasData: true
|
|
438
408
|
},
|
|
439
409
|
{
|
|
440
410
|
mode: "post",
|
|
441
|
-
method: "
|
|
442
|
-
path: "form/
|
|
443
|
-
hasData: true
|
|
411
|
+
method: "postFormConvertRefresh",
|
|
412
|
+
path: "form-convert/refresh"
|
|
444
413
|
},
|
|
445
414
|
{
|
|
446
415
|
mode: "post",
|
|
447
|
-
method: "
|
|
448
|
-
path: "form/
|
|
416
|
+
method: "postFormConvertSave",
|
|
417
|
+
path: "form-convert/save",
|
|
449
418
|
hasData: true
|
|
450
419
|
},
|
|
451
420
|
{
|
|
452
|
-
mode: "
|
|
453
|
-
method: "
|
|
454
|
-
path: "form/
|
|
421
|
+
mode: "put",
|
|
422
|
+
method: "putFormConvertUpdate",
|
|
423
|
+
path: "form-convert/update",
|
|
455
424
|
hasData: true
|
|
456
425
|
},
|
|
457
426
|
{
|
|
458
|
-
mode: "
|
|
459
|
-
method: "
|
|
460
|
-
path: "form/
|
|
461
|
-
|
|
427
|
+
mode: "get",
|
|
428
|
+
method: "getFormConvertId",
|
|
429
|
+
path: "form-convert/{id}",
|
|
430
|
+
hasPathParams: true
|
|
462
431
|
},
|
|
463
432
|
{
|
|
464
|
-
mode: "
|
|
465
|
-
method: "
|
|
466
|
-
path: "form/
|
|
467
|
-
|
|
433
|
+
mode: "delete",
|
|
434
|
+
method: "deleteFormConvertId",
|
|
435
|
+
path: "form-convert/{id}",
|
|
436
|
+
hasPathParams: true
|
|
468
437
|
}
|
|
469
438
|
]
|
|
470
439
|
},
|
|
@@ -563,6 +532,12 @@ const apiConfig$2 = [
|
|
|
563
532
|
path: "batch",
|
|
564
533
|
hasData: true
|
|
565
534
|
},
|
|
535
|
+
{
|
|
536
|
+
mode: "get",
|
|
537
|
+
method: "getCheckUserNeedTransfer",
|
|
538
|
+
path: "checkUserNeedTransfer",
|
|
539
|
+
hasQuery: true
|
|
540
|
+
},
|
|
566
541
|
{
|
|
567
542
|
mode: "get",
|
|
568
543
|
method: "getGrantedStatistic",
|
|
@@ -4801,36 +4776,6 @@ const apiConfig$2 = [
|
|
|
4801
4776
|
path: "appendix/form/list",
|
|
4802
4777
|
hasQuery: true
|
|
4803
4778
|
},
|
|
4804
|
-
{
|
|
4805
|
-
mode: "post",
|
|
4806
|
-
method: "postDataCollectionAbandon",
|
|
4807
|
-
path: "data-collection/abandon",
|
|
4808
|
-
hasData: true
|
|
4809
|
-
},
|
|
4810
|
-
{
|
|
4811
|
-
mode: "post",
|
|
4812
|
-
method: "postDataCollectionCreate",
|
|
4813
|
-
path: "data-collection/create",
|
|
4814
|
-
hasData: true
|
|
4815
|
-
},
|
|
4816
|
-
{
|
|
4817
|
-
mode: "get",
|
|
4818
|
-
method: "getDataCollectionListAll",
|
|
4819
|
-
path: "data-collection/listAll",
|
|
4820
|
-
hasQuery: true
|
|
4821
|
-
},
|
|
4822
|
-
{
|
|
4823
|
-
mode: "post",
|
|
4824
|
-
method: "postDataCollectionUpdateAlias",
|
|
4825
|
-
path: "data-collection/update-alias",
|
|
4826
|
-
hasData: true
|
|
4827
|
-
},
|
|
4828
|
-
{
|
|
4829
|
-
mode: "post",
|
|
4830
|
-
method: "postDataCollectionUpdateStatus",
|
|
4831
|
-
path: "data-collection/update-status",
|
|
4832
|
-
hasData: true
|
|
4833
|
-
},
|
|
4834
4779
|
{
|
|
4835
4780
|
mode: "get",
|
|
4836
4781
|
method: "getDataIds",
|
|
@@ -7689,34 +7634,6 @@ const apiConfig$2 = [
|
|
|
7689
7634
|
}
|
|
7690
7635
|
]
|
|
7691
7636
|
},
|
|
7692
|
-
{
|
|
7693
|
-
name: "ss",
|
|
7694
|
-
entityName: "ss",
|
|
7695
|
-
apis: [
|
|
7696
|
-
{
|
|
7697
|
-
mode: "post",
|
|
7698
|
-
method: "postUploadExcel",
|
|
7699
|
-
path: "upload/excel",
|
|
7700
|
-
hasUpload: true,
|
|
7701
|
-
hasQuery: true,
|
|
7702
|
-
hasData: true
|
|
7703
|
-
},
|
|
7704
|
-
{
|
|
7705
|
-
mode: "post",
|
|
7706
|
-
method: "postUploadImportSerialWorkflow",
|
|
7707
|
-
path: "upload/importSerialWorkflow",
|
|
7708
|
-
hasUpload: true,
|
|
7709
|
-
hasData: true
|
|
7710
|
-
},
|
|
7711
|
-
{
|
|
7712
|
-
mode: "post",
|
|
7713
|
-
method: "postUploadZip",
|
|
7714
|
-
path: "upload/zip",
|
|
7715
|
-
hasUpload: true,
|
|
7716
|
-
hasData: true
|
|
7717
|
-
}
|
|
7718
|
-
]
|
|
7719
|
-
},
|
|
7720
7637
|
{
|
|
7721
7638
|
name: "stash",
|
|
7722
7639
|
entityName: "stash",
|
|
@@ -8397,6 +8314,18 @@ const apiConfig$2 = [
|
|
|
8397
8314
|
name: "api",
|
|
8398
8315
|
entityName: "api",
|
|
8399
8316
|
apis: [
|
|
8317
|
+
{
|
|
8318
|
+
mode: "post",
|
|
8319
|
+
method: "postAiFormConvertCallbackRestore",
|
|
8320
|
+
path: "ai/form-convert/callback/restore",
|
|
8321
|
+
hasData: true
|
|
8322
|
+
},
|
|
8323
|
+
{
|
|
8324
|
+
mode: "post",
|
|
8325
|
+
method: "postAiFormConvertCallbackStatus",
|
|
8326
|
+
path: "ai/form-convert/callback/status",
|
|
8327
|
+
hasData: true
|
|
8328
|
+
},
|
|
8400
8329
|
{
|
|
8401
8330
|
mode: "post",
|
|
8402
8331
|
method: "postAppCreateBranch",
|
|
@@ -25994,7 +25923,7 @@ const _sfc_main$3i = /* @__PURE__ */ defineComponent({
|
|
|
25994
25923
|
};
|
|
25995
25924
|
}
|
|
25996
25925
|
});
|
|
25997
|
-
const GctSelect = /* @__PURE__ */ _export_sfc(_sfc_main$3i, [["__scopeId", "data-v-
|
|
25926
|
+
const GctSelect = /* @__PURE__ */ _export_sfc(_sfc_main$3i, [["__scopeId", "data-v-4756c59a"]]);
|
|
25998
25927
|
const _hoisted_1$24 = ["value", "placeholder", "disabled"];
|
|
25999
25928
|
const _hoisted_2$1h = {
|
|
26000
25929
|
key: 1,
|
|
@@ -83166,6 +83095,8 @@ async function loadDefaultValuesByFields(instances, ctx, context, masterSlaveLis
|
|
|
83166
83095
|
const promises = instances.map(async (instance2) => {
|
|
83167
83096
|
const { field, props } = instance2.widgetMeta;
|
|
83168
83097
|
if (!field || !props) return;
|
|
83098
|
+
const isSpecialMaterialConsumeObjField = !!field.belongingObject && [FIELD_TYPE.PRODUCT, FIELD_TYPE.MATERIAL_NO].includes(field.fieldType);
|
|
83099
|
+
if (isSpecialMaterialConsumeObjField) return;
|
|
83169
83100
|
mergeDefaultsIntoMap(
|
|
83170
83101
|
defaultDataMap,
|
|
83171
83102
|
await resolveFieldDefaults({ props, field, ctx, context, instances })
|
|
@@ -83188,7 +83119,7 @@ async function loadDefaultValuesByFields(instances, ctx, context, masterSlaveLis
|
|
|
83188
83119
|
return defaultDataMap;
|
|
83189
83120
|
}
|
|
83190
83121
|
const handleParameterMapping = async (parameterMapping, paramsConfig, fieldPermission, instances, ctx) => {
|
|
83191
|
-
if (
|
|
83122
|
+
if (isEmpty(parameterMapping) || isEmpty(paramsConfig)) {
|
|
83192
83123
|
return {};
|
|
83193
83124
|
}
|
|
83194
83125
|
const referenceMap = new Map(Object.entries(paramsConfig));
|
|
@@ -84348,16 +84279,17 @@ async function changeWarehouseInventoryParseRule(options) {
|
|
|
84348
84279
|
}
|
|
84349
84280
|
const F$1 = {
|
|
84350
84281
|
batch: "production_identification_id_",
|
|
84282
|
+
batchLb: "production_identification_id__lb_",
|
|
84351
84283
|
product: "product_id_",
|
|
84352
84284
|
productName: "product_id_name_",
|
|
84353
84285
|
productCode: "product_id_code_",
|
|
84354
84286
|
productSpec: "product_id_spec_",
|
|
84355
|
-
matno: "material_no_",
|
|
84356
84287
|
validity: "validity_",
|
|
84357
84288
|
stock: "stock_num_",
|
|
84358
84289
|
warehouse: "warehouse_id_",
|
|
84359
84290
|
location: "location_id_",
|
|
84360
84291
|
originWarehouseId: "origin_warehouse_id_",
|
|
84292
|
+
originWarehouseIdLb: "origin_warehouse_id__lb_",
|
|
84361
84293
|
originLocationId: "origin_location_id_",
|
|
84362
84294
|
originLocationIdLb: "origin_location_id__lb_",
|
|
84363
84295
|
rowSource: "row_source_"
|
|
@@ -84428,15 +84360,15 @@ const fields = [
|
|
|
84428
84360
|
clearOnLinkChange: []
|
|
84429
84361
|
}
|
|
84430
84362
|
},
|
|
84431
|
-
{
|
|
84432
|
-
|
|
84433
|
-
|
|
84434
|
-
|
|
84435
|
-
|
|
84436
|
-
|
|
84437
|
-
|
|
84438
|
-
|
|
84439
|
-
},
|
|
84363
|
+
// {
|
|
84364
|
+
// // 源仓库 与 源库位 级联
|
|
84365
|
+
// match: { fieldKey: F.originLocationId },
|
|
84366
|
+
// select: {
|
|
84367
|
+
// linkFieldKey: F.originWarehouseId,
|
|
84368
|
+
// requireLinkWidget: false,
|
|
84369
|
+
// buildLinkQuery: ({ linkValue }) => (linkValue ? { 'warehouse_id_.eq': linkValue } : {}),
|
|
84370
|
+
// },
|
|
84371
|
+
// },
|
|
84440
84372
|
{
|
|
84441
84373
|
// 仓库 与 库位 级联
|
|
84442
84374
|
match: { fieldKey: F$1.location },
|
|
@@ -84515,7 +84447,10 @@ function handleProductIdChange(doc, subFieldKey, rowIndex) {
|
|
|
84515
84447
|
F$1.productName,
|
|
84516
84448
|
F$1.productCode,
|
|
84517
84449
|
F$1.productSpec,
|
|
84518
|
-
F$1.
|
|
84450
|
+
F$1.batch,
|
|
84451
|
+
F$1.batchLb,
|
|
84452
|
+
F$1.originWarehouseId,
|
|
84453
|
+
F$1.originWarehouseIdLb,
|
|
84519
84454
|
F$1.originLocationId,
|
|
84520
84455
|
F$1.originLocationIdLb,
|
|
84521
84456
|
F$1.stock,
|
|
@@ -85281,12 +85216,12 @@ function parseCrossIndices(path) {
|
|
|
85281
85216
|
const m = path.match(/\[(\d+)\]\[(\d+)\](?:\.[^[]+)?$/);
|
|
85282
85217
|
return m ? { y: Number(m[1]), x: Number(m[2]) } : null;
|
|
85283
85218
|
}
|
|
85284
|
-
function rowMetaPathOf(crossValuePath, y2) {
|
|
85219
|
+
function rowMetaPathOf(crossValuePath, y2, isLinkNotSet) {
|
|
85285
85220
|
const parsed = parseValuePath(crossValuePath);
|
|
85286
|
-
const subKey = parsed.isLink ? parsed.parentFieldKey : crossValuePath.replace(/^\$\./, "").split(":")[0]?.replace(/\[[^\]]*\]/g, "") ?? "";
|
|
85221
|
+
const subKey = parsed.isLink || isLinkNotSet ? parsed.parentFieldKey : crossValuePath.replace(/^\$\./, "").split(":")[0]?.replace(/\[[^\]]*\]/g, "") ?? "";
|
|
85287
85222
|
return subKey ? `$.${subKey}[${y2}]` : "";
|
|
85288
85223
|
}
|
|
85289
|
-
function resolvePathsFromTemplate(templatePath, y2, x2, resolvePath) {
|
|
85224
|
+
function resolvePathsFromTemplate(templatePath, y2, x2, resolvePath, isLinkNotSet) {
|
|
85290
85225
|
const valuePath = resolvePath?.(templatePath) ?? templatePath;
|
|
85291
85226
|
const fromPath = parseCrossIndices(valuePath);
|
|
85292
85227
|
const rowY = fromPath?.y ?? y2;
|
|
@@ -85295,7 +85230,7 @@ function resolvePathsFromTemplate(templatePath, y2, x2, resolvePath) {
|
|
|
85295
85230
|
y: rowY,
|
|
85296
85231
|
x: rowX,
|
|
85297
85232
|
valuePath,
|
|
85298
|
-
rowMetaPath: rowMetaPathOf(valuePath, rowY)
|
|
85233
|
+
rowMetaPath: rowMetaPathOf(valuePath, rowY, isLinkNotSet)
|
|
85299
85234
|
};
|
|
85300
85235
|
}
|
|
85301
85236
|
function readRowMeta(doc, rowMetaPath) {
|
|
@@ -85335,7 +85270,7 @@ function isCheckTableCrossValueLayout(ctx) {
|
|
|
85335
85270
|
if (!sub || sub.cellZone !== "cross" || !isLinkSubTableType(sub.type)) return false;
|
|
85336
85271
|
return sub.type === "check-table";
|
|
85337
85272
|
}
|
|
85338
|
-
function prepareDynLayoutWr(ctx) {
|
|
85273
|
+
function prepareDynLayoutWr(ctx, isLinkNotSet) {
|
|
85339
85274
|
const wr = cloneDeep(ctx.wr);
|
|
85340
85275
|
const sub = ctx.context.cell?.subRenderer;
|
|
85341
85276
|
const templatePath = wr.valuePath ?? wr.widgetMeta?.field?.valuePath ?? "";
|
|
@@ -85343,7 +85278,8 @@ function prepareDynLayoutWr(ctx) {
|
|
|
85343
85278
|
templatePath,
|
|
85344
85279
|
sub?.yDataIndex ?? 0,
|
|
85345
85280
|
sub?.xDataIndex ?? 0,
|
|
85346
|
-
(p) => ctx.context.getValuePath(p)
|
|
85281
|
+
(p) => ctx.context.getValuePath(p),
|
|
85282
|
+
isLinkNotSet
|
|
85347
85283
|
);
|
|
85348
85284
|
const rowMeta = readRowMeta(ctx.context.doc, paths.rowMetaPath);
|
|
85349
85285
|
wr.widgetMeta = buildDynWidgetMeta(wr.widgetMeta, rowMeta);
|
|
@@ -95441,7 +95377,26 @@ function shouldShowFieldHyperlink(doc, widgetMeta, runtimePath) {
|
|
|
95441
95377
|
}
|
|
95442
95378
|
class FieldBaseHandler extends RunHandlerBase {
|
|
95443
95379
|
static hasValue(value) {
|
|
95444
|
-
return value !== void 0 && value !== null;
|
|
95380
|
+
return value !== void 0 && value !== null && value !== "";
|
|
95381
|
+
}
|
|
95382
|
+
/** 将展示文案拆成逐字 run;空串 split 会得到 [],需单独处理 */
|
|
95383
|
+
static toLayoutChars(label) {
|
|
95384
|
+
if (label === void 0 || label === null || label === "") {
|
|
95385
|
+
return [];
|
|
95386
|
+
}
|
|
95387
|
+
return String(label).split("");
|
|
95388
|
+
}
|
|
95389
|
+
/**
|
|
95390
|
+
* 展示内容为空时补一个带 widgetMeta/valuePath 的占位 run
|
|
95391
|
+
* 避免段落只剩默认 TextRun(isPlaceholder=true)导致 getWidgetInstances 收集不到
|
|
95392
|
+
*/
|
|
95393
|
+
static ensureFieldWidgetAnchor(ctx, layoutStyle, extra) {
|
|
95394
|
+
const metrics = TextRun.measureText(TextRun.measurePayload(" ", layoutStyle));
|
|
95395
|
+
this.addSpace({
|
|
95396
|
+
ctx,
|
|
95397
|
+
textMetrics: metrics,
|
|
95398
|
+
extra
|
|
95399
|
+
});
|
|
95445
95400
|
}
|
|
95446
95401
|
static getModelRefId(context, wr) {
|
|
95447
95402
|
return this.buildSplitModelRefId(context, wr.id);
|
|
@@ -95544,13 +95499,16 @@ class FieldBaseHandler extends RunHandlerBase {
|
|
|
95544
95499
|
}
|
|
95545
95500
|
const layoutStyle = this.resolveFieldTextLayoutStyle(ctx, wr, wr.valuePath);
|
|
95546
95501
|
const fontSize = layoutStyle.fontSize ?? DEFAULT_FONT_SIZE;
|
|
95547
|
-
const chars =
|
|
95502
|
+
const chars = this.toLayoutChars(label);
|
|
95548
95503
|
let doc = context.doc;
|
|
95549
95504
|
this.addFieldMarker({
|
|
95550
95505
|
ctx,
|
|
95551
95506
|
fontSize,
|
|
95552
95507
|
position: "left"
|
|
95553
95508
|
});
|
|
95509
|
+
if (chars.length === 0) {
|
|
95510
|
+
this.ensureFieldWidgetAnchor(ctx, layoutStyle);
|
|
95511
|
+
}
|
|
95554
95512
|
chars.forEach((char, charIndex) => {
|
|
95555
95513
|
const { width, height, ascent, descent } = TextRun.measureText(
|
|
95556
95514
|
TextRun.measurePayload(char, layoutStyle)
|
|
@@ -95592,13 +95550,16 @@ class FieldBaseHandler extends RunHandlerBase {
|
|
|
95592
95550
|
const textStyle = TextStyleResolver.resolve(wr.rPr, context.doc.model?.styles);
|
|
95593
95551
|
const layoutStyle = TextRun.textStyle2LayoutStyle(textStyle);
|
|
95594
95552
|
const measureStyle = { ...layoutStyle, fontSize: 16 };
|
|
95595
|
-
const { label
|
|
95596
|
-
const chars =
|
|
95553
|
+
const { label } = this.getNoValueLabel(ctx);
|
|
95554
|
+
const chars = this.toLayoutChars(label);
|
|
95597
95555
|
this.addFieldMarker({
|
|
95598
95556
|
ctx,
|
|
95599
95557
|
fontSize: 16,
|
|
95600
95558
|
position: "left"
|
|
95601
95559
|
});
|
|
95560
|
+
if (chars.length === 0) {
|
|
95561
|
+
this.ensureFieldWidgetAnchor(ctx, measureStyle, { isEmptyPlaceholder: true });
|
|
95562
|
+
}
|
|
95602
95563
|
chars.forEach((char, charIndex) => {
|
|
95603
95564
|
const { width, height, ascent, descent } = TextRun.measureText(
|
|
95604
95565
|
TextRun.measurePayload(char, measureStyle)
|
|
@@ -95813,7 +95774,7 @@ class AttachFieldHandler extends FieldBaseHandler {
|
|
|
95813
95774
|
const { context, wr } = ctx;
|
|
95814
95775
|
const parentRuntimeValuePath = context.getValuePath(wr.valuePath);
|
|
95815
95776
|
const gap = 2;
|
|
95816
|
-
const { height, ascent, descent } = TextRun.measureText(
|
|
95777
|
+
const { width, height, ascent, descent } = TextRun.measureText(
|
|
95817
95778
|
TextRun.measurePayload("0", { ...layoutStyle, fontSize: 16 })
|
|
95818
95779
|
);
|
|
95819
95780
|
this.addSpace({
|
|
@@ -95913,7 +95874,7 @@ class OptionHandler extends FieldBaseHandler {
|
|
|
95913
95874
|
AttachFieldHandler.layoutOptionAttachFields({ context, wr }, optionWithAttach, layoutStyle);
|
|
95914
95875
|
}
|
|
95915
95876
|
if (index2 === options.length - 1 && attachFields.length > 0) {
|
|
95916
|
-
const { height, ascent, descent } = TextRun.measureText(
|
|
95877
|
+
const { width, height, ascent, descent } = TextRun.measureText(
|
|
95917
95878
|
TextRun.measurePayload("0", { ...layoutStyle, fontSize: 16 })
|
|
95918
95879
|
);
|
|
95919
95880
|
this.addSpace({
|
|
@@ -96161,7 +96122,7 @@ class InputHandler extends FieldBaseHandler {
|
|
|
96161
96122
|
}
|
|
96162
96123
|
const layoutStyle = this.resolveFieldTextLayoutStyle(ctx, wr, wr.valuePath);
|
|
96163
96124
|
const fontSize = layoutStyle.fontSize ?? DEFAULT_FONT_SIZE;
|
|
96164
|
-
const chars =
|
|
96125
|
+
const chars = this.toLayoutChars(label);
|
|
96165
96126
|
let doc = context.doc;
|
|
96166
96127
|
this.addFieldMarker({
|
|
96167
96128
|
ctx,
|
|
@@ -96283,7 +96244,11 @@ class FieldHandler {
|
|
|
96283
96244
|
static layout(context, wr) {
|
|
96284
96245
|
const ctx = { context, wr };
|
|
96285
96246
|
if (isCheckTableCrossValueLayout(ctx)) {
|
|
96286
|
-
FieldHandler.
|
|
96247
|
+
FieldHandler.layoutCheckTableValue(ctx);
|
|
96248
|
+
return;
|
|
96249
|
+
}
|
|
96250
|
+
if (context.cell?.subRenderer?.type === "check-table" && wr.widgetMeta?.field?.fieldLink === "value_") {
|
|
96251
|
+
FieldHandler.layoutCheckTableValue(ctx, true);
|
|
96287
96252
|
return;
|
|
96288
96253
|
}
|
|
96289
96254
|
if (wr.widgetMeta?.props?.renderComp === "checkbox") {
|
|
@@ -96301,8 +96266,8 @@ class FieldHandler {
|
|
|
96301
96266
|
}
|
|
96302
96267
|
}
|
|
96303
96268
|
/** 检验表交叉区 value_:按同行检验项 type_ 渲染,值路径固定 value_ */
|
|
96304
|
-
static
|
|
96305
|
-
const layoutCtx = prepareDynLayoutWr(ctx);
|
|
96269
|
+
static layoutCheckTableValue(ctx, isLinkNotSet) {
|
|
96270
|
+
const layoutCtx = prepareDynLayoutWr(ctx, isLinkNotSet);
|
|
96306
96271
|
if (layoutCtx.context.doc.mode === DocModeTypeConst.Print) {
|
|
96307
96272
|
FieldBaseHandler.layoutValue(layoutCtx);
|
|
96308
96273
|
return;
|
|
@@ -108167,25 +108132,56 @@ async function prepareDocumentFieldContext(options) {
|
|
|
108167
108132
|
if (loadSubModels) {
|
|
108168
108133
|
await addSubModelsToFieldScope(mainModelKey, payload.ctx);
|
|
108169
108134
|
}
|
|
108135
|
+
const fieldList = payload.ctx.runtime.getFieldList(mainModelKey);
|
|
108170
108136
|
const masterSlaveList = payload.ctx.runtime.getMasterSlaveFieldList(mainModelKey);
|
|
108171
|
-
return { mainModelKey, masterSlaveList };
|
|
108172
|
-
}
|
|
108173
|
-
const initObjectTypeFieldDefaultValue = (
|
|
108137
|
+
return { mainModelKey, fieldList, masterSlaveList };
|
|
108138
|
+
}
|
|
108139
|
+
const initObjectTypeFieldDefaultValue = (rawData, instances, fieldList, runtimeJson) => {
|
|
108140
|
+
const usingObjectFieldMap = instances.map((i) => {
|
|
108141
|
+
const { belongingObject, fieldLink } = i.widgetMeta.field;
|
|
108142
|
+
return belongingObject ? { belongingObject, fieldLink } : null;
|
|
108143
|
+
}).reduce((map, cur) => {
|
|
108144
|
+
if (!cur) return map;
|
|
108145
|
+
const { belongingObject, fieldLink } = cur;
|
|
108146
|
+
if (!map[belongingObject]) {
|
|
108147
|
+
map[belongingObject] = [];
|
|
108148
|
+
}
|
|
108149
|
+
map[belongingObject].push(fieldLink);
|
|
108150
|
+
return map;
|
|
108151
|
+
}, {});
|
|
108152
|
+
const allObjectFieldMap = groupBy$1(fieldList.filter((f) => !!f.belongingObject), "belongingObject");
|
|
108153
|
+
Object.entries(allObjectFieldMap).forEach(([belongingObject, fields2]) => {
|
|
108154
|
+
const allFieldKeys = fields2.map((f) => f.key);
|
|
108155
|
+
const isNotUsed = allFieldKeys.every((fk) => !usingObjectFieldMap[belongingObject]?.includes(fk));
|
|
108156
|
+
if (isNotUsed) {
|
|
108157
|
+
delete rawData[belongingObject];
|
|
108158
|
+
}
|
|
108159
|
+
});
|
|
108174
108160
|
const res = JSON.parse(runtimeJson);
|
|
108175
108161
|
const { objectInitialValues } = res?.document?.config?.dataInit || {};
|
|
108176
108162
|
if (!objectInitialValues?.length) return;
|
|
108177
|
-
objectInitialValues.forEach(({ values }) => {
|
|
108178
|
-
if (!values) return;
|
|
108163
|
+
objectInitialValues.forEach(({ objectField, values }) => {
|
|
108164
|
+
if (!objectField || !values) return;
|
|
108179
108165
|
for (const [key, value] of Object.entries(values)) {
|
|
108180
108166
|
if (value === void 0 || value === null) continue;
|
|
108181
108167
|
const existing = rawData[key];
|
|
108182
108168
|
if (existing !== void 0 && existing !== null) continue;
|
|
108183
108169
|
rawData[key] = value;
|
|
108184
108170
|
}
|
|
108171
|
+
rawData[objectField] = null;
|
|
108185
108172
|
});
|
|
108186
108173
|
};
|
|
108187
108174
|
async function prepareDocumentRenderData(options) {
|
|
108188
|
-
const {
|
|
108175
|
+
const {
|
|
108176
|
+
requestInfo,
|
|
108177
|
+
payload,
|
|
108178
|
+
materialNo,
|
|
108179
|
+
query,
|
|
108180
|
+
instances,
|
|
108181
|
+
subTableInfoList,
|
|
108182
|
+
fieldList,
|
|
108183
|
+
masterSlaveList
|
|
108184
|
+
} = options;
|
|
108189
108185
|
const interfaceData = await fetchRenderData({
|
|
108190
108186
|
info: requestInfo,
|
|
108191
108187
|
fetchConfig: { _gct_materialNo_: materialNo },
|
|
@@ -108198,7 +108194,7 @@ async function prepareDocumentRenderData(options) {
|
|
|
108198
108194
|
interfaceData,
|
|
108199
108195
|
subTableInfoList
|
|
108200
108196
|
});
|
|
108201
|
-
initObjectTypeFieldDefaultValue(requestInfo.runtimeJson
|
|
108197
|
+
initObjectTypeFieldDefaultValue(rawData, instances, fieldList, requestInfo.runtimeJson);
|
|
108202
108198
|
return rawData;
|
|
108203
108199
|
}
|
|
108204
108200
|
async function loadDocumentInitMappings(options) {
|
|
@@ -108232,7 +108228,7 @@ async function initializeDocumentEngine(props, payload, result) {
|
|
|
108232
108228
|
configurePipelineLoggingForDev();
|
|
108233
108229
|
const { id, requestInfo, fillModeType, paramsConfig, tmplBomC } = result;
|
|
108234
108230
|
const materialNo = paramsConfig?.materialNo || requestInfo.materialNo;
|
|
108235
|
-
const { mainModelKey, masterSlaveList } = await prepareDocumentFieldContext({
|
|
108231
|
+
const { mainModelKey, fieldList, masterSlaveList } = await prepareDocumentFieldContext({
|
|
108236
108232
|
requestInfo,
|
|
108237
108233
|
payload,
|
|
108238
108234
|
loadSubModels: true
|
|
@@ -108296,6 +108292,7 @@ async function initializeDocumentEngine(props, payload, result) {
|
|
|
108296
108292
|
query: result.query,
|
|
108297
108293
|
instances,
|
|
108298
108294
|
subTableInfoList: docModel.getSubTableInfoList() ?? [],
|
|
108295
|
+
fieldList,
|
|
108299
108296
|
masterSlaveList
|
|
108300
108297
|
});
|
|
108301
108298
|
const docRuntimeMeta = {
|
|
@@ -108464,7 +108461,7 @@ function useDocumentFactory(props, payload) {
|
|
|
108464
108461
|
bpmnFieldAuthMap
|
|
108465
108462
|
} = freshExecute;
|
|
108466
108463
|
const materialNo = paramsConfig?.materialNo || props.materialNo;
|
|
108467
|
-
const { masterSlaveList } = await prepareDocumentFieldContext({
|
|
108464
|
+
const { fieldList, masterSlaveList } = await prepareDocumentFieldContext({
|
|
108468
108465
|
requestInfo,
|
|
108469
108466
|
payload,
|
|
108470
108467
|
loadSubModels: false
|
|
@@ -108492,6 +108489,7 @@ function useDocumentFactory(props, payload) {
|
|
|
108492
108489
|
query,
|
|
108493
108490
|
instances: doc.model?.getWidgetInstances() ?? [],
|
|
108494
108491
|
subTableInfoList: doc.model?.getSubTableInfoList() ?? [],
|
|
108492
|
+
fieldList,
|
|
108495
108493
|
masterSlaveList
|
|
108496
108494
|
});
|
|
108497
108495
|
doc.dataManager.setRawData(rawData);
|
|
@@ -114960,7 +114958,7 @@ function buildWidgetFieldMetaMap(instances) {
|
|
|
114960
114958
|
metaKey: runtimeValuePath,
|
|
114961
114959
|
cellType: fieldMeta.fieldType,
|
|
114962
114960
|
modelId: instance2.modelRef.id,
|
|
114963
|
-
points: instance2?.widgetMeta?.extra?.biz?.[instance2.
|
|
114961
|
+
points: instance2?.widgetMeta?.extra?.biz?.[instance2.valuePath] || {}
|
|
114964
114962
|
};
|
|
114965
114963
|
map.set(runtimeValuePath, value);
|
|
114966
114964
|
}
|
|
@@ -115022,7 +115020,8 @@ function validateDocDesigner(doc) {
|
|
|
115022
115020
|
}
|
|
115023
115021
|
const errors = [];
|
|
115024
115022
|
const children = doc.model.document.body.children || [];
|
|
115025
|
-
const
|
|
115023
|
+
const tables = children.filter((w2) => w2.name === "w:tbl");
|
|
115024
|
+
const fixedTableRegions = tables.flatMap((w2) => w2.bounded);
|
|
115026
115025
|
if (fixedTableRegions.some((r) => !r.itemRegion)) {
|
|
115027
115026
|
errors.push({
|
|
115028
115027
|
code: "item-region-required",
|
|
@@ -115030,7 +115029,20 @@ function validateDocDesigner(doc) {
|
|
|
115030
115029
|
source: "doc"
|
|
115031
115030
|
});
|
|
115032
115031
|
}
|
|
115033
|
-
const
|
|
115032
|
+
const checkTableRegions = tables.flatMap((w2) => w2.checkTable);
|
|
115033
|
+
checkTableRegions.forEach(((r) => {
|
|
115034
|
+
if (!r.itemRegion) return;
|
|
115035
|
+
const { linkFieldKey } = parseValuePath(r.valuePath);
|
|
115036
|
+
const { start: { row: startRow, col: startCol }, end: { row: endRow, col: endCol } } = r.itemRegion;
|
|
115037
|
+
const linkFieldList = r.table.children.slice(startRow, endRow + 1).flatMap((row) => row.children.slice(startCol, endCol + 1)).flatMap((cell) => cell?.children ?? []).flatMap((child) => child?.children ?? []).filter((f) => f?.widgetMeta?.field?.subFieldKey);
|
|
115038
|
+
if (!linkFieldList.some((f) => f.widgetMeta.field.subFieldKey === linkFieldKey)) {
|
|
115039
|
+
errors.push({
|
|
115040
|
+
code: "link-field-required",
|
|
115041
|
+
message: "请拖入动态关联字段",
|
|
115042
|
+
source: "doc"
|
|
115043
|
+
});
|
|
115044
|
+
}
|
|
115045
|
+
}));
|
|
115034
115046
|
for (const { hasTable, getRegions, message } of BARCODE_PARSING_RULE_TABLES) {
|
|
115035
115047
|
const regions = tables.filter(hasTable).flatMap(getRegions);
|
|
115036
115048
|
if (regions.some((r) => !r.widgetMeta.props.barcode_parsing_rules_id_)) {
|
|
@@ -117606,6 +117618,7 @@ function createDesignFieldToWidgetFactory(getFieldManifestForField) {
|
|
|
117606
117618
|
isLinkedModelField: false,
|
|
117607
117619
|
fieldLink: field.key,
|
|
117608
117620
|
modelLink: field.modelKey,
|
|
117621
|
+
belongingObject: field.belongingObject,
|
|
117609
117622
|
valuePath,
|
|
117610
117623
|
...opts.parentFieldKey ? { subFieldKey: opts.parentFieldKey } : void 0
|
|
117611
117624
|
},
|
|
@@ -117831,9 +117844,7 @@ const _sfc_main$2n = /* @__PURE__ */ defineComponent({
|
|
|
117831
117844
|
const paletteField = toPaletteField(field);
|
|
117832
117845
|
if (!paletteField) return [];
|
|
117833
117846
|
if (paletteField?.isCascade) {
|
|
117834
|
-
paletteField.children = fields2.value.filter((f) =>
|
|
117835
|
-
return f.belongingObject === paletteField.field.key && f.createType === "USER_DEFINED";
|
|
117836
|
-
}).map(toPaletteField).filter(Boolean);
|
|
117847
|
+
paletteField.children = fields2.value.filter((f) => f.belongingObject === paletteField.field.key).map(toPaletteField).filter(Boolean);
|
|
117837
117848
|
}
|
|
117838
117849
|
return [paletteField];
|
|
117839
117850
|
});
|
|
@@ -117885,7 +117896,7 @@ const _sfc_main$2n = /* @__PURE__ */ defineComponent({
|
|
|
117885
117896
|
};
|
|
117886
117897
|
}
|
|
117887
117898
|
});
|
|
117888
|
-
const ToolkitContentFields = /* @__PURE__ */ _export_sfc(_sfc_main$2n, [["__scopeId", "data-v-
|
|
117899
|
+
const ToolkitContentFields = /* @__PURE__ */ _export_sfc(_sfc_main$2n, [["__scopeId", "data-v-a7322f3e"]]);
|
|
117889
117900
|
const _hoisted_1$1B = { class: "toolkit-content-widgets" };
|
|
117890
117901
|
const _hoisted_2$Z = { key: 0 };
|
|
117891
117902
|
const _hoisted_3$I = ["data-type", "draggable", "onDragstart"];
|
|
@@ -22,6 +22,7 @@ export interface PrepareFieldContextOptions {
|
|
|
22
22
|
}
|
|
23
23
|
export interface DocumentFieldContext {
|
|
24
24
|
mainModelKey: string;
|
|
25
|
+
fieldList: FieldMeta[];
|
|
25
26
|
masterSlaveList: FieldMeta[];
|
|
26
27
|
}
|
|
27
28
|
export declare function prepareDocumentFieldContext(options: PrepareFieldContextOptions): Promise<DocumentFieldContext>;
|
|
@@ -32,6 +33,7 @@ export interface PrepareRenderDataOptions {
|
|
|
32
33
|
query: Record<string, any>;
|
|
33
34
|
instances: any[];
|
|
34
35
|
subTableInfoList: any[];
|
|
36
|
+
fieldList: FieldMeta[];
|
|
35
37
|
masterSlaveList: FieldMeta[];
|
|
36
38
|
}
|
|
37
39
|
export declare function prepareDocumentRenderData(options: PrepareRenderDataOptions): Promise<any>;
|
|
@@ -16,5 +16,5 @@ export declare function isCheckTableCrossValuePath(path: string): boolean;
|
|
|
16
16
|
export declare function readCheckTableRowMetaByValuePath(doc: Doc, valuePath: string): Record<string, unknown>;
|
|
17
17
|
export declare function isCheckTableCrossValueLayout(ctx: HandlerContext): boolean;
|
|
18
18
|
/** layout:克隆 wr 并写入动态 widgetMeta,valuePath 保持 value_ */
|
|
19
|
-
export declare function prepareDynLayoutWr(ctx: HandlerContext): HandlerContext;
|
|
19
|
+
export declare function prepareDynLayoutWr(ctx: HandlerContext, isLinkNotSet?: boolean): HandlerContext;
|
|
20
20
|
export {};
|
package/dist/word.css
CHANGED
|
@@ -7283,7 +7283,7 @@ textarea[data-v-e709484b]::placeholder {
|
|
|
7283
7283
|
* 字段交互态配色。
|
|
7284
7284
|
* TS 侧见 field-state.ts,修改时请同步两处。
|
|
7285
7285
|
*/
|
|
7286
|
-
.gct-basic-popper-wrap[data-v-
|
|
7286
|
+
.gct-basic-popper-wrap[data-v-4756c59a] {
|
|
7287
7287
|
position: relative;
|
|
7288
7288
|
height: 100%;
|
|
7289
7289
|
width: 100%;
|
|
@@ -7291,21 +7291,21 @@ textarea[data-v-e709484b]::placeholder {
|
|
|
7291
7291
|
min-width: 136px;
|
|
7292
7292
|
width: var(--dropdown-popper-width, 136px);
|
|
7293
7293
|
}
|
|
7294
|
-
.gct-basic-popper-wrap .popper-scrollbar[data-v-
|
|
7294
|
+
.gct-basic-popper-wrap .popper-scrollbar[data-v-4756c59a] {
|
|
7295
7295
|
position: relative;
|
|
7296
7296
|
padding: 4px;
|
|
7297
7297
|
}
|
|
7298
|
-
.gct-basic-popper-wrap .popper-scrollbar .popper-container[data-v-
|
|
7298
|
+
.gct-basic-popper-wrap .popper-scrollbar .popper-container[data-v-4756c59a] {
|
|
7299
7299
|
position: relative;
|
|
7300
7300
|
width: 100%;
|
|
7301
7301
|
max-height: 300px;
|
|
7302
7302
|
}
|
|
7303
|
-
.gct-basic-popper-wrap .popper-scrollbar .select-group .group-name[data-v-
|
|
7303
|
+
.gct-basic-popper-wrap .popper-scrollbar .select-group .group-name[data-v-4756c59a] {
|
|
7304
7304
|
padding: 8px 8px 4px 8px;
|
|
7305
7305
|
font-size: 12px;
|
|
7306
7306
|
color: #999;
|
|
7307
7307
|
}
|
|
7308
|
-
.gct-basic-popper-wrap .popper-scrollbar .option-item[data-v-
|
|
7308
|
+
.gct-basic-popper-wrap .popper-scrollbar .option-item[data-v-4756c59a] {
|
|
7309
7309
|
position: relative;
|
|
7310
7310
|
display: flex;
|
|
7311
7311
|
align-items: center;
|
|
@@ -7317,31 +7317,31 @@ textarea[data-v-e709484b]::placeholder {
|
|
|
7317
7317
|
padding: 5px 8px;
|
|
7318
7318
|
transition: all 0.3s ease;
|
|
7319
7319
|
}
|
|
7320
|
-
.gct-basic-popper-wrap .popper-scrollbar .option-item[data-v-
|
|
7320
|
+
.gct-basic-popper-wrap .popper-scrollbar .option-item[data-v-4756c59a]:not(.selected, .disabled):hover {
|
|
7321
7321
|
background: rgba(13, 13, 13, 0.06);
|
|
7322
7322
|
}
|
|
7323
|
-
.gct-basic-popper-wrap .popper-scrollbar .option-item:not(.selected, .disabled):hover .edit-icon[data-v-
|
|
7323
|
+
.gct-basic-popper-wrap .popper-scrollbar .option-item:not(.selected, .disabled):hover .edit-icon[data-v-4756c59a] {
|
|
7324
7324
|
display: inline-flex;
|
|
7325
7325
|
}
|
|
7326
|
-
.gct-basic-popper-wrap .popper-scrollbar .option-item + .option-item[data-v-
|
|
7326
|
+
.gct-basic-popper-wrap .popper-scrollbar .option-item + .option-item[data-v-4756c59a] {
|
|
7327
7327
|
margin-top: 4px;
|
|
7328
7328
|
}
|
|
7329
|
-
.gct-basic-popper-wrap .popper-scrollbar .option-item.disabled[data-v-
|
|
7329
|
+
.gct-basic-popper-wrap .popper-scrollbar .option-item.disabled[data-v-4756c59a] {
|
|
7330
7330
|
opacity: 0.3;
|
|
7331
7331
|
pointer-events: none;
|
|
7332
7332
|
user-select: none;
|
|
7333
7333
|
}
|
|
7334
|
-
.gct-basic-popper-wrap .popper-scrollbar .option-item.selected[data-v-
|
|
7334
|
+
.gct-basic-popper-wrap .popper-scrollbar .option-item.selected[data-v-4756c59a] {
|
|
7335
7335
|
background: #e3eafc;
|
|
7336
7336
|
}
|
|
7337
|
-
.gct-basic-popper-wrap .popper-scrollbar .option-item .o-icon[data-v-
|
|
7337
|
+
.gct-basic-popper-wrap .popper-scrollbar .option-item .o-icon[data-v-4756c59a] {
|
|
7338
7338
|
display: inline-flex;
|
|
7339
7339
|
width: 16px;
|
|
7340
7340
|
height: 16px;
|
|
7341
7341
|
margin-right: 8px;
|
|
7342
7342
|
flex-shrink: 0;
|
|
7343
7343
|
}
|
|
7344
|
-
.gct-basic-popper-wrap .popper-scrollbar .option-item .v-popper.option-label-tooltip[data-v-
|
|
7344
|
+
.gct-basic-popper-wrap .popper-scrollbar .option-item .v-popper.option-label-tooltip[data-v-4756c59a] {
|
|
7345
7345
|
display: inline-flex;
|
|
7346
7346
|
color: #212528;
|
|
7347
7347
|
flex: 1;
|
|
@@ -7350,7 +7350,7 @@ textarea[data-v-e709484b]::placeholder {
|
|
|
7350
7350
|
white-space: nowrap;
|
|
7351
7351
|
pointer-events: all;
|
|
7352
7352
|
}
|
|
7353
|
-
.gct-basic-popper-wrap .popper-scrollbar .option-item .option-label[data-v-
|
|
7353
|
+
.gct-basic-popper-wrap .popper-scrollbar .option-item .option-label[data-v-4756c59a] {
|
|
7354
7354
|
display: inline-block;
|
|
7355
7355
|
width: 100%;
|
|
7356
7356
|
line-height: 24px;
|
|
@@ -7360,7 +7360,7 @@ textarea[data-v-e709484b]::placeholder {
|
|
|
7360
7360
|
word-wrap: normal;
|
|
7361
7361
|
cursor: default;
|
|
7362
7362
|
}
|
|
7363
|
-
.gct-basic-popper-wrap .popper-scrollbar .empty[data-v-
|
|
7363
|
+
.gct-basic-popper-wrap .popper-scrollbar .empty[data-v-4756c59a] {
|
|
7364
7364
|
width: 100%;
|
|
7365
7365
|
height: 90px;
|
|
7366
7366
|
display: flex;
|
|
@@ -7369,13 +7369,13 @@ textarea[data-v-e709484b]::placeholder {
|
|
|
7369
7369
|
color: #c3c3c3;
|
|
7370
7370
|
font-size: 13px;
|
|
7371
7371
|
}
|
|
7372
|
-
.gct-basic-select[data-v-
|
|
7372
|
+
.gct-basic-select[data-v-4756c59a] {
|
|
7373
7373
|
display: inline-block;
|
|
7374
7374
|
vertical-align: middle;
|
|
7375
7375
|
line-height: 1;
|
|
7376
7376
|
width: 100%;
|
|
7377
7377
|
}
|
|
7378
|
-
.gct-basic-select .gct-basic-select-container[data-v-
|
|
7378
|
+
.gct-basic-select .gct-basic-select-container[data-v-4756c59a] {
|
|
7379
7379
|
position: relative;
|
|
7380
7380
|
display: flex;
|
|
7381
7381
|
align-items: center;
|
|
@@ -7391,56 +7391,56 @@ textarea[data-v-e709484b]::placeholder {
|
|
|
7391
7391
|
border: 1px solid #d9d9d9;
|
|
7392
7392
|
transition: all 0.3s ease;
|
|
7393
7393
|
}
|
|
7394
|
-
.gct-basic-select .gct-basic-select-container[data-v-
|
|
7394
|
+
.gct-basic-select .gct-basic-select-container[data-v-4756c59a]:not(.multiple) {
|
|
7395
7395
|
white-space: nowrap;
|
|
7396
7396
|
}
|
|
7397
|
-
.gct-basic-select .gct-basic-select-container.multiple[data-v-
|
|
7397
|
+
.gct-basic-select .gct-basic-select-container.multiple[data-v-4756c59a] {
|
|
7398
7398
|
flex-wrap: wrap;
|
|
7399
7399
|
align-content: flex-start;
|
|
7400
7400
|
padding-top: 3px;
|
|
7401
7401
|
padding-bottom: 3px;
|
|
7402
7402
|
gap: 3px;
|
|
7403
7403
|
}
|
|
7404
|
-
.gct-basic-select .gct-basic-select-container.disabled[data-v-
|
|
7404
|
+
.gct-basic-select .gct-basic-select-container.disabled[data-v-4756c59a] {
|
|
7405
7405
|
cursor: not-allowed;
|
|
7406
7406
|
background: #f5f5f5;
|
|
7407
7407
|
border-color: #d9d9d9;
|
|
7408
7408
|
color: rgba(0, 0, 0, 0.25);
|
|
7409
7409
|
}
|
|
7410
|
-
.gct-basic-select .gct-basic-select-container.disabled[data-v-
|
|
7410
|
+
.gct-basic-select .gct-basic-select-container.disabled[data-v-4756c59a]:hover {
|
|
7411
7411
|
border-color: #d9d9d9;
|
|
7412
7412
|
}
|
|
7413
|
-
.gct-basic-select .gct-basic-select-container.disabled .select-selection-item[data-v-
|
|
7414
|
-
.gct-basic-select .gct-basic-select-container.disabled .placeholder[data-v-
|
|
7415
|
-
.gct-basic-select .gct-basic-select-container.disabled .selection-tag-content[data-v-
|
|
7413
|
+
.gct-basic-select .gct-basic-select-container.disabled .select-selection-item[data-v-4756c59a],
|
|
7414
|
+
.gct-basic-select .gct-basic-select-container.disabled .placeholder[data-v-4756c59a],
|
|
7415
|
+
.gct-basic-select .gct-basic-select-container.disabled .selection-tag-content[data-v-4756c59a] {
|
|
7416
7416
|
color: rgba(0, 0, 0, 0.25);
|
|
7417
7417
|
}
|
|
7418
|
-
.gct-basic-select .gct-basic-select-container.disabled .change-icon[data-v-
|
|
7419
|
-
.gct-basic-select .gct-basic-select-container.disabled .close-all-icon[data-v-
|
|
7420
|
-
.gct-basic-select .gct-basic-select-container.disabled .selection-tag-remove[data-v-
|
|
7418
|
+
.gct-basic-select .gct-basic-select-container.disabled .change-icon[data-v-4756c59a],
|
|
7419
|
+
.gct-basic-select .gct-basic-select-container.disabled .close-all-icon[data-v-4756c59a],
|
|
7420
|
+
.gct-basic-select .gct-basic-select-container.disabled .selection-tag-remove[data-v-4756c59a] {
|
|
7421
7421
|
cursor: not-allowed;
|
|
7422
7422
|
opacity: 0.5;
|
|
7423
7423
|
}
|
|
7424
|
-
.gct-basic-select .gct-basic-select-container.readonly[data-v-
|
|
7424
|
+
.gct-basic-select .gct-basic-select-container.readonly[data-v-4756c59a] {
|
|
7425
7425
|
cursor: default;
|
|
7426
7426
|
background: #f5f6f8;
|
|
7427
7427
|
border-color: #d9d9d9;
|
|
7428
7428
|
}
|
|
7429
|
-
.gct-basic-select .gct-basic-select-container.readonly[data-v-
|
|
7429
|
+
.gct-basic-select .gct-basic-select-container.readonly[data-v-4756c59a]:hover {
|
|
7430
7430
|
border-color: #d9d9d9;
|
|
7431
7431
|
}
|
|
7432
|
-
.gct-basic-select .gct-basic-select-container.readonly .select-selection-item[data-v-
|
|
7433
|
-
.gct-basic-select .gct-basic-select-container.readonly .placeholder[data-v-
|
|
7434
|
-
.gct-basic-select .gct-basic-select-container.readonly .selection-tag-content[data-v-
|
|
7432
|
+
.gct-basic-select .gct-basic-select-container.readonly .select-selection-item[data-v-4756c59a],
|
|
7433
|
+
.gct-basic-select .gct-basic-select-container.readonly .placeholder[data-v-4756c59a],
|
|
7434
|
+
.gct-basic-select .gct-basic-select-container.readonly .selection-tag-content[data-v-4756c59a] {
|
|
7435
7435
|
color: rgba(0, 0, 0, 0.65);
|
|
7436
7436
|
}
|
|
7437
|
-
.gct-basic-select .gct-basic-select-container.readonly .change-icon[data-v-
|
|
7438
|
-
.gct-basic-select .gct-basic-select-container.readonly .close-all-icon[data-v-
|
|
7439
|
-
.gct-basic-select .gct-basic-select-container.readonly .selection-tag-remove[data-v-
|
|
7437
|
+
.gct-basic-select .gct-basic-select-container.readonly .change-icon[data-v-4756c59a],
|
|
7438
|
+
.gct-basic-select .gct-basic-select-container.readonly .close-all-icon[data-v-4756c59a],
|
|
7439
|
+
.gct-basic-select .gct-basic-select-container.readonly .selection-tag-remove[data-v-4756c59a] {
|
|
7440
7440
|
cursor: default;
|
|
7441
7441
|
opacity: 0.5;
|
|
7442
7442
|
}
|
|
7443
|
-
.gct-basic-select .gct-basic-select-container .select-selection-item[data-v-
|
|
7443
|
+
.gct-basic-select .gct-basic-select-container .select-selection-item[data-v-4756c59a] {
|
|
7444
7444
|
font-size: 13px;
|
|
7445
7445
|
max-width: 100%;
|
|
7446
7446
|
line-height: 22px;
|
|
@@ -7450,7 +7450,7 @@ textarea[data-v-e709484b]::placeholder {
|
|
|
7450
7450
|
word-wrap: normal;
|
|
7451
7451
|
color: #0d0d0d;
|
|
7452
7452
|
}
|
|
7453
|
-
.gct-basic-select .gct-basic-select-container .select-selection-tag[data-v-
|
|
7453
|
+
.gct-basic-select .gct-basic-select-container .select-selection-tag[data-v-4756c59a] {
|
|
7454
7454
|
position: relative;
|
|
7455
7455
|
display: flex;
|
|
7456
7456
|
flex: none;
|
|
@@ -7469,13 +7469,13 @@ textarea[data-v-e709484b]::placeholder {
|
|
|
7469
7469
|
padding-inline-start: 4px;
|
|
7470
7470
|
padding-inline-end: 4px;
|
|
7471
7471
|
}
|
|
7472
|
-
.gct-basic-select .gct-basic-select-container .select-selection-tag .selection-tag-content[data-v-
|
|
7472
|
+
.gct-basic-select .gct-basic-select-container .select-selection-tag .selection-tag-content[data-v-4756c59a] {
|
|
7473
7473
|
display: inline-block;
|
|
7474
7474
|
overflow: hidden;
|
|
7475
7475
|
white-space: pre;
|
|
7476
7476
|
text-overflow: ellipsis;
|
|
7477
7477
|
}
|
|
7478
|
-
.gct-basic-select .gct-basic-select-container .select-selection-tag .selection-tag-remove[data-v-
|
|
7478
|
+
.gct-basic-select .gct-basic-select-container .select-selection-tag .selection-tag-remove[data-v-4756c59a] {
|
|
7479
7479
|
display: inline-block;
|
|
7480
7480
|
align-items: center;
|
|
7481
7481
|
font-style: normal;
|
|
@@ -7490,33 +7490,33 @@ textarea[data-v-e709484b]::placeholder {
|
|
|
7490
7490
|
margin-inline-start: 4px;
|
|
7491
7491
|
margin-top: -1px;
|
|
7492
7492
|
}
|
|
7493
|
-
.gct-basic-select .gct-basic-select-container .placeholder[data-v-
|
|
7494
|
-
font-size:
|
|
7493
|
+
.gct-basic-select .gct-basic-select-container .placeholder[data-v-4756c59a] {
|
|
7494
|
+
font-size: 14px;
|
|
7495
7495
|
max-width: 100%;
|
|
7496
|
-
line-height:
|
|
7496
|
+
line-height: 1.5715;
|
|
7497
7497
|
overflow: hidden;
|
|
7498
7498
|
text-overflow: ellipsis;
|
|
7499
7499
|
white-space: nowrap;
|
|
7500
7500
|
word-wrap: normal;
|
|
7501
|
-
color: rgba(0, 0, 0, 0.
|
|
7501
|
+
color: rgba(0, 0, 0, 0.25);
|
|
7502
7502
|
}
|
|
7503
|
-
.gct-basic-select .gct-basic-select-container .change-icon[data-v-
|
|
7503
|
+
.gct-basic-select .gct-basic-select-container .change-icon[data-v-4756c59a] {
|
|
7504
7504
|
position: absolute;
|
|
7505
7505
|
right: 4px;
|
|
7506
7506
|
transition: all 0.3s ease;
|
|
7507
7507
|
}
|
|
7508
|
-
.gct-basic-select .gct-basic-select-container .close-all-icon[data-v-
|
|
7508
|
+
.gct-basic-select .gct-basic-select-container .close-all-icon[data-v-4756c59a] {
|
|
7509
7509
|
position: absolute;
|
|
7510
7510
|
right: 4px;
|
|
7511
7511
|
transition: all 0.3s ease;
|
|
7512
7512
|
}
|
|
7513
|
-
.gct-basic-select .gct-basic-select-container .close-all-icon[data-v-
|
|
7513
|
+
.gct-basic-select .gct-basic-select-container .close-all-icon[data-v-4756c59a]:hover {
|
|
7514
7514
|
color: rgba(0, 0, 0, 0.45) !important;
|
|
7515
7515
|
}
|
|
7516
|
-
.gct-basic-select .gct-basic-select-container[data-v-
|
|
7516
|
+
.gct-basic-select .gct-basic-select-container[data-v-4756c59a]:hover {
|
|
7517
7517
|
border-color: #026ac8;
|
|
7518
7518
|
}
|
|
7519
|
-
.gct-basic-select .gct-basic-select-container.active .change-icon[data-v-
|
|
7519
|
+
.gct-basic-select .gct-basic-select-container.active .change-icon[data-v-4756c59a] {
|
|
7520
7520
|
transform: rotate(-180deg);
|
|
7521
7521
|
}
|
|
7522
7522
|
/**
|
|
@@ -9407,12 +9407,12 @@ textarea[data-v-e709484b]::placeholder {
|
|
|
9407
9407
|
color: #c3c3c3;
|
|
9408
9408
|
font-size: 12px;
|
|
9409
9409
|
}
|
|
9410
|
-
.field-palette-container[data-v-
|
|
9410
|
+
.field-palette-container[data-v-a7322f3e] {
|
|
9411
9411
|
display: flex;
|
|
9412
9412
|
align-items: start;
|
|
9413
9413
|
flex-direction: row-reverse;
|
|
9414
9414
|
}
|
|
9415
|
-
.field-palette-container .field-pallette[data-v-
|
|
9415
|
+
.field-palette-container .field-pallette[data-v-a7322f3e]:not(:nth-child(1)) {
|
|
9416
9416
|
border-right: 1px solid #eaeaea;
|
|
9417
9417
|
}
|
|
9418
9418
|
.toolkit-content-widgets[data-v-393cb2aa] {
|