lew-ui 1.7.20 → 1.7.22

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/dist/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, unref, normalizeStyle, renderSlot, onMounted, getCurrentInstance, onUnmounted, h, watch, ref, readonly, getCurrentScope, onScopeDispose, nextTick, shallowRef, reactive, resolveComponent, resolveDirective, createBlock, withCtx, createElementVNode, createVNode, Transition, createCommentVNode, withDirectives, withModifiers, Fragment, renderList, createTextVNode, toDisplayString, vShow, pushScopeId, popScopeId, isRef, vModelDynamic, vModelText, TransitionGroup, mergeProps, toRaw, toRefs, vModelCheckbox, onActivated, Teleport, createApp } from "vue";
1
+ import { defineComponent, computed, openBlock, createElementBlock, normalizeClass, unref, normalizeStyle, renderSlot, onMounted, getCurrentInstance, onUnmounted, h, watch, getCurrentScope, onScopeDispose, ref, readonly, nextTick, reactive, shallowRef, resolveComponent, resolveDirective, createBlock, withCtx, createElementVNode, createVNode, Transition, createCommentVNode, withDirectives, withModifiers, Fragment, renderList, createTextVNode, toDisplayString, vShow, pushScopeId, popScopeId, isRef, vModelDynamic, watchEffect, vModelText, TransitionGroup, mergeProps, toRaw, toRefs, vModelCheckbox, onActivated, Teleport, createApp } from "vue";
2
2
  function _mergeNamespaces(n, m) {
3
3
  m.forEach(function(e) {
4
4
  e && typeof e !== "string" && !Array.isArray(e) && Object.keys(e).forEach(function(k) {
@@ -261,7 +261,7 @@ function useLewTo() {
261
261
  lewTo
262
262
  };
263
263
  }
264
- function useEventListener$1(target, event, callback) {
264
+ function useEventListener$2(target, event, callback) {
265
265
  onMounted(() => target.addEventListener(event, callback, true));
266
266
  onUnmounted(() => target.removeEventListener(event, callback, true));
267
267
  }
@@ -1300,8 +1300,8 @@ var feather$2 = { exports: {} };
1300
1300
  var getOwnPropertyNamesModule = __webpack_require__("./node_modules/core-js/internals/object-get-own-property-names.js");
1301
1301
  var getOwnPropertySymbolsModule = __webpack_require__("./node_modules/core-js/internals/object-get-own-property-symbols.js");
1302
1302
  var anObject = __webpack_require__("./node_modules/core-js/internals/an-object.js");
1303
- var Reflect = global2.Reflect;
1304
- module2.exports = Reflect && Reflect.ownKeys || function ownKeys(it) {
1303
+ var Reflect2 = global2.Reflect;
1304
+ module2.exports = Reflect2 && Reflect2.ownKeys || function ownKeys(it) {
1305
1305
  var keys = getOwnPropertyNamesModule.f(anObject(it));
1306
1306
  var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
1307
1307
  return getOwnPropertySymbols ? keys.concat(getOwnPropertySymbols(it)) : keys;
@@ -2097,6 +2097,47 @@ function unrefElement$1(elRef) {
2097
2097
  return (_a2 = plain == null ? void 0 : plain.$el) != null ? _a2 : plain;
2098
2098
  }
2099
2099
  const defaultWindow$1 = isClient ? window : void 0;
2100
+ function useEventListener$1(...args) {
2101
+ let target;
2102
+ let events;
2103
+ let listeners;
2104
+ let options;
2105
+ if (isString(args[0]) || Array.isArray(args[0])) {
2106
+ [events, listeners, options] = args;
2107
+ target = defaultWindow$1;
2108
+ } else {
2109
+ [target, events, listeners, options] = args;
2110
+ }
2111
+ if (!target)
2112
+ return noop;
2113
+ if (!Array.isArray(events))
2114
+ events = [events];
2115
+ if (!Array.isArray(listeners))
2116
+ listeners = [listeners];
2117
+ const cleanups = [];
2118
+ const cleanup = () => {
2119
+ cleanups.forEach((fn2) => fn2());
2120
+ cleanups.length = 0;
2121
+ };
2122
+ const register = (el, event, listener, options2) => {
2123
+ el.addEventListener(event, listener, options2);
2124
+ return () => el.removeEventListener(event, listener, options2);
2125
+ };
2126
+ const stopWatch = watch(() => [unrefElement$1(target), resolveUnref(options)], ([el, options2]) => {
2127
+ cleanup();
2128
+ if (!el)
2129
+ return;
2130
+ cleanups.push(...events.flatMap((event) => {
2131
+ return listeners.map((listener) => register(el, event, listener, options2));
2132
+ }));
2133
+ }, { immediate: true, flush: "post" });
2134
+ const stop = () => {
2135
+ stopWatch();
2136
+ cleanup();
2137
+ };
2138
+ tryOnScopeDispose(stop);
2139
+ return stop;
2140
+ }
2100
2141
  function useAsyncState(promise, initialState, options) {
2101
2142
  const {
2102
2143
  immediate = true,
@@ -2274,6 +2315,103 @@ const useImage = (options, asyncStateOptions = {}) => {
2274
2315
  watch(() => resolveUnref(options), () => state.execute(asyncStateOptions.delay), { deep: true });
2275
2316
  return state;
2276
2317
  };
2318
+ const DefaultMagicKeysAliasMap = {
2319
+ ctrl: "control",
2320
+ command: "meta",
2321
+ cmd: "meta",
2322
+ option: "alt",
2323
+ up: "arrowup",
2324
+ down: "arrowdown",
2325
+ left: "arrowleft",
2326
+ right: "arrowright"
2327
+ };
2328
+ function useMagicKeys(options = {}) {
2329
+ const {
2330
+ reactive: useReactive = false,
2331
+ target = defaultWindow$1,
2332
+ aliasMap = DefaultMagicKeysAliasMap,
2333
+ passive: passive2 = true,
2334
+ onEventFired = noop
2335
+ } = options;
2336
+ const current = reactive(/* @__PURE__ */ new Set());
2337
+ const obj = {
2338
+ toJSON() {
2339
+ return {};
2340
+ },
2341
+ current
2342
+ };
2343
+ const refs = useReactive ? reactive(obj) : obj;
2344
+ const metaDeps = /* @__PURE__ */ new Set();
2345
+ const usedKeys = /* @__PURE__ */ new Set();
2346
+ function setRefs(key, value) {
2347
+ if (key in refs) {
2348
+ if (useReactive)
2349
+ refs[key] = value;
2350
+ else
2351
+ refs[key].value = value;
2352
+ }
2353
+ }
2354
+ function reset2() {
2355
+ current.clear();
2356
+ for (const key of usedKeys)
2357
+ setRefs(key, false);
2358
+ }
2359
+ function updateRefs(e, value) {
2360
+ var _a2, _b;
2361
+ const key = (_a2 = e.key) == null ? void 0 : _a2.toLowerCase();
2362
+ const code = (_b = e.code) == null ? void 0 : _b.toLowerCase();
2363
+ const values = [code, key].filter(Boolean);
2364
+ if (key) {
2365
+ if (value)
2366
+ current.add(key);
2367
+ else
2368
+ current.delete(key);
2369
+ }
2370
+ for (const key2 of values) {
2371
+ usedKeys.add(key2);
2372
+ setRefs(key2, value);
2373
+ }
2374
+ if (key === "meta" && !value) {
2375
+ metaDeps.forEach((key2) => {
2376
+ current.delete(key2);
2377
+ setRefs(key2, false);
2378
+ });
2379
+ metaDeps.clear();
2380
+ } else if (typeof e.getModifierState === "function" && e.getModifierState("Meta") && value) {
2381
+ [...current, ...values].forEach((key2) => metaDeps.add(key2));
2382
+ }
2383
+ }
2384
+ useEventListener$1(target, "keydown", (e) => {
2385
+ updateRefs(e, true);
2386
+ return onEventFired(e);
2387
+ }, { passive: passive2 });
2388
+ useEventListener$1(target, "keyup", (e) => {
2389
+ updateRefs(e, false);
2390
+ return onEventFired(e);
2391
+ }, { passive: passive2 });
2392
+ useEventListener$1("blur", reset2, { passive: true });
2393
+ useEventListener$1("focus", reset2, { passive: true });
2394
+ const proxy = new Proxy(refs, {
2395
+ get(target2, prop, rec) {
2396
+ if (typeof prop !== "string")
2397
+ return Reflect.get(target2, prop, rec);
2398
+ prop = prop.toLowerCase();
2399
+ if (prop in aliasMap)
2400
+ prop = aliasMap[prop];
2401
+ if (!(prop in refs)) {
2402
+ if (/[+_-]/.test(prop)) {
2403
+ const keys = prop.split(/[+_-]/g).map((i) => i.trim());
2404
+ refs[prop] = computed(() => keys.every((key) => unref(proxy[key])));
2405
+ } else {
2406
+ refs[prop] = ref(false);
2407
+ }
2408
+ }
2409
+ const r = Reflect.get(target2, prop, rec);
2410
+ return useReactive ? unref(r) : r;
2411
+ }
2412
+ });
2413
+ return proxy;
2414
+ }
2277
2415
  var SwipeDirection;
2278
2416
  (function(SwipeDirection2) {
2279
2417
  SwipeDirection2["UP"] = "UP";
@@ -3040,6 +3178,9 @@ const _sfc_main$B = defineComponent({
3040
3178
  if (v || v === 0) {
3041
3179
  selectItem(v, "watch");
3042
3180
  }
3181
+ if (!state.isInit) {
3182
+ init();
3183
+ }
3043
3184
  }
3044
3185
  );
3045
3186
  const initActiveItemStyle = (index2) => {
@@ -3067,11 +3208,11 @@ const _sfc_main$B = defineComponent({
3067
3208
  let index2 = props.options.findIndex((e) => e.value === tabsValue.value);
3068
3209
  if (index2 >= 0) {
3069
3210
  state.activeItemStyle = `width:${itemRef.value[index2].offsetWidth}px;transform: translateX(${itemRef.value[index2].offsetLeft}px);`;
3070
- tabsScroll();
3071
- setTimeout(() => {
3072
- state.isInit = true;
3073
- }, 100);
3074
3211
  }
3212
+ tabsScroll();
3213
+ setTimeout(() => {
3214
+ state.isInit = true;
3215
+ }, 100);
3075
3216
  };
3076
3217
  const selectItem = (value, type) => {
3077
3218
  const index2 = props.options.findIndex((e) => value === e.value);
@@ -3116,8 +3257,8 @@ const _sfc_main$B = defineComponent({
3116
3257
  });
3117
3258
  const tabsScroll = () => {
3118
3259
  if (tabsRef.value.scrollWidth > tabsRef.value.clientWidth) {
3119
- if (tabsRef.value.scrollLeft >= 0) {
3120
- if (tabsRef.value.scrollLeft >= tabsRef.value.scrollWidth - tabsRef.value.clientWidth - 10) {
3260
+ if (tabsRef.value.scrollLeft > 50) {
3261
+ if (tabsRef.value.scrollLeft >= tabsRef.value.scrollWidth - tabsRef.value.clientWidth - 50) {
3121
3262
  state.hidLine = "right";
3122
3263
  } else {
3123
3264
  state.hidLine = "";
@@ -3471,6 +3612,11 @@ const inputProps = {
3471
3612
  type: String,
3472
3613
  default: "",
3473
3614
  description: "\u540E\u7F00\u63D0\u793A"
3615
+ },
3616
+ okByEnter: {
3617
+ type: Boolean,
3618
+ default: false,
3619
+ description: "\u662F\u5426\u6309\u56DE\u8F66\u952E\u786E\u8BA4"
3474
3620
  }
3475
3621
  };
3476
3622
  var LewInput_vue_vue_type_style_index_0_scoped_true_lang = "";
@@ -3527,11 +3673,13 @@ const _sfc_main$x = defineComponent({
3527
3673
  "blur",
3528
3674
  "focus",
3529
3675
  "change",
3530
- "input"
3676
+ "input",
3677
+ "ok"
3531
3678
  ],
3532
3679
  setup(__props, { expose: __expose, emit }) {
3533
3680
  var _a2;
3534
3681
  const props = __props;
3682
+ const { enter } = useMagicKeys();
3535
3683
  const app = (_a2 = getCurrentInstance()) == null ? void 0 : _a2.appContext.app;
3536
3684
  if (app && !app.directive("tooltip")) {
3537
3685
  app.use(LewTooltip);
@@ -3646,6 +3794,13 @@ const _sfc_main$x = defineComponent({
3646
3794
  );
3647
3795
  return (item == null ? void 0 : item.label) || "";
3648
3796
  });
3797
+ if (props.okByEnter) {
3798
+ watch(enter, (v) => {
3799
+ if (v && state.isFocus && modelValue.value) {
3800
+ emit("ok", modelValue.value);
3801
+ }
3802
+ });
3803
+ }
3649
3804
  __expose({ toFocus });
3650
3805
  return (_ctx, _cache) => {
3651
3806
  const _directive_tooltip = resolveDirective("tooltip");
@@ -3876,6 +4031,11 @@ const textareaProps = {
3876
4031
  type: [Number, String],
3877
4032
  default: "",
3878
4033
  description: "\u9AD8\u5EA6"
4034
+ },
4035
+ okByEnter: {
4036
+ type: Boolean,
4037
+ default: false,
4038
+ description: "\u662F\u5426\u6309\u56DE\u8F66\u952E\u786E\u8BA4\uFF08\u5F53\u5F00\u542F\u65F6\uFF0C\u6309\u4E0Bshift+enter\u53EF\u4EE5\u8FDB\u884C\u6362\u884C\uFF09"
3879
4039
  }
3880
4040
  };
3881
4041
  var LewTextarea_vue_vue_type_style_index_0_scoped_true_lang = "";
@@ -3895,11 +4055,13 @@ const _sfc_main$w = defineComponent({
3895
4055
  "input",
3896
4056
  "focus",
3897
4057
  "change",
3898
- "textarea"
4058
+ "textarea",
4059
+ "ok"
3899
4060
  ],
3900
4061
  setup(__props, { expose: __expose, emit }) {
3901
4062
  var _a2;
3902
4063
  const props = __props;
4064
+ const { shift, enter } = useMagicKeys();
3903
4065
  const app = (_a2 = getCurrentInstance()) == null ? void 0 : _a2.appContext.app;
3904
4066
  if (app && !app.directive("tooltip")) {
3905
4067
  app.use(LewTooltip);
@@ -3971,6 +4133,17 @@ const _sfc_main$w = defineComponent({
3971
4133
  let { width, height } = props;
3972
4134
  return `width:${any2px(width)};height:${any2px(height)};`;
3973
4135
  });
4136
+ if (props.okByEnter) {
4137
+ watchEffect(() => {
4138
+ var _a3;
4139
+ if (shift.value && enter.value) {
4140
+ return;
4141
+ } else if (enter.value && state.isFocus && modelValue.value) {
4142
+ (_a3 = lewTextareaRef.value) == null ? void 0 : _a3.blur();
4143
+ emit("ok", modelValue.value);
4144
+ }
4145
+ });
4146
+ }
3974
4147
  __expose({ toFocus });
3975
4148
  return (_ctx, _cache) => {
3976
4149
  const _directive_tooltip = resolveDirective("tooltip");
@@ -13075,6 +13248,11 @@ const modalProps = {
13075
13248
  default: false,
13076
13249
  description: "\u662F\u5426\u9690\u85CF\u5E95\u90E8\u6309\u94AE"
13077
13250
  },
13251
+ closeByEsc: {
13252
+ type: Boolean,
13253
+ default: false,
13254
+ description: "\u662F\u5426\u5141\u8BB8esc\u5173\u95ED"
13255
+ },
13078
13256
  okProps: {
13079
13257
  type: Object,
13080
13258
  default: () => {
@@ -13121,6 +13299,7 @@ const _sfc_main$7 = defineComponent({
13121
13299
  emits: ["update:visible", "ok", "cancel", "show", "close"],
13122
13300
  setup(__props, { emit }) {
13123
13301
  const props = __props;
13302
+ const { Escape } = useMagicKeys();
13124
13303
  useDOMCreate("lew-modal");
13125
13304
  const visible = useVModel(props, "visible", emit);
13126
13305
  const maskClick = () => {
@@ -13150,6 +13329,13 @@ const _sfc_main$7 = defineComponent({
13150
13329
  }
13151
13330
  }
13152
13331
  );
13332
+ if (props.closeByEsc) {
13333
+ watch(Escape, (v) => {
13334
+ if (v && visible.value) {
13335
+ visible.value = false;
13336
+ }
13337
+ });
13338
+ }
13153
13339
  return (_ctx, _cache) => {
13154
13340
  return openBlock(), createBlock(Teleport, { to: "#lew-modal" }, [
13155
13341
  createVNode(Transition, { name: "lew-modal-mask" }, {
@@ -14019,7 +14205,7 @@ const _sfc_main$2 = defineComponent({
14019
14205
  showBackTop.value = dom.value.scrollTop >= props.valveHeight;
14020
14206
  };
14021
14207
  const throttledScrollHandler = throttle_1(handleScroll, 250);
14022
- useEventListener$1(window, "scroll", throttledScrollHandler);
14208
+ useEventListener$2(window, "scroll", throttledScrollHandler);
14023
14209
  onMounted(() => {
14024
14210
  var _a2;
14025
14211
  dom.value = document.documentElement;
@@ -14380,37 +14566,49 @@ var index$6 = {
14380
14566
  clear
14381
14567
  };
14382
14568
  const dialogProps = {
14383
- closeOnClickOverlay: {
14384
- type: Boolean,
14385
- default: false
14386
- },
14387
14569
  type: {
14388
14570
  type: String,
14389
- default: ""
14571
+ default: "",
14572
+ description: "\u7C7B\u578B"
14573
+ },
14574
+ layout: {
14575
+ type: String,
14576
+ default: "normal",
14577
+ description: "\u5E03\u5C40"
14578
+ },
14579
+ okText: {
14580
+ type: String,
14581
+ default: "\u786E\u5B9A",
14582
+ description: "\u786E\u5B9A\u6309\u94AE\u6587\u5B57"
14583
+ },
14584
+ cancelText: {
14585
+ type: String,
14586
+ default: "\u53D6\u6D88",
14587
+ description: "\u53D6\u6D88\u6309\u94AE\u6587\u5B57"
14390
14588
  },
14391
14589
  ok: {
14392
14590
  type: Function,
14393
14591
  default: () => {
14394
14592
  return true;
14395
- }
14593
+ },
14594
+ description: "\u786E\u5B9A\u56DE\u8C03"
14396
14595
  },
14397
14596
  cancel: {
14398
14597
  type: Function,
14399
14598
  default: () => {
14400
14599
  return true;
14401
- }
14402
- },
14403
- okText: {
14404
- type: String,
14405
- default: "\u786E\u5B9A"
14600
+ },
14601
+ description: "\u53D6\u6D88\u56DE\u8C03"
14406
14602
  },
14407
- cancelText: {
14408
- type: String,
14409
- default: "\u53D6\u6D88"
14603
+ closeOnClickOverlay: {
14604
+ type: Boolean,
14605
+ default: false,
14606
+ description: "\u70B9\u51FB\u906E\u7F69\u5C42\u662F\u5426\u5173\u95ED"
14410
14607
  },
14411
- layout: {
14412
- type: String,
14413
- default: "normal"
14608
+ closeByEsc: {
14609
+ type: Boolean,
14610
+ default: false,
14611
+ description: "\u662F\u5426\u5141\u8BB8esc\u5173\u95ED"
14414
14612
  }
14415
14613
  };
14416
14614
  var LewDialog_vue_vue_type_style_index_0_scoped_true_lang = "";
@@ -14427,6 +14625,7 @@ const _sfc_main = defineComponent({
14427
14625
  emits: ["close"],
14428
14626
  setup(__props, { emit }) {
14429
14627
  const props = __props;
14628
+ const { Escape } = useMagicKeys();
14430
14629
  useDOMCreate("lew-dialog");
14431
14630
  const okLoading = ref(false);
14432
14631
  const cancelLoading = ref(false);
@@ -14465,6 +14664,13 @@ const _sfc_main = defineComponent({
14465
14664
  cancelLoading.value = false;
14466
14665
  }
14467
14666
  };
14667
+ if (props.closeByEsc) {
14668
+ watch(Escape, (v) => {
14669
+ if (v && visible.value) {
14670
+ visible.value = false;
14671
+ }
14672
+ });
14673
+ }
14468
14674
  return (_ctx, _cache) => {
14469
14675
  return openBlock(), createBlock(Teleport, { to: "#lew-dialog" }, [
14470
14676
  createVNode(Transition, { name: "lew-dialog-mask" }, {
@@ -14613,7 +14819,8 @@ const dialog = (type, options) => {
14613
14819
  okText,
14614
14820
  cancelText,
14615
14821
  layout,
14616
- closeOnClickOverlay
14822
+ closeOnClickOverlay,
14823
+ closeByEsc
14617
14824
  } = options;
14618
14825
  const div2 = document.createElement("div");
14619
14826
  document.body.appendChild(div2);
@@ -14623,6 +14830,7 @@ const dialog = (type, options) => {
14623
14830
  _LewDialog,
14624
14831
  {
14625
14832
  closeOnClickOverlay,
14833
+ closeByEsc,
14626
14834
  type,
14627
14835
  layout,
14628
14836
  okText,
@@ -14886,6 +15094,7 @@ var directives = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProp
14886
15094
  __proto__: null,
14887
15095
  LewMessage: index$6,
14888
15096
  LewDialog: index$5,
15097
+ dialogProps,
14889
15098
  LewTooltip,
14890
15099
  LewBacktop: index$4,
14891
15100
  LewNotification: index$2,
@@ -14917,4 +15126,4 @@ const install = function(Vue) {
14917
15126
  var index = {
14918
15127
  install
14919
15128
  };
14920
- export { LewAlert, LewAvatar, LewBackTop, index$4 as LewBacktop, LewBadge, LewBreadcrumb, LewButton, LewCascader, LewCheckbox, LewCheckboxGroup, LewDate, LewDatePicker, LewDateRange, LewDateRangePicker, index$5 as LewDialog, LewDrawer, LewDropdown, LewFlex, LewForm, script as LewIcon, LewInput, LewInputTag, LewLayout, LewLoading, LewMagicNumber, LewMagicText, LewMark, LewMenu, index$6 as LewMessage, LewModal, index$2 as LewNotification, LewPagination, LewPopok, LewPopover, LewRadioGroup, LewResult, LewSelect, LewSelectMultiple, LewSpace, LewSteps, LewSwitch, LewTable, LewTabs, LewTag, LewTextTrim, LewTextarea, LewTitle, LewTooltip, LewTreeSelect, SpaceOptions, alertProps, avatarProps, backTopProps, badgeProps, breadcrumbProps, buttonProps, cascaderProps, checkboxGroupProps, checkboxProps, datePickerProps, dateProps, dateRangePickerProps, dateRangeProps, index as default, drawerProps, dropdownProps, flexProps, formProps, getPosition, getStyle, inputProps, inputTagProps, magicNumberProps, markProps, menuProps, modalProps, object2class, paginationProps, popokProps, popoverProps, radioGroupProps, radioProps, resultProps, selectMultipleProps, selectProps, steps, switchProps, tableProps, tabsProps, tagProps, textTrimProps, textareaProps, titleProps };
15129
+ export { LewAlert, LewAvatar, LewBackTop, index$4 as LewBacktop, LewBadge, LewBreadcrumb, LewButton, LewCascader, LewCheckbox, LewCheckboxGroup, LewDate, LewDatePicker, LewDateRange, LewDateRangePicker, index$5 as LewDialog, LewDrawer, LewDropdown, LewFlex, LewForm, script as LewIcon, LewInput, LewInputTag, LewLayout, LewLoading, LewMagicNumber, LewMagicText, LewMark, LewMenu, index$6 as LewMessage, LewModal, index$2 as LewNotification, LewPagination, LewPopok, LewPopover, LewRadioGroup, LewResult, LewSelect, LewSelectMultiple, LewSpace, LewSteps, LewSwitch, LewTable, LewTabs, LewTag, LewTextTrim, LewTextarea, LewTitle, LewTooltip, LewTreeSelect, SpaceOptions, alertProps, avatarProps, backTopProps, badgeProps, breadcrumbProps, buttonProps, cascaderProps, checkboxGroupProps, checkboxProps, datePickerProps, dateProps, dateRangePickerProps, dateRangeProps, index as default, dialogProps, drawerProps, dropdownProps, flexProps, formProps, getPosition, getStyle, inputProps, inputTagProps, magicNumberProps, markProps, menuProps, modalProps, object2class, paginationProps, popokProps, popoverProps, radioGroupProps, radioProps, resultProps, selectMultipleProps, selectProps, steps, switchProps, tableProps, tabsProps, tagProps, textTrimProps, textareaProps, titleProps };