@kengic/vue 0.21.4-beta.0 → 0.21.4-beta.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (20) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/kengic-vue.js +2806 -2798
  3. package/dist/src/components/KgVar/index.hooks.d.ts +2776 -108
  4. package/dist/src/components/KgVar/index.store.d.ts +3032 -23
  5. package/dist/src/components/KgVarConfig/KgVarConfig.d.ts +1 -0
  6. package/dist/src/components/KgVarConfig/components/KgVarConfig.Modal.d.ts +0 -1
  7. package/dist/src/components/KgVarConfig/components/{KgVarConfig.FormIDsModal.d.ts → KgVarConfig.SelectFormIdModal.d.ts} +5 -2
  8. package/dist/src/components/KgVarConfig/components/button/KgVarConfig.Modal.Button.VarButton.d.ts +0 -1
  9. package/dist/src/components/KgVarConfig/components/submit/KgVarConfig.Modal.Submit.VarSubmitField.d.ts +0 -1
  10. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.CreateModal.d.ts +0 -1
  11. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarVariableCatalog.d.ts +0 -1
  12. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.Vars.d.ts +0 -1
  13. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.d.ts +0 -1
  14. package/dist/src/components/KgVarConfig/index.vm.d.ts +1 -1
  15. package/dist/src/consts/i18n/en.d.ts +1 -1
  16. package/dist/src/consts/i18n/zh_CN.d.ts +1 -1
  17. package/package.json +2 -2
  18. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.VarVariableCatalog.data.d.ts +0 -3
  19. package/dist/src/components/KgVarConfig/components/var/KgVarConfig.Modal.Var.Vars.data.d.ts +0 -3
  20. /package/dist/src/components/KgButton/components/{KgButton.ImportTemplate.d.ts → KgButton.ExportTemplate.d.ts} +0 -0
@@ -1,2 +1,3 @@
1
+ import './KgVarConfig.less';
1
2
  declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
2
3
  export default _default;
@@ -1,5 +1,4 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
- import './KgVarConfig.Modal.less';
3
2
  export declare const getProps: () => {
4
3
  visible: PropType<boolean>;
5
4
  'onUpdate:visible': PropType<(value: boolean) => void>;
@@ -1,12 +1,15 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
- import './KgVarConfig.FormIDsModal.less';
3
2
  export declare const getProps: () => {
4
3
  visible: PropType<boolean>;
5
4
  'onUpdate:visible': PropType<(value: boolean) => void>;
6
5
  formIDs: PropType<string[]>;
7
6
  onKgOk: PropType<(formID: string) => void>;
8
7
  };
9
- export declare type IKgVarConfigFormIDsModalProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
8
+ export declare type KgVarConfigSelectFormIdModalProps = Partial<ExtractPropTypes<ReturnType<typeof getProps>>>;
9
+ /**
10
+ * <p>界面标识选择弹窗.</p>
11
+ * <p>当前界面存在多个界面标识时, 需要用户手动选择要配置哪个弹窗.</p>
12
+ */
10
13
  declare const _default: import("vue").DefineComponent<{
11
14
  visible: PropType<boolean>;
12
15
  'onUpdate:visible': PropType<(value: boolean) => void>;
@@ -1,5 +1,4 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
- import './KgVarConfig.Modal.Button.VarButton.less';
3
2
  export declare const FORM_ID__VAR_BUTTON = "kg-button.VarButton";
4
3
  export declare const getProps: () => {
5
4
  /** 主页面的页面标识. */
@@ -1,5 +1,4 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
- import './KgVarConfig.Modal.Submit.VarSubmitField.less';
3
2
  export declare const FORM_ID__VAR_SUBMIT_FIELD = "kg-submit.VarSubmitField";
4
3
  export declare const getProps: () => {
5
4
  /** 主页面的页面标识. */
@@ -1,5 +1,4 @@
1
1
  import { ExtractPropTypes, PropType } from 'vue';
2
- import './KgVarConfig.Modal.Var.CreateModal.less';
3
2
  export declare const getProps: () => {
4
3
  visible: PropType<boolean>;
5
4
  'onUpdate:visible': PropType<(value: boolean) => void>;
@@ -1,3 +1,2 @@
1
- import './KgVarConfig.Modal.Var.VarVariableCatalog.less';
2
1
  declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
3
2
  export default _default;
@@ -1,3 +1,2 @@
1
- import './KgVarConfig.Modal.Var.Vars.less';
2
1
  declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
3
2
  export default _default;
@@ -1,3 +1,2 @@
1
- import './KgVarConfig.Modal.Var.less';
2
1
  declare const _default: import("vue").DefineComponent<{}, () => JSX.Element, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
3
2
  export default _default;
@@ -1,3 +1,3 @@
1
1
  import { InjectionKey, Ref } from 'vue';
2
2
  /** 正在被配置的界面标识. */
3
- export declare const DI_CONFIG_FORM_ID: InjectionKey<Ref<string | null>>;
3
+ export declare const DI__KG_VAR_CONFIG__HOST_FORM_ID: InjectionKey<Ref<string | null>>;
@@ -170,7 +170,7 @@ declare const _default: {
170
170
  variableName: string;
171
171
  variables: string;
172
172
  };
173
- KgVarConfigFormIDsModal: {
173
+ KgVarConfigSelectFormIdModal: {
174
174
  title: string;
175
175
  };
176
176
  KgVarConfigModalButton: {
@@ -169,7 +169,7 @@ declare const _default: {
169
169
  variableName: string;
170
170
  variables: string;
171
171
  };
172
- KgVarConfigFormIDsModal: {
172
+ KgVarConfigSelectFormIdModal: {
173
173
  title: string;
174
174
  };
175
175
  KgVarConfigModalButton: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kengic/vue",
3
- "version": "0.21.4-beta.0",
3
+ "version": "0.21.4-beta.2",
4
4
  "scripts": {
5
5
  "build": "npm run switch-node-version && rimraf dist && vue-tsc && vite build",
6
6
  "build:dev": "npm run switch-node-version && rimraf dist && vue-tsc && vite build --mode development",
@@ -17,7 +17,7 @@
17
17
  "bump-to:luotao.wms-vue3--focus": "npm run switch-node-version && tsx scripts/bump-to.luotao.wms-vue3.focus.ts",
18
18
  "copy-to:luotao.wms-vue3--focus": "npm run build:dev && tsx scripts/copy-to.luotao.wms-vue3.focus.ts",
19
19
  "- ------------------------------------------------": "",
20
- "cnpm:sync": "npm run switch-node-version && cnpm sync @kengic/vue",
20
+ "cnpm:sync": "npm run switch-node-version && npx cnpm --yes sync @kengic/vue",
21
21
  "switch-node-version": "nvm use 18.16.0 && corepack enable && corepack prepare pnpm@7.30.5 --activate",
22
22
  "-- -----------------------------------------------": "",
23
23
  "bump-version:beta": "npm run switch-node-version && tsx scripts/bump.ts beta",
@@ -1,3 +0,0 @@
1
- import { ColumnsType } from 'ant-design-vue/es/table';
2
- import { VarContext } from '../../../../apis/WMS/models';
3
- export declare const columns: () => ColumnsType<VarContext>;
@@ -1,3 +0,0 @@
1
- import { ColumnsType } from 'ant-design-vue/es/table';
2
- import { VarContext } from '../../../../apis/WMS/models';
3
- export declare const columns: () => ColumnsType<VarContext>;