@kengic/vue 0.0.2-beta.7 → 0.1.0

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 (58) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/kengic-vue.js +2708 -0
  3. package/dist/src/apis/WMS/Controllers/VarController/GetAll.d.ts +21 -0
  4. package/dist/src/apis/WMS/Controllers/VarController/index.d.ts +1 -0
  5. package/dist/src/apis/WMS/Controllers/index.d.ts +1 -0
  6. package/dist/src/apis/WMS/index.d.ts +2 -0
  7. package/dist/src/apis/WMS/models.d.ts +62 -0
  8. package/dist/src/apis/api.d.ts +1 -0
  9. package/dist/src/apis/def.d.ts +1 -0
  10. package/dist/src/apis/index.d.ts +2 -0
  11. package/dist/src/components/KgButton/KgButton.Create.d.ts +10 -0
  12. package/dist/src/components/KgButton/KgButton.Delete.d.ts +11 -0
  13. package/dist/src/components/KgButton/KgButton.Update.d.ts +10 -0
  14. package/dist/src/components/KgButton/KgButton.d.ts +13 -0
  15. package/dist/src/components/KgButton/index.d.ts +4 -0
  16. package/dist/src/components/KgButton/index.vm.d.ts +9 -0
  17. package/dist/src/components/KgControl/KgControl.Input.d.ts +60 -0
  18. package/dist/src/components/KgControl/KgControl.Select.d.ts +57 -0
  19. package/dist/src/components/KgControl/KgControl.d.ts +60 -0
  20. package/dist/src/components/KgControl/index.d.ts +171 -0
  21. package/dist/src/components/KgControl/index.vm.d.ts +55 -0
  22. package/dist/src/components/KgPage/KgPage.d.ts +3 -0
  23. package/dist/src/components/KgProgressA/KgProgressA.d.ts +58 -0
  24. package/dist/src/components/KgSearch/KgSearch.d.ts +16 -0
  25. package/dist/src/components/KgSearch/index.d.ts +4 -0
  26. package/dist/src/components/KgSearch/index.vm.d.ts +9 -0
  27. package/dist/src/components/KgVar/hooks/index.d.ts +48 -0
  28. package/dist/src/components/KgVar/index.d.ts +2 -0
  29. package/dist/src/components/KgVar/store/index.d.ts +14 -0
  30. package/dist/src/components/KgVar/store/index.data.d.ts +9 -0
  31. package/dist/src/components/KgYesOrNo/KgYesOrNo.d.ts +24 -0
  32. package/dist/src/components/index.d.ts +8 -0
  33. package/dist/src/consts/i18n/en.d.ts +26 -0
  34. package/dist/src/consts/i18n/index.d.ts +53 -0
  35. package/dist/src/consts/i18n/t.d.ts +20 -0
  36. package/dist/src/consts/i18n/zh_CN.d.ts +26 -0
  37. package/dist/src/consts/index.d.ts +65 -0
  38. package/dist/src/consts/injection-keys.const.d.ts +8 -0
  39. package/dist/src/index.d.ts +6 -0
  40. package/dist/src/services/http-client.d.ts +32 -0
  41. package/dist/src/services/index.d.ts +1 -0
  42. package/dist/src/utils/app.util.d.ts +17 -0
  43. package/dist/src/utils/index.d.ts +4 -0
  44. package/dist/src/utils/kg.util.d.ts +38 -0
  45. package/dist/src/utils/logger.util.d.ts +40 -0
  46. package/dist/src/utils/route.util.d.ts +6 -0
  47. package/dist/src/utils/var.util.d.ts +11 -0
  48. package/kg.config.ts +23 -0
  49. package/package.json +46 -33
  50. package/dist/index.js +0 -56
  51. package/dist/types/components/B.d.ts +0 -8
  52. package/dist/types/components/ComponentA.vue.d.ts +0 -6
  53. package/dist/types/components/index.d.ts +0 -3
  54. package/dist/types/constants/MyConstants.d.ts +0 -1
  55. package/dist/types/constants/index.d.ts +0 -2
  56. package/dist/types/index.d.ts +0 -10
  57. package/dist/types/utils/MyUtil.d.ts +0 -5
  58. package/dist/types/utils/index.d.ts +0 -2
package/dist/index.js DELETED
@@ -1,56 +0,0 @@
1
- import { defineComponent as c, createVNode as n, openBlock as p, createElementBlock as s, Fragment as m, createElementVNode as i, toDisplayString as u, unref as o, withCtx as d, createTextVNode as _ } from "vue";
2
- import { Button as l } from "ant-design-vue";
3
- const a = /* @__PURE__ */ c({
4
- props: {
5
- /** 名称. */
6
- name: String
7
- },
8
- setup(e) {
9
- return () => n(l, {
10
- type: "ghost"
11
- }, {
12
- default: () => [e.name]
13
- });
14
- }
15
- }), f = /* @__PURE__ */ c({
16
- __name: "ComponentA",
17
- props: {
18
- msg: String
19
- },
20
- setup(e) {
21
- return (t, S) => (p(), s(m, null, [i("div", null, "Hello " + u(e.msg) + "!", 1), n(o(l), {
22
- type: "primary"
23
- }, {
24
- default: d(() => [_("CLICK")]),
25
- _: 1
26
- }), n(o(a), {
27
- name: "FOO"
28
- })], 64));
29
- }
30
- }), r = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
31
- __proto__: null,
32
- B: a,
33
- ComponentA: f
34
- }, Symbol.toStringTag, { value: "Module" }));
35
- const g = 100, M = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
36
- __proto__: null,
37
- MAGIC_NUM: g
38
- }, Symbol.toStringTag, { value: "Module" }));
39
- function y(e, t) {
40
- return e + t;
41
- }
42
- const O = {
43
- add: y
44
- };
45
- function C(e) {
46
- for (const t in r)
47
- e.component(t, r[t]);
48
- }
49
- const j = { install: C };
50
- export {
51
- a as B,
52
- f as ComponentA,
53
- M as MyConstants,
54
- O as MyUtil,
55
- j as default
56
- };
@@ -1,8 +0,0 @@
1
- declare const B: import("vue").DefineComponent<{
2
- /** 名称. */
3
- name: StringConstructor;
4
- }, () => JSX.Element, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
5
- /** 名称. */
6
- name: StringConstructor;
7
- }>>, {}>;
8
- export { B };
@@ -1,6 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{
2
- msg: StringConstructor;
3
- }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
4
- msg: StringConstructor;
5
- }>>, {}>;
6
- export default _default;
@@ -1,3 +0,0 @@
1
- import ComponentA from './ComponentA.vue';
2
- import { B } from './B';
3
- export { ComponentA, B };
@@ -1 +0,0 @@
1
- export declare const MAGIC_NUM = 100;
@@ -1,2 +0,0 @@
1
- import * as MyConstants from './MyConstants';
2
- export { MyConstants };
@@ -1,10 +0,0 @@
1
- import { type App } from 'vue';
2
- declare function install(app: App): void;
3
- import './assets/index.less';
4
- export * from './components';
5
- export * from './constants';
6
- export * from './utils';
7
- declare const _default: {
8
- install: typeof install;
9
- };
10
- export default _default;
@@ -1,5 +0,0 @@
1
- declare function add(a: number, b: number): number;
2
- declare const _default: {
3
- add: typeof add;
4
- };
5
- export default _default;
@@ -1,2 +0,0 @@
1
- import MyUtil from './MyUtil';
2
- export { MyUtil };