bm-admin-ui 1.0.80-alpha → 1.0.82-alpha

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 (43) hide show
  1. package/package.json +1 -1
  2. package/theme-chalk/index.css +1 -1
  3. package/theme-chalk/select-all.css +1 -1
  4. package/es/components/attachment/index.js +0 -273
  5. package/es/components/breadcrumb/index.js +0 -158
  6. package/es/components/button/index.js +0 -49
  7. package/es/components/edit-form/index.js +0 -1186
  8. package/es/components/editor/index.js +0 -12554
  9. package/es/components/feedback/index.js +0 -295
  10. package/es/components/float-table/index.js +0 -3517
  11. package/es/components/flow-designer/index.js +0 -1317
  12. package/es/components/form-create/index.js +0 -20978
  13. package/es/components/form-designer/index.js +0 -4514
  14. package/es/components/index.js +0 -19
  15. package/es/components/input-tags-display/index.js +0 -226
  16. package/es/components/over-tooltips/index.js +0 -133
  17. package/es/components/search-filter/index.js +0 -441
  18. package/es/components/select-all/index.js +0 -165
  19. package/es/components/shops-filter/index.js +0 -453
  20. package/es/components/staffs-selector/index.js +0 -728
  21. package/es/components/timeline/index.js +0 -168
  22. package/es/components/upload/index.js +0 -909
  23. package/es/components/videoView/index.js +0 -100
  24. package/lib/components/attachment/index.js +0 -278
  25. package/lib/components/breadcrumb/index.js +0 -168
  26. package/lib/components/button/index.js +0 -58
  27. package/lib/components/edit-form/index.js +0 -1195
  28. package/lib/components/editor/index.js +0 -12559
  29. package/lib/components/feedback/index.js +0 -309
  30. package/lib/components/float-table/index.js +0 -3522
  31. package/lib/components/flow-designer/index.js +0 -1329
  32. package/lib/components/form-create/index.js +0 -20990
  33. package/lib/components/form-designer/index.js +0 -4525
  34. package/lib/components/index.js +0 -140
  35. package/lib/components/input-tags-display/index.js +0 -237
  36. package/lib/components/over-tooltips/index.js +0 -138
  37. package/lib/components/search-filter/index.js +0 -451
  38. package/lib/components/select-all/index.js +0 -174
  39. package/lib/components/shops-filter/index.js +0 -465
  40. package/lib/components/staffs-selector/index.js +0 -733
  41. package/lib/components/timeline/index.js +0 -174
  42. package/lib/components/upload/index.js +0 -914
  43. package/lib/components/videoView/index.js +0 -105
@@ -1,158 +0,0 @@
1
- import { withInstall } from 'bm-admin-ui/es/utils/with-install';
2
- import { inject, defineComponent, openBlock, createBlock, unref, withCtx, createElementBlock, Fragment, renderList, toDisplayString } from 'vue';
3
- import ABreadcrumb from 'ant-design-vue/lib/breadcrumb';
4
- import ABreadcrumbItem from 'ant-design-vue/lib/breadcrumb/BreadcrumbItem';
5
- import '@vue/devtools-api';
6
-
7
- /*!
8
- * vue-router v4.1.6
9
- * (c) 2022 Eduardo San Martin Morote
10
- * @license MIT
11
- */
12
-
13
- var NavigationType;
14
- (function (NavigationType) {
15
- NavigationType["pop"] = "pop";
16
- NavigationType["push"] = "push";
17
- })(NavigationType || (NavigationType = {}));
18
- var NavigationDirection;
19
- (function (NavigationDirection) {
20
- NavigationDirection["back"] = "back";
21
- NavigationDirection["forward"] = "forward";
22
- NavigationDirection["unknown"] = "";
23
- })(NavigationDirection || (NavigationDirection = {}));
24
-
25
- Symbol((process.env.NODE_ENV !== 'production') ? 'navigation failure' : '');
26
- /**
27
- * Enumeration with all possible types for navigation failures. Can be passed to
28
- * {@link isNavigationFailure} to check for specific failures.
29
- */
30
- var NavigationFailureType;
31
- (function (NavigationFailureType) {
32
- /**
33
- * An aborted navigation is a navigation that failed because a navigation
34
- * guard returned `false` or called `next(false)`
35
- */
36
- NavigationFailureType[NavigationFailureType["aborted"] = 4] = "aborted";
37
- /**
38
- * A cancelled navigation is a navigation that failed because a more recent
39
- * navigation finished started (not necessarily finished).
40
- */
41
- NavigationFailureType[NavigationFailureType["cancelled"] = 8] = "cancelled";
42
- /**
43
- * A duplicated navigation is a navigation that failed because it was
44
- * initiated while already being at the exact same location.
45
- */
46
- NavigationFailureType[NavigationFailureType["duplicated"] = 16] = "duplicated";
47
- })(NavigationFailureType || (NavigationFailureType = {}));
48
-
49
- /**
50
- * RouteRecord being rendered by the closest ancestor Router View. Used for
51
- * `onBeforeRouteUpdate` and `onBeforeRouteLeave`. rvlm stands for Router View
52
- * Location Matched
53
- *
54
- * @internal
55
- */
56
- Symbol((process.env.NODE_ENV !== 'production') ? 'router view location matched' : '');
57
- /**
58
- * Allows overriding the router view depth to control which component in
59
- * `matched` is rendered. rvd stands for Router View Depth
60
- *
61
- * @internal
62
- */
63
- Symbol((process.env.NODE_ENV !== 'production') ? 'router view depth' : '');
64
- /**
65
- * Allows overriding the router instance returned by `useRouter` in tests. r
66
- * stands for router
67
- *
68
- * @internal
69
- */
70
- const routerKey = Symbol((process.env.NODE_ENV !== 'production') ? 'router' : '');
71
- /**
72
- * Allows overriding the current route returned by `useRoute` in tests. rl
73
- * stands for route location
74
- *
75
- * @internal
76
- */
77
- Symbol((process.env.NODE_ENV !== 'production') ? 'route location' : '');
78
- /**
79
- * Allows overriding the current route used by router-view. Internally this is
80
- * used when the `route` prop is passed.
81
- *
82
- * @internal
83
- */
84
- Symbol((process.env.NODE_ENV !== 'production') ? 'router view location' : '');
85
-
86
- /**
87
- * Returns the router instance. Equivalent to using `$router` inside
88
- * templates.
89
- */
90
- function useRouter() {
91
- return inject(routerKey);
92
- }
93
-
94
- var _export_sfc = (sfc, props) => {
95
- const target = sfc.__vccOpts || sfc;
96
- for (const [key, val] of props) {
97
- target[key] = val;
98
- }
99
- return target;
100
- };
101
-
102
- const _hoisted_1 = ["onClick"];
103
- const _hoisted_2 = {
104
- key: 1,
105
- class: "link"
106
- };
107
- const __default__ = {
108
- name: "BmBreadcrumb"
109
- };
110
- const _sfc_main = /* @__PURE__ */ defineComponent({
111
- ...__default__,
112
- props: {
113
- path: {
114
- type: Array,
115
- required: true
116
- }
117
- },
118
- emits: ["back"],
119
- setup(__props, { emit }) {
120
- const props = __props;
121
- const router = useRouter();
122
- const handleJump = (path, backFn) => {
123
- console.log(path);
124
- if (!path)
125
- return;
126
- if (backFn)
127
- return emit("back", path);
128
- console.log(path);
129
- router.push(path);
130
- };
131
- return (_ctx, _cache) => {
132
- return openBlock(), createBlock(unref(ABreadcrumb), { class: "breadcrumb" }, {
133
- default: withCtx(() => [
134
- (openBlock(true), createElementBlock(Fragment, null, renderList(props.path, (item, index) => {
135
- return openBlock(), createBlock(unref(ABreadcrumbItem), {
136
- key: item.url
137
- }, {
138
- default: withCtx(() => [
139
- index < __props.path.length - 1 ? (openBlock(), createElementBlock("span", {
140
- key: 0,
141
- class: "link",
142
- onClick: ($event) => handleJump(item.url, item.backFn)
143
- }, toDisplayString(item.name), 9, _hoisted_1)) : (openBlock(), createElementBlock("span", _hoisted_2, toDisplayString(item.name), 1))
144
- ]),
145
- _: 2
146
- }, 1024);
147
- }), 128))
148
- ]),
149
- _: 1
150
- });
151
- };
152
- }
153
- });
154
- var Breadcrumb = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "breadcrumb.vue"]]);
155
-
156
- const BmBreadcrumb = withInstall(Breadcrumb);
157
-
158
- export { BmBreadcrumb, BmBreadcrumb as default };
@@ -1,49 +0,0 @@
1
- import { withInstall } from 'bm-admin-ui/es/utils/with-install';
2
- import { defineComponent, openBlock, createBlock, unref, withCtx, renderSlot } from 'vue';
3
- import AButton from 'ant-design-vue/lib/button';
4
-
5
- const buttonProps = {
6
- size: {
7
- type: String,
8
- default: 'middle',
9
- },
10
- type: {
11
- type: String,
12
- default: 'bm-primary',
13
- },
14
- };
15
-
16
- var _export_sfc = (sfc, props) => {
17
- const target = sfc.__vccOpts || sfc;
18
- for (const [key, val] of props) {
19
- target[key] = val;
20
- }
21
- return target;
22
- };
23
-
24
- const __default__ = {
25
- name: "BmButton"
26
- };
27
- const _sfc_main = /* @__PURE__ */ defineComponent({
28
- ...__default__,
29
- props: buttonProps,
30
- setup(__props) {
31
- const props = __props;
32
- return (_ctx, _cache) => {
33
- return openBlock(), createBlock(unref(AButton), {
34
- size: props.size,
35
- type: props.type
36
- }, {
37
- default: withCtx(() => [
38
- renderSlot(_ctx.$slots, "default")
39
- ]),
40
- _: 3
41
- }, 8, ["size", "type"]);
42
- };
43
- }
44
- });
45
- var Button = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "button.vue"]]);
46
-
47
- const BmButton = withInstall(Button);
48
-
49
- export { BmButton, BmButton as default };