el-plus2 0.0.0 → 0.0.3

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 (64) hide show
  1. package/dist/index.full.js +16 -10
  2. package/dist/index.full.min.js +1 -1
  3. package/dist/index.full.min.js.map +1 -1
  4. package/dist/index.full.min.mjs +1 -1
  5. package/dist/index.full.min.mjs.map +1 -1
  6. package/dist/index.full.mjs +11 -11
  7. package/es/components/buttons/index.d.ts +2 -2
  8. package/es/components/buttons/index.mjs +3 -3
  9. package/es/components/buttons/index.mjs.map +1 -1
  10. package/es/components/form/index.d.ts +2 -2
  11. package/es/components/form/index.mjs +2 -2
  12. package/es/components/form/index.mjs.map +1 -1
  13. package/es/components/index.mjs +6 -0
  14. package/es/components/index.mjs.map +1 -1
  15. package/es/components/input/index.d.ts +2 -2
  16. package/es/components/input/index.mjs +2 -2
  17. package/es/components/input/index.mjs.map +1 -1
  18. package/es/components/searchListPage/index.d.ts +2 -2
  19. package/es/components/searchListPage/index.mjs +2 -2
  20. package/es/components/searchListPage/index.mjs.map +1 -1
  21. package/es/components/searchListPage/src/searchListPage.vue2.mjs +4 -4
  22. package/es/components/select/index.d.ts +2 -2
  23. package/es/components/select/index.mjs +2 -2
  24. package/es/components/select/index.mjs.map +1 -1
  25. package/es/components/table/index.d.ts +2 -2
  26. package/es/components/table/index.mjs +2 -2
  27. package/es/components/table/index.mjs.map +1 -1
  28. package/es/components.mjs +7 -7
  29. package/es/components.mjs.map +1 -1
  30. package/es/index.mjs +6 -0
  31. package/es/index.mjs.map +1 -1
  32. package/global.d.ts +8 -6
  33. package/lib/components/buttons/index.d.ts +2 -2
  34. package/lib/components/buttons/index.js +3 -2
  35. package/lib/components/buttons/index.js.map +1 -1
  36. package/lib/components/form/index.d.ts +2 -2
  37. package/lib/components/form/index.js +3 -2
  38. package/lib/components/form/index.js.map +1 -1
  39. package/lib/components/index.js +12 -0
  40. package/lib/components/index.js.map +1 -1
  41. package/lib/components/input/index.d.ts +2 -2
  42. package/lib/components/input/index.js +3 -2
  43. package/lib/components/input/index.js.map +1 -1
  44. package/lib/components/searchListPage/index.d.ts +2 -2
  45. package/lib/components/searchListPage/index.js +3 -2
  46. package/lib/components/searchListPage/index.js.map +1 -1
  47. package/lib/components/searchListPage/src/searchListPage.vue2.js +2 -2
  48. package/lib/components/select/index.d.ts +2 -2
  49. package/lib/components/select/index.js +3 -2
  50. package/lib/components/select/index.js.map +1 -1
  51. package/lib/components/table/index.d.ts +2 -2
  52. package/lib/components/table/index.js +3 -2
  53. package/lib/components/table/index.js.map +1 -1
  54. package/lib/components.js +1 -1
  55. package/lib/components.js.map +1 -1
  56. package/lib/index.js +16 -4
  57. package/lib/index.js.map +1 -1
  58. package/package.json +1 -1
  59. package/es/version.d.ts +0 -1
  60. package/es/version.mjs +0 -4
  61. package/es/version.mjs.map +0 -1
  62. package/lib/version.d.ts +0 -1
  63. package/lib/version.js +0 -6
  64. package/lib/version.js.map +0 -1
@@ -417,7 +417,7 @@ async function queryRoles() {
417
417
  }
418
418
 
419
419
  const bem$1 = createNameSpace("button");
420
- var Buttons$1 = /* @__PURE__ */ defineComponent({
420
+ var Buttons = /* @__PURE__ */ defineComponent({
421
421
  name: "EpButtons",
422
422
  directives: {
423
423
  [vRepeatClick.name]: vRepeatClick,
@@ -483,7 +483,7 @@ function withInstall(comp) {
483
483
  return comp;
484
484
  }
485
485
 
486
- var Buttons = withInstall(Buttons$1);
486
+ const EpButtons = withInstall(Buttons);
487
487
 
488
488
  const expandFormProps = {
489
489
  // 表单列表
@@ -845,7 +845,7 @@ var _sfc_main$4 = /* @__PURE__ */ defineComponent({
845
845
  }
846
846
  });
847
847
 
848
- var Form = withInstall(_sfc_main$4);
848
+ const EpForm = withInstall(_sfc_main$4);
849
849
 
850
850
  const inputProps = {
851
851
  ...inputProps$1,
@@ -1008,7 +1008,7 @@ var _sfc_main$3 = /* @__PURE__ */ defineComponent({
1008
1008
  }
1009
1009
  });
1010
1010
 
1011
- var Input = withInstall(_sfc_main$3);
1011
+ const EpInput = withInstall(_sfc_main$3);
1012
1012
 
1013
1013
  const inheritTableProps = {
1014
1014
  ...elTableProps,
@@ -1610,7 +1610,7 @@ var _sfc_main$2 = /* @__PURE__ */ defineComponent({
1610
1610
  }
1611
1611
  });
1612
1612
 
1613
- var Table = withInstall(_sfc_main$2);
1613
+ const EpTable = withInstall(_sfc_main$2);
1614
1614
 
1615
1615
  console.log(formProps.formItemList);
1616
1616
  const searchListPageProps = {
@@ -1875,7 +1875,7 @@ var _sfc_main$1 = /* @__PURE__ */ defineComponent({
1875
1875
  [
1876
1876
  createElementVNode("div", { id: "top" }, [
1877
1877
  createVNode(
1878
- unref(Form),
1878
+ unref(EpForm),
1879
1879
  normalizeProps(guardReactiveProps(unref(formProps))),
1880
1880
  null,
1881
1881
  16
@@ -1914,7 +1914,7 @@ var _sfc_main$1 = /* @__PURE__ */ defineComponent({
1914
1914
  ]),
1915
1915
  renderSlot(_ctx.$slots, "tableBefore"),
1916
1916
  createVNode(
1917
- unref(Table),
1917
+ unref(EpTable),
1918
1918
  normalizeProps(guardReactiveProps(unref(tableProps))),
1919
1919
  null,
1920
1920
  16
@@ -1928,7 +1928,7 @@ var _sfc_main$1 = /* @__PURE__ */ defineComponent({
1928
1928
  }
1929
1929
  });
1930
1930
 
1931
- var SearchListPage = withInstall(_sfc_main$1);
1931
+ const EpSearchListPage = withInstall(_sfc_main$1);
1932
1932
 
1933
1933
  const inheritSelectProps = {
1934
1934
  ...selectProps$1,
@@ -2159,9 +2159,9 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
2159
2159
  }
2160
2160
  });
2161
2161
 
2162
- var Select = withInstall(_sfc_main);
2162
+ const EpSelect = withInstall(_sfc_main);
2163
2163
 
2164
- var components = [Buttons, Form, Input, SearchListPage, Select, Table];
2164
+ var components = [EpButtons, EpForm, EpInput, EpSearchListPage, EpSelect, EpTable];
2165
2165
 
2166
2166
  var version = "0.0.1";
2167
2167
 
@@ -2173,4 +2173,4 @@ const plugin = {
2173
2173
  version
2174
2174
  };
2175
2175
 
2176
- export { EpFormItem, buttonsProps, plugin as default, expandFormItemPropsKeys, expandFormPropsKeys, expandSelectPropsKeys, expandTablePropsKeys, formEmits, formEmitsKeys, formItemProps, formProps, inheritSelectProps, inputEmits, inputEmitsKeys, inputProps, install, searchListPageProps, selectEmits, selectEmitsKeys, selectProps, tableEmits, tableEmitsKeys, tableProps, useRequest, vPermisson as vPermission, vRepeatClick };
2176
+ export { EpButtons, EpForm, EpFormItem, EpInput, EpSearchListPage, EpSelect, EpTable, buttonsProps, plugin as default, expandFormItemPropsKeys, expandFormPropsKeys, expandSelectPropsKeys, expandTablePropsKeys, formEmits, formEmitsKeys, formItemProps, formProps, inheritSelectProps, inputEmits, inputEmitsKeys, inputProps, install, searchListPageProps, selectEmits, selectEmitsKeys, selectProps, tableEmits, tableEmitsKeys, tableProps, useRequest, vPermisson as vPermission, vRepeatClick };
@@ -1,4 +1,4 @@
1
- declare const _default: {
1
+ export declare const EpButtons: {
2
2
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
3
3
  disabled: {
4
4
  type: import("vue").PropType<boolean | ((...args: any[]) => boolean)>;
@@ -355,5 +355,5 @@ declare const _default: {
355
355
  name: string;
356
356
  });
357
357
  } & import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin;
358
- export default _default;
358
+ export default EpButtons;
359
359
  export * from './src/buttons';
@@ -1,8 +1,8 @@
1
- import Buttons$1 from './src/buttons-vue.mjs';
1
+ import Buttons from './src/buttons-vue.mjs';
2
2
  import { withInstall } from '../../utils/with-install.mjs';
3
3
  export { buttonsProps } from './src/buttons.mjs';
4
4
 
5
- var Buttons = withInstall(Buttons$1);
5
+ const EpButtons = withInstall(Buttons);
6
6
 
7
- export { Buttons as default };
7
+ export { EpButtons, EpButtons as default };
8
8
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../../../packages/components/buttons/index.ts"],"sourcesContent":["import Buttons from './src/buttons-vue'\nimport { withInstall } from '@el-plus/utils/with-install'\n\nexport default withInstall(Buttons)\nexport * from './src/buttons'\n"],"names":["Buttons"],"mappings":";;;;AAGA,cAAe,YAAYA,SAAO,CAAA;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":["../../../../../packages/components/buttons/index.ts"],"sourcesContent":["import Buttons from './src/buttons-vue'\nimport { withInstall } from '@el-plus/utils/with-install'\n\nexport const EpButtons = withInstall(Buttons)\nexport default EpButtons\nexport * from './src/buttons'\n"],"names":[],"mappings":";;;;AAGO,MAAM,SAAA,GAAY,YAAY,OAAO;;;;"}
@@ -1,6 +1,6 @@
1
1
  import Form from './src/form.vue';
2
2
  import FormItem from './src/form-item-vue';
3
- declare const _default: {
3
+ export declare const EpForm: {
4
4
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
5
5
  size: {
6
6
  default: string;
@@ -283,7 +283,7 @@ declare const _default: {
283
283
  default?: (props: {}) => any;
284
284
  };
285
285
  }) & import("vue").Plugin;
286
- export default _default;
286
+ export default EpForm;
287
287
  export * from './src/form';
288
288
  export * from './src/form-item';
289
289
  export { FormItem as EpFormItem };
@@ -4,7 +4,7 @@ import { withInstall } from '../../utils/with-install.mjs';
4
4
  export { expandFormPropsKeys, formEmits, formEmitsKeys, formProps } from './src/form.mjs';
5
5
  export { expandFormItemPropsKeys, formItemProps } from './src/form-item.mjs';
6
6
 
7
- var Form = withInstall(_sfc_main);
7
+ const EpForm = withInstall(_sfc_main);
8
8
 
9
- export { Form as default };
9
+ export { EpForm, EpForm as default };
10
10
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../../../packages/components/form/index.ts"],"sourcesContent":["import Form from './src/form.vue'\nimport FormItem from './src/form-item-vue'\nimport { withInstall } from '@el-plus/utils/with-install'\nexport default withInstall(Form)\nexport * from './src/form'\nexport * from './src/form-item'\nexport { FormItem as EpFormItem }\nexport type FormInstance = InstanceType<typeof Form>\nexport type FormItemInstance = InstanceType<typeof FormItem>\n\n"],"names":["Form"],"mappings":";;;;;;AAGA,WAAe,YAAYA,SAAI,CAAA;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":["../../../../../packages/components/form/index.ts"],"sourcesContent":["import Form from './src/form.vue'\nimport FormItem from './src/form-item-vue'\nimport { withInstall } from '@el-plus/utils/with-install'\nexport const EpForm = withInstall(Form)\nexport default EpForm\nexport * from './src/form'\nexport * from './src/form-item'\nexport { FormItem as EpFormItem }\nexport type FormInstance = InstanceType<typeof Form>\nexport type FormItemInstance = InstanceType<typeof FormItem>\n"],"names":["Form"],"mappings":";;;;;;AAGO,MAAM,MAAA,GAAS,YAAYA,SAAI;;;;"}
@@ -1,3 +1,9 @@
1
+ export { EpButtons } from './buttons/index.mjs';
2
+ export { EpForm } from './form/index.mjs';
3
+ export { EpInput } from './input/index.mjs';
4
+ export { EpSearchListPage } from './searchListPage/index.mjs';
5
+ export { EpSelect } from './select/index.mjs';
6
+ export { EpTable } from './table/index.mjs';
1
7
  export { buttonsProps } from './buttons/src/buttons.mjs';
2
8
  export { expandFormPropsKeys, formEmits, formEmitsKeys, formProps } from './form/src/form.mjs';
3
9
  export { expandFormItemPropsKeys, formItemProps } from './form/src/form-item.mjs';
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
@@ -1,5 +1,5 @@
1
1
  import Input from './src/input.vue';
2
- declare const _default: {
2
+ export declare const EpInput: {
3
3
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
4
4
  max: NumberConstructor;
5
5
  min: NumberConstructor;
@@ -459,7 +459,7 @@ declare const _default: {
459
459
  [x: string]: ((props: any) => any) | undefined;
460
460
  };
461
461
  }) & import("vue").Plugin;
462
- export default _default;
462
+ export default EpInput;
463
463
  export * from './src/input';
464
464
  declare module 'vue' {
465
465
  interface GlobalComponents {
@@ -2,7 +2,7 @@ import _sfc_main from './src/input.vue2.mjs';
2
2
  import { withInstall } from '../../utils/with-install.mjs';
3
3
  export { inputEmits, inputEmitsKeys, inputProps } from './src/input.mjs';
4
4
 
5
- var Input = withInstall(_sfc_main);
5
+ const EpInput = withInstall(_sfc_main);
6
6
 
7
- export { Input as default };
7
+ export { EpInput, EpInput as default };
8
8
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../../../packages/components/input/index.ts"],"sourcesContent":["import Input from './src/input.vue'\nimport { withInstall } from '@el-plus/utils/with-install'\n\nexport default withInstall(Input)\nexport * from './src/input'\n\n// GlobalComponents是vue3自带,用于扩展接口,给用户自定义全局组件补充类型提示\ndeclare module 'vue' {\n export interface GlobalComponents {\n // 接口自动合并\n EpInput: typeof Input\n }\n}\n"],"names":["Input"],"mappings":";;;;AAGA,YAAe,YAAYA,SAAK,CAAA;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":["../../../../../packages/components/input/index.ts"],"sourcesContent":["import Input from './src/input.vue'\nimport { withInstall } from '@el-plus/utils/with-install'\n\nexport const EpInput = withInstall(Input)\nexport default EpInput\nexport * from './src/input'\n\n// GlobalComponents是vue3自带,用于扩展接口,给用户自定义全局组件补充类型提示\ndeclare module 'vue' {\n export interface GlobalComponents {\n // 接口自动合并\n EpInput: typeof Input\n }\n}\n"],"names":["Input"],"mappings":";;;;AAGO,MAAM,OAAA,GAAU,YAAYA,SAAK;;;;"}
@@ -1,5 +1,5 @@
1
1
  import SearchListPage from './src/searchListPage.vue';
2
- declare const _default: {
2
+ export declare const EpSearchListPage: {
3
3
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
4
4
  customColumnModule: NumberConstructor;
5
5
  showOperationColumn: BooleanConstructor;
@@ -8574,7 +8574,7 @@ declare const _default: {
8574
8574
  tableBefore?: (props: {}) => any;
8575
8575
  };
8576
8576
  }) & import("vue").Plugin;
8577
- export default _default;
8577
+ export default EpSearchListPage;
8578
8578
  export * from './src/searchListPage';
8579
8579
  declare module 'vue' {
8580
8580
  interface GlobalComponents {
@@ -2,7 +2,7 @@ import _sfc_main from './src/searchListPage.vue2.mjs';
2
2
  import { withInstall } from '../../utils/with-install.mjs';
3
3
  export { searchListPageProps } from './src/searchListPage.mjs';
4
4
 
5
- var SearchListPage = withInstall(_sfc_main);
5
+ const EpSearchListPage = withInstall(_sfc_main);
6
6
 
7
- export { SearchListPage as default };
7
+ export { EpSearchListPage, EpSearchListPage as default };
8
8
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../../../packages/components/searchListPage/index.ts"],"sourcesContent":["import SearchListPage from './src/searchListPage.vue'\nimport { withInstall } from '@el-plus/utils/with-install'\n\nexport default withInstall(SearchListPage)\nexport * from './src/searchListPage'\n\n// GlobalComponents是vue3自带,用于扩展接口,给用户自定义全局组件补充类型提示\ndeclare module 'vue' {\n export interface GlobalComponents {\n // 接口自动合并\n EpSearchListPage: typeof SearchListPage\n }\n}\n"],"names":["SearchListPage"],"mappings":";;;;AAGA,qBAAe,YAAYA,SAAc,CAAA;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":["../../../../../packages/components/searchListPage/index.ts"],"sourcesContent":["import SearchListPage from './src/searchListPage.vue'\nimport { withInstall } from '@el-plus/utils/with-install'\n\nexport const EpSearchListPage = withInstall(SearchListPage)\nexport default EpSearchListPage\nexport * from './src/searchListPage'\n\n// GlobalComponents是vue3自带,用于扩展接口,给用户自定义全局组件补充类型提示\ndeclare module 'vue' {\n export interface GlobalComponents {\n // 接口自动合并\n EpSearchListPage: typeof SearchListPage\n }\n}\n"],"names":["SearchListPage"],"mappings":";;;;AAGO,MAAM,gBAAA,GAAmB,YAAYA,SAAc;;;;"}
@@ -1,6 +1,6 @@
1
1
  import { defineComponent, resolveComponent, createElementBlock, openBlock, normalizeStyle, normalizeClass, unref, createElementVNode, renderSlot, createVNode, normalizeProps, guardReactiveProps } from 'vue';
2
- import Form from '../../form/index.mjs';
3
- import Table from '../../table/index.mjs';
2
+ import { EpForm } from '../../form/index.mjs';
3
+ import { EpTable } from '../../table/index.mjs';
4
4
  import { createNameSpace } from '../../../utils/bem.mjs';
5
5
  import { prepareStyles, prepareClassNames } from '../../../utils/props.mjs';
6
6
  import { searchListPageProps } from './searchListPage.mjs';
@@ -42,7 +42,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
42
42
  [
43
43
  createElementVNode("div", { id: "top" }, [
44
44
  createVNode(
45
- unref(Form),
45
+ unref(EpForm),
46
46
  normalizeProps(guardReactiveProps(unref(formProps))),
47
47
  null,
48
48
  16
@@ -81,7 +81,7 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
81
81
  ]),
82
82
  renderSlot(_ctx.$slots, "tableBefore"),
83
83
  createVNode(
84
- unref(Table),
84
+ unref(EpTable),
85
85
  normalizeProps(guardReactiveProps(unref(tableProps))),
86
86
  null,
87
87
  16
@@ -1,5 +1,5 @@
1
1
  import Select from './src/select.vue';
2
- declare const _default: {
2
+ export declare const EpSelect: {
3
3
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
4
4
  disabledOption: {
5
5
  type: import("vue").PropType<(item: import("./src/select").SelectOption) => boolean>;
@@ -655,7 +655,7 @@ declare const _default: {
655
655
  }) => any;
656
656
  };
657
657
  }) & import("vue").Plugin;
658
- export default _default;
658
+ export default EpSelect;
659
659
  export * from './src/select';
660
660
  declare module 'vue' {
661
661
  interface GlobalComponents {
@@ -2,7 +2,7 @@ import _sfc_main from './src/select.vue2.mjs';
2
2
  import { withInstall } from '../../utils/with-install.mjs';
3
3
  export { expandSelectPropsKeys, inheritSelectProps, selectEmits, selectEmitsKeys, selectProps } from './src/select.mjs';
4
4
 
5
- var Select = withInstall(_sfc_main);
5
+ const EpSelect = withInstall(_sfc_main);
6
6
 
7
- export { Select as default };
7
+ export { EpSelect, EpSelect as default };
8
8
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../../../packages/components/select/index.ts"],"sourcesContent":["import Select from './src/select.vue'\nimport { withInstall } from '@el-plus/utils/with-install'\n\nexport default withInstall(Select)\nexport * from './src/select'\n\ndeclare module 'vue' {\n export interface GlobalComponents {\n EpSelect: typeof Select\n }\n}\n"],"names":["Select"],"mappings":";;;;AAGA,aAAe,YAAYA,SAAM,CAAA;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":["../../../../../packages/components/select/index.ts"],"sourcesContent":["import Select from './src/select.vue'\nimport { withInstall } from '@el-plus/utils/with-install'\n\nexport const EpSelect = withInstall(Select)\nexport default EpSelect\nexport * from './src/select'\n\ndeclare module 'vue' {\n export interface GlobalComponents {\n EpSelect: typeof Select\n }\n}\n"],"names":["Select"],"mappings":";;;;AAGO,MAAM,QAAA,GAAW,YAAYA,SAAM;;;;"}
@@ -1,5 +1,5 @@
1
1
  import Table from './src/table.vue';
2
- declare const _default: {
2
+ export declare const EpTable: {
3
3
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
4
4
  columns: {
5
5
  type: import("vue").PropType<Partial<import("element-plus").TableColumnCtx & {
@@ -2965,7 +2965,7 @@ declare const _default: {
2965
2965
  [x: string]: ((props: any) => any) | undefined;
2966
2966
  };
2967
2967
  }) & import("vue").Plugin;
2968
- export default _default;
2968
+ export default EpTable;
2969
2969
  export * from './src/table';
2970
2970
  export type TableInstance = InstanceType<typeof Table>;
2971
2971
  declare module 'vue' {
@@ -2,7 +2,7 @@ import _sfc_main from './src/table.vue2.mjs';
2
2
  import { withInstall } from '../../utils/with-install.mjs';
3
3
  export { expandTablePropsKeys, tableEmits, tableEmitsKeys, tableProps } from './src/table.mjs';
4
4
 
5
- var Table = withInstall(_sfc_main);
5
+ const EpTable = withInstall(_sfc_main);
6
6
 
7
- export { Table as default };
7
+ export { EpTable, EpTable as default };
8
8
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../../../packages/components/table/index.ts"],"sourcesContent":["import Table from './src/table.vue'\nimport { withInstall } from '@el-plus/utils/with-install'\n\nexport default withInstall(Table)\nexport * from './src/table'\nexport type TableInstance = InstanceType<typeof Table>\n// GlobalComponents是vue3自带,用于扩展接口,给用户自定义全局组件补充类型提示\ndeclare module 'vue' {\n export interface GlobalComponents {\n // 接口自动合并\n EpTable: typeof Table\n }\n}\n"],"names":["Table"],"mappings":";;;;AAGA,YAAe,YAAYA,SAAK,CAAA;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":["../../../../../packages/components/table/index.ts"],"sourcesContent":["import Table from './src/table.vue'\nimport { withInstall } from '@el-plus/utils/with-install'\n\nexport const EpTable = withInstall(Table)\nexport default EpTable\nexport * from './src/table'\nexport type TableInstance = InstanceType<typeof Table>\n// GlobalComponents是vue3自带,用于扩展接口,给用户自定义全局组件补充类型提示\ndeclare module 'vue' {\n export interface GlobalComponents {\n // 接口自动合并\n EpTable: typeof Table\n }\n}\n"],"names":["Table"],"mappings":";;;;AAGO,MAAM,OAAA,GAAU,YAAYA,SAAK;;;;"}
package/es/components.mjs CHANGED
@@ -1,11 +1,11 @@
1
- import Buttons from './components/buttons/index.mjs';
2
- import Form from './components/form/index.mjs';
3
- import Input from './components/input/index.mjs';
4
- import SearchListPage from './components/searchListPage/index.mjs';
5
- import Select from './components/select/index.mjs';
6
- import Table from './components/table/index.mjs';
1
+ import { EpButtons } from './components/buttons/index.mjs';
2
+ import { EpForm } from './components/form/index.mjs';
3
+ import { EpInput } from './components/input/index.mjs';
4
+ import { EpSearchListPage } from './components/searchListPage/index.mjs';
5
+ import { EpSelect } from './components/select/index.mjs';
6
+ import { EpTable } from './components/table/index.mjs';
7
7
 
8
- var components = [Buttons, Form, Input, SearchListPage, Select, Table];
8
+ var components = [EpButtons, EpForm, EpInput, EpSearchListPage, EpSelect, EpTable];
9
9
 
10
10
  export { components as default };
11
11
  //# sourceMappingURL=components.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"components.mjs","sources":["../../../packages/el-plus/components.ts"],"sourcesContent":["import type { Plugin } from 'vue'\nimport Buttons from '@el-plus/components/buttons'\nimport Form from '@el-plus/components/form'\nimport Input from '@el-plus/components/input'\nimport SearchListPage from '@el-plus/components/searchListPage'\nimport Select from '@el-plus/components/select'\nimport Table from '@el-plus/components/table'\n\nexport default [Buttons, Form, Input, SearchListPage, Select, Table] as Plugin[]\n"],"names":[],"mappings":";;;;;;;AAQA,iBAAe,CAAC,OAAA,EAAS,IAAA,EAAM,KAAA,EAAO,cAAA,EAAgB,QAAQ,KAAK,CAAA;;;;"}
1
+ {"version":3,"file":"components.mjs","sources":["../../../packages/el-plus/components.ts"],"sourcesContent":["import type { Plugin } from 'vue'\nimport Buttons from '@el-plus/components/buttons'\nimport Form from '@el-plus/components/form'\nimport Input from '@el-plus/components/input'\nimport SearchListPage from '@el-plus/components/searchListPage'\nimport Select from '@el-plus/components/select'\nimport Table from '@el-plus/components/table'\n\nexport default [Buttons, Form, Input, SearchListPage, Select, Table] as Plugin[]\n"],"names":["Buttons","Form","Input","SearchListPage","Select","Table"],"mappings":";;;;;;;AAQA,iBAAe,CAACA,SAAA,EAASC,MAAA,EAAMC,OAAA,EAAOC,gBAAA,EAAgBC,UAAQC,OAAK,CAAA;;;;"}
package/es/index.mjs CHANGED
@@ -3,13 +3,19 @@ import { version } from './package.json.mjs';
3
3
  export { default as vRepeatClick } from './directives/repeat-click/index.mjs';
4
4
  export { default as vPermission } from './directives/permission/index.mjs';
5
5
  export { buttonsProps } from './components/buttons/src/buttons.mjs';
6
+ export { EpButtons } from './components/buttons/index.mjs';
6
7
  export { expandFormPropsKeys, formEmits, formEmitsKeys, formProps } from './components/form/src/form.mjs';
7
8
  export { expandFormItemPropsKeys, formItemProps } from './components/form/src/form-item.mjs';
9
+ export { EpForm } from './components/form/index.mjs';
8
10
  export { default as EpFormItem } from './components/form/src/form-item-vue.mjs';
9
11
  export { inputEmits, inputEmitsKeys, inputProps } from './components/input/src/input.mjs';
12
+ export { EpInput } from './components/input/index.mjs';
10
13
  export { searchListPageProps } from './components/searchListPage/src/searchListPage.mjs';
14
+ export { EpSearchListPage } from './components/searchListPage/index.mjs';
11
15
  export { expandSelectPropsKeys, inheritSelectProps, selectEmits, selectEmitsKeys, selectProps } from './components/select/src/select.mjs';
16
+ export { EpSelect } from './components/select/index.mjs';
12
17
  export { expandTablePropsKeys, tableEmits, tableEmitsKeys, tableProps } from './components/table/src/table.mjs';
18
+ export { EpTable } from './components/table/index.mjs';
13
19
  export { useRequest } from './hooks/use-request.mjs';
14
20
 
15
21
  const install = (app, options) => {
package/es/index.mjs.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../packages/el-plus/index.ts"],"sourcesContent":["import type { App, Plugin } from 'vue'\nimport components from './components'\nimport { version } from './package.json'\nexport const install = (app: App, options?: Record<string, any>) => {\n components.forEach((c) => app.use(c))\n if (options) {\n }\n}\n\nconst plugin: Plugin & { version: string } = {\n install,\n version,\n}\nexport default plugin\nexport * from '@el-plus/components'\nexport * from '@el-plus/hooks'\nexport * from '@el-plus/directives'\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAGO,MAAM,OAAA,GAAU,CAAC,GAAA,EAAU,OAAA,KAAkC;AAClE,EAAA,UAAA,CAAW,QAAQ,CAAC,CAAA,KAAM,GAAA,CAAI,GAAA,CAAI,CAAC,CAAC,CAAA;AAGtC;AAEA,MAAM,MAAA,GAAuC;AAAA,EAC3C,OAAA;AAAA,EACA;AACF;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":["../../../packages/el-plus/index.ts"],"sourcesContent":["import type { App, Plugin } from 'vue'\nimport components from './components'\nimport { version } from './package.json'\nexport const install = (app: App, options?: Record<string, any>) => {\n components.forEach((c) => app.use(c))\n if (options) {\n }\n}\n\nconst plugin: Plugin & { version: string } = {\n install,\n version,\n}\nexport default plugin\nexport * from '@el-plus/components'\nexport * from '@el-plus/hooks'\nexport * from '@el-plus/directives'\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAGO,MAAM,OAAA,GAAU,CAAC,GAAA,EAAU,OAAA,KAAkC;AAClE,EAAA,UAAA,CAAW,QAAQ,CAAC,CAAA,KAAM,GAAA,CAAI,GAAA,CAAI,CAAC,CAAC,CAAA;AAGtC;AAEA,MAAM,MAAA,GAAuC;AAAA,EAC3C,OAAA;AAAA,EACA;AACF;;;;"}
package/global.d.ts CHANGED
@@ -1,13 +1,15 @@
1
+ /* prettier-ignore */
2
+
1
3
  // GlobalComponents是vue3自带,用于扩展接口,给用户自定义全局组件补充类型提示
2
4
  declare module 'vue' {
3
5
  export interface GlobalComponents {
4
6
  // 接口自动合并 GlobalComponents for Volar
5
- EpButtons: (typeof import('el-plus'))['buttons']
6
- EpForm: (typeof import('el-plus'))['form']
7
- EpInput: (typeof import('el-plus'))['input']
8
- EpTable: (typeof import('el-plus'))['table']
9
- EpSelect: (typeof import('el-plus'))['select']
10
- EpSearchListPage: (typeof import('el-plus'))['searchListPage']
7
+ EpButtons: typeof import('el-plus2')['EpButtons']
8
+ EpForm: typeof import('el-plus2')['EpForm']
9
+ EpInput: typeof import('el-plus2')['EpInput']
10
+ EpTable: typeof import('el-plus2')['EpTable']
11
+ EpSelect: typeof import('el-plus2')['EpSelect']
12
+ EpSearchListPage: typeof import('el-plus2')['EpSearchListPage']
11
13
  }
12
14
  }
13
15
  export {}
@@ -1,4 +1,4 @@
1
- declare const _default: {
1
+ export declare const EpButtons: {
2
2
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
3
3
  disabled: {
4
4
  type: import("vue").PropType<boolean | ((...args: any[]) => boolean)>;
@@ -355,5 +355,5 @@ declare const _default: {
355
355
  name: string;
356
356
  });
357
357
  } & import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin;
358
- export default _default;
358
+ export default EpButtons;
359
359
  export * from './src/buttons';
@@ -6,8 +6,9 @@ var buttonsVue = require('./src/buttons-vue.js');
6
6
  var withInstall = require('../../utils/with-install.js');
7
7
  var buttons = require('./src/buttons.js');
8
8
 
9
- var Buttons = withInstall.withInstall(buttonsVue.default);
9
+ const EpButtons = withInstall.withInstall(buttonsVue.default);
10
10
 
11
11
  exports.buttonsProps = buttons.buttonsProps;
12
- exports.default = Buttons;
12
+ exports.EpButtons = EpButtons;
13
+ exports.default = EpButtons;
13
14
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../packages/components/buttons/index.ts"],"sourcesContent":["import Buttons from './src/buttons-vue'\nimport { withInstall } from '@el-plus/utils/with-install'\n\nexport default withInstall(Buttons)\nexport * from './src/buttons'\n"],"names":["withInstall","Buttons"],"mappings":";;;;;;;;AAGA,cAAeA,wBAAYC,kBAAO,CAAA;;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../../../../packages/components/buttons/index.ts"],"sourcesContent":["import Buttons from './src/buttons-vue'\nimport { withInstall } from '@el-plus/utils/with-install'\n\nexport const EpButtons = withInstall(Buttons)\nexport default EpButtons\nexport * from './src/buttons'\n"],"names":["withInstall","Buttons"],"mappings":";;;;;;;;AAGO,MAAM,SAAA,GAAYA,wBAAYC,kBAAO;;;;;;"}
@@ -1,6 +1,6 @@
1
1
  import Form from './src/form.vue';
2
2
  import FormItem from './src/form-item-vue';
3
- declare const _default: {
3
+ export declare const EpForm: {
4
4
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
5
5
  size: {
6
6
  default: string;
@@ -283,7 +283,7 @@ declare const _default: {
283
283
  default?: (props: {}) => any;
284
284
  };
285
285
  }) & import("vue").Plugin;
286
- export default _default;
286
+ export default EpForm;
287
287
  export * from './src/form';
288
288
  export * from './src/form-item';
289
289
  export { FormItem as EpFormItem };
@@ -8,7 +8,7 @@ var withInstall = require('../../utils/with-install.js');
8
8
  var form = require('./src/form.js');
9
9
  var formItem = require('./src/form-item.js');
10
10
 
11
- var Form = withInstall.withInstall(form_vue_vue_type_script_setup_true_lang.default);
11
+ const EpForm = withInstall.withInstall(form_vue_vue_type_script_setup_true_lang.default);
12
12
 
13
13
  exports.EpFormItem = formItemVue.default;
14
14
  exports.expandFormPropsKeys = form.expandFormPropsKeys;
@@ -17,5 +17,6 @@ exports.formEmitsKeys = form.formEmitsKeys;
17
17
  exports.formProps = form.formProps;
18
18
  exports.expandFormItemPropsKeys = formItem.expandFormItemPropsKeys;
19
19
  exports.formItemProps = formItem.formItemProps;
20
- exports.default = Form;
20
+ exports.EpForm = EpForm;
21
+ exports.default = EpForm;
21
22
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../packages/components/form/index.ts"],"sourcesContent":["import Form from './src/form.vue'\nimport FormItem from './src/form-item-vue'\nimport { withInstall } from '@el-plus/utils/with-install'\nexport default withInstall(Form)\nexport * from './src/form'\nexport * from './src/form-item'\nexport { FormItem as EpFormItem }\nexport type FormInstance = InstanceType<typeof Form>\nexport type FormItemInstance = InstanceType<typeof FormItem>\n\n"],"names":["withInstall","Form"],"mappings":";;;;;;;;;;AAGA,WAAeA,wBAAYC,gDAAI,CAAA;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../../../../packages/components/form/index.ts"],"sourcesContent":["import Form from './src/form.vue'\nimport FormItem from './src/form-item-vue'\nimport { withInstall } from '@el-plus/utils/with-install'\nexport const EpForm = withInstall(Form)\nexport default EpForm\nexport * from './src/form'\nexport * from './src/form-item'\nexport { FormItem as EpFormItem }\nexport type FormInstance = InstanceType<typeof Form>\nexport type FormItemInstance = InstanceType<typeof FormItem>\n"],"names":["withInstall","Form"],"mappings":";;;;;;;;;;AAGO,MAAM,MAAA,GAASA,wBAAYC,gDAAI;;;;;;;;;;;;"}
@@ -1,5 +1,11 @@
1
1
  'use strict';
2
2
 
3
+ var index = require('./buttons/index.js');
4
+ var index$1 = require('./form/index.js');
5
+ var index$2 = require('./input/index.js');
6
+ var index$3 = require('./searchListPage/index.js');
7
+ var index$4 = require('./select/index.js');
8
+ var index$5 = require('./table/index.js');
3
9
  var buttons = require('./buttons/src/buttons.js');
4
10
  var form = require('./form/src/form.js');
5
11
  var formItem = require('./form/src/form-item.js');
@@ -11,6 +17,12 @@ var table = require('./table/src/table.js');
11
17
 
12
18
 
13
19
 
20
+ exports.EpButtons = index.EpButtons;
21
+ exports.EpForm = index$1.EpForm;
22
+ exports.EpInput = index$2.EpInput;
23
+ exports.EpSearchListPage = index$3.EpSearchListPage;
24
+ exports.EpSelect = index$4.EpSelect;
25
+ exports.EpTable = index$5.EpTable;
14
26
  exports.buttonsProps = buttons.buttonsProps;
15
27
  exports.expandFormPropsKeys = form.expandFormPropsKeys;
16
28
  exports.formEmits = form.formEmits;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,5 +1,5 @@
1
1
  import Input from './src/input.vue';
2
- declare const _default: {
2
+ export declare const EpInput: {
3
3
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
4
4
  max: NumberConstructor;
5
5
  min: NumberConstructor;
@@ -459,7 +459,7 @@ declare const _default: {
459
459
  [x: string]: ((props: any) => any) | undefined;
460
460
  };
461
461
  }) & import("vue").Plugin;
462
- export default _default;
462
+ export default EpInput;
463
463
  export * from './src/input';
464
464
  declare module 'vue' {
465
465
  interface GlobalComponents {
@@ -6,10 +6,11 @@ var input_vue_vue_type_script_setup_true_lang = require('./src/input.vue2.js');
6
6
  var withInstall = require('../../utils/with-install.js');
7
7
  var input = require('./src/input.js');
8
8
 
9
- var Input = withInstall.withInstall(input_vue_vue_type_script_setup_true_lang.default);
9
+ const EpInput = withInstall.withInstall(input_vue_vue_type_script_setup_true_lang.default);
10
10
 
11
11
  exports.inputEmits = input.inputEmits;
12
12
  exports.inputEmitsKeys = input.inputEmitsKeys;
13
13
  exports.inputProps = input.inputProps;
14
- exports.default = Input;
14
+ exports.EpInput = EpInput;
15
+ exports.default = EpInput;
15
16
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../packages/components/input/index.ts"],"sourcesContent":["import Input from './src/input.vue'\nimport { withInstall } from '@el-plus/utils/with-install'\n\nexport default withInstall(Input)\nexport * from './src/input'\n\n// GlobalComponents是vue3自带,用于扩展接口,给用户自定义全局组件补充类型提示\ndeclare module 'vue' {\n export interface GlobalComponents {\n // 接口自动合并\n EpInput: typeof Input\n }\n}\n"],"names":["withInstall","Input"],"mappings":";;;;;;;;AAGA,YAAeA,wBAAYC,iDAAK,CAAA;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../../../../packages/components/input/index.ts"],"sourcesContent":["import Input from './src/input.vue'\nimport { withInstall } from '@el-plus/utils/with-install'\n\nexport const EpInput = withInstall(Input)\nexport default EpInput\nexport * from './src/input'\n\n// GlobalComponents是vue3自带,用于扩展接口,给用户自定义全局组件补充类型提示\ndeclare module 'vue' {\n export interface GlobalComponents {\n // 接口自动合并\n EpInput: typeof Input\n }\n}\n"],"names":["withInstall","Input"],"mappings":";;;;;;;;AAGO,MAAM,OAAA,GAAUA,wBAAYC,iDAAK;;;;;;;;"}
@@ -1,5 +1,5 @@
1
1
  import SearchListPage from './src/searchListPage.vue';
2
- declare const _default: {
2
+ export declare const EpSearchListPage: {
3
3
  new (...args: any[]): import("vue").CreateComponentPublicInstanceWithMixins<Readonly<import("vue").ExtractPropTypes<{
4
4
  customColumnModule: NumberConstructor;
5
5
  showOperationColumn: BooleanConstructor;
@@ -8574,7 +8574,7 @@ declare const _default: {
8574
8574
  tableBefore?: (props: {}) => any;
8575
8575
  };
8576
8576
  }) & import("vue").Plugin;
8577
- export default _default;
8577
+ export default EpSearchListPage;
8578
8578
  export * from './src/searchListPage';
8579
8579
  declare module 'vue' {
8580
8580
  interface GlobalComponents {
@@ -6,8 +6,9 @@ var searchListPage_vue_vue_type_script_setup_true_lang = require('./src/searchLi
6
6
  var withInstall = require('../../utils/with-install.js');
7
7
  var searchListPage = require('./src/searchListPage.js');
8
8
 
9
- var SearchListPage = withInstall.withInstall(searchListPage_vue_vue_type_script_setup_true_lang.default);
9
+ const EpSearchListPage = withInstall.withInstall(searchListPage_vue_vue_type_script_setup_true_lang.default);
10
10
 
11
11
  exports.searchListPageProps = searchListPage.searchListPageProps;
12
- exports.default = SearchListPage;
12
+ exports.EpSearchListPage = EpSearchListPage;
13
+ exports.default = EpSearchListPage;
13
14
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../packages/components/searchListPage/index.ts"],"sourcesContent":["import SearchListPage from './src/searchListPage.vue'\nimport { withInstall } from '@el-plus/utils/with-install'\n\nexport default withInstall(SearchListPage)\nexport * from './src/searchListPage'\n\n// GlobalComponents是vue3自带,用于扩展接口,给用户自定义全局组件补充类型提示\ndeclare module 'vue' {\n export interface GlobalComponents {\n // 接口自动合并\n EpSearchListPage: typeof SearchListPage\n }\n}\n"],"names":["withInstall","SearchListPage"],"mappings":";;;;;;;;AAGA,qBAAeA,wBAAYC,0DAAc,CAAA;;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../../../../../packages/components/searchListPage/index.ts"],"sourcesContent":["import SearchListPage from './src/searchListPage.vue'\nimport { withInstall } from '@el-plus/utils/with-install'\n\nexport const EpSearchListPage = withInstall(SearchListPage)\nexport default EpSearchListPage\nexport * from './src/searchListPage'\n\n// GlobalComponents是vue3自带,用于扩展接口,给用户自定义全局组件补充类型提示\ndeclare module 'vue' {\n export interface GlobalComponents {\n // 接口自动合并\n EpSearchListPage: typeof SearchListPage\n }\n}\n"],"names":["withInstall","SearchListPage"],"mappings":";;;;;;;;AAGO,MAAM,gBAAA,GAAmBA,wBAAYC,0DAAc;;;;;;"}