bm-admin-ui 1.0.3-alpha → 1.0.4-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 (41) hide show
  1. package/es/components/multi-cascader-compose/index.d.ts +6 -6
  2. package/es/components/multi-cascader-compose/index.js +4 -17
  3. package/es/components/multi-cascader-compose/src/multi-cascader-compose.vue.d.ts +6 -6
  4. package/es/components/search-filter/index.d.ts +2 -4
  5. package/es/components/search-filter/index.js +6 -18
  6. package/es/components/search-filter/src/search-filter.vue.d.ts +2 -4
  7. package/es/components/shops-filter/index.d.ts +1 -1
  8. package/es/components/shops-filter/index.js +4 -17
  9. package/es/components/shops-filter/src/shops-filter.vue.d.ts +1 -1
  10. package/es/components/staffs-selector/index.js +5 -18
  11. package/es/components/upload/index.js +6 -19
  12. package/index.esm.js +41258 -3970
  13. package/index.js +41257 -3969
  14. package/lib/components/multi-cascader-compose/index.d.ts +6 -6
  15. package/lib/components/multi-cascader-compose/index.js +4 -17
  16. package/lib/components/multi-cascader-compose/src/multi-cascader-compose.vue.d.ts +6 -6
  17. package/lib/components/search-filter/index.d.ts +2 -4
  18. package/lib/components/search-filter/index.js +6 -18
  19. package/lib/components/search-filter/src/search-filter.vue.d.ts +2 -4
  20. package/lib/components/shops-filter/index.d.ts +1 -1
  21. package/lib/components/shops-filter/index.js +4 -17
  22. package/lib/components/shops-filter/src/shops-filter.vue.d.ts +1 -1
  23. package/lib/components/staffs-selector/index.js +5 -18
  24. package/lib/components/upload/index.js +6 -19
  25. package/package.json +29 -29
  26. package/theme-chalk/button.css +1 -1
  27. package/theme-chalk/float-table.css +1 -1
  28. package/theme-chalk/floating-vue.css +1 -1
  29. package/theme-chalk/flow-designer.css +1 -1
  30. package/theme-chalk/index.css +1 -1
  31. package/theme-chalk/multi-cascader-compose.css +1 -1
  32. package/theme-chalk/over-tooltips.css +1 -1
  33. package/theme-chalk/search-filter.css +1 -1
  34. package/theme-chalk/timeline.css +1 -1
  35. package/theme-chalk/upload.css +1 -1
  36. package/types/components/multi-cascader-compose/index.d.ts +6 -6
  37. package/types/components/multi-cascader-compose/src/multi-cascader-compose.vue.d.ts +6 -6
  38. package/types/components/search-filter/index.d.ts +2 -4
  39. package/types/components/search-filter/src/search-filter.vue.d.ts +2 -4
  40. package/types/components/shops-filter/index.d.ts +1 -1
  41. package/types/components/shops-filter/src/shops-filter.vue.d.ts +1 -1
@@ -74,10 +74,10 @@ declare const BmMultiCascaderCompose: import("bm-admin-ui/es/utils/with-install"
74
74
  default: undefined;
75
75
  };
76
76
  }>> & {
77
- onChange?: ((...args: any[]) => any) | undefined;
78
77
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
78
+ onChange?: ((...args: any[]) => any) | undefined;
79
79
  }>>;
80
- emits: (event: "change" | "update:modelValue", ...args: any[]) => void;
80
+ emits: (event: "update:modelValue" | "change", ...args: any[]) => void;
81
81
  path: import("vue").Ref<{
82
82
  [x: string]: any;
83
83
  index: number;
@@ -106,7 +106,7 @@ declare const BmMultiCascaderCompose: import("bm-admin-ui/es/utils/with-install"
106
106
  RightOutlined: import("@ant-design/icons-vue/lib/icons/RightOutlined").RightOutlinedIconType;
107
107
  DownOutlined: import("@ant-design/icons-vue/lib/icons/DownOutlined").DownOutlinedIconType;
108
108
  CloseCircleFilled: import("@ant-design/icons-vue/lib/icons/CloseCircleFilled").CloseCircleFilledIconType;
109
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
109
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
110
110
  options: {
111
111
  type: import("vue").PropType<import("./types").MutilCascaderItem[]>;
112
112
  default(): import("./types").MutilCascaderItem[];
@@ -144,16 +144,16 @@ declare const BmMultiCascaderCompose: import("bm-admin-ui/es/utils/with-install"
144
144
  default: undefined;
145
145
  };
146
146
  }>> & {
147
- onChange?: ((...args: any[]) => any) | undefined;
148
147
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
148
+ onChange?: ((...args: any[]) => any) | undefined;
149
149
  }, {
150
- placeholder: string;
151
- allowClear: boolean;
152
150
  options: import("./types").MutilCascaderItem[];
153
151
  modelValue: string[];
154
152
  optionValueName: string;
155
153
  optionLabelName: string;
156
154
  maxTagCount: number;
155
+ placeholder: string;
156
+ allowClear: boolean;
157
157
  emptyImage: JSX.Element | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
158
158
  [key: string]: any;
159
159
  }> | null | undefined) | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
@@ -69,7 +69,7 @@ function boundAlpha(a) {
69
69
  */
70
70
  function convertToPercentage(n) {
71
71
  if (n <= 1) {
72
- return "".concat(Number(n) * 100, "%");
72
+ return Number(n) * 100 + "%";
73
73
  }
74
74
  return n;
75
75
  }
@@ -451,12 +451,12 @@ var CSS_INTEGER = '[-\\+]?\\d+%?';
451
451
  // <http://www.w3.org/TR/css3-values/#number-value>
452
452
  var CSS_NUMBER = '[-\\+]?\\d*\\.\\d+%?';
453
453
  // Allow positive/negative integer/number. Don't capture the either/or, just the entire outcome.
454
- var CSS_UNIT = "(?:".concat(CSS_NUMBER, ")|(?:").concat(CSS_INTEGER, ")");
454
+ var CSS_UNIT = "(?:" + CSS_NUMBER + ")|(?:" + CSS_INTEGER + ")";
455
455
  // Actual matching.
456
456
  // Parentheses and commas are optional, but not required.
457
457
  // Whitespace can take the place of commas or opening paren
458
- var PERMISSIVE_MATCH3 = "[\\s|\\(]+(".concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")\\s*\\)?");
459
- var PERMISSIVE_MATCH4 = "[\\s|\\(]+(".concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")\\s*\\)?");
458
+ var PERMISSIVE_MATCH3 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
459
+ var PERMISSIVE_MATCH4 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
460
460
  var matchers = {
461
461
  CSS_UNIT: new RegExp(CSS_UNIT),
462
462
  rgb: new RegExp('rgb' + PERMISSIVE_MATCH3),
@@ -781,19 +781,6 @@ Object.keys(presetPrimaryColors).forEach(function (key) {
781
781
  });
782
782
  presetDarkPalettes[key].primary = presetDarkPalettes[key][5];
783
783
  });
784
- presetPalettes.red;
785
- presetPalettes.volcano;
786
- presetPalettes.gold;
787
- presetPalettes.orange;
788
- presetPalettes.yellow;
789
- presetPalettes.lime;
790
- presetPalettes.green;
791
- presetPalettes.cyan;
792
- presetPalettes.blue;
793
- presetPalettes.geekblue;
794
- presetPalettes.purple;
795
- presetPalettes.magenta;
796
- presetPalettes.grey;
797
784
 
798
785
  // https://github.com/substack/insert-css
799
786
  var containers = []; // will store container HTMLElement references
@@ -75,10 +75,10 @@ declare const _default: import("vue").DefineComponent<{
75
75
  default: undefined;
76
76
  };
77
77
  }>> & {
78
- onChange?: ((...args: any[]) => any) | undefined;
79
78
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
79
+ onChange?: ((...args: any[]) => any) | undefined;
80
80
  }>>;
81
- emits: (event: "change" | "update:modelValue", ...args: any[]) => void;
81
+ emits: (event: "update:modelValue" | "change", ...args: any[]) => void;
82
82
  path: import("vue").Ref<{
83
83
  [x: string]: any;
84
84
  index: number;
@@ -107,7 +107,7 @@ declare const _default: import("vue").DefineComponent<{
107
107
  RightOutlined: import("@ant-design/icons-vue/lib/icons/RightOutlined").RightOutlinedIconType;
108
108
  DownOutlined: import("@ant-design/icons-vue/lib/icons/DownOutlined").DownOutlinedIconType;
109
109
  CloseCircleFilled: import("@ant-design/icons-vue/lib/icons/CloseCircleFilled").CloseCircleFilledIconType;
110
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:modelValue")[], "change" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
110
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "change")[], "update:modelValue" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
111
111
  options: {
112
112
  type: import("vue").PropType<MutilCascaderItem[]>;
113
113
  default(): MutilCascaderItem[];
@@ -145,16 +145,16 @@ declare const _default: import("vue").DefineComponent<{
145
145
  default: undefined;
146
146
  };
147
147
  }>> & {
148
- onChange?: ((...args: any[]) => any) | undefined;
149
148
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
149
+ onChange?: ((...args: any[]) => any) | undefined;
150
150
  }, {
151
- placeholder: string;
152
- allowClear: boolean;
153
151
  options: MutilCascaderItem[];
154
152
  modelValue: string[];
155
153
  optionValueName: string;
156
154
  optionLabelName: string;
157
155
  maxTagCount: number;
156
+ placeholder: string;
157
+ allowClear: boolean;
158
158
  emptyImage: JSX.Element | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
159
159
  [key: string]: any;
160
160
  }> | null | undefined) | (string | number | boolean | void | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
@@ -72,9 +72,7 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
72
72
  gutter: number[];
73
73
  };
74
74
  form: {
75
- labelCol: {
76
- [x: string]: any;
77
- };
75
+ labelCol: Record<string, any>;
78
76
  labelAlign: string;
79
77
  wrapperCol: {
80
78
  span: number;
@@ -114,10 +112,10 @@ declare const BmSearchFilter: import("bm-admin-ui/es/utils/with-install").SFCWit
114
112
  onReset?: ((...args: any[]) => any) | undefined;
115
113
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
116
114
  }, {
115
+ value: Record<string, any>;
117
116
  showExpandBtn: boolean;
118
117
  userRule: unknown[];
119
118
  labelCol: Record<string, any>;
120
- value: Record<string, any>;
121
119
  ruleSpan: Record<string, any>;
122
120
  }>>;
123
121
  export { BmSearchFilter };
@@ -74,7 +74,7 @@ function boundAlpha(a) {
74
74
  */
75
75
  function convertToPercentage(n) {
76
76
  if (n <= 1) {
77
- return "".concat(Number(n) * 100, "%");
77
+ return Number(n) * 100 + "%";
78
78
  }
79
79
  return n;
80
80
  }
@@ -456,12 +456,12 @@ var CSS_INTEGER = '[-\\+]?\\d+%?';
456
456
  // <http://www.w3.org/TR/css3-values/#number-value>
457
457
  var CSS_NUMBER = '[-\\+]?\\d*\\.\\d+%?';
458
458
  // Allow positive/negative integer/number. Don't capture the either/or, just the entire outcome.
459
- var CSS_UNIT = "(?:".concat(CSS_NUMBER, ")|(?:").concat(CSS_INTEGER, ")");
459
+ var CSS_UNIT = "(?:" + CSS_NUMBER + ")|(?:" + CSS_INTEGER + ")";
460
460
  // Actual matching.
461
461
  // Parentheses and commas are optional, but not required.
462
462
  // Whitespace can take the place of commas or opening paren
463
- var PERMISSIVE_MATCH3 = "[\\s|\\(]+(".concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")\\s*\\)?");
464
- var PERMISSIVE_MATCH4 = "[\\s|\\(]+(".concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")\\s*\\)?");
463
+ var PERMISSIVE_MATCH3 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
464
+ var PERMISSIVE_MATCH4 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
465
465
  var matchers = {
466
466
  CSS_UNIT: new RegExp(CSS_UNIT),
467
467
  rgb: new RegExp('rgb' + PERMISSIVE_MATCH3),
@@ -786,19 +786,6 @@ Object.keys(presetPrimaryColors).forEach(function (key) {
786
786
  });
787
787
  presetDarkPalettes[key].primary = presetDarkPalettes[key][5];
788
788
  });
789
- presetPalettes.red;
790
- presetPalettes.volcano;
791
- presetPalettes.gold;
792
- presetPalettes.orange;
793
- presetPalettes.yellow;
794
- presetPalettes.lime;
795
- presetPalettes.green;
796
- presetPalettes.cyan;
797
- presetPalettes.blue;
798
- presetPalettes.geekblue;
799
- presetPalettes.purple;
800
- presetPalettes.magenta;
801
- presetPalettes.grey;
802
789
 
803
790
  // https://github.com/substack/insert-css
804
791
  var containers = []; // will store container HTMLElement references
@@ -1257,6 +1244,7 @@ const _hoisted_1$2 = { class: "bm-search-filter-btn" };
1257
1244
  const _hoisted_2$1 = /* @__PURE__ */ vue.createTextVNode("\u67E5\u8BE2");
1258
1245
  const _hoisted_3$1 = /* @__PURE__ */ vue.createTextVNode("\u91CD\u7F6E");
1259
1246
  const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
1247
+ __name: "search-reset-btn",
1260
1248
  props: searchResetBtnProps,
1261
1249
  emits: ["submit", "reset", "expand"],
1262
1250
  setup(__props, { emit: emits }) {
@@ -1931,7 +1919,7 @@ const _sfc_main = /* @__PURE__ */ vue.defineComponent({
1931
1919
  "onUpdate:api": _cache[0] || (_cache[0] = ($event) => fApi.value = $event),
1932
1920
  "model-value": _ctx.value,
1933
1921
  rule: vue.unref(rule),
1934
- option: vue.unref(option),
1922
+ option,
1935
1923
  onChange: handleChange
1936
1924
  }, null, 8, ["api", "model-value", "rule", "option"])
1937
1925
  ]);
@@ -72,9 +72,7 @@ declare const _default: import("vue").DefineComponent<{
72
72
  gutter: number[];
73
73
  };
74
74
  form: {
75
- labelCol: {
76
- [x: string]: any;
77
- };
75
+ labelCol: Record<string, any>;
78
76
  labelAlign: string;
79
77
  wrapperCol: {
80
78
  span: number;
@@ -114,10 +112,10 @@ declare const _default: import("vue").DefineComponent<{
114
112
  onReset?: ((...args: any[]) => any) | undefined;
115
113
  "onUpdate:value"?: ((...args: any[]) => any) | undefined;
116
114
  }, {
115
+ value: Record<string, any>;
117
116
  showExpandBtn: boolean;
118
117
  userRule: unknown[];
119
118
  labelCol: Record<string, any>;
120
- value: Record<string, any>;
121
119
  ruleSpan: Record<string, any>;
122
120
  }>;
123
121
  export default _default;
@@ -58,7 +58,7 @@ declare const BmShopsFilter: import("bm-admin-ui/es/utils/with-install").SFCWith
58
58
  label?: string | undefined;
59
59
  multiple?: boolean | undefined;
60
60
  }[]>;
61
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:selected" | "change")[], "update:selected" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
61
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:selected")[], "change" | "update:selected", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
62
62
  labelTitle: {
63
63
  type: StringConstructor;
64
64
  default: string;
@@ -81,7 +81,7 @@ function boundAlpha(a) {
81
81
  */
82
82
  function convertToPercentage(n) {
83
83
  if (n <= 1) {
84
- return "".concat(Number(n) * 100, "%");
84
+ return Number(n) * 100 + "%";
85
85
  }
86
86
  return n;
87
87
  }
@@ -463,12 +463,12 @@ var CSS_INTEGER = '[-\\+]?\\d+%?';
463
463
  // <http://www.w3.org/TR/css3-values/#number-value>
464
464
  var CSS_NUMBER = '[-\\+]?\\d*\\.\\d+%?';
465
465
  // Allow positive/negative integer/number. Don't capture the either/or, just the entire outcome.
466
- var CSS_UNIT = "(?:".concat(CSS_NUMBER, ")|(?:").concat(CSS_INTEGER, ")");
466
+ var CSS_UNIT = "(?:" + CSS_NUMBER + ")|(?:" + CSS_INTEGER + ")";
467
467
  // Actual matching.
468
468
  // Parentheses and commas are optional, but not required.
469
469
  // Whitespace can take the place of commas or opening paren
470
- var PERMISSIVE_MATCH3 = "[\\s|\\(]+(".concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")\\s*\\)?");
471
- var PERMISSIVE_MATCH4 = "[\\s|\\(]+(".concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")\\s*\\)?");
470
+ var PERMISSIVE_MATCH3 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
471
+ var PERMISSIVE_MATCH4 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
472
472
  var matchers = {
473
473
  CSS_UNIT: new RegExp(CSS_UNIT),
474
474
  rgb: new RegExp('rgb' + PERMISSIVE_MATCH3),
@@ -793,19 +793,6 @@ Object.keys(presetPrimaryColors).forEach(function (key) {
793
793
  });
794
794
  presetDarkPalettes[key].primary = presetDarkPalettes[key][5];
795
795
  });
796
- presetPalettes.red;
797
- presetPalettes.volcano;
798
- presetPalettes.gold;
799
- presetPalettes.orange;
800
- presetPalettes.yellow;
801
- presetPalettes.lime;
802
- presetPalettes.green;
803
- presetPalettes.cyan;
804
- presetPalettes.blue;
805
- presetPalettes.geekblue;
806
- presetPalettes.purple;
807
- presetPalettes.magenta;
808
- presetPalettes.grey;
809
796
 
810
797
  // https://github.com/substack/insert-css
811
798
  var containers = []; // will store container HTMLElement references
@@ -58,7 +58,7 @@ declare const _default: import("vue").DefineComponent<{
58
58
  label?: string | undefined;
59
59
  multiple?: boolean | undefined;
60
60
  }[]>;
61
- }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:selected" | "change")[], "update:selected" | "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
61
+ }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "update:selected")[], "change" | "update:selected", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
62
62
  labelTitle: {
63
63
  type: StringConstructor;
64
64
  default: string;
@@ -84,7 +84,7 @@ function boundAlpha(a) {
84
84
  */
85
85
  function convertToPercentage(n) {
86
86
  if (n <= 1) {
87
- return "".concat(Number(n) * 100, "%");
87
+ return Number(n) * 100 + "%";
88
88
  }
89
89
  return n;
90
90
  }
@@ -466,12 +466,12 @@ var CSS_INTEGER = '[-\\+]?\\d+%?';
466
466
  // <http://www.w3.org/TR/css3-values/#number-value>
467
467
  var CSS_NUMBER = '[-\\+]?\\d*\\.\\d+%?';
468
468
  // Allow positive/negative integer/number. Don't capture the either/or, just the entire outcome.
469
- var CSS_UNIT = "(?:".concat(CSS_NUMBER, ")|(?:").concat(CSS_INTEGER, ")");
469
+ var CSS_UNIT = "(?:" + CSS_NUMBER + ")|(?:" + CSS_INTEGER + ")";
470
470
  // Actual matching.
471
471
  // Parentheses and commas are optional, but not required.
472
472
  // Whitespace can take the place of commas or opening paren
473
- var PERMISSIVE_MATCH3 = "[\\s|\\(]+(".concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")\\s*\\)?");
474
- var PERMISSIVE_MATCH4 = "[\\s|\\(]+(".concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")\\s*\\)?");
473
+ var PERMISSIVE_MATCH3 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
474
+ var PERMISSIVE_MATCH4 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
475
475
  var matchers = {
476
476
  CSS_UNIT: new RegExp(CSS_UNIT),
477
477
  rgb: new RegExp('rgb' + PERMISSIVE_MATCH3),
@@ -796,19 +796,6 @@ Object.keys(presetPrimaryColors).forEach(function (key) {
796
796
  });
797
797
  presetDarkPalettes[key].primary = presetDarkPalettes[key][5];
798
798
  });
799
- presetPalettes.red;
800
- presetPalettes.volcano;
801
- presetPalettes.gold;
802
- presetPalettes.orange;
803
- presetPalettes.yellow;
804
- presetPalettes.lime;
805
- presetPalettes.green;
806
- presetPalettes.cyan;
807
- presetPalettes.blue;
808
- presetPalettes.geekblue;
809
- presetPalettes.purple;
810
- presetPalettes.magenta;
811
- presetPalettes.grey;
812
799
 
813
800
  // https://github.com/substack/insert-css
814
801
  var containers = []; // will store container HTMLElement references
@@ -1848,7 +1835,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
1848
1835
  ]);
1849
1836
  }), 128))
1850
1837
  ])) : vue.createCommentVNode("v-if", true)
1851
- ], 2112))
1838
+ ], 64))
1852
1839
  ])
1853
1840
  ]),
1854
1841
  vue.createElementVNode("div", _hoisted_14, [
@@ -69,7 +69,7 @@ function boundAlpha(a) {
69
69
  */
70
70
  function convertToPercentage(n) {
71
71
  if (n <= 1) {
72
- return "".concat(Number(n) * 100, "%");
72
+ return Number(n) * 100 + "%";
73
73
  }
74
74
  return n;
75
75
  }
@@ -451,12 +451,12 @@ var CSS_INTEGER = '[-\\+]?\\d+%?';
451
451
  // <http://www.w3.org/TR/css3-values/#number-value>
452
452
  var CSS_NUMBER = '[-\\+]?\\d*\\.\\d+%?';
453
453
  // Allow positive/negative integer/number. Don't capture the either/or, just the entire outcome.
454
- var CSS_UNIT = "(?:".concat(CSS_NUMBER, ")|(?:").concat(CSS_INTEGER, ")");
454
+ var CSS_UNIT = "(?:" + CSS_NUMBER + ")|(?:" + CSS_INTEGER + ")";
455
455
  // Actual matching.
456
456
  // Parentheses and commas are optional, but not required.
457
457
  // Whitespace can take the place of commas or opening paren
458
- var PERMISSIVE_MATCH3 = "[\\s|\\(]+(".concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")\\s*\\)?");
459
- var PERMISSIVE_MATCH4 = "[\\s|\\(]+(".concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")\\s*\\)?");
458
+ var PERMISSIVE_MATCH3 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
459
+ var PERMISSIVE_MATCH4 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
460
460
  var matchers = {
461
461
  CSS_UNIT: new RegExp(CSS_UNIT),
462
462
  rgb: new RegExp('rgb' + PERMISSIVE_MATCH3),
@@ -781,19 +781,6 @@ Object.keys(presetPrimaryColors).forEach(function (key) {
781
781
  });
782
782
  presetDarkPalettes[key].primary = presetDarkPalettes[key][5];
783
783
  });
784
- presetPalettes.red;
785
- presetPalettes.volcano;
786
- presetPalettes.gold;
787
- presetPalettes.orange;
788
- presetPalettes.yellow;
789
- presetPalettes.lime;
790
- presetPalettes.green;
791
- presetPalettes.cyan;
792
- presetPalettes.blue;
793
- presetPalettes.geekblue;
794
- presetPalettes.purple;
795
- presetPalettes.magenta;
796
- presetPalettes.grey;
797
784
 
798
785
  // https://github.com/substack/insert-css
799
786
  var containers = []; // will store container HTMLElement references
@@ -1719,7 +1706,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
1719
1706
  key: 1,
1720
1707
  file: item
1721
1708
  })
1722
- ], 2112)) : vue.createCommentVNode("v-if", true),
1709
+ ], 64)) : vue.createCommentVNode("v-if", true),
1723
1710
  vue.createCommentVNode(" \u56FE\u7247\u9519\u8BEF\u5C55\u793A "),
1724
1711
  item.status === "error" ? (vue.openBlock(), vue.createElementBlock("div", {
1725
1712
  key: 2,
@@ -1765,7 +1752,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
1765
1752
  }, 8, ["class", "disabled"]),
1766
1753
  _ctx.extraConfigs.tips && _ctx.extraConfigs.showTips ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_23, vue.toDisplayString(_ctx.extraConfigs.tips), 1)) : vue.createCommentVNode("v-if", true)
1767
1754
  ])) : vue.createCommentVNode("v-if", true)
1768
- ], 2112))
1755
+ ], 64))
1769
1756
  ]),
1770
1757
  _: 3
1771
1758
  }, 16, ["class"])) : vue.createCommentVNode("v-if", true),
package/package.json CHANGED
@@ -1,29 +1,29 @@
1
- {
2
- "name": "bm-admin-ui",
3
- "version": "1.0.3-alpha",
4
- "private": false,
5
- "description": "An Admin Component Library for Bm",
6
- "license": "UNLICENSED",
7
- "repository": {
8
- "type": "git",
9
- "url": "http://gitlab.admin.bluemoon.com.cn/Frontend-web/bm-admin-ui"
10
- },
11
- "main": "lib/index.js",
12
- "module": "es/index.js",
13
- "unpkg": "index.js",
14
- "peerDependencies": {
15
- "vue": "^3.2.31"
16
- },
17
- "dependencies": {
18
- "@form-create/ant-design-vue": "^3.1.5",
19
- "@logicflow/core": "^1.1.7",
20
- "@logicflow/extension": "^1.1.7",
21
- "floating-vue": "2.0.0-beta.17",
22
- "ant-design-vue": "^3.2.10",
23
- "vxe-table": "^4.2.3",
24
- "xe-utils": "^3.5.4"
25
- },
26
- "sideEffects": [
27
- "theme-chalk/*.css"
28
- ]
29
- }
1
+ {
2
+ "name": "bm-admin-ui",
3
+ "version": "1.0.4-alpha",
4
+ "private": false,
5
+ "description": "An Admin Component Library for Bm",
6
+ "license": "UNLICENSED",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "http://gitlab.admin.bluemoon.com.cn/Frontend-web/bm-admin-ui"
10
+ },
11
+ "main": "lib/index.js",
12
+ "module": "es/index.js",
13
+ "unpkg": "index.js",
14
+ "peerDependencies": {
15
+ "vue": "^3.2.31"
16
+ },
17
+ "dependencies": {
18
+ "@form-create/ant-design-vue": "^3.1.5",
19
+ "@logicflow/core": "^1.1.7",
20
+ "@logicflow/extension": "^1.1.7",
21
+ "floating-vue": "2.0.0-beta.17",
22
+ "ant-design-vue": "^3.2.10",
23
+ "vxe-table": "^4.2.3",
24
+ "xe-utils": "^3.5.4"
25
+ },
26
+ "sideEffects": [
27
+ "theme-chalk/*.css"
28
+ ]
29
+ }