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, {
@@ -65,7 +65,7 @@ function boundAlpha(a) {
65
65
  */
66
66
  function convertToPercentage(n) {
67
67
  if (n <= 1) {
68
- return "".concat(Number(n) * 100, "%");
68
+ return Number(n) * 100 + "%";
69
69
  }
70
70
  return n;
71
71
  }
@@ -447,12 +447,12 @@ var CSS_INTEGER = '[-\\+]?\\d+%?';
447
447
  // <http://www.w3.org/TR/css3-values/#number-value>
448
448
  var CSS_NUMBER = '[-\\+]?\\d*\\.\\d+%?';
449
449
  // Allow positive/negative integer/number. Don't capture the either/or, just the entire outcome.
450
- var CSS_UNIT = "(?:".concat(CSS_NUMBER, ")|(?:").concat(CSS_INTEGER, ")");
450
+ var CSS_UNIT = "(?:" + CSS_NUMBER + ")|(?:" + CSS_INTEGER + ")";
451
451
  // Actual matching.
452
452
  // Parentheses and commas are optional, but not required.
453
453
  // Whitespace can take the place of commas or opening paren
454
- var PERMISSIVE_MATCH3 = "[\\s|\\(]+(".concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")\\s*\\)?");
455
- var PERMISSIVE_MATCH4 = "[\\s|\\(]+(".concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")\\s*\\)?");
454
+ var PERMISSIVE_MATCH3 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
455
+ var PERMISSIVE_MATCH4 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
456
456
  var matchers = {
457
457
  CSS_UNIT: new RegExp(CSS_UNIT),
458
458
  rgb: new RegExp('rgb' + PERMISSIVE_MATCH3),
@@ -777,19 +777,6 @@ Object.keys(presetPrimaryColors).forEach(function (key) {
777
777
  });
778
778
  presetDarkPalettes[key].primary = presetDarkPalettes[key][5];
779
779
  });
780
- presetPalettes.red;
781
- presetPalettes.volcano;
782
- presetPalettes.gold;
783
- presetPalettes.orange;
784
- presetPalettes.yellow;
785
- presetPalettes.lime;
786
- presetPalettes.green;
787
- presetPalettes.cyan;
788
- presetPalettes.blue;
789
- presetPalettes.geekblue;
790
- presetPalettes.purple;
791
- presetPalettes.magenta;
792
- presetPalettes.grey;
793
780
 
794
781
  // https://github.com/substack/insert-css
795
782
  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 };
@@ -66,7 +66,7 @@ function boundAlpha(a) {
66
66
  */
67
67
  function convertToPercentage(n) {
68
68
  if (n <= 1) {
69
- return "".concat(Number(n) * 100, "%");
69
+ return Number(n) * 100 + "%";
70
70
  }
71
71
  return n;
72
72
  }
@@ -448,12 +448,12 @@ var CSS_INTEGER = '[-\\+]?\\d+%?';
448
448
  // <http://www.w3.org/TR/css3-values/#number-value>
449
449
  var CSS_NUMBER = '[-\\+]?\\d*\\.\\d+%?';
450
450
  // Allow positive/negative integer/number. Don't capture the either/or, just the entire outcome.
451
- var CSS_UNIT = "(?:".concat(CSS_NUMBER, ")|(?:").concat(CSS_INTEGER, ")");
451
+ var CSS_UNIT = "(?:" + CSS_NUMBER + ")|(?:" + CSS_INTEGER + ")";
452
452
  // Actual matching.
453
453
  // Parentheses and commas are optional, but not required.
454
454
  // Whitespace can take the place of commas or opening paren
455
- var PERMISSIVE_MATCH3 = "[\\s|\\(]+(".concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")\\s*\\)?");
456
- var PERMISSIVE_MATCH4 = "[\\s|\\(]+(".concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")\\s*\\)?");
455
+ var PERMISSIVE_MATCH3 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
456
+ var PERMISSIVE_MATCH4 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
457
457
  var matchers = {
458
458
  CSS_UNIT: new RegExp(CSS_UNIT),
459
459
  rgb: new RegExp('rgb' + PERMISSIVE_MATCH3),
@@ -778,19 +778,6 @@ Object.keys(presetPrimaryColors).forEach(function (key) {
778
778
  });
779
779
  presetDarkPalettes[key].primary = presetDarkPalettes[key][5];
780
780
  });
781
- presetPalettes.red;
782
- presetPalettes.volcano;
783
- presetPalettes.gold;
784
- presetPalettes.orange;
785
- presetPalettes.yellow;
786
- presetPalettes.lime;
787
- presetPalettes.green;
788
- presetPalettes.cyan;
789
- presetPalettes.blue;
790
- presetPalettes.geekblue;
791
- presetPalettes.purple;
792
- presetPalettes.magenta;
793
- presetPalettes.grey;
794
781
 
795
782
  // https://github.com/substack/insert-css
796
783
  var containers = []; // will store container HTMLElement references
@@ -1249,6 +1236,7 @@ const _hoisted_1$2 = { class: "bm-search-filter-btn" };
1249
1236
  const _hoisted_2$1 = /* @__PURE__ */ createTextVNode("\u67E5\u8BE2");
1250
1237
  const _hoisted_3$1 = /* @__PURE__ */ createTextVNode("\u91CD\u7F6E");
1251
1238
  const _sfc_main$2 = /* @__PURE__ */ defineComponent({
1239
+ __name: "search-reset-btn",
1252
1240
  props: searchResetBtnProps,
1253
1241
  emits: ["submit", "reset", "expand"],
1254
1242
  setup(__props, { emit: emits }) {
@@ -1923,7 +1911,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
1923
1911
  "onUpdate:api": _cache[0] || (_cache[0] = ($event) => fApi.value = $event),
1924
1912
  "model-value": _ctx.value,
1925
1913
  rule: unref(rule),
1926
- option: unref(option),
1914
+ option,
1927
1915
  onChange: handleChange
1928
1916
  }, null, 8, ["api", "model-value", "rule", "option"])
1929
1917
  ]);
@@ -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;
@@ -70,7 +70,7 @@ function boundAlpha(a) {
70
70
  */
71
71
  function convertToPercentage(n) {
72
72
  if (n <= 1) {
73
- return "".concat(Number(n) * 100, "%");
73
+ return Number(n) * 100 + "%";
74
74
  }
75
75
  return n;
76
76
  }
@@ -452,12 +452,12 @@ var CSS_INTEGER = '[-\\+]?\\d+%?';
452
452
  // <http://www.w3.org/TR/css3-values/#number-value>
453
453
  var CSS_NUMBER = '[-\\+]?\\d*\\.\\d+%?';
454
454
  // Allow positive/negative integer/number. Don't capture the either/or, just the entire outcome.
455
- var CSS_UNIT = "(?:".concat(CSS_NUMBER, ")|(?:").concat(CSS_INTEGER, ")");
455
+ var CSS_UNIT = "(?:" + CSS_NUMBER + ")|(?:" + CSS_INTEGER + ")";
456
456
  // Actual matching.
457
457
  // Parentheses and commas are optional, but not required.
458
458
  // Whitespace can take the place of commas or opening paren
459
- var PERMISSIVE_MATCH3 = "[\\s|\\(]+(".concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")\\s*\\)?");
460
- var PERMISSIVE_MATCH4 = "[\\s|\\(]+(".concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")\\s*\\)?");
459
+ var PERMISSIVE_MATCH3 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
460
+ var PERMISSIVE_MATCH4 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
461
461
  var matchers = {
462
462
  CSS_UNIT: new RegExp(CSS_UNIT),
463
463
  rgb: new RegExp('rgb' + PERMISSIVE_MATCH3),
@@ -782,19 +782,6 @@ Object.keys(presetPrimaryColors).forEach(function (key) {
782
782
  });
783
783
  presetDarkPalettes[key].primary = presetDarkPalettes[key][5];
784
784
  });
785
- presetPalettes.red;
786
- presetPalettes.volcano;
787
- presetPalettes.gold;
788
- presetPalettes.orange;
789
- presetPalettes.yellow;
790
- presetPalettes.lime;
791
- presetPalettes.green;
792
- presetPalettes.cyan;
793
- presetPalettes.blue;
794
- presetPalettes.geekblue;
795
- presetPalettes.purple;
796
- presetPalettes.magenta;
797
- presetPalettes.grey;
798
785
 
799
786
  // https://github.com/substack/insert-css
800
787
  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;
@@ -71,7 +71,7 @@ function boundAlpha(a) {
71
71
  */
72
72
  function convertToPercentage(n) {
73
73
  if (n <= 1) {
74
- return "".concat(Number(n) * 100, "%");
74
+ return Number(n) * 100 + "%";
75
75
  }
76
76
  return n;
77
77
  }
@@ -453,12 +453,12 @@ var CSS_INTEGER = '[-\\+]?\\d+%?';
453
453
  // <http://www.w3.org/TR/css3-values/#number-value>
454
454
  var CSS_NUMBER = '[-\\+]?\\d*\\.\\d+%?';
455
455
  // Allow positive/negative integer/number. Don't capture the either/or, just the entire outcome.
456
- var CSS_UNIT = "(?:".concat(CSS_NUMBER, ")|(?:").concat(CSS_INTEGER, ")");
456
+ var CSS_UNIT = "(?:" + CSS_NUMBER + ")|(?:" + CSS_INTEGER + ")";
457
457
  // Actual matching.
458
458
  // Parentheses and commas are optional, but not required.
459
459
  // Whitespace can take the place of commas or opening paren
460
- var PERMISSIVE_MATCH3 = "[\\s|\\(]+(".concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")\\s*\\)?");
461
- var PERMISSIVE_MATCH4 = "[\\s|\\(]+(".concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")\\s*\\)?");
460
+ var PERMISSIVE_MATCH3 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
461
+ var PERMISSIVE_MATCH4 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
462
462
  var matchers = {
463
463
  CSS_UNIT: new RegExp(CSS_UNIT),
464
464
  rgb: new RegExp('rgb' + PERMISSIVE_MATCH3),
@@ -783,19 +783,6 @@ Object.keys(presetPrimaryColors).forEach(function (key) {
783
783
  });
784
784
  presetDarkPalettes[key].primary = presetDarkPalettes[key][5];
785
785
  });
786
- presetPalettes.red;
787
- presetPalettes.volcano;
788
- presetPalettes.gold;
789
- presetPalettes.orange;
790
- presetPalettes.yellow;
791
- presetPalettes.lime;
792
- presetPalettes.green;
793
- presetPalettes.cyan;
794
- presetPalettes.blue;
795
- presetPalettes.geekblue;
796
- presetPalettes.purple;
797
- presetPalettes.magenta;
798
- presetPalettes.grey;
799
786
 
800
787
  // https://github.com/substack/insert-css
801
788
  var containers = []; // will store container HTMLElement references
@@ -1835,7 +1822,7 @@ function _sfc_render$1(_ctx, _cache, $props, $setup, $data, $options) {
1835
1822
  ]);
1836
1823
  }), 128))
1837
1824
  ])) : createCommentVNode("v-if", true)
1838
- ], 2112))
1825
+ ], 64))
1839
1826
  ])
1840
1827
  ]),
1841
1828
  createElementVNode("div", _hoisted_14, [
@@ -65,7 +65,7 @@ function boundAlpha(a) {
65
65
  */
66
66
  function convertToPercentage(n) {
67
67
  if (n <= 1) {
68
- return "".concat(Number(n) * 100, "%");
68
+ return Number(n) * 100 + "%";
69
69
  }
70
70
  return n;
71
71
  }
@@ -447,12 +447,12 @@ var CSS_INTEGER = '[-\\+]?\\d+%?';
447
447
  // <http://www.w3.org/TR/css3-values/#number-value>
448
448
  var CSS_NUMBER = '[-\\+]?\\d*\\.\\d+%?';
449
449
  // Allow positive/negative integer/number. Don't capture the either/or, just the entire outcome.
450
- var CSS_UNIT = "(?:".concat(CSS_NUMBER, ")|(?:").concat(CSS_INTEGER, ")");
450
+ var CSS_UNIT = "(?:" + CSS_NUMBER + ")|(?:" + CSS_INTEGER + ")";
451
451
  // Actual matching.
452
452
  // Parentheses and commas are optional, but not required.
453
453
  // Whitespace can take the place of commas or opening paren
454
- var PERMISSIVE_MATCH3 = "[\\s|\\(]+(".concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")\\s*\\)?");
455
- var PERMISSIVE_MATCH4 = "[\\s|\\(]+(".concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")[,|\\s]+(").concat(CSS_UNIT, ")\\s*\\)?");
454
+ var PERMISSIVE_MATCH3 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
455
+ var PERMISSIVE_MATCH4 = "[\\s|\\(]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")[,|\\s]+(" + CSS_UNIT + ")\\s*\\)?";
456
456
  var matchers = {
457
457
  CSS_UNIT: new RegExp(CSS_UNIT),
458
458
  rgb: new RegExp('rgb' + PERMISSIVE_MATCH3),
@@ -777,19 +777,6 @@ Object.keys(presetPrimaryColors).forEach(function (key) {
777
777
  });
778
778
  presetDarkPalettes[key].primary = presetDarkPalettes[key][5];
779
779
  });
780
- presetPalettes.red;
781
- presetPalettes.volcano;
782
- presetPalettes.gold;
783
- presetPalettes.orange;
784
- presetPalettes.yellow;
785
- presetPalettes.lime;
786
- presetPalettes.green;
787
- presetPalettes.cyan;
788
- presetPalettes.blue;
789
- presetPalettes.geekblue;
790
- presetPalettes.purple;
791
- presetPalettes.magenta;
792
- presetPalettes.grey;
793
780
 
794
781
  // https://github.com/substack/insert-css
795
782
  var containers = []; // will store container HTMLElement references
@@ -1715,7 +1702,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
1715
1702
  key: 1,
1716
1703
  file: item
1717
1704
  })
1718
- ], 2112)) : createCommentVNode("v-if", true),
1705
+ ], 64)) : createCommentVNode("v-if", true),
1719
1706
  createCommentVNode(" \u56FE\u7247\u9519\u8BEF\u5C55\u793A "),
1720
1707
  item.status === "error" ? (openBlock(), createElementBlock("div", {
1721
1708
  key: 2,
@@ -1761,7 +1748,7 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
1761
1748
  }, 8, ["class", "disabled"]),
1762
1749
  _ctx.extraConfigs.tips && _ctx.extraConfigs.showTips ? (openBlock(), createElementBlock("div", _hoisted_23, toDisplayString(_ctx.extraConfigs.tips), 1)) : createCommentVNode("v-if", true)
1763
1750
  ])) : createCommentVNode("v-if", true)
1764
- ], 2112))
1751
+ ], 64))
1765
1752
  ]),
1766
1753
  _: 3
1767
1754
  }, 16, ["class"])) : createCommentVNode("v-if", true),