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
@@ -1,5 +1,4 @@
1
1
  import type { App } from 'vue';
2
- import 'virtual:windi.css';
3
2
  declare const _default: {
4
3
  install: (app: App<any>) => void;
5
4
  };
@@ -1,25 +1,18 @@
1
1
  import { withInstall as withInstall$1 } from 'rx-compo/es/utils/with-install';
2
- import { openBlock, createElementBlock, createElementVNode, warn, watch, unref, inject, ref, computed, getCurrentInstance, defineComponent, mergeProps, renderSlot, useSlots, Text, createBlock, resolveDynamicComponent, withCtx, Fragment, normalizeClass, createCommentVNode, provide, reactive, toRef, resolveComponent, createTextVNode } from 'vue';
2
+ import { openBlock, createElementBlock, createElementVNode, warn, watch, unref, inject, ref, computed, getCurrentInstance, defineComponent, mergeProps, renderSlot, useSlots, Text, createBlock, resolveDynamicComponent, withCtx, Fragment, normalizeClass, createCommentVNode, provide, reactive, toRef, resolveComponent } from 'vue';
3
3
 
4
- const RxButtonProps = {};
5
-
6
- /**
7
- * Make a map and return a function for checking if a key
8
- * is in that map.
9
- * IMPORTANT: all calls of this function must be prefixed with
10
- * \/\*#\_\_PURE\_\_\*\/
11
- * So that rollup can tree-shake them if necessary.
12
- */
4
+ const RxButtonProps = {
5
+ type: String
6
+ };
13
7
 
14
- (process.env.NODE_ENV !== 'production')
15
- ? Object.freeze({})
16
- : {};
17
- (process.env.NODE_ENV !== 'production') ? Object.freeze([]) : [];
18
- const NOOP = () => { };
19
- const hasOwnProperty = Object.prototype.hasOwnProperty;
20
- const hasOwn = (val, key) => hasOwnProperty.call(val, key);
21
- const isString = (val) => typeof val === 'string';
22
- const isObject = (val) => val !== null && typeof val === 'object';
8
+ !!(process.env.NODE_ENV !== "production") ? Object.freeze({}) : {};
9
+ !!(process.env.NODE_ENV !== "production") ? Object.freeze([]) : [];
10
+ const NOOP = () => {
11
+ };
12
+ const hasOwnProperty = Object.prototype.hasOwnProperty;
13
+ const hasOwn = (val, key) => hasOwnProperty.call(val, key);
14
+ const isString = (val) => typeof val === "string";
15
+ const isObject = (val) => val !== null && typeof val === "object";
23
16
 
24
17
  /**
25
18
  * The inverse of `_.toPairs`; this method returns an object composed
@@ -1800,17 +1793,15 @@ var script = defineComponent({
1800
1793
  }
1801
1794
  });
1802
1795
 
1803
- const _hoisted_1 = /*#__PURE__*/createTextVNode("我我我");
1804
-
1805
1796
  function render(_ctx, _cache, $props, $setup, $data, $options) {
1806
1797
  const _component_el_button = resolveComponent("el-button");
1807
1798
 
1808
- return (openBlock(), createBlock(_component_el_button, null, {
1799
+ return (openBlock(), createBlock(_component_el_button, mergeProps({ ..._ctx.$attrs, ..._ctx.$props }, { class: "rx-button" }), {
1809
1800
  default: withCtx(() => [
1810
- _hoisted_1
1801
+ renderSlot(_ctx.$slots, "default")
1811
1802
  ]),
1812
- _: 1 /* STABLE */
1813
- }))
1803
+ _: 3 /* FORWARDED */
1804
+ }, 16 /* FULL_PROPS */))
1814
1805
  }
1815
1806
 
1816
1807
  script.render = render;