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.
- package/entry/types/index.d.ts +0 -1
- package/es/components/RxButton/index.js +16 -25
- package/es/components/RxCheckbox/index.js +3712 -0
- package/es/components/RxCheckboxGroup/index.js +6430 -0
- package/es/components/RxDatePicker/index.js +13042 -0
- package/es/components/RxInput/index.js +1560 -0
- package/es/components/RxOption/index.js +8859 -0
- package/es/components/RxRadio/index.js +646 -0
- package/es/components/RxRadioButton/index.js +646 -0
- package/es/components/RxRadioGroup/index.js +1117 -0
- package/es/components/RxScrollbar/index.js +867 -0
- package/es/components/RxSelect/index.js +9022 -0
- package/es/components/RxSelectPlus/index.js +17471 -0
- package/es/components/RxSuperCondition/index.js +8690 -0
- package/es/components/RxTooltip/index.js +2470 -0
- package/es/components/index.js +13 -0
- package/es/index.d.ts +0 -1
- package/es/index.js +0 -1
- package/es/utils/useContext.d.ts +10 -0
- package/es/utils/useContext.js +13 -0
- package/es/utils/useTextOverflow.d.ts +4 -0
- package/es/utils/useTextOverflow.js +13 -0
- package/es/utils/with-install.d.ts +3 -0
- package/es/utils/with-install.js +7 -0
- package/index.esm.js +43171 -1577
- package/index.js +43192 -1585
- package/lib/components/RxButton/index.js +15 -24
- package/lib/components/RxCheckbox/index.js +3717 -0
- package/lib/components/RxCheckboxGroup/index.js +6435 -0
- package/lib/components/RxDatePicker/index.js +13047 -0
- package/lib/components/RxInput/index.js +1565 -0
- package/lib/components/RxOption/index.js +8864 -0
- package/lib/components/RxRadio/index.js +651 -0
- package/lib/components/RxRadioButton/index.js +651 -0
- package/lib/components/RxRadioGroup/index.js +1122 -0
- package/lib/components/RxScrollbar/index.js +872 -0
- package/lib/components/RxSelect/index.js +9027 -0
- package/lib/components/RxSelectPlus/index.js +17476 -0
- package/lib/components/RxSuperCondition/index.js +8695 -0
- package/lib/components/RxTooltip/index.js +2475 -0
- package/lib/components/index.js +91 -0
- package/lib/index.d.ts +0 -1
- package/lib/index.js +0 -1
- package/lib/utils/useContext.d.ts +10 -0
- package/lib/utils/useContext.js +18 -0
- package/lib/utils/useTextOverflow.d.ts +4 -0
- package/lib/utils/useTextOverflow.js +17 -0
- package/lib/utils/with-install.d.ts +3 -0
- package/lib/utils/with-install.js +11 -0
- package/package.json +4 -2
- package/theme-chalk/css/index.css +1 -1
- package/theme-chalk/css/rx-button.css +1 -0
- package/theme-chalk/css/rx-checkbox-group.css +1 -0
- package/theme-chalk/css/rx-checkbox.css +1 -0
- package/theme-chalk/css/rx-date-picker.css +0 -0
- package/theme-chalk/css/rx-input.css +1 -0
- package/theme-chalk/css/rx-option.css +1 -0
- package/theme-chalk/css/rx-radio-button.css +0 -0
- package/theme-chalk/css/rx-radio-group.css +1 -0
- package/theme-chalk/css/rx-radio.css +1 -0
- package/theme-chalk/css/rx-scrollbar.css +0 -0
- package/theme-chalk/css/rx-select.css +1 -0
- package/theme-chalk/css/rx-super-condition.css +0 -0
- package/theme-chalk/css/rx-tooltip.css +0 -0
- package/es/components/RxButton/index.d.ts +0 -3
- package/es/components/RxButton/src/index.d.ts +0 -3
- package/es/components/RxButton/src/index.vue.d.ts +0 -10
- package/es/components/index.d.ts +0 -2
- package/lib/components/RxButton/index.d.ts +0 -3
- package/lib/components/RxButton/src/index.d.ts +0 -3
- package/lib/components/RxButton/src/index.vue.d.ts +0 -10
- package/lib/components/index.d.ts +0 -2
- package/types/components/RxButton/index.d.ts +0 -3
- package/types/components/RxButton/src/index.d.ts +0 -3
- package/types/components/RxButton/src/index.vue.d.ts +0 -10
- package/types/components/index.d.ts +0 -2
- 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 !==
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
const
|
|
23
|
-
const
|
|
24
|
-
const
|
|
25
|
-
const
|
|
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,
|
|
1803
|
+
return (vue.openBlock(), vue.createBlock(_component_el_button, vue.mergeProps({ ..._ctx.$attrs, ..._ctx.$props }, { class: "rx-button" }), {
|
|
1813
1804
|
default: vue.withCtx(() => [
|
|
1814
|
-
|
|
1805
|
+
vue.renderSlot(_ctx.$slots, "default")
|
|
1815
1806
|
]),
|
|
1816
|
-
_:
|
|
1817
|
-
}))
|
|
1807
|
+
_: 3 /* FORWARDED */
|
|
1808
|
+
}, 16 /* FULL_PROPS */))
|
|
1818
1809
|
}
|
|
1819
1810
|
|
|
1820
1811
|
script.render = render;
|