page-schema-enginer-shun 1.0.6 → 1.0.7

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 (44) hide show
  1. package/dist/http.cjs.js +23 -0
  2. package/dist/http.cjs.js.map +1 -1
  3. package/dist/http.es.js +24 -1
  4. package/dist/http.es.js.map +1 -1
  5. package/package.json +2 -2
  6. package/dist/assets/schema-table-vmQlBlmv.css +0 -53
  7. package/dist/assets/schema-table.vue_vue_type_style_index_0_scoped_502fe21c_lang-CdioWh25.js +0 -7
  8. package/dist/assets/schema-table.vue_vue_type_style_index_0_scoped_502fe21c_lang-CdioWh25.js.map +0 -1
  9. package/dist/assets/schema-table.vue_vue_type_style_index_0_scoped_502fe21c_lang-v2tkbqJq.js +0 -8
  10. package/dist/assets/schema-table.vue_vue_type_style_index_0_scoped_502fe21c_lang-v2tkbqJq.js.map +0 -1
  11. package/dist/assets/schema-view-bW-stnbi.css +0 -10
  12. package/dist/assets/wigdets-klW8Cf0W.css +0 -4
  13. package/dist/http.d.ts +0 -1
  14. package/dist/index.cjs.js +0 -9
  15. package/dist/index.cjs.js.map +0 -1
  16. package/dist/index.es.js +0 -8
  17. package/dist/index.es.js.map +0 -1
  18. package/dist/schema-view/complex-view/search-panel/search-panel.vue.d.ts +0 -8
  19. package/dist/schema-view/complex-view/table-panel/table-panel.vue.d.ts +0 -18
  20. package/dist/schema-view/components/createForm/createForm.vue.d.ts +0 -9
  21. package/dist/schema-view/components/editForm/editForm.vue.d.ts +0 -10
  22. package/dist/schema-view/schema-view.vue.d.ts +0 -15
  23. package/dist/schema-view.cjs.js +0 -9
  24. package/dist/schema-view.cjs.js.map +0 -1
  25. package/dist/schema-view.d.ts +0 -3
  26. package/dist/schema-view.es.js +0 -8
  27. package/dist/schema-view.es.js.map +0 -1
  28. package/dist/wigdets/operation-panel/operation-panel.vue.d.ts +0 -2
  29. package/dist/wigdets/schema-form/complex-view/input/input.vue.d.ts +0 -17
  30. package/dist/wigdets/schema-form/complex-view/input-number/input-number.vue.d.ts +0 -17
  31. package/dist/wigdets/schema-form/complex-view/radio/radio.vue.d.ts +0 -17
  32. package/dist/wigdets/schema-form/complex-view/select/select.vue.d.ts +0 -17
  33. package/dist/wigdets/schema-form/schema-form.vue.d.ts +0 -23
  34. package/dist/wigdets/schema-search/complex-view/input/input.vue.d.ts +0 -36
  35. package/dist/wigdets/schema-search/schema-search-bar.vue.d.ts +0 -33
  36. package/dist/wigdets/schema-table/schema-table.vue.d.ts +0 -38
  37. package/dist/wigdets/schema-table/schema-view/format-date/format-date.vue.d.ts +0 -41
  38. package/dist/wigdets/schema-table/schema-view/format-enum/format-enum.vue.d.ts +0 -41
  39. package/dist/wigdets/schema-table/schema-view/tag/tag.vue.d.ts +0 -41
  40. package/dist/wigdets.cjs.js +0 -7
  41. package/dist/wigdets.cjs.js.map +0 -1
  42. package/dist/wigdets.d.ts +0 -1
  43. package/dist/wigdets.es.js +0 -6
  44. package/dist/wigdets.es.js.map +0 -1
package/dist/http.cjs.js CHANGED
@@ -1,2 +1,25 @@
1
1
  "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ let requestFn = null;
4
+ function setRequestClient(fn) {
5
+ requestFn = fn;
6
+ }
7
+ function request(options) {
8
+ if (!requestFn) throw new Error("请先使用 setRequestClient 注册请求客户端");
9
+ console.log("requestrequestrequest");
10
+ return requestFn(options);
11
+ }
12
+ let requestAdapter;
13
+ const setRequestAdapter = (adapter) => {
14
+ console.log("设置requestAdapter", adapter);
15
+ requestAdapter = adapter;
16
+ };
17
+ const service = async (config) => {
18
+ console.log("调用service", config);
19
+ return requestAdapter(config);
20
+ };
21
+ exports.request = request;
22
+ exports.service = service;
23
+ exports.setRequestAdapter = setRequestAdapter;
24
+ exports.setRequestClient = setRequestClient;
2
25
  //# sourceMappingURL=http.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"http.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"http.cjs.js","sources":["../src/http/index.ts","../src/utils/request.ts"],"sourcesContent":["// http/index.ts\nexport type RequestFn = (options: {\n url: string;\n method?: string;\n params?: any;\n data?: any;\n}) => Promise<any>;\n\nlet requestFn: RequestFn | null = null;\n\nexport function setRequestClient(fn: RequestFn) {\n requestFn = fn;\n}\n\nexport function request(options: Parameters<RequestFn>[0]) {\n if (!requestFn) throw new Error('请先使用 setRequestClient 注册请求客户端');\n console.log('requestrequestrequest');\n return requestFn(options);\n}\n","import { Axios, AxiosInstance, AxiosRequestConfig } from \"axios\";\r\n\r\ntype RequestConfig = {\r\n url: string;\r\n method: \"get\" | \"post\" | \"put\" | \"delete\" | string;\r\n params?: Record<string, any>;\r\n data?: Record<string, any>;\r\n};\r\nlet requestAdapter: AxiosInstance;\r\n\r\nexport const setRequestAdapter = (adapter: AxiosInstance): void => {\r\n console.log(\"设置requestAdapter\", adapter);\r\n requestAdapter = adapter;\r\n};\r\n\r\nconst service = async (config: AxiosRequestConfig): Promise<Axios> => {\r\n console.log(\"调用service\", config);\r\n return requestAdapter(config);\r\n};\r\nexport default service;\r\n"],"names":[],"mappings":";;AAQA,IAAI,YAA8B;AAE3B,SAAS,iBAAiB,IAAe;AAC9C,cAAY;AACd;AAEO,SAAS,QAAQ,SAAmC;AACzD,MAAI,CAAC,UAAW,OAAM,IAAI,MAAM,+BAA+B;AAC/D,UAAQ,IAAI,uBAAuB;AACnC,SAAO,UAAU,OAAO;AAC1B;ACVA,IAAI;AAEG,MAAM,oBAAoB,CAAC,YAAiC;AACjE,UAAQ,IAAI,oBAAoB,OAAO;AACvC,mBAAiB;AACnB;AAEA,MAAM,UAAU,OAAO,WAA+C;AACpE,UAAQ,IAAI,aAAa,MAAM;AAC/B,SAAO,eAAe,MAAM;AAC9B;;;;;"}
package/dist/http.es.js CHANGED
@@ -1,2 +1,25 @@
1
-
1
+ let requestFn = null;
2
+ function setRequestClient(fn) {
3
+ requestFn = fn;
4
+ }
5
+ function request(options) {
6
+ if (!requestFn) throw new Error("请先使用 setRequestClient 注册请求客户端");
7
+ console.log("requestrequestrequest");
8
+ return requestFn(options);
9
+ }
10
+ let requestAdapter;
11
+ const setRequestAdapter = (adapter) => {
12
+ console.log("设置requestAdapter", adapter);
13
+ requestAdapter = adapter;
14
+ };
15
+ const service = async (config) => {
16
+ console.log("调用service", config);
17
+ return requestAdapter(config);
18
+ };
19
+ export {
20
+ request,
21
+ service,
22
+ setRequestAdapter,
23
+ setRequestClient
24
+ };
2
25
  //# sourceMappingURL=http.es.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"http.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
1
+ {"version":3,"file":"http.es.js","sources":["../src/http/index.ts","../src/utils/request.ts"],"sourcesContent":["// http/index.ts\nexport type RequestFn = (options: {\n url: string;\n method?: string;\n params?: any;\n data?: any;\n}) => Promise<any>;\n\nlet requestFn: RequestFn | null = null;\n\nexport function setRequestClient(fn: RequestFn) {\n requestFn = fn;\n}\n\nexport function request(options: Parameters<RequestFn>[0]) {\n if (!requestFn) throw new Error('请先使用 setRequestClient 注册请求客户端');\n console.log('requestrequestrequest');\n return requestFn(options);\n}\n","import { Axios, AxiosInstance, AxiosRequestConfig } from \"axios\";\r\n\r\ntype RequestConfig = {\r\n url: string;\r\n method: \"get\" | \"post\" | \"put\" | \"delete\" | string;\r\n params?: Record<string, any>;\r\n data?: Record<string, any>;\r\n};\r\nlet requestAdapter: AxiosInstance;\r\n\r\nexport const setRequestAdapter = (adapter: AxiosInstance): void => {\r\n console.log(\"设置requestAdapter\", adapter);\r\n requestAdapter = adapter;\r\n};\r\n\r\nconst service = async (config: AxiosRequestConfig): Promise<Axios> => {\r\n console.log(\"调用service\", config);\r\n return requestAdapter(config);\r\n};\r\nexport default service;\r\n"],"names":[],"mappings":"AAQA,IAAI,YAA8B;AAE3B,SAAS,iBAAiB,IAAe;AAC9C,cAAY;AACd;AAEO,SAAS,QAAQ,SAAmC;AACzD,MAAI,CAAC,UAAW,OAAM,IAAI,MAAM,+BAA+B;AAC/D,UAAQ,IAAI,uBAAuB;AACnC,SAAO,UAAU,OAAO;AAC1B;ACVA,IAAI;AAEG,MAAM,oBAAoB,CAAC,YAAiC;AACjE,UAAQ,IAAI,oBAAoB,OAAO;AACvC,mBAAiB;AACnB;AAEA,MAAM,UAAU,OAAO,WAA+C;AACpE,UAAQ,IAAI,aAAa,MAAM;AAC/B,SAAO,eAAe,MAAM;AAC9B;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "page-schema-enginer-shun",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "页面级别的schema渲染引擎",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs.js",
@@ -37,7 +37,7 @@
37
37
  ],
38
38
  "scripts": {
39
39
  "dev": "vite",
40
- "build": "vite build",
40
+ "build": "node scripts/build.mjs",
41
41
  "preview": "vite preview",
42
42
  "typecheck": "tsc --noEmit"
43
43
  },
@@ -1,53 +0,0 @@
1
- .schema-form-input[data-v-5d94c475] {
2
- display: flex;
3
- align-items: center;
4
- }
5
- .schema-form-input .schema-form-input-item-label[data-v-5d94c475] {
6
- margin-right: 10px;
7
- min-width: 70px;
8
- }.schema-form-radio[data-v-a791fef4] {
9
- display: flex;
10
- align-items: center;
11
- }
12
- .schema-form-radio-label[data-v-a791fef4] {
13
- margin-right: 10px;
14
- min-width: 70px;
15
- }.schema-form-input-number[data-v-44583072] {
16
- display: flex;
17
- align-items: center;
18
- }
19
- .schema-form-input-number-label[data-v-44583072] {
20
- margin-right: 10px;
21
- min-width: 70px;
22
- }.schema-form-select[data-v-65d85e93] {
23
- display: flex;
24
- align-items: center;
25
- }
26
- .schema-form-select-label[data-v-65d85e93] {
27
- margin-right: 10px;
28
- min-width: 70px;
29
- }.schema-form-complex-view .schema-form-input-container[data-v-0e3bb5f7] {
30
- margin-bottom: 10px;
31
- }
32
- .schema-form-complex-view .schema-form-radio-container[data-v-0e3bb5f7] {
33
- margin-bottom: 10px;
34
- }
35
- .schema-form-complex-view .schema-form-input-number-container[data-v-0e3bb5f7] {
36
- margin-bottom: 10px;
37
- }
38
- .schema-form-complex-view .schema-form-select-container[data-v-0e3bb5f7] {
39
- margin-bottom: 10px;
40
- }.schema-table[data-v-502fe21c] {
41
- width: 98%;
42
- margin: 0 auto;
43
- margin-top: 5px;
44
- }
45
- .table-panel[data-v-502fe21c] {
46
- height: 100%;
47
- }
48
- .gva-pagination[data-v-502fe21c] {
49
- margin-top: 16px;
50
- display: flex;
51
- justify-content: flex-end;
52
- padding-bottom: 20px;
53
- }
@@ -1,7 +0,0 @@
1
- import { defineStore } from "pinia";
2
- defineStore("user", {
3
- state: () => ({
4
- name: "DemoUser"
5
- })
6
- });
7
- //# sourceMappingURL=schema-table.vue_vue_type_style_index_0_scoped_502fe21c_lang-CdioWh25.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"schema-table.vue_vue_type_style_index_0_scoped_502fe21c_lang-CdioWh25.js","sources":["../../src/pinia/modules/user.ts"],"sourcesContent":["import { defineStore } from 'pinia';\r\n\r\nexport const useUserStore = defineStore('user', {\r\n state: () => ({\r\n name: 'DemoUser',\r\n }),\r\n});\r\n\r\n"],"names":[],"mappings":";AAE4B,YAAY,QAAQ;AAAA,EAC9C,OAAO,OAAO;AAAA,IACZ,MAAM;AAAA,EAAA;AAEV,CAAC;"}
@@ -1,8 +0,0 @@
1
- "use strict";
2
- const pinia = require("pinia");
3
- pinia.defineStore("user", {
4
- state: () => ({
5
- name: "DemoUser"
6
- })
7
- });
8
- //# sourceMappingURL=schema-table.vue_vue_type_style_index_0_scoped_502fe21c_lang-v2tkbqJq.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"schema-table.vue_vue_type_style_index_0_scoped_502fe21c_lang-v2tkbqJq.js","sources":["../../src/pinia/modules/user.ts"],"sourcesContent":["import { defineStore } from 'pinia';\r\n\r\nexport const useUserStore = defineStore('user', {\r\n state: () => ({\r\n name: 'DemoUser',\r\n }),\r\n});\r\n\r\n"],"names":["defineStore"],"mappings":";;AAE4BA,MAAAA,YAAY,QAAQ;AAAA,EAC9C,OAAO,OAAO;AAAA,IACZ,MAAM;AAAA,EAAA;AAEV,CAAC;"}
@@ -1,10 +0,0 @@
1
- .table-panel[data-v-cef68da3] {
2
- margin: 0 auto;
3
- height: 100%;
4
- background-color: #fff;
5
- }
6
- .table-panel .operation-panel[data-v-cef68da3] {
7
- padding: 10px;
8
- }.schema-view[data-v-6aa05693] {
9
- height: 100%;
10
- }
@@ -1,4 +0,0 @@
1
-
2
- .operation-panel-placeholder[data-v-e002ae22] {
3
- display: none;
4
- }
package/dist/http.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from './entrypoints/http'
package/dist/index.cjs.js DELETED
@@ -1,9 +0,0 @@
1
- "use strict";
2
- require("vue");
3
- require("vue-router");
4
- require("./assets/schema-table.vue_vue_type_style_index_0_scoped_502fe21c_lang-v2tkbqJq.js");
5
- require("ajv");
6
- require("element-plus");
7
- ;/* empty css */
8
- require("pinia");
9
- //# sourceMappingURL=index.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
package/dist/index.es.js DELETED
@@ -1,8 +0,0 @@
1
- import "vue";
2
- import "vue-router";
3
- import "./assets/schema-table.vue_vue_type_style_index_0_scoped_502fe21c_lang-CdioWh25.js";
4
- import "ajv";
5
- import "element-plus";
6
- /* empty css */
7
- import "pinia";
8
- //# sourceMappingURL=index.es.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
@@ -1,8 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
2
- Reset: (...args: any[]) => void;
3
- Search: (...args: any[]) => void;
4
- }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
5
- onReset?: ((...args: any[]) => any) | undefined;
6
- onSearch?: ((...args: any[]) => any) | undefined;
7
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
8
- export default _default;
@@ -1,18 +0,0 @@
1
- declare function __VLS_template(): {
2
- cell?(_: any): any;
3
- };
4
- declare const __VLS_component: import('vue').DefineComponent<{}, {
5
- initTableData: () => Promise<void>;
6
- loadTableData: () => Promise<void>;
7
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
- operate: (...args: any[]) => void;
9
- }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
10
- onOperate?: ((...args: any[]) => any) | undefined;
11
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
12
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
13
- export default _default;
14
- type __VLS_WithTemplateSlots<T, S> = T & {
15
- new (): {
16
- $slots: S;
17
- };
18
- };
@@ -1,9 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<{}, {
2
- name: import('vue').Ref<string, string>;
3
- show: () => void;
4
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
5
- command: (...args: any[]) => void;
6
- }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
7
- onCommand?: ((...args: any[]) => any) | undefined;
8
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
9
- export default _default;
@@ -1,10 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<{}, {
2
- show: (rowData: any) => Promise<void>;
3
- name: import('vue').Ref<string, string>;
4
- close: () => void;
5
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
- command: (...args: any[]) => void;
7
- }, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
8
- onCommand?: ((...args: any[]) => any) | undefined;
9
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
10
- export default _default;
@@ -1,15 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
2
- config: any;
3
- }>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
- config: any;
5
- }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
6
- export default _default;
7
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
8
- type __VLS_TypePropsToRuntimeProps<T> = {
9
- [K in keyof T]-?: {} extends Pick<T, K> ? {
10
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
11
- } : {
12
- type: import('vue').PropType<T[K]>;
13
- required: true;
14
- };
15
- };
@@ -1,9 +0,0 @@
1
- "use strict";
2
- require("vue");
3
- require("vue-router");
4
- require("./assets/schema-table.vue_vue_type_style_index_0_scoped_502fe21c_lang-v2tkbqJq.js");
5
- require("ajv");
6
- require("element-plus");
7
- ;/* empty css */
8
- require("pinia");
9
- //# sourceMappingURL=schema-view.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"schema-view.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
@@ -1,3 +0,0 @@
1
- export * from './entrypoints/schema-view'
2
- import _default from './entrypoints/schema-view'
3
- export default _default
@@ -1,8 +0,0 @@
1
- import "vue";
2
- import "vue-router";
3
- import "./assets/schema-table.vue_vue_type_style_index_0_scoped_502fe21c_lang-CdioWh25.js";
4
- import "ajv";
5
- import "element-plus";
6
- /* empty css */
7
- import "pinia";
8
- //# sourceMappingURL=schema-view.es.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"schema-view.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;"}
@@ -1,2 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
- export default _default;
@@ -1,17 +0,0 @@
1
- declare const ItemKey: any;
2
- declare const _default: import('vue').DefineComponent<{
3
- model?: any;
4
- ItemKey?: any;
5
- schema?: any;
6
- }, {
7
- valid: () => boolean;
8
- getValue: () => {
9
- [ItemKey]: any;
10
- };
11
- reset: () => void;
12
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
13
- model?: any;
14
- ItemKey?: any;
15
- schema?: any;
16
- }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
17
- export default _default;
@@ -1,17 +0,0 @@
1
- declare const ItemKey: any;
2
- declare const _default: import('vue').DefineComponent<{
3
- model?: any;
4
- ItemKey?: any;
5
- schema?: any;
6
- }, {
7
- getValue: () => {
8
- [ItemKey]: number;
9
- };
10
- valid: () => boolean;
11
- reset: () => void;
12
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
13
- model?: any;
14
- ItemKey?: any;
15
- schema?: any;
16
- }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
17
- export default _default;
@@ -1,17 +0,0 @@
1
- declare const ItemKey: any;
2
- declare const _default: import('vue').DefineComponent<{
3
- model?: any;
4
- ItemKey?: any;
5
- schema?: any;
6
- }, {
7
- getValue: () => {
8
- [ItemKey]: any;
9
- };
10
- valid: () => boolean;
11
- reset: () => void;
12
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
13
- model?: any;
14
- ItemKey?: any;
15
- schema?: any;
16
- }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
17
- export default _default;
@@ -1,17 +0,0 @@
1
- declare const ItemKey: any;
2
- declare const _default: import('vue').DefineComponent<{
3
- model?: any;
4
- ItemKey?: any;
5
- schema?: any;
6
- }, {
7
- getValue: () => {
8
- [ItemKey]: any;
9
- };
10
- valid: () => boolean;
11
- reset: () => void;
12
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
13
- model?: any;
14
- ItemKey?: any;
15
- schema?: any;
16
- }> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
17
- export default _default;
@@ -1,23 +0,0 @@
1
- import { DtoSchema } from '../../hooks/useSchema';
2
-
3
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
- schema: DtoSchema;
5
- model?: Record<string, any>;
6
- }>>, {
7
- valid: () => boolean;
8
- getValue: () => Record<string, any>;
9
- reset: () => void;
10
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
11
- schema: DtoSchema;
12
- model?: Record<string, any>;
13
- }>>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
14
- export default _default;
15
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
16
- type __VLS_TypePropsToRuntimeProps<T> = {
17
- [K in keyof T]-?: {} extends Pick<T, K> ? {
18
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
19
- } : {
20
- type: import('vue').PropType<T[K]>;
21
- required: true;
22
- };
23
- };
@@ -1,36 +0,0 @@
1
- declare const props: {
2
- readonly schema: Record<string, any>;
3
- readonly schemaKey: string;
4
- };
5
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
6
- schemaKey: {
7
- type: StringConstructor;
8
- default: string;
9
- };
10
- schema: {
11
- type: ObjectConstructor;
12
- default: () => void;
13
- };
14
- }>, {
15
- getValue: () => {
16
- [props.schemaKey]: any;
17
- };
18
- reset: () => void;
19
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
20
- loaded: (...args: any[]) => void;
21
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
22
- schemaKey: {
23
- type: StringConstructor;
24
- default: string;
25
- };
26
- schema: {
27
- type: ObjectConstructor;
28
- default: () => void;
29
- };
30
- }>> & Readonly<{
31
- onLoaded?: ((...args: any[]) => any) | undefined;
32
- }>, {
33
- schema: Record<string, any>;
34
- schemaKey: string;
35
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
36
- export default _default;
@@ -1,33 +0,0 @@
1
- import { DtoSchema } from '../../hooks/useSchema';
2
-
3
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
- schema: DtoSchema;
5
- schemaConfig?: Record<string, any>;
6
- }>>, {
7
- search: () => void;
8
- reset: () => void;
9
- load: () => void;
10
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
11
- search: (payload: Record<string, any>) => void;
12
- reset: () => void;
13
- load: () => void;
14
- loaded: (payload: Record<string, any>) => void;
15
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
16
- schema: DtoSchema;
17
- schemaConfig?: Record<string, any>;
18
- }>>> & Readonly<{
19
- onReset?: (() => any) | undefined;
20
- onSearch?: ((payload: Record<string, any>) => any) | undefined;
21
- onLoaded?: ((payload: Record<string, any>) => any) | undefined;
22
- onLoad?: (() => any) | undefined;
23
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
24
- export default _default;
25
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
26
- type __VLS_TypePropsToRuntimeProps<T> = {
27
- [K in keyof T]-?: {} extends Pick<T, K> ? {
28
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
29
- } : {
30
- type: import('vue').PropType<T[K]>;
31
- required: true;
32
- };
33
- };
@@ -1,38 +0,0 @@
1
- import { ApiConfig, DtoSchema } from '../../hooks/useSchema';
2
-
3
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
4
- schema: DtoSchema;
5
- api: ApiConfig;
6
- buttons: any[];
7
- apiParms: Record<string, any>;
8
- }>>, {
9
- initData: () => void;
10
- loadTableData: () => Promise<void>;
11
- showLoding: () => void;
12
- hideLoding: () => void;
13
- }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
14
- operate: (data: {
15
- btnConfig: any;
16
- rowData: any;
17
- }) => void;
18
- }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
19
- schema: DtoSchema;
20
- api: ApiConfig;
21
- buttons: any[];
22
- apiParms: Record<string, any>;
23
- }>>> & Readonly<{
24
- onOperate?: ((data: {
25
- btnConfig: any;
26
- rowData: any;
27
- }) => any) | undefined;
28
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
29
- export default _default;
30
- type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
31
- type __VLS_TypePropsToRuntimeProps<T> = {
32
- [K in keyof T]-?: {} extends Pick<T, K> ? {
33
- type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
34
- } : {
35
- type: import('vue').PropType<T[K]>;
36
- required: true;
37
- };
38
- };
@@ -1,41 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
- row: {
3
- type: ObjectConstructor;
4
- default: () => void;
5
- };
6
- column: {
7
- type: ObjectConstructor;
8
- default: () => void;
9
- };
10
- index: {
11
- type: NumberConstructor;
12
- default: number;
13
- };
14
- itemKey: {
15
- type: StringConstructor;
16
- default: string;
17
- };
18
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
19
- row: {
20
- type: ObjectConstructor;
21
- default: () => void;
22
- };
23
- column: {
24
- type: ObjectConstructor;
25
- default: () => void;
26
- };
27
- index: {
28
- type: NumberConstructor;
29
- default: number;
30
- };
31
- itemKey: {
32
- type: StringConstructor;
33
- default: string;
34
- };
35
- }>> & Readonly<{}>, {
36
- row: Record<string, any>;
37
- column: Record<string, any>;
38
- index: number;
39
- itemKey: string;
40
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
41
- export default _default;
@@ -1,41 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
- row: {
3
- type: ObjectConstructor;
4
- default: () => void;
5
- };
6
- column: {
7
- type: ObjectConstructor;
8
- default: () => void;
9
- };
10
- index: {
11
- type: NumberConstructor;
12
- default: number;
13
- };
14
- itemKey: {
15
- type: StringConstructor;
16
- default: string;
17
- };
18
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
19
- row: {
20
- type: ObjectConstructor;
21
- default: () => void;
22
- };
23
- column: {
24
- type: ObjectConstructor;
25
- default: () => void;
26
- };
27
- index: {
28
- type: NumberConstructor;
29
- default: number;
30
- };
31
- itemKey: {
32
- type: StringConstructor;
33
- default: string;
34
- };
35
- }>> & Readonly<{}>, {
36
- row: Record<string, any>;
37
- column: Record<string, any>;
38
- index: number;
39
- itemKey: string;
40
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
41
- export default _default;
@@ -1,41 +0,0 @@
1
- declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
2
- row: {
3
- type: ObjectConstructor;
4
- default: () => void;
5
- };
6
- column: {
7
- type: ObjectConstructor;
8
- default: () => void;
9
- };
10
- index: {
11
- type: NumberConstructor;
12
- default: number;
13
- };
14
- itemKey: {
15
- type: StringConstructor;
16
- default: string;
17
- };
18
- }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
19
- row: {
20
- type: ObjectConstructor;
21
- default: () => void;
22
- };
23
- column: {
24
- type: ObjectConstructor;
25
- default: () => void;
26
- };
27
- index: {
28
- type: NumberConstructor;
29
- default: number;
30
- };
31
- itemKey: {
32
- type: StringConstructor;
33
- default: string;
34
- };
35
- }>> & Readonly<{}>, {
36
- row: Record<string, any>;
37
- column: Record<string, any>;
38
- index: number;
39
- itemKey: string;
40
- }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
41
- export default _default;
@@ -1,7 +0,0 @@
1
- "use strict";
2
- require("vue");
3
- require("./assets/schema-table.vue_vue_type_style_index_0_scoped_502fe21c_lang-v2tkbqJq.js");
4
- require("ajv");
5
- require("vue-router");
6
- require("pinia");
7
- //# sourceMappingURL=wigdets.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"wigdets.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
package/dist/wigdets.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from './entrypoints/wigdets'
@@ -1,6 +0,0 @@
1
- import "vue";
2
- import "./assets/schema-table.vue_vue_type_style_index_0_scoped_502fe21c_lang-CdioWh25.js";
3
- import "ajv";
4
- import "vue-router";
5
- import "pinia";
6
- //# sourceMappingURL=wigdets.es.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"wigdets.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}