rx-compo 1.0.52 → 1.0.54

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 (77) hide show
  1. package/entry/types/index.d.ts +0 -1
  2. package/es/components/RxButton/index.js +16 -25
  3. package/es/components/RxCheckbox/index.js +3712 -0
  4. package/es/components/RxCheckboxGroup/index.js +6430 -0
  5. package/es/components/RxDatePicker/index.js +13042 -0
  6. package/es/components/RxInput/index.js +1560 -0
  7. package/es/components/RxOption/index.js +8859 -0
  8. package/es/components/RxRadio/index.js +646 -0
  9. package/es/components/RxRadioButton/index.js +646 -0
  10. package/es/components/RxRadioGroup/index.js +1117 -0
  11. package/es/components/RxScrollbar/index.js +867 -0
  12. package/es/components/RxSelect/index.js +9022 -0
  13. package/es/components/RxSelectPlus/index.js +17471 -0
  14. package/es/components/RxSuperCondition/index.js +8690 -0
  15. package/es/components/RxTooltip/index.js +2470 -0
  16. package/es/components/index.js +13 -0
  17. package/es/index.d.ts +0 -1
  18. package/es/index.js +0 -1
  19. package/es/utils/useContext.d.ts +10 -0
  20. package/es/utils/useContext.js +13 -0
  21. package/es/utils/useTextOverflow.d.ts +4 -0
  22. package/es/utils/useTextOverflow.js +13 -0
  23. package/es/utils/with-install.d.ts +3 -0
  24. package/es/utils/with-install.js +7 -0
  25. package/index.esm.js +43171 -1577
  26. package/index.js +43192 -1585
  27. package/lib/components/RxButton/index.js +15 -24
  28. package/lib/components/RxCheckbox/index.js +3717 -0
  29. package/lib/components/RxCheckboxGroup/index.js +6435 -0
  30. package/lib/components/RxDatePicker/index.js +13047 -0
  31. package/lib/components/RxInput/index.js +1565 -0
  32. package/lib/components/RxOption/index.js +8864 -0
  33. package/lib/components/RxRadio/index.js +651 -0
  34. package/lib/components/RxRadioButton/index.js +651 -0
  35. package/lib/components/RxRadioGroup/index.js +1122 -0
  36. package/lib/components/RxScrollbar/index.js +872 -0
  37. package/lib/components/RxSelect/index.js +9027 -0
  38. package/lib/components/RxSelectPlus/index.js +17476 -0
  39. package/lib/components/RxSuperCondition/index.js +8695 -0
  40. package/lib/components/RxTooltip/index.js +2475 -0
  41. package/lib/components/index.js +91 -0
  42. package/lib/index.d.ts +0 -1
  43. package/lib/index.js +0 -1
  44. package/lib/utils/useContext.d.ts +10 -0
  45. package/lib/utils/useContext.js +18 -0
  46. package/lib/utils/useTextOverflow.d.ts +4 -0
  47. package/lib/utils/useTextOverflow.js +17 -0
  48. package/lib/utils/with-install.d.ts +3 -0
  49. package/lib/utils/with-install.js +11 -0
  50. package/package.json +4 -2
  51. package/theme-chalk/css/index.css +1 -1
  52. package/theme-chalk/css/rx-button.css +1 -0
  53. package/theme-chalk/css/rx-checkbox-group.css +1 -0
  54. package/theme-chalk/css/rx-checkbox.css +1 -0
  55. package/theme-chalk/css/rx-date-picker.css +0 -0
  56. package/theme-chalk/css/rx-input.css +1 -0
  57. package/theme-chalk/css/rx-option.css +1 -0
  58. package/theme-chalk/css/rx-radio-button.css +0 -0
  59. package/theme-chalk/css/rx-radio-group.css +1 -0
  60. package/theme-chalk/css/rx-radio.css +1 -0
  61. package/theme-chalk/css/rx-scrollbar.css +0 -0
  62. package/theme-chalk/css/rx-select.css +1 -0
  63. package/theme-chalk/css/rx-super-condition.css +0 -0
  64. package/theme-chalk/css/rx-tooltip.css +0 -0
  65. package/es/components/RxButton/index.d.ts +0 -3
  66. package/es/components/RxButton/src/index.d.ts +0 -3
  67. package/es/components/RxButton/src/index.vue.d.ts +0 -10
  68. package/es/components/index.d.ts +0 -2
  69. package/lib/components/RxButton/index.d.ts +0 -3
  70. package/lib/components/RxButton/src/index.d.ts +0 -3
  71. package/lib/components/RxButton/src/index.vue.d.ts +0 -10
  72. package/lib/components/index.d.ts +0 -2
  73. package/types/components/RxButton/index.d.ts +0 -3
  74. package/types/components/RxButton/src/index.d.ts +0 -3
  75. package/types/components/RxButton/src/index.vue.d.ts +0 -10
  76. package/types/components/index.d.ts +0 -2
  77. package/types/utils/with-install.d.ts +0 -3
@@ -5,25 +5,18 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var withInstall$1 = require('rx-compo/lib/utils/with-install');
6
6
  var vue = require('vue');
7
7
 
8
- const RxButtonProps = {};
9
-
10
- /**
11
- * Make a map and return a function for checking if a key
12
- * is in that map.
13
- * IMPORTANT: all calls of this function must be prefixed with
14
- * \/\*#\_\_PURE\_\_\*\/
15
- * So that rollup can tree-shake them if necessary.
16
- */
8
+ const RxButtonProps = {
9
+ type: String
10
+ };
17
11
 
18
- (process.env.NODE_ENV !== 'production')
19
- ? Object.freeze({})
20
- : {};
21
- (process.env.NODE_ENV !== 'production') ? Object.freeze([]) : [];
22
- const NOOP = () => { };
23
- const hasOwnProperty = Object.prototype.hasOwnProperty;
24
- const hasOwn = (val, key) => hasOwnProperty.call(val, key);
25
- const isString = (val) => typeof val === 'string';
26
- const isObject = (val) => val !== null && typeof val === 'object';
12
+ !!(process.env.NODE_ENV !== "production") ? Object.freeze({}) : {};
13
+ !!(process.env.NODE_ENV !== "production") ? Object.freeze([]) : [];
14
+ const NOOP = () => {
15
+ };
16
+ const hasOwnProperty = Object.prototype.hasOwnProperty;
17
+ const hasOwn = (val, key) => hasOwnProperty.call(val, key);
18
+ const isString = (val) => typeof val === "string";
19
+ const isObject = (val) => val !== null && typeof val === "object";
27
20
 
28
21
  /**
29
22
  * The inverse of `_.toPairs`; this method returns an object composed
@@ -1804,17 +1797,15 @@ var script = vue.defineComponent({
1804
1797
  }
1805
1798
  });
1806
1799
 
1807
- const _hoisted_1 = /*#__PURE__*/vue.createTextVNode("我我我");
1808
-
1809
1800
  function render(_ctx, _cache, $props, $setup, $data, $options) {
1810
1801
  const _component_el_button = vue.resolveComponent("el-button");
1811
1802
 
1812
- return (vue.openBlock(), vue.createBlock(_component_el_button, null, {
1803
+ return (vue.openBlock(), vue.createBlock(_component_el_button, vue.mergeProps({ ..._ctx.$attrs, ..._ctx.$props }, { class: "rx-button" }), {
1813
1804
  default: vue.withCtx(() => [
1814
- _hoisted_1
1805
+ vue.renderSlot(_ctx.$slots, "default")
1815
1806
  ]),
1816
- _: 1 /* STABLE */
1817
- }))
1807
+ _: 3 /* FORWARDED */
1808
+ }, 16 /* FULL_PROPS */))
1818
1809
  }
1819
1810
 
1820
1811
  script.render = render;