cnhis-design-vue 3.1.54-beta.20 → 3.1.54-beta.21

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.
Files changed (43) hide show
  1. package/es/components/classification/index.d.ts +498 -1
  2. package/es/components/classification/src/components/search-filter/index.vue.d.ts +485 -1
  3. package/es/components/classification/src/components/search-filter/index.vue2.js +1 -1
  4. package/es/components/classification/src/components/set-classification/index.vue.d.ts +485 -1
  5. package/es/components/classification/src/index.vue.d.ts +500 -1
  6. package/es/components/classification/src/index.vue2.js +1 -1
  7. package/es/components/classification/style/index.css +1 -1
  8. package/es/components/form-config/index.d.ts +45 -45
  9. package/es/components/form-config/src/FormConfig.vue.d.ts +45 -45
  10. package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +15 -15
  11. package/es/components/form-config/src/components/FormConfigEventSetting.vue.d.ts +5 -5
  12. package/es/components/index.css +1 -1
  13. package/es/components/quick-search/style/index.css +1 -1
  14. package/es/components/shortcut-setter/index.d.ts +5 -5
  15. package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +5 -5
  16. package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.d.ts +332 -0
  17. package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue.js +1 -0
  18. package/es/components/table-filter/src/components/bi-filter/ValueCfg.vue2.js +1 -0
  19. package/es/components/table-filter/src/components/bi-filter/components/Date.vue.d.ts +127 -0
  20. package/es/components/table-filter/src/components/bi-filter/components/Date.vue.js +1 -0
  21. package/es/components/table-filter/src/components/bi-filter/components/Date.vue2.js +1 -0
  22. package/es/components/table-filter/src/components/bi-filter/components/InputFilter.vue.d.ts +41 -0
  23. package/es/components/table-filter/src/components/bi-filter/components/InputFilter.vue.js +1 -0
  24. package/es/components/table-filter/src/components/bi-filter/components/InputFilter.vue2.js +1 -0
  25. package/es/components/table-filter/src/components/bi-filter/components/InputNumber.vue.d.ts +28 -0
  26. package/es/components/table-filter/src/components/bi-filter/components/InputNumber.vue.js +1 -0
  27. package/es/components/table-filter/src/components/bi-filter/components/InputNumber.vue2.js +1 -0
  28. package/es/components/table-filter/src/components/bi-filter/components/SelectFilter.vue.d.ts +51 -0
  29. package/es/components/table-filter/src/components/bi-filter/components/SelectFilter.vue.js +1 -0
  30. package/es/components/table-filter/src/components/bi-filter/components/SelectFilter.vue2.js +1 -0
  31. package/es/components/table-filter/src/components/bi-filter/components/index.d.ts +244 -0
  32. package/es/components/table-filter/src/components/bi-filter/components/index.js +1 -0
  33. package/es/components/table-filter/src/components/bi-filter/helpers/options.d.ts +14 -0
  34. package/es/components/table-filter/src/components/bi-filter/helpers/options.js +1 -0
  35. package/es/components/table-filter/src/components/bi-filter/hooks/useBiConditions.d.ts +13 -0
  36. package/es/components/table-filter/src/components/bi-filter/hooks/useBiConditions.js +1 -0
  37. package/es/components/table-filter/src/components/bi-filter/index.vue.d.ts +486 -0
  38. package/es/components/table-filter/src/components/bi-filter/index.vue.js +1 -0
  39. package/es/components/table-filter/src/components/bi-filter/index.vue2.js +1 -0
  40. package/es/components/table-filter/src/constants/index.d.ts +1 -0
  41. package/es/components/table-filter/src/constants/index.js +1 -1
  42. package/es/shared/package.json.js +1 -1
  43. package/package.json +2 -2
@@ -46,6 +46,7 @@ declare const _default: import("vue").DefineComponent<{
46
46
  }>;
47
47
  conditionApiRef: any;
48
48
  filterTimer: any;
49
+ classifyfilterType: String;
49
50
  init: () => void;
50
51
  clearTimer: () => void;
51
52
  handleInitConditions: () => void;
@@ -57,7 +58,7 @@ declare const _default: import("vue").DefineComponent<{
57
58
  NModal: any;
58
59
  NCard: any;
59
60
  NButton: any;
60
- SearchConditionByApi: import("vue").DefineComponent<{
61
+ ClassifyFilterConditionByApi: import("vue").DefineComponent<{
61
62
  actionList_prop: {
62
63
  type: import("vue").PropType<import("../../../..").IClassifyListType>;
63
64
  default: () => {};
@@ -1164,6 +1165,489 @@ declare const _default: import("vue").DefineComponent<{
1164
1165
  showItemName: boolean;
1165
1166
  hideAddBtn: boolean;
1166
1167
  }>;
1168
+ BiFilterConditionByApi: import("vue").DefineComponent<{
1169
+ actionList_prop: {
1170
+ type: import("vue").PropType<import("../../../..").IClassifyListType>;
1171
+ default: () => {};
1172
+ };
1173
+ conditionList: {
1174
+ type: ArrayConstructor;
1175
+ default: () => never[];
1176
+ };
1177
+ tableId: {
1178
+ type: StringConstructor;
1179
+ default: string;
1180
+ };
1181
+ searchFieldList: {
1182
+ type: ArrayConstructor;
1183
+ default: () => never[];
1184
+ };
1185
+ showItemName: {
1186
+ type: BooleanConstructor;
1187
+ default: boolean;
1188
+ };
1189
+ hideAddBtn: {
1190
+ type: BooleanConstructor;
1191
+ default: boolean;
1192
+ };
1193
+ }, {
1194
+ $message: import("naive-ui").MessageApi;
1195
+ menuProps: {
1196
+ class: string;
1197
+ };
1198
+ dateCons: string[];
1199
+ textCons: string[];
1200
+ numberCons: string[];
1201
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1202
+ actionList_prop: {
1203
+ type: import("vue").PropType<import("../../../..").IClassifyListType>;
1204
+ default: () => {};
1205
+ };
1206
+ conditionList: {
1207
+ type: ArrayConstructor;
1208
+ default: () => never[];
1209
+ };
1210
+ tableId: {
1211
+ type: StringConstructor;
1212
+ default: string;
1213
+ };
1214
+ searchFieldList: {
1215
+ type: ArrayConstructor;
1216
+ default: () => never[];
1217
+ };
1218
+ showItemName: {
1219
+ type: BooleanConstructor;
1220
+ default: boolean;
1221
+ };
1222
+ hideAddBtn: {
1223
+ type: BooleanConstructor;
1224
+ default: boolean;
1225
+ };
1226
+ }>> & {
1227
+ onCancelSaveAdd?: ((...args: any[]) => any) | undefined;
1228
+ onSaveAdd?: ((...args: any[]) => any) | undefined;
1229
+ }>>;
1230
+ emit: (event: "cancelSaveAdd" | "saveAdd", ...args: any[]) => void;
1231
+ $attrs: {
1232
+ [x: string]: unknown;
1233
+ };
1234
+ FormState: any;
1235
+ loading: import("vue").Ref<boolean>;
1236
+ parentInputRef: import("vue").Ref<any>;
1237
+ parentInputAddRef: import("vue").Ref<any>;
1238
+ sqlExpression: any;
1239
+ DisplayCategoryState: {
1240
+ addDisplayCategory: string;
1241
+ displayCategories: {
1242
+ disabled: boolean;
1243
+ value: string;
1244
+ }[];
1245
+ displayCategoryOriginLen: number;
1246
+ showAdd: boolean;
1247
+ };
1248
+ isEnableAddDisplayCategory: import("vue").ComputedRef<boolean>;
1249
+ editDisplayCategory: (item: import("../../../..").ICategoryItemType, cb?: any) => void;
1250
+ handleDisplayCategorySelect: (item: import("../../../..").ICategoryItemType) => void;
1251
+ handleDisplayCategoryRemove: (index: number, item: import("../../../..").ICategoryItemType) => void;
1252
+ handleDisplayCategoryAdd: (cb?: any) => void;
1253
+ handlerBlur: () => void;
1254
+ initDisplayCategories: (rawDataDisplayCategories: any, displayCategory: any) => void;
1255
+ FilterConditionsState: any;
1256
+ paramOptions: import("vue").ComputedRef<any>;
1257
+ addFilterCondition: () => void;
1258
+ delFilterCondition: (index: number) => void;
1259
+ updateKey: (index: number, val: any) => void;
1260
+ updateCondition: (index: number, val: any) => void;
1261
+ getParamCfg: (key: string) => any;
1262
+ initFilterConditions: (tableId: string, rawConditions: import("../../../..").ISearchConfigType[]) => Promise<void>;
1263
+ getRawFilterConditions: () => any;
1264
+ isShowValueCfg: (con: string) => boolean;
1265
+ handleEditDisplayCategory: (item: import("../../../..").ICategoryItemType) => void;
1266
+ handleDisplayCategoryAddState: () => void;
1267
+ findConditionByDisplayCategory: (sid: string) => unknown;
1268
+ handleDisplayCategorySelectProxy: (item: import("../../../..").ICategoryItemType) => void;
1269
+ clearFormData: () => void;
1270
+ handleInitConditions: () => Promise<void>;
1271
+ validate: () => Promise<unknown>;
1272
+ saveAdd: () => void;
1273
+ cancelSaveAdd: () => void;
1274
+ checkActionList: () => any;
1275
+ NSpin: any;
1276
+ NIcon: any;
1277
+ NInput: any;
1278
+ NButton: any;
1279
+ NTooltip: any;
1280
+ NSelect: any;
1281
+ AddOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1282
+ AddCircleSharp: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1283
+ CloseOutline: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
1284
+ ValueCfg: import("vue").DefineComponent<{
1285
+ paramCfg: {
1286
+ type: ObjectConstructor;
1287
+ default: null;
1288
+ };
1289
+ modelValue: {
1290
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
1291
+ default: null;
1292
+ };
1293
+ presetVal: {
1294
+ type: StringConstructor;
1295
+ default: null;
1296
+ };
1297
+ isAccurate: {
1298
+ type: BooleanConstructor;
1299
+ };
1300
+ }, {
1301
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1302
+ paramCfg: {
1303
+ type: ObjectConstructor;
1304
+ default: null;
1305
+ };
1306
+ modelValue: {
1307
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
1308
+ default: null;
1309
+ };
1310
+ presetVal: {
1311
+ type: StringConstructor;
1312
+ default: null;
1313
+ };
1314
+ isAccurate: {
1315
+ type: BooleanConstructor;
1316
+ };
1317
+ }>> & {
1318
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1319
+ "onUpdate:isAccurate"?: ((...args: any[]) => any) | undefined;
1320
+ "onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
1321
+ }>>;
1322
+ emit: (event: "update:modelValue" | "update:isAccurate" | "update:presetVal", ...args: any[]) => void;
1323
+ valueCp: import("vue").WritableComputedRef<any>;
1324
+ presetValCp: import("vue").WritableComputedRef<string>;
1325
+ isAccurateCp: import("vue").WritableComputedRef<boolean>;
1326
+ isSelectMode: import("vue").ComputedRef<boolean>;
1327
+ biType: import("vue").ComputedRef<any>;
1328
+ Date: import("vue").DefineComponent<{
1329
+ componentCfg: {
1330
+ type: ObjectConstructor;
1331
+ };
1332
+ paramCfg: {
1333
+ type: ObjectConstructor;
1334
+ default: null;
1335
+ };
1336
+ modelValue: {
1337
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
1338
+ default: null;
1339
+ };
1340
+ }, {
1341
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1342
+ componentCfg: {
1343
+ type: ObjectConstructor;
1344
+ };
1345
+ paramCfg: {
1346
+ type: ObjectConstructor;
1347
+ default: null;
1348
+ };
1349
+ modelValue: {
1350
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
1351
+ default: null;
1352
+ };
1353
+ }>> & {
1354
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1355
+ }>>;
1356
+ emit: (event: "update:modelValue", ...args: any[]) => void;
1357
+ valueCp: import("vue").WritableComputedRef<any>;
1358
+ dateType: any;
1359
+ valueFormat: import("vue").ComputedRef<string>;
1360
+ compType: import("vue").ComputedRef<any>;
1361
+ CDatePicker: import("../../../..").SFCWithInstall<import("vue").DefineComponent<{
1362
+ updateUnchangedValue: {
1363
+ type: BooleanConstructor;
1364
+ };
1365
+ onConfirm: {
1366
+ type: FunctionConstructor;
1367
+ };
1368
+ formattedValue: {
1369
+ type: import("vue").PropType<(string | [string, string]) | null | undefined>;
1370
+ };
1371
+ placeholder: {
1372
+ type: StringConstructor;
1373
+ };
1374
+ allowedInvalidValue: {
1375
+ type: StringConstructor;
1376
+ };
1377
+ }, {
1378
+ attrs: {
1379
+ [x: string]: unknown;
1380
+ };
1381
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1382
+ updateUnchangedValue: {
1383
+ type: BooleanConstructor;
1384
+ };
1385
+ onConfirm: {
1386
+ type: FunctionConstructor;
1387
+ };
1388
+ formattedValue: {
1389
+ type: import("vue").PropType<(string | [string, string]) | null | undefined>;
1390
+ };
1391
+ placeholder: {
1392
+ type: StringConstructor;
1393
+ };
1394
+ allowedInvalidValue: {
1395
+ type: StringConstructor;
1396
+ };
1397
+ }>> & {
1398
+ "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
1399
+ }>>;
1400
+ emit: (event: "update:formatted-value", ...args: any[]) => void;
1401
+ datePickerRef: import("vue").Ref<import("../../../..").AnyObject | null>;
1402
+ panelInstRef: import("vue").Ref<null>;
1403
+ placeholderRef: import("vue").Ref<any>;
1404
+ currentFormattedValue: import("vue").WritableComputedRef<(string | [string, string]) | null | undefined>;
1405
+ isDateTime: import("vue").ComputedRef<boolean>;
1406
+ formatRef: import("vue").ComputedRef<string>;
1407
+ panelFormatRef: import("vue").ComputedRef<string | [string, string]>;
1408
+ focus: () => any;
1409
+ blur: () => any;
1410
+ handleConfirm: (target: HTMLInputElement) => void;
1411
+ onUpdateShow: (show: boolean) => void;
1412
+ onConfirm: (...args: any[]) => Promise<void>;
1413
+ isAllowedInvalidValue: (value: (string | [string, string]) | null | undefined) => boolean | "" | undefined;
1414
+ NDatePicker: any;
1415
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:formatted-value"[], "update:formatted-value", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1416
+ updateUnchangedValue: {
1417
+ type: BooleanConstructor;
1418
+ };
1419
+ onConfirm: {
1420
+ type: FunctionConstructor;
1421
+ };
1422
+ formattedValue: {
1423
+ type: import("vue").PropType<(string | [string, string]) | null | undefined>;
1424
+ };
1425
+ placeholder: {
1426
+ type: StringConstructor;
1427
+ };
1428
+ allowedInvalidValue: {
1429
+ type: StringConstructor;
1430
+ };
1431
+ }>> & {
1432
+ "onUpdate:formatted-value"?: ((...args: any[]) => any) | undefined;
1433
+ }, {
1434
+ updateUnchangedValue: boolean;
1435
+ }>>;
1436
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1437
+ componentCfg: {
1438
+ type: ObjectConstructor;
1439
+ };
1440
+ paramCfg: {
1441
+ type: ObjectConstructor;
1442
+ default: null;
1443
+ };
1444
+ modelValue: {
1445
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
1446
+ default: null;
1447
+ };
1448
+ }>> & {
1449
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1450
+ }, {
1451
+ modelValue: string | number | unknown[];
1452
+ paramCfg: Record<string, any>;
1453
+ }>;
1454
+ InputFilter: import("vue").DefineComponent<{
1455
+ paramCfg: {
1456
+ type: ObjectConstructor;
1457
+ default: null;
1458
+ };
1459
+ modelValue: {
1460
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
1461
+ default: null;
1462
+ };
1463
+ }, {
1464
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1465
+ paramCfg: {
1466
+ type: ObjectConstructor;
1467
+ default: null;
1468
+ };
1469
+ modelValue: {
1470
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
1471
+ default: null;
1472
+ };
1473
+ }>> & {
1474
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1475
+ }>>;
1476
+ emit: (event: "update:modelValue", ...args: any[]) => void;
1477
+ valueCp: import("vue").WritableComputedRef<any>;
1478
+ NInput: any;
1479
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1480
+ paramCfg: {
1481
+ type: ObjectConstructor;
1482
+ default: null;
1483
+ };
1484
+ modelValue: {
1485
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
1486
+ default: null;
1487
+ };
1488
+ }>> & {
1489
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1490
+ }, {
1491
+ modelValue: string | number | unknown[];
1492
+ paramCfg: Record<string, any>;
1493
+ }>;
1494
+ InputNumber: import("vue").DefineComponent<{
1495
+ modelValue: {
1496
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
1497
+ default: null;
1498
+ };
1499
+ }, {
1500
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1501
+ modelValue: {
1502
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
1503
+ default: null;
1504
+ };
1505
+ }>> & {
1506
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1507
+ }>>;
1508
+ emit: (event: "update:modelValue", ...args: any[]) => void;
1509
+ valueCp: import("vue").WritableComputedRef<any>;
1510
+ NInputNumber: any;
1511
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1512
+ modelValue: {
1513
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
1514
+ default: null;
1515
+ };
1516
+ }>> & {
1517
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1518
+ }, {
1519
+ modelValue: string | number | unknown[];
1520
+ }>;
1521
+ SelectFilter: import("vue").DefineComponent<{
1522
+ paramCfg: {
1523
+ type: ObjectConstructor;
1524
+ default: null;
1525
+ };
1526
+ modelValue: {
1527
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
1528
+ default: null;
1529
+ };
1530
+ }, {
1531
+ props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
1532
+ paramCfg: {
1533
+ type: ObjectConstructor;
1534
+ default: null;
1535
+ };
1536
+ modelValue: {
1537
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
1538
+ default: null;
1539
+ };
1540
+ }>> & {
1541
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1542
+ }>>;
1543
+ emit: (event: "update:modelValue", ...args: any[]) => void;
1544
+ valueCp: import("vue").WritableComputedRef<any>;
1545
+ optionSetting: import("vue").ComputedRef<any>;
1546
+ widgetOptions: import("vue").ComputedRef<any>;
1547
+ NSelect: any;
1548
+ WidgetOptionEnums: {
1549
+ RADIO: string;
1550
+ MULTIPLE: string;
1551
+ ALL: string;
1552
+ SELECT_TIME: string;
1553
+ PAST_TIME: string;
1554
+ FUTURE_TIME: string;
1555
+ };
1556
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1557
+ paramCfg: {
1558
+ type: ObjectConstructor;
1559
+ default: null;
1560
+ };
1561
+ modelValue: {
1562
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
1563
+ default: null;
1564
+ };
1565
+ }>> & {
1566
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1567
+ }, {
1568
+ modelValue: string | number | unknown[];
1569
+ paramCfg: Record<string, any>;
1570
+ }>;
1571
+ WidgetTypeEnums: {
1572
+ INPUT_NUMBER: string;
1573
+ INPUT: string;
1574
+ SELECT: string;
1575
+ DATE: string;
1576
+ DATE_OUT: string;
1577
+ DATE_TIME: string;
1578
+ DATETIME_OUT: string;
1579
+ CHECKBOX_GROUP: string;
1580
+ INPUTNUMBER_RANGE: string;
1581
+ DATE_RANGE_OUT: string;
1582
+ DATE_RANGE_INNER: string;
1583
+ DATETIME_RANGE_OUT: string;
1584
+ DATETIME_RANGE_INNER: string;
1585
+ LABEL: string;
1586
+ SELECTLABEL: string;
1587
+ SELECTDYNAMIC: string;
1588
+ };
1589
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:isAccurate" | "update:presetVal")[], "update:modelValue" | "update:isAccurate" | "update:presetVal", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1590
+ paramCfg: {
1591
+ type: ObjectConstructor;
1592
+ default: null;
1593
+ };
1594
+ modelValue: {
1595
+ type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
1596
+ default: null;
1597
+ };
1598
+ presetVal: {
1599
+ type: StringConstructor;
1600
+ default: null;
1601
+ };
1602
+ isAccurate: {
1603
+ type: BooleanConstructor;
1604
+ };
1605
+ }>> & {
1606
+ "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
1607
+ "onUpdate:isAccurate"?: ((...args: any[]) => any) | undefined;
1608
+ "onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
1609
+ }, {
1610
+ modelValue: string | number | unknown[];
1611
+ paramCfg: Record<string, any>;
1612
+ presetVal: string;
1613
+ isAccurate: boolean;
1614
+ }>;
1615
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("cancelSaveAdd" | "saveAdd")[], "cancelSaveAdd" | "saveAdd", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1616
+ actionList_prop: {
1617
+ type: import("vue").PropType<import("../../../..").IClassifyListType>;
1618
+ default: () => {};
1619
+ };
1620
+ conditionList: {
1621
+ type: ArrayConstructor;
1622
+ default: () => never[];
1623
+ };
1624
+ tableId: {
1625
+ type: StringConstructor;
1626
+ default: string;
1627
+ };
1628
+ searchFieldList: {
1629
+ type: ArrayConstructor;
1630
+ default: () => never[];
1631
+ };
1632
+ showItemName: {
1633
+ type: BooleanConstructor;
1634
+ default: boolean;
1635
+ };
1636
+ hideAddBtn: {
1637
+ type: BooleanConstructor;
1638
+ default: boolean;
1639
+ };
1640
+ }>> & {
1641
+ onCancelSaveAdd?: ((...args: any[]) => any) | undefined;
1642
+ onSaveAdd?: ((...args: any[]) => any) | undefined;
1643
+ }, {
1644
+ searchFieldList: unknown[];
1645
+ tableId: string;
1646
+ conditionList: unknown[];
1647
+ actionList_prop: import("../../../..").IClassifyListType;
1648
+ showItemName: boolean;
1649
+ hideAddBtn: boolean;
1650
+ }>;
1167
1651
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "cancelSaveAdd"[], "cancelSaveAdd", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
1168
1652
  visible: {
1169
1653
  type: BooleanConstructor;
@@ -1 +1 @@
1
- import{defineComponent as e,ref as i,onBeforeUnmount as t,watch as a,openBlock as l,createBlock as n,unref as o,normalizeClass as s,withCtx as d,createVNode as u,normalizeStyle as c,createElementVNode as r,createTextVNode as h,mergeProps as v}from"vue";import{NModal as f,NCard as m,NButton as p}from"naive-ui";import x from"../../../../table-filter/src/components/classify-filter/index.vue.js";const g={class:"svg-wrap"},b={class:"flex_right"};var y=e({__name:"index",props:{visible:{type:Boolean,default:!1},modalTitle:{type:String,default:"设置分类"},conditionList:{type:Array,default:()=>[]},searchFieldList:{type:Array,default:()=>[]}},emits:["cancelSaveAdd"],setup(e,{expose:y,emit:k}){const z=e,w=i(z.visible),A=i(!1),C=i("860px");let L=i({maxHeight:"496px",height:"496px"}),_=i(null),S=null;function H(){F(),S=setTimeout((()=>{_&&_.value.handleInitConditions()}),30)}function F(){S&&clearTimeout(S)}function T(){_&&_.value.saveAdd()}function $(){w.value=!1,k("cancelSaveAdd"),C.value="860px",L.value={height:"496px",maxHeight:"496px"},A.value=!1,_&&_.value.cancelSaveAdd()}function j(){A.value=!A.value;let e=document.body.clientHeight;"860px"===C.value?(C.value="100%",L.value.maxHeight=`${e}px`,L.value.height=`${e}px`):(C.value="860px",L.value.maxHeight="496px",L.value.height="")}return t((()=>{F()})),a((()=>z.visible),(e=>{w.value=e,e&&H()})),y({cancelSaveAdd:$}),(e,i)=>(l(),n(o(f),{class:s(["classification-modal-block standard-modal standard-modal-white search-filter-modal",{"modal-screen":A.value}]),show:w.value,"onUpdate:show":i[0]||(i[0]=e=>w.value=e),maskClosable:!1,width:C.value,bodyStyle:o(L),closable:!1,centered:"",onPositiveClick:T,onNegativeClick:$},{default:d((()=>[u(o(m),{style:c({width:C.value,...o(L)}),title:z.modalTitle,bordered:!1,size:"huge",role:"dialog","aria-modal":"true"},{"header-extra":d((()=>[r("div",g,[r("i",{onClick:j,class:s(["iconfont-table-filter",A.value?"icon-table-filter-menzhenyishengzhanxitongtubiaozuixiaohua2":"icon-table-filter-menzhenyishengzhanxitongtubiaozuidahua"])},null,2),r("i",{onClick:$,class:"iconfont-table-filter icon-table-filter-menzhenyishengzhanxitongtubiaoguanbi"})])])),footer:d((()=>[r("div",b,[u(o(p),{onClick:$},{default:d((()=>[h("取消")])),_:1}),u(o(p),{type:"info",onClick:T},{default:d((()=>[h("保存")])),_:1})])])),default:d((()=>[u(x,v(e.$attrs,{ref_key:"conditionApiRef",ref:_,searchFieldList:z.searchFieldList,conditionList:z.conditionList}),null,16,["searchFieldList","conditionList"])])),_:1},8,["style","title"])])),_:1},8,["class","show","width","bodyStyle"]))}});export{y as default};
1
+ import{defineComponent as e,ref as i,inject as t,onBeforeUnmount as l,watch as a,openBlock as n,createBlock as o,unref as s,normalizeClass as d,withCtx as c,createVNode as r,normalizeStyle as u,createElementVNode as f,createTextVNode as h,mergeProps as v,createCommentVNode as m}from"vue";import{NModal as p,NCard as x,NButton as b}from"naive-ui";import{InjectionClassifyfilterType as g}from"../../../../table-filter/src/constants/index.js";import y from"../../../../table-filter/src/components/classify-filter/index.vue.js";import L from"../../../../table-filter/src/components/bi-filter/index.vue.js";const k={class:"svg-wrap"},z={class:"flex_right"};var A=e({__name:"index",props:{visible:{type:Boolean,default:!1},modalTitle:{type:String,default:"设置分类"},conditionList:{type:Array,default:()=>[]},searchFieldList:{type:Array,default:()=>[]}},emits:["cancelSaveAdd"],setup(e,{expose:A,emit:_}){const w=e,C=i(w.visible),F=i(!1),S=i("860px");let H=i({maxHeight:"496px",height:"496px"}),T=i(null),$=null;const j=t(g);function R(){B(),$=setTimeout((()=>{T&&T.value.handleInitConditions()}),30)}function B(){$&&clearTimeout($)}function I(){T&&T.value.saveAdd()}function N(){C.value=!1,_("cancelSaveAdd"),S.value="860px",H.value={height:"496px",maxHeight:"496px"},F.value=!1,T&&T.value.cancelSaveAdd()}function P(){F.value=!F.value;let e=document.body.clientHeight;"860px"===S.value?(S.value="100%",H.value.maxHeight=`${e}px`,H.value.height=`${e}px`):(S.value="860px",H.value.maxHeight="496px",H.value.height="")}return l((()=>{B()})),a((()=>w.visible),(e=>{C.value=e,e&&R()})),A({cancelSaveAdd:N}),(e,i)=>(n(),o(s(p),{class:d(["classification-modal-block standard-modal standard-modal-white search-filter-modal",{"modal-screen":F.value}]),show:C.value,"onUpdate:show":i[0]||(i[0]=e=>C.value=e),maskClosable:!1,width:S.value,bodyStyle:s(H),closable:!1,centered:"",onPositiveClick:I,onNegativeClick:N},{default:c((()=>[r(s(x),{style:u({width:S.value,...s(H)}),title:w.modalTitle,bordered:!1,size:"huge",role:"dialog","aria-modal":"true"},{"header-extra":c((()=>[f("div",k,[f("i",{onClick:P,class:d(["iconfont-table-filter",F.value?"icon-table-filter-menzhenyishengzhanxitongtubiaozuixiaohua2":"icon-table-filter-menzhenyishengzhanxitongtubiaozuidahua"])},null,2),f("i",{onClick:N,class:"iconfont-table-filter icon-table-filter-menzhenyishengzhanxitongtubiaoguanbi"})])])),footer:c((()=>[f("div",z,[r(s(b),{onClick:N},{default:c((()=>[h("取消")])),_:1}),r(s(b),{type:"info",onClick:I},{default:c((()=>[h("保存")])),_:1})])])),default:c((()=>["1"===s(j)?(n(),o(y,v({key:0},e.$attrs,{ref_key:"conditionApiRef",ref:T,searchFieldList:w.searchFieldList,conditionList:w.conditionList}),null,16,["searchFieldList","conditionList"])):"2"===s(j)?(n(),o(L,v({key:1},e.$attrs,{ref_key:"conditionApiRef",ref:T,searchFieldList:w.searchFieldList,conditionList:w.conditionList}),null,16,["searchFieldList","conditionList"])):m("v-if",!0)])),_:1},8,["style","title"])])),_:1},8,["class","show","width","bodyStyle"]))}});export{A as default};