bm-admin-ui 1.0.7-alpha → 1.0.10-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/feedback/index.js +6 -19
  2. package/es/components/multi-cascader-compose/index.js +4 -17
  3. package/es/components/search-filter/index.d.ts +28 -1
  4. package/es/components/search-filter/index.js +69 -51
  5. package/es/components/search-filter/src/{serach-filter.d.ts → search-filter.d.ts} +12 -0
  6. package/es/components/search-filter/src/search-filter.vue.d.ts +28 -1
  7. package/es/components/search-filter/src/search-reset-btn.vue.d.ts +14 -0
  8. package/es/components/shops-filter/index.js +4 -17
  9. package/es/components/staffs-selector/index.js +4 -17
  10. package/es/components/upload/index.js +4 -17
  11. package/index.esm.js +37019 -969
  12. package/index.js +37017 -967
  13. package/lib/components/feedback/index.js +5 -18
  14. package/lib/components/multi-cascader-compose/index.js +4 -17
  15. package/lib/components/search-filter/index.d.ts +28 -1
  16. package/lib/components/search-filter/index.js +69 -51
  17. package/lib/components/search-filter/src/{serach-filter.d.ts → search-filter.d.ts} +12 -0
  18. package/lib/components/search-filter/src/search-filter.vue.d.ts +28 -1
  19. package/lib/components/search-filter/src/search-reset-btn.vue.d.ts +14 -0
  20. package/lib/components/shops-filter/index.js +4 -17
  21. package/lib/components/staffs-selector/index.js +4 -17
  22. package/lib/components/upload/index.js +4 -17
  23. package/package.json +29 -29
  24. package/theme-chalk/button.css +1 -1
  25. package/theme-chalk/feedback.css +1 -0
  26. package/theme-chalk/float-table.css +1 -0
  27. package/theme-chalk/floating-vue.css +1 -0
  28. package/theme-chalk/flow-designer.css +1 -0
  29. package/theme-chalk/index.css +1 -0
  30. package/theme-chalk/modal.css +1 -0
  31. package/theme-chalk/multi-cascader-compose.css +1 -0
  32. package/theme-chalk/over-tooltips.css +1 -0
  33. package/theme-chalk/search-filter.css +1 -0
  34. package/theme-chalk/shops-filter.css +1 -0
  35. package/theme-chalk/staffs-selector.css +1 -0
  36. package/theme-chalk/timeline.css +1 -0
  37. package/theme-chalk/upload.css +1 -0
  38. package/types/components/search-filter/index.d.ts +28 -1
  39. package/types/components/search-filter/src/{serach-filter.d.ts → search-filter.d.ts} +12 -0
  40. package/types/components/search-filter/src/search-filter.vue.d.ts +28 -1
  41. package/types/components/search-filter/src/search-reset-btn.vue.d.ts +14 -0
@@ -3,12 +3,20 @@ declare const _default: import("vue").DefineComponent<{
3
3
  type: BooleanConstructor;
4
4
  default: boolean;
5
5
  };
6
+ showSearchIcon: {
7
+ type: BooleanConstructor;
8
+ default: boolean;
9
+ };
6
10
  }, {
7
11
  props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
8
12
  showExpandBtn: {
9
13
  type: BooleanConstructor;
10
14
  default: boolean;
11
15
  };
16
+ showSearchIcon: {
17
+ type: BooleanConstructor;
18
+ default: boolean;
19
+ };
12
20
  }>> & {
13
21
  onReset?: ((...args: any[]) => any) | undefined;
14
22
  onSubmit?: ((...args: any[]) => any) | undefined;
@@ -21,16 +29,22 @@ declare const _default: import("vue").DefineComponent<{
21
29
  handleReset: () => void;
22
30
  DownOutlined: import("@ant-design/icons-vue/lib/icons/DownOutlined").DownOutlinedIconType;
23
31
  UpOutlined: import("@ant-design/icons-vue/lib/icons/UpOutlined").UpOutlinedIconType;
32
+ SearchOutlined: import("@ant-design/icons-vue/lib/icons/SearchOutlined").SearchOutlinedIconType;
24
33
  }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("submit" | "reset" | "expand")[], "submit" | "reset" | "expand", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
25
34
  showExpandBtn: {
26
35
  type: BooleanConstructor;
27
36
  default: boolean;
28
37
  };
38
+ showSearchIcon: {
39
+ type: BooleanConstructor;
40
+ default: boolean;
41
+ };
29
42
  }>> & {
30
43
  onReset?: ((...args: any[]) => any) | undefined;
31
44
  onSubmit?: ((...args: any[]) => any) | undefined;
32
45
  onExpand?: ((...args: any[]) => any) | undefined;
33
46
  }, {
34
47
  showExpandBtn: boolean;
48
+ showSearchIcon: boolean;
35
49
  }>;
36
50
  export default _default;
@@ -70,7 +70,7 @@ function boundAlpha(a) {
70
70
  */
71
71
  function convertToPercentage(n) {
72
72
  if (n <= 1) {
73
- return Number(n) * 100 + "%";
73
+ return "".concat(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 = "(?:" + CSS_NUMBER + ")|(?:" + CSS_INTEGER + ")";
455
+ var CSS_UNIT = "(?:".concat(CSS_NUMBER, ")|(?:").concat(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|\\(]+(" + 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*\\)?";
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*\\)?");
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
@@ -71,7 +71,7 @@ function boundAlpha(a) {
71
71
  */
72
72
  function convertToPercentage(n) {
73
73
  if (n <= 1) {
74
- return Number(n) * 100 + "%";
74
+ return "".concat(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 = "(?:" + CSS_NUMBER + ")|(?:" + CSS_INTEGER + ")";
456
+ var CSS_UNIT = "(?:".concat(CSS_NUMBER, ")|(?:").concat(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|\\(]+(" + 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*\\)?";
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*\\)?");
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
@@ -65,7 +65,7 @@ function boundAlpha(a) {
65
65
  */
66
66
  function convertToPercentage(n) {
67
67
  if (n <= 1) {
68
- return Number(n) * 100 + "%";
68
+ return "".concat(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 = "(?:" + CSS_NUMBER + ")|(?:" + CSS_INTEGER + ")";
450
+ var CSS_UNIT = "(?:".concat(CSS_NUMBER, ")|(?:").concat(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|\\(]+(" + 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*\\)?";
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*\\)?");
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