cnhis-design-vue 3.1.9-beta.1 → 3.1.9-beta.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. package/README.md +22 -22
  2. package/es/packages/big-table/index.d.ts +1 -1
  3. package/es/packages/big-table/src/BigTable.vue.d.ts +1 -1
  4. package/es/packages/big-table/src/BigTable.vue_vue_type_script_setup_true_lang.mjs +3 -1
  5. package/es/packages/big-table/style/index.less +557 -557
  6. package/es/packages/bpmn-workflow/style/index.less +29 -29
  7. package/es/packages/button-print/style/index.less +30 -30
  8. package/es/packages/chunk-upload/src/chunk-upload-new.vue.d.ts +4 -6
  9. package/es/packages/chunk-upload/src/vod-chunk-upload/vod-chunk-upload.vue.d.ts +0 -3
  10. package/es/packages/chunk-upload/style/index.less +394 -394
  11. package/es/packages/drag-layout/src/DragLayout.vue.d.ts +5 -8
  12. package/es/packages/drag-layout/style/index.less +208 -208
  13. package/es/packages/field-set/style/index.less +157 -157
  14. package/es/packages/form-render/index.d.ts +267 -3
  15. package/es/packages/form-render/index.mjs +2 -0
  16. package/es/packages/form-render/src/FormRender.vue.d.ts +267 -3
  17. package/es/packages/form-render/src/FormRender.vue_vue_type_script_setup_true_lang.mjs +39 -25
  18. package/es/packages/form-render/src/components/cascader.d.ts +6 -2
  19. package/es/packages/form-render/src/components/cascader.mjs +12 -6
  20. package/es/packages/form-render/src/components/select.d.ts +12 -2
  21. package/es/packages/form-render/src/components/select.mjs +65 -29
  22. package/es/packages/form-render/src/constants/index.d.ts +4 -1
  23. package/es/packages/form-render/src/constants/index.mjs +3 -1
  24. package/es/packages/form-render/src/hooks/index.d.ts +11 -9
  25. package/es/packages/form-render/src/hooks/index.mjs +2 -0
  26. package/es/packages/form-render/src/hooks/useAsyncQueue.d.ts +13 -33
  27. package/es/packages/form-render/src/hooks/useBusinessBinding.d.ts +5 -3
  28. package/es/packages/form-render/src/hooks/useBusinessBinding.mjs +15 -15
  29. package/es/packages/form-render/src/hooks/useChangeContext.d.ts +11 -0
  30. package/es/packages/form-render/src/hooks/useChangeContext.mjs +21 -0
  31. package/es/packages/form-render/src/hooks/useFormField.d.ts +1 -0
  32. package/es/packages/form-render/src/hooks/useFormField.mjs +7 -1
  33. package/es/packages/form-render/src/hooks/useFormItemDeps.d.ts +8 -0
  34. package/es/packages/form-render/src/hooks/useFormItemDeps.mjs +29 -0
  35. package/es/packages/form-render/src/types/index.d.ts +16 -6
  36. package/es/packages/form-render/src/utils/index.d.ts +5 -3
  37. package/es/packages/form-render/src/utils/index.mjs +13 -1
  38. package/es/packages/form-table/style/index.less +301 -301
  39. package/es/packages/grid/style/index.less +12 -12
  40. package/es/packages/index.css +0 -3
  41. package/es/packages/index.less +2941 -2945
  42. package/es/packages/index.mjs +2 -0
  43. package/es/packages/info-header/index.d.ts +18 -2
  44. package/es/packages/info-header/src/HiddenContent.vue.d.ts +29 -13
  45. package/es/packages/info-header/src/HiddenContent.vue_vue_type_script_setup_true_lang.mjs +6 -4
  46. package/es/packages/info-header/src/InfoHeader.vue.d.ts +18 -2
  47. package/es/packages/info-header/src/InfoHeader.vue_vue_type_script_setup_true_lang.mjs +10 -5
  48. package/es/packages/info-header/style/index.css +0 -3
  49. package/es/packages/info-header/style/index.less +149 -153
  50. package/es/packages/map/style/index.less +59 -59
  51. package/es/packages/scale-view/style/index.less +748 -748
  52. package/es/packages/select-label/src/LabelFormContent.vue.d.ts +0 -3
  53. package/es/packages/select-label/style/index.less +151 -151
  54. package/es/packages/select-person/src/SelectPerson.vue_vue_type_script_setup_true_lang.mjs +1 -1
  55. package/es/packages/select-person/style/index.less +229 -229
  56. package/es/packages/time-line/style/index.less +34 -34
  57. package/es/src/types/index.d.ts +1 -0
  58. package/es/src/utils/anime.mjs +1 -1
  59. package/global.d.ts +8 -8
  60. package/package.json +1 -1
  61. package/yarn-error.log +8659 -103
package/README.md CHANGED
@@ -1,23 +1,23 @@
1
- # Vue 3 + Typescript + Vite
2
-
3
- This template should help get you started developing with Vue 3 and Typescript in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
4
-
5
- ## Recommended IDE Setup
6
-
7
- - [VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar)
8
-
9
- ## Type Support For `.vue` Imports in TS
10
-
11
- Since TypeScript cannot handle type information for `.vue` imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates. However, if you wish to get actual prop types in `.vue` imports (for example to get props validation when using manual `h(...)` calls), you can enable Volar's `.vue` type support plugin by running `Volar: Switch TS Plugin on/off` from VSCode command palette.
12
-
13
- ## 使用
14
- ```JavaScript
15
- import { createApp } from "vue";
16
- import App from "./App.vue";
17
- import cui from "cnhis-design-vue";
18
- import "cnhis-design-vue/es/index.css";
19
-
20
- const app = createApp(App);
21
- app.use(cui);
22
- app.mount("#app");
1
+ # Vue 3 + Typescript + Vite
2
+
3
+ This template should help get you started developing with Vue 3 and Typescript in Vite. The template uses Vue 3 `<script setup>` SFCs, check out the [script setup docs](https://v3.vuejs.org/api/sfc-script-setup.html#sfc-script-setup) to learn more.
4
+
5
+ ## Recommended IDE Setup
6
+
7
+ - [VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=johnsoncodehk.volar)
8
+
9
+ ## Type Support For `.vue` Imports in TS
10
+
11
+ Since TypeScript cannot handle type information for `.vue` imports, they are shimmed to be a generic Vue component type by default. In most cases this is fine if you don't really care about component prop types outside of templates. However, if you wish to get actual prop types in `.vue` imports (for example to get props validation when using manual `h(...)` calls), you can enable Volar's `.vue` type support plugin by running `Volar: Switch TS Plugin on/off` from VSCode command palette.
12
+
13
+ ## 使用
14
+ ```JavaScript
15
+ import { createApp } from "vue";
16
+ import App from "./App.vue";
17
+ import cui from "cnhis-design-vue";
18
+ import "cnhis-design-vue/es/index.css";
19
+
20
+ const app = createApp(App);
21
+ app.use(cui);
22
+ app.mount("#app");
23
23
  ```
@@ -621,6 +621,7 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
621
621
  type: string;
622
622
  fixed: string;
623
623
  align: string;
624
+ visible: any;
624
625
  resizable: boolean;
625
626
  width: string;
626
627
  showOverflow: boolean;
@@ -628,7 +629,6 @@ declare const BigTable: SFCWithInstall<import("vue").DefineComponent<{
628
629
  header: () => any[];
629
630
  default?: undefined;
630
631
  };
631
- visible?: undefined;
632
632
  } | {
633
633
  type: any;
634
634
  fixed: string;
@@ -620,6 +620,7 @@ declare const _default: import("vue").DefineComponent<{
620
620
  type: string;
621
621
  fixed: string;
622
622
  align: string;
623
+ visible: any;
623
624
  resizable: boolean;
624
625
  width: string;
625
626
  showOverflow: boolean;
@@ -627,7 +628,6 @@ declare const _default: import("vue").DefineComponent<{
627
628
  header: () => any[];
628
629
  default?: undefined;
629
630
  };
630
- visible?: undefined;
631
631
  } | {
632
632
  type: any;
633
633
  fixed: string;
@@ -333,7 +333,8 @@ var script = /* @__PURE__ */ defineComponent({
333
333
  isScanMultiTable: isScanMultiTable2,
334
334
  isEdit = false,
335
335
  editConfig = {},
336
- rowConfig = {}
336
+ rowConfig = {},
337
+ showSeq = true
337
338
  } = map;
338
339
  if (isEdit) {
339
340
  state.editConfig = Object.assign(state.editConfig, editConfig);
@@ -380,6 +381,7 @@ var script = /* @__PURE__ */ defineComponent({
380
381
  type: "seq",
381
382
  fixed: props.isNestTable ? "" : "left",
382
383
  align: "center",
384
+ visible: showSeq,
383
385
  resizable: true,
384
386
  width: "34",
385
387
  showOverflow: true,