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
package/entry/types/index.d.ts
CHANGED
|
@@ -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
|
|
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 !==
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
const
|
|
19
|
-
const
|
|
20
|
-
const
|
|
21
|
-
const
|
|
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,
|
|
1799
|
+
return (openBlock(), createBlock(_component_el_button, mergeProps({ ..._ctx.$attrs, ..._ctx.$props }, { class: "rx-button" }), {
|
|
1809
1800
|
default: withCtx(() => [
|
|
1810
|
-
|
|
1801
|
+
renderSlot(_ctx.$slots, "default")
|
|
1811
1802
|
]),
|
|
1812
|
-
_:
|
|
1813
|
-
}))
|
|
1803
|
+
_: 3 /* FORWARDED */
|
|
1804
|
+
}, 16 /* FULL_PROPS */))
|
|
1814
1805
|
}
|
|
1815
1806
|
|
|
1816
1807
|
script.render = render;
|