@varlet/ui 2.7.0-alpha.1673534139536 → 2.7.0-alpha.1673617166404
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/es/action-sheet/ActionSheet.mjs +7 -7
- package/es/action-sheet/index.mjs +2 -2
- package/es/action-sheet/props.mjs +2 -2
- package/es/app-bar/AppBar.mjs +2 -2
- package/es/app-bar/index.mjs +1 -1
- package/es/back-top/BackTop.mjs +6 -6
- package/es/back-top/index.mjs +1 -1
- package/es/back-top/props.mjs +1 -1
- package/es/badge/Badge.mjs +3 -3
- package/es/badge/index.mjs +1 -1
- package/es/bottom-navigation/BottomNavigation.mjs +4 -4
- package/es/bottom-navigation/index.mjs +1 -1
- package/es/bottom-navigation/props.mjs +1 -1
- package/es/bottom-navigation/provide.mjs +1 -1
- package/es/bottom-navigation-item/BottomNavigationItem.mjs +6 -6
- package/es/bottom-navigation-item/index.mjs +1 -1
- package/es/bottom-navigation-item/props.mjs +1 -1
- package/es/bottom-navigation-item/provide.mjs +2 -2
- package/es/breadcrumb/Breadcrumb.mjs +3 -3
- package/es/breadcrumb/index.mjs +1 -1
- package/es/breadcrumb/props.mjs +1 -1
- package/es/breadcrumb/provide.mjs +2 -2
- package/es/breadcrumbs/Breadcrumbs.mjs +3 -3
- package/es/breadcrumbs/index.mjs +1 -1
- package/es/breadcrumbs/provide.mjs +1 -1
- package/es/button/Button.mjs +4 -4
- package/es/button/index.mjs +1 -1
- package/es/button/props.mjs +2 -2
- package/es/card/Card.mjs +8 -8
- package/es/card/index.mjs +1 -1
- package/es/card/props.mjs +1 -1
- package/es/cell/Cell.mjs +3 -3
- package/es/cell/index.mjs +1 -1
- package/es/checkbox/Checkbox.mjs +7 -7
- package/es/checkbox/index.mjs +1 -1
- package/es/checkbox/props.mjs +1 -1
- package/es/checkbox/provide.mjs +2 -2
- package/es/checkbox-group/CheckboxGroup.mjs +5 -5
- package/es/checkbox-group/index.mjs +1 -1
- package/es/checkbox-group/props.mjs +1 -1
- package/es/checkbox-group/provide.mjs +1 -1
- package/es/chip/Chip.mjs +3 -3
- package/es/chip/index.mjs +1 -1
- package/es/chip/props.mjs +2 -2
- package/es/col/Col.mjs +4 -4
- package/es/col/index.mjs +1 -1
- package/es/col/props.mjs +1 -1
- package/es/col/provide.mjs +2 -2
- package/es/collapse/Collapse.mjs +3 -3
- package/es/collapse/index.mjs +1 -1
- package/es/collapse/props.mjs +1 -1
- package/es/collapse/provide.mjs +1 -1
- package/es/collapse-item/CollapseItem.mjs +5 -5
- package/es/collapse-item/index.mjs +1 -1
- package/es/collapse-item/provide.mjs +2 -2
- package/es/context/lock.mjs +1 -1
- package/es/context/zIndex.mjs +1 -1
- package/es/countdown/Countdown.mjs +4 -4
- package/es/countdown/index.mjs +1 -1
- package/es/countdown/props.mjs +1 -1
- package/es/counter/Counter.mjs +7 -7
- package/es/counter/index.mjs +1 -1
- package/es/counter/props.mjs +1 -1
- package/es/date-picker/DatePicker.mjs +8 -8
- package/es/date-picker/index.mjs +1 -1
- package/es/date-picker/props.mjs +1 -1
- package/es/date-picker/src/day-picker-panel.mjs +5 -5
- package/es/date-picker/src/month-picker-panel.mjs +5 -5
- package/es/date-picker/src/panel-header.mjs +4 -4
- package/es/date-picker/src/year-picker-panel.mjs +1 -1
- package/es/dialog/Dialog.mjs +7 -7
- package/es/dialog/index.mjs +2 -2
- package/es/dialog/props.mjs +2 -2
- package/es/divider/Divider.mjs +3 -3
- package/es/divider/index.mjs +1 -1
- package/es/form/Form.mjs +5 -5
- package/es/form/index.mjs +3 -3
- package/es/form/provide.mjs +1 -1
- package/es/form-details/FormDetails.mjs +2 -2
- package/es/form-details/index.mjs +1 -1
- package/es/icon/Icon.mjs +3 -3
- package/es/icon/index.mjs +1 -1
- package/es/icon/props.mjs +1 -1
- package/es/image/Image.mjs +5 -5
- package/es/image/index.mjs +1 -1
- package/es/image/props.mjs +1 -1
- package/es/image-preview/ImagePreview.mjs +6 -6
- package/es/image-preview/index.mjs +2 -2
- package/es/image-preview/props.mjs +3 -3
- package/es/index-anchor/IndexAnchor.mjs +4 -4
- package/es/index-anchor/index.mjs +1 -1
- package/es/index-anchor/provide.mjs +2 -2
- package/es/index-bar/IndexBar.mjs +5 -5
- package/es/index-bar/index.mjs +1 -1
- package/es/index-bar/props.mjs +1 -1
- package/es/index-bar/provide.mjs +1 -1
- package/es/index.mjs +147 -144
- package/es/index.umd.mjs +75 -72
- package/es/input/Input.mjs +5 -5
- package/es/input/index.mjs +1 -1
- package/es/input/props.mjs +1 -1
- package/es/lazy/index.mjs +3 -3
- package/es/link/Link.mjs +3 -3
- package/es/link/index.mjs +1 -1
- package/es/link/props.mjs +1 -1
- package/es/list/List.mjs +7 -7
- package/es/list/index.mjs +1 -1
- package/es/list/props.mjs +1 -1
- package/es/loading/Loading.mjs +3 -3
- package/es/loading/index.mjs +1 -1
- package/es/loading-bar/LoadingBar.mjs +4 -4
- package/es/loading-bar/index.mjs +2 -2
- package/es/locale/index.mjs +2 -2
- package/es/menu/Menu.mjs +4 -4
- package/es/menu/index.mjs +1 -1
- package/es/menu/props.mjs +1 -1
- package/es/menu/usePopover.mjs +3 -3
- package/es/option/Option.mjs +5 -5
- package/es/option/index.mjs +1 -1
- package/es/option/provide.mjs +2 -2
- package/es/overlay/Overlay.mjs +4 -4
- package/es/overlay/index.mjs +1 -1
- package/es/overlay/props.mjs +1 -1
- package/es/pagination/Pagination.mjs +8 -8
- package/es/pagination/index.mjs +1 -1
- package/es/pagination/porps.mjs +1 -1
- package/es/picker/Picker.mjs +7 -7
- package/es/picker/index.mjs +2 -2
- package/es/picker/props.mjs +2 -2
- package/es/popup/Popup.mjs +4 -4
- package/es/popup/index.mjs +1 -1
- package/es/popup/props.mjs +1 -1
- package/es/progress/Progress.mjs +3 -3
- package/es/progress/index.mjs +1 -1
- package/es/pull-refresh/PullRefresh.mjs +4 -4
- package/es/pull-refresh/index.mjs +1 -1
- package/es/pull-refresh/props.mjs +1 -1
- package/es/radio/Radio.mjs +7 -7
- package/es/radio/index.mjs +1 -1
- package/es/radio/props.mjs +1 -1
- package/es/radio/provide.mjs +2 -2
- package/es/radio-group/RadioGroup.mjs +5 -5
- package/es/radio-group/index.mjs +1 -1
- package/es/radio-group/props.mjs +1 -1
- package/es/radio-group/provide.mjs +1 -1
- package/es/rate/Rate.mjs +7 -7
- package/es/rate/index.mjs +1 -1
- package/es/rate/props.mjs +1 -1
- package/es/result/Result.mjs +9 -9
- package/es/result/Success.mjs +1 -1
- package/es/result/index.mjs +1 -1
- package/es/ripple/index.mjs +3 -3
- package/es/row/Row.mjs +4 -4
- package/es/row/index.mjs +1 -1
- package/es/row/props.mjs +1 -1
- package/es/row/provide.mjs +1 -1
- package/es/select/Select.mjs +9 -9
- package/es/select/index.mjs +1 -1
- package/es/select/props.mjs +1 -1
- package/es/select/provide.mjs +1 -1
- package/es/skeleton/Skeleton.mjs +3 -3
- package/es/skeleton/index.mjs +1 -1
- package/es/slider/Slider.mjs +5 -5
- package/es/slider/index.mjs +1 -1
- package/es/slider/props.mjs +1 -1
- package/es/snackbar/Snackbar.mjs +3 -3
- package/es/snackbar/core.mjs +7 -7
- package/es/snackbar/index.mjs +4 -4
- package/es/snackbar/props.mjs +3 -3
- package/es/space/Space.mjs +4 -4
- package/es/space/index.mjs +1 -1
- package/es/step/Step.mjs +4 -4
- package/es/step/index.mjs +1 -1
- package/es/step/provide.mjs +2 -2
- package/es/steps/Steps.mjs +3 -3
- package/es/steps/index.mjs +1 -1
- package/es/steps/props.mjs +1 -1
- package/es/steps/provide.mjs +1 -1
- package/es/sticky/Sticky.mjs +3 -3
- package/es/sticky/index.mjs +1 -1
- package/es/sticky/props.mjs +1 -1
- package/es/style-provider/StyleProvider.mjs +2 -2
- package/es/style-provider/index.mjs +2 -2
- package/es/swipe/Swipe.mjs +4 -4
- package/es/swipe/index.mjs +1 -1
- package/es/swipe/props.mjs +1 -1
- package/es/swipe/provide.mjs +1 -1
- package/es/swipe-item/SwipeItem.mjs +2 -2
- package/es/swipe-item/index.mjs +1 -1
- package/es/swipe-item/provide.mjs +2 -2
- package/es/switch/Switch.mjs +7 -7
- package/es/switch/index.mjs +1 -1
- package/es/switch/props.mjs +1 -1
- package/es/tab/Tab.mjs +4 -4
- package/es/tab/index.mjs +1 -1
- package/es/tab/props.mjs +1 -1
- package/es/tab/provide.mjs +2 -2
- package/es/tab-item/TabItem.mjs +4 -4
- package/es/tab-item/index.mjs +1 -1
- package/es/tab-item/provide.mjs +2 -2
- package/es/table/Table.mjs +2 -2
- package/es/table/index.mjs +1 -1
- package/es/tabs/Tabs.mjs +6 -6
- package/es/tabs/index.mjs +1 -1
- package/es/tabs/props.mjs +2 -2
- package/es/tabs/provide.mjs +1 -1
- package/es/tabs-items/TabsItems.mjs +5 -5
- package/es/tabs-items/index.mjs +1 -1
- package/es/tabs-items/props.mjs +1 -1
- package/es/tabs-items/provide.mjs +1 -1
- package/es/themes/dark/index.mjs +32 -32
- package/es/themes/index.mjs +1 -1
- package/es/time-picker/TimePicker.mjs +5 -5
- package/es/time-picker/clock.mjs +4 -4
- package/es/time-picker/index.mjs +1 -1
- package/es/time-picker/props.mjs +1 -1
- package/es/time-picker/utils.mjs +1 -1
- package/es/tooltip/Tooltip.mjs +3 -3
- package/es/tooltip/index.mjs +1 -1
- package/es/tooltip/props.mjs +1 -1
- package/es/uploader/Uploader.mjs +9 -9
- package/es/uploader/index.mjs +1 -1
- package/es/uploader/props.mjs +1 -1
- package/es/utils/elements.mjs +1 -1
- package/es/varlet.esm.js +8 -5
- package/highlight/web-types.json +1 -1
- package/lib/action-sheet/ActionSheet.js +7 -7
- package/lib/action-sheet/index.js +1 -1
- package/lib/action-sheet/props.js +2 -2
- package/lib/app-bar/AppBar.js +2 -2
- package/lib/back-top/BackTop.js +6 -6
- package/lib/back-top/props.js +1 -1
- package/lib/badge/Badge.js +3 -3
- package/lib/bottom-navigation/BottomNavigation.js +4 -4
- package/lib/bottom-navigation/props.js +1 -1
- package/lib/bottom-navigation/provide.js +1 -1
- package/lib/bottom-navigation-item/BottomNavigationItem.js +6 -6
- package/lib/bottom-navigation-item/props.js +1 -1
- package/lib/bottom-navigation-item/provide.js +2 -2
- package/lib/breadcrumb/Breadcrumb.js +3 -3
- package/lib/breadcrumb/props.js +1 -1
- package/lib/breadcrumb/provide.js +2 -2
- package/lib/breadcrumbs/Breadcrumbs.js +3 -3
- package/lib/breadcrumbs/provide.js +1 -1
- package/lib/button/Button.js +4 -4
- package/lib/button/props.js +2 -2
- package/lib/card/Card.js +8 -8
- package/lib/card/props.js +1 -1
- package/lib/cell/Cell.js +3 -3
- package/lib/checkbox/Checkbox.js +7 -7
- package/lib/checkbox/props.js +1 -1
- package/lib/checkbox/provide.js +2 -2
- package/lib/checkbox-group/CheckboxGroup.js +5 -5
- package/lib/checkbox-group/props.js +1 -1
- package/lib/checkbox-group/provide.js +1 -1
- package/lib/chip/Chip.js +3 -3
- package/lib/chip/props.js +2 -2
- package/lib/col/Col.js +4 -4
- package/lib/col/props.js +1 -1
- package/lib/col/provide.js +2 -2
- package/lib/collapse/Collapse.js +3 -3
- package/lib/collapse/props.js +1 -1
- package/lib/collapse/provide.js +1 -1
- package/lib/collapse-item/CollapseItem.js +5 -5
- package/lib/collapse-item/provide.js +2 -2
- package/lib/context/lock.js +1 -1
- package/lib/context/zIndex.js +1 -1
- package/lib/countdown/Countdown.js +4 -4
- package/lib/countdown/props.js +1 -1
- package/lib/counter/Counter.js +7 -7
- package/lib/counter/props.js +1 -1
- package/lib/date-picker/DatePicker.js +5 -5
- package/lib/date-picker/props.js +1 -1
- package/lib/date-picker/src/day-picker-panel.js +4 -4
- package/lib/date-picker/src/month-picker-panel.js +4 -4
- package/lib/date-picker/src/panel-header.js +4 -4
- package/lib/date-picker/src/year-picker-panel.js +1 -1
- package/lib/dialog/Dialog.js +7 -7
- package/lib/dialog/index.js +1 -1
- package/lib/dialog/props.js +2 -2
- package/lib/divider/Divider.js +3 -3
- package/lib/form/Form.js +5 -5
- package/lib/form/index.js +2 -2
- package/lib/form/provide.js +1 -1
- package/lib/form-details/FormDetails.js +2 -2
- package/lib/icon/Icon.js +3 -3
- package/lib/icon/props.js +1 -1
- package/lib/image/Image.js +5 -5
- package/lib/image/props.js +1 -1
- package/lib/image-preview/ImagePreview.js +6 -6
- package/lib/image-preview/index.js +1 -1
- package/lib/image-preview/props.js +3 -3
- package/lib/index-anchor/IndexAnchor.js +4 -4
- package/lib/index-anchor/provide.js +2 -2
- package/lib/index-bar/IndexBar.js +5 -5
- package/lib/index-bar/props.js +1 -1
- package/lib/index-bar/provide.js +1 -1
- package/lib/index.js +84 -0
- package/lib/input/Input.js +5 -5
- package/lib/input/props.js +1 -1
- package/lib/lazy/index.js +3 -3
- package/lib/link/Link.js +3 -3
- package/lib/link/props.js +1 -1
- package/lib/list/List.js +7 -7
- package/lib/list/props.js +1 -1
- package/lib/loading/Loading.js +3 -3
- package/lib/loading-bar/LoadingBar.js +4 -4
- package/lib/loading-bar/index.js +2 -2
- package/lib/locale/index.js +2 -2
- package/lib/menu/Menu.js +4 -4
- package/lib/menu/props.js +1 -1
- package/lib/menu/usePopover.js +3 -3
- package/lib/option/Option.js +5 -5
- package/lib/option/provide.js +2 -2
- package/lib/overlay/Overlay.js +4 -4
- package/lib/overlay/index.js +1 -1
- package/lib/overlay/props.js +1 -1
- package/lib/pagination/Pagination.js +8 -8
- package/lib/pagination/porps.js +1 -1
- package/lib/picker/Picker.js +7 -7
- package/lib/picker/index.js +1 -1
- package/lib/picker/props.js +2 -2
- package/lib/popup/Popup.js +4 -4
- package/lib/popup/index.js +1 -1
- package/lib/popup/props.js +1 -1
- package/lib/progress/Progress.js +3 -3
- package/lib/pull-refresh/PullRefresh.js +4 -4
- package/lib/pull-refresh/props.js +1 -1
- package/lib/radio/Radio.js +7 -7
- package/lib/radio/props.js +1 -1
- package/lib/radio/provide.js +2 -2
- package/lib/radio-group/RadioGroup.js +5 -5
- package/lib/radio-group/props.js +1 -1
- package/lib/radio-group/provide.js +1 -1
- package/lib/rate/Rate.js +7 -7
- package/lib/rate/props.js +1 -1
- package/lib/result/Result.js +3 -3
- package/lib/result/Success.js +1 -1
- package/lib/ripple/index.js +3 -3
- package/lib/row/Row.js +4 -4
- package/lib/row/props.js +1 -1
- package/lib/row/provide.js +1 -1
- package/lib/select/Select.js +9 -9
- package/lib/select/props.js +1 -1
- package/lib/select/provide.js +1 -1
- package/lib/skeleton/Skeleton.js +3 -3
- package/lib/slider/Slider.js +5 -5
- package/lib/slider/props.js +1 -1
- package/lib/snackbar/Snackbar.js +3 -3
- package/lib/snackbar/core.js +7 -7
- package/lib/snackbar/index.js +2 -2
- package/lib/snackbar/props.js +3 -3
- package/lib/snackbar/style/index.js +1 -1
- package/lib/space/Space.js +4 -4
- package/lib/space/index.js +1 -1
- package/lib/step/Step.js +4 -4
- package/lib/step/provide.js +2 -2
- package/lib/steps/Steps.js +3 -3
- package/lib/steps/props.js +1 -1
- package/lib/steps/provide.js +1 -1
- package/lib/sticky/Sticky.js +3 -3
- package/lib/sticky/props.js +1 -1
- package/lib/style-provider/StyleProvider.js +2 -2
- package/lib/style-provider/index.js +1 -1
- package/lib/swipe/Swipe.js +4 -4
- package/lib/swipe/props.js +1 -1
- package/lib/swipe/provide.js +1 -1
- package/lib/swipe-item/SwipeItem.js +2 -2
- package/lib/swipe-item/provide.js +2 -2
- package/lib/switch/Switch.js +7 -7
- package/lib/switch/props.js +1 -1
- package/lib/tab/Tab.js +4 -4
- package/lib/tab/props.js +1 -1
- package/lib/tab/provide.js +2 -2
- package/lib/tab-item/TabItem.js +4 -4
- package/lib/tab-item/provide.js +2 -2
- package/lib/table/Table.js +2 -2
- package/lib/tabs/Tabs.js +6 -6
- package/lib/tabs/props.js +2 -2
- package/lib/tabs/provide.js +1 -1
- package/lib/tabs-items/TabsItems.js +5 -5
- package/lib/tabs-items/props.js +1 -1
- package/lib/tabs-items/provide.js +1 -1
- package/lib/themes/dark/index.js +32 -32
- package/lib/themes/index.js +1 -1
- package/lib/time-picker/TimePicker.js +4 -4
- package/lib/time-picker/clock.js +4 -4
- package/lib/time-picker/props.js +1 -1
- package/lib/time-picker/utils.js +1 -1
- package/lib/tooltip/Tooltip.js +3 -3
- package/lib/tooltip/props.js +1 -1
- package/lib/uploader/Uploader.js +9 -9
- package/lib/uploader/props.js +1 -1
- package/lib/utils/elements.js +1 -1
- package/package.json +5 -5
- package/umd/varlet.js +6 -6
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import Ripple from '../ripple';
|
|
2
|
-
import VarPopup from '../popup';
|
|
3
|
-
import VarIcon from '../icon';
|
|
1
|
+
import Ripple from '../ripple/index.mjs';
|
|
2
|
+
import VarPopup from '../popup/index.mjs';
|
|
3
|
+
import VarIcon from '../icon/index.mjs';
|
|
4
4
|
import { defineComponent, ref, watch } from 'vue';
|
|
5
|
-
import { props } from './props';
|
|
6
|
-
import { dt } from '../utils/shared';
|
|
7
|
-
import { pack } from '../locale';
|
|
8
|
-
import { createNamespace, call } from '../utils/components';
|
|
5
|
+
import { props } from './props.mjs';
|
|
6
|
+
import { dt } from '../utils/shared.mjs';
|
|
7
|
+
import { pack } from '../locale/index.mjs';
|
|
8
|
+
import { createNamespace, call } from '../utils/components.mjs';
|
|
9
9
|
var {
|
|
10
10
|
n,
|
|
11
11
|
classes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import VarActionSheet from './ActionSheet.mjs'
|
|
1
|
+
import VarActionSheet from './ActionSheet.mjs';
|
|
2
2
|
import { nextTick, reactive } from 'vue';
|
|
3
3
|
import { inBrowser } from '@varlet/shared';
|
|
4
|
-
import { call, mountInstance } from '../utils/components';
|
|
4
|
+
import { call, mountInstance } from '../utils/components.mjs';
|
|
5
5
|
var singletonOptions;
|
|
6
6
|
|
|
7
7
|
function ActionSheet(options) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
|
-
import { defineListenerProp, pickProps } from '../utils/components';
|
|
4
|
-
import { props as popupProps } from '../popup/props';
|
|
3
|
+
import { defineListenerProp, pickProps } from '../utils/components.mjs';
|
|
4
|
+
import { props as popupProps } from '../popup/props.mjs';
|
|
5
5
|
export var props = _extends({
|
|
6
6
|
show: {
|
|
7
7
|
type: Boolean,
|
package/es/app-bar/AppBar.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, ref, onMounted, onUpdated } from 'vue';
|
|
2
|
-
import { props } from './props';
|
|
3
|
-
import { createNamespace } from '../utils/components';
|
|
2
|
+
import { props } from './props.mjs';
|
|
3
|
+
import { createNamespace } from '../utils/components.mjs';
|
|
4
4
|
var {
|
|
5
5
|
n,
|
|
6
6
|
classes
|
package/es/app-bar/index.mjs
CHANGED
package/es/back-top/BackTop.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent, ref, onMounted, onBeforeUnmount } from 'vue';
|
|
2
|
-
import VarButton from '../button';
|
|
3
|
-
import VarIcon from '../icon';
|
|
4
|
-
import { props } from './props';
|
|
2
|
+
import VarButton from '../button/index.mjs';
|
|
3
|
+
import VarIcon from '../icon/index.mjs';
|
|
4
|
+
import { props } from './props.mjs';
|
|
5
5
|
import { throttle } from '@varlet/shared';
|
|
6
|
-
import { easeInOutCubic } from '../utils/shared';
|
|
7
|
-
import { getScrollTop, getScrollLeft, scrollTo, getParentScroller, toPxNum, toSizeUnit, getTarget } from '../utils/elements';
|
|
8
|
-
import { call, createNamespace } from '../utils/components';
|
|
6
|
+
import { easeInOutCubic } from '../utils/shared.mjs';
|
|
7
|
+
import { getScrollTop, getScrollLeft, scrollTo, getParentScroller, toPxNum, toSizeUnit, getTarget } from '../utils/elements.mjs';
|
|
8
|
+
import { call, createNamespace } from '../utils/components.mjs';
|
|
9
9
|
var {
|
|
10
10
|
n,
|
|
11
11
|
classes
|
package/es/back-top/index.mjs
CHANGED
package/es/back-top/props.mjs
CHANGED
package/es/badge/Badge.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import VarIcon from '../icon';
|
|
1
|
+
import VarIcon from '../icon/index.mjs';
|
|
2
2
|
import { toNumber } from '@varlet/shared';
|
|
3
3
|
import { computed, defineComponent } from 'vue';
|
|
4
|
-
import { props } from './props';
|
|
5
|
-
import { createNamespace } from '../utils/components';
|
|
4
|
+
import { props } from './props.mjs';
|
|
5
|
+
import { createNamespace } from '../utils/components.mjs';
|
|
6
6
|
var {
|
|
7
7
|
n,
|
|
8
8
|
classes
|
package/es/badge/index.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
|
-
import VarButton from '../button';
|
|
3
|
+
import VarButton from '../button/index.mjs';
|
|
4
4
|
import { defineComponent, ref, computed, onMounted, onUpdated, watch } from 'vue';
|
|
5
|
-
import { props } from './props';
|
|
6
|
-
import { useBottomNavigationItems } from './provide';
|
|
7
|
-
import { createNamespace, call } from '../utils/components';
|
|
5
|
+
import { props } from './props.mjs';
|
|
6
|
+
import { useBottomNavigationItems } from './provide.mjs';
|
|
7
|
+
import { createNamespace, call } from '../utils/components.mjs';
|
|
8
8
|
import { isNumber, isArray } from '@varlet/shared';
|
|
9
9
|
var {
|
|
10
10
|
n,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useAtChildrenCounter, useChildren } from '../utils/components';
|
|
1
|
+
import { useAtChildrenCounter, useChildren } from '../utils/components.mjs';
|
|
2
2
|
export var BOTTOM_NAVIGATION_BIND_BOTTOM_NAVIGATION_ITEM_KEY = Symbol('BOTTOM_NAVIGATION_BIND_BOTTOM_NAVIGATION_ITEM_KEY');
|
|
3
3
|
export var BOTTOM_NAVIGATION_COUNT_BOTTOM_NAVIGATION_ITEM_KEY = Symbol('BOTTOM_NAVIGATION_COUNT_BOTTOM_NAVIGATION_ITEM_KEY');
|
|
4
4
|
export function useBottomNavigationItems() {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import Ripple from '../ripple';
|
|
2
|
-
import VarBadge from '../badge';
|
|
3
|
-
import VarIcon from '../icon';
|
|
1
|
+
import Ripple from '../ripple/index.mjs';
|
|
2
|
+
import VarBadge from '../badge/index.mjs';
|
|
3
|
+
import VarIcon from '../icon/index.mjs';
|
|
4
4
|
import { defineComponent, computed, ref, watch } from 'vue';
|
|
5
|
-
import { props } from './props';
|
|
6
|
-
import { useBottomNavigation } from './provide';
|
|
7
|
-
import { createNamespace, call } from '../utils/components';
|
|
5
|
+
import { props } from './props.mjs';
|
|
6
|
+
import { useBottomNavigation } from './provide.mjs';
|
|
7
|
+
import { createNamespace, call } from '../utils/components.mjs';
|
|
8
8
|
var {
|
|
9
9
|
n,
|
|
10
10
|
classes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useAtParentIndex, useParent } from '../utils/components';
|
|
2
|
-
import { BOTTOM_NAVIGATION_BIND_BOTTOM_NAVIGATION_ITEM_KEY, BOTTOM_NAVIGATION_COUNT_BOTTOM_NAVIGATION_ITEM_KEY } from '../bottom-navigation/provide';
|
|
1
|
+
import { useAtParentIndex, useParent } from '../utils/components.mjs';
|
|
2
|
+
import { BOTTOM_NAVIGATION_BIND_BOTTOM_NAVIGATION_ITEM_KEY, BOTTOM_NAVIGATION_COUNT_BOTTOM_NAVIGATION_ITEM_KEY } from '../bottom-navigation/provide.mjs';
|
|
3
3
|
export function useBottomNavigation() {
|
|
4
4
|
var {
|
|
5
5
|
parentProvider,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed } from 'vue';
|
|
2
|
-
import { props } from './props';
|
|
3
|
-
import { useBreadcrumb } from './provide';
|
|
4
|
-
import { call, createNamespace } from '../utils/components';
|
|
2
|
+
import { props } from './props.mjs';
|
|
3
|
+
import { useBreadcrumb } from './provide.mjs';
|
|
4
|
+
import { call, createNamespace } from '../utils/components.mjs';
|
|
5
5
|
var {
|
|
6
6
|
n,
|
|
7
7
|
classes
|
package/es/breadcrumb/index.mjs
CHANGED
package/es/breadcrumb/props.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useAtParentIndex, useParent } from '../utils/components';
|
|
2
|
-
import { BREADCRUMBS_BIND_BREADCRUMB_ITEM_KEY, BREADCRUMBS_COUNT_BREADCRUMB_ITEM_KEY } from '../breadcrumbs/provide';
|
|
1
|
+
import { useAtParentIndex, useParent } from '../utils/components.mjs';
|
|
2
|
+
import { BREADCRUMBS_BIND_BREADCRUMB_ITEM_KEY, BREADCRUMBS_COUNT_BREADCRUMB_ITEM_KEY } from '../breadcrumbs/provide.mjs';
|
|
3
3
|
export function useBreadcrumb() {
|
|
4
4
|
var {
|
|
5
5
|
parentProvider,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent, computed } from 'vue';
|
|
2
|
-
import { props } from './props';
|
|
3
|
-
import { useBreadcrumbsList } from './provide';
|
|
4
|
-
import { createNamespace } from '../utils/components';
|
|
2
|
+
import { props } from './props.mjs';
|
|
3
|
+
import { useBreadcrumbsList } from './provide.mjs';
|
|
4
|
+
import { createNamespace } from '../utils/components.mjs';
|
|
5
5
|
var {
|
|
6
6
|
n
|
|
7
7
|
} = createNamespace('breadcrumbs');
|
package/es/breadcrumbs/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useAtChildrenCounter, useChildren } from '../utils/components';
|
|
1
|
+
import { useAtChildrenCounter, useChildren } from '../utils/components.mjs';
|
|
2
2
|
export var BREADCRUMBS_BIND_BREADCRUMB_ITEM_KEY = Symbol('BREADCRUMBS_BIND_BREADCRUMB_KEY');
|
|
3
3
|
export var BREADCRUMBS_COUNT_BREADCRUMB_ITEM_KEY = Symbol('BREADCRUMBS_COUNT_BREADCRUMB_KEY');
|
|
4
4
|
export function useBreadcrumbsList() {
|
package/es/button/Button.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import Ripple from '../ripple';
|
|
2
|
-
import VarLoading from '../loading';
|
|
1
|
+
import Ripple from '../ripple/index.mjs';
|
|
2
|
+
import VarLoading from '../loading/index.mjs';
|
|
3
3
|
import { defineComponent, ref } from 'vue';
|
|
4
|
-
import { props } from './props';
|
|
5
|
-
import { call, createNamespace } from '../utils/components';
|
|
4
|
+
import { props } from './props.mjs';
|
|
5
|
+
import { call, createNamespace } from '../utils/components.mjs';
|
|
6
6
|
import { isArray } from '@varlet/shared';
|
|
7
7
|
var {
|
|
8
8
|
n,
|
package/es/button/index.mjs
CHANGED
package/es/button/props.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
2
|
|
|
3
|
-
import { props as loadingProps } from '../loading/props';
|
|
4
|
-
import { defineListenerProp, pickProps } from '../utils/components';
|
|
3
|
+
import { props as loadingProps } from '../loading/props.mjs';
|
|
4
|
+
import { defineListenerProp, pickProps } from '../utils/components.mjs';
|
|
5
5
|
|
|
6
6
|
function typeValidator(type) {
|
|
7
7
|
return ['default', 'primary', 'info', 'success', 'warning', 'danger'].includes(type);
|
package/es/card/Card.mjs
CHANGED
|
@@ -2,15 +2,15 @@ function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try
|
|
|
2
2
|
|
|
3
3
|
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
4
4
|
|
|
5
|
-
import Ripple from '../ripple';
|
|
6
|
-
import VarIcon from '../icon';
|
|
7
|
-
import VarButton from '../button';
|
|
5
|
+
import Ripple from '../ripple/index.mjs';
|
|
6
|
+
import VarIcon from '../icon/index.mjs';
|
|
7
|
+
import VarButton from '../button/index.mjs';
|
|
8
8
|
import { ref, defineComponent, watch, computed, nextTick } from 'vue';
|
|
9
|
-
import { props } from './props';
|
|
10
|
-
import { doubleRaf, toSizeUnit } from '../utils/elements';
|
|
11
|
-
import { call, createNamespace } from '../utils/components';
|
|
12
|
-
import { useZIndex } from '../context/zIndex';
|
|
13
|
-
import { useLock } from '../context/lock';
|
|
9
|
+
import { props } from './props.mjs';
|
|
10
|
+
import { doubleRaf, toSizeUnit } from '../utils/elements.mjs';
|
|
11
|
+
import { call, createNamespace } from '../utils/components.mjs';
|
|
12
|
+
import { useZIndex } from '../context/zIndex.mjs';
|
|
13
|
+
import { useLock } from '../context/lock.mjs';
|
|
14
14
|
var {
|
|
15
15
|
n,
|
|
16
16
|
classes
|
package/es/card/index.mjs
CHANGED
package/es/card/props.mjs
CHANGED
package/es/cell/Cell.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { defineComponent } from 'vue';
|
|
2
|
-
import { props } from './props';
|
|
3
|
-
import VarIcon from '../icon';
|
|
4
|
-
import { createNamespace } from '../utils/components';
|
|
2
|
+
import { props } from './props.mjs';
|
|
3
|
+
import VarIcon from '../icon/index.mjs';
|
|
4
|
+
import { createNamespace } from '../utils/components.mjs';
|
|
5
5
|
var {
|
|
6
6
|
n,
|
|
7
7
|
classes
|
package/es/cell/index.mjs
CHANGED
package/es/checkbox/Checkbox.mjs
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import VarIcon from '../icon';
|
|
2
|
-
import VarFormDetails from '../form-details';
|
|
3
|
-
import Ripple from '../ripple';
|
|
1
|
+
import VarIcon from '../icon/index.mjs';
|
|
2
|
+
import VarFormDetails from '../form-details/index.mjs';
|
|
3
|
+
import Ripple from '../ripple/index.mjs';
|
|
4
4
|
import { defineComponent, ref, computed, watch, nextTick } from 'vue';
|
|
5
|
-
import { props } from './props';
|
|
6
|
-
import { useValidation, createNamespace, call } from '../utils/components';
|
|
7
|
-
import { useCheckboxGroup } from './provide';
|
|
8
|
-
import { useForm } from '../form/provide';
|
|
5
|
+
import { props } from './props.mjs';
|
|
6
|
+
import { useValidation, createNamespace, call } from '../utils/components.mjs';
|
|
7
|
+
import { useCheckboxGroup } from './provide.mjs';
|
|
8
|
+
import { useForm } from '../form/provide.mjs';
|
|
9
9
|
var {
|
|
10
10
|
n,
|
|
11
11
|
classes
|
package/es/checkbox/index.mjs
CHANGED
package/es/checkbox/props.mjs
CHANGED
package/es/checkbox/provide.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useAtParentIndex, useParent } from '../utils/components';
|
|
2
|
-
import { CHECKBOX_GROUP_BIND_CHECKBOX_KEY, CHECKBOX_GROUP_COUNT_CHECKBOX_KEY } from '../checkbox-group/provide';
|
|
1
|
+
import { useAtParentIndex, useParent } from '../utils/components.mjs';
|
|
2
|
+
import { CHECKBOX_GROUP_BIND_CHECKBOX_KEY, CHECKBOX_GROUP_COUNT_CHECKBOX_KEY } from '../checkbox-group/provide.mjs';
|
|
3
3
|
export function useCheckboxGroup() {
|
|
4
4
|
var {
|
|
5
5
|
bindParent,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import VarFormDetails from '../form-details';
|
|
1
|
+
import VarFormDetails from '../form-details/index.mjs';
|
|
2
2
|
import { defineComponent, computed, watch, nextTick } from 'vue';
|
|
3
|
-
import { props } from './props';
|
|
4
|
-
import { useValidation, createNamespace, call } from '../utils/components';
|
|
5
|
-
import { useCheckboxes } from './provide';
|
|
6
|
-
import { useForm } from '../form/provide';
|
|
3
|
+
import { props } from './props.mjs';
|
|
4
|
+
import { useValidation, createNamespace, call } from '../utils/components.mjs';
|
|
5
|
+
import { useCheckboxes } from './provide.mjs';
|
|
6
|
+
import { useForm } from '../form/provide.mjs';
|
|
7
7
|
import { uniq } from '@varlet/shared';
|
|
8
8
|
var {
|
|
9
9
|
n,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useAtChildrenCounter, useChildren } from '../utils/components';
|
|
1
|
+
import { useAtChildrenCounter, useChildren } from '../utils/components.mjs';
|
|
2
2
|
export var CHECKBOX_GROUP_BIND_CHECKBOX_KEY = Symbol('CHECKBOX_GROUP_BIND_CHECKBOX_KEY');
|
|
3
3
|
export var CHECKBOX_GROUP_COUNT_CHECKBOX_KEY = Symbol('CHECKBOX_GROUP_COUNT_CHECKBOX_KEY');
|
|
4
4
|
export function useCheckboxes() {
|
package/es/chip/Chip.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import VarIcon from '../icon';
|
|
1
|
+
import VarIcon from '../icon/index.mjs';
|
|
2
2
|
import { defineComponent, computed } from 'vue';
|
|
3
|
-
import { props } from './props';
|
|
4
|
-
import { createNamespace } from '../utils/components';
|
|
3
|
+
import { props } from './props.mjs';
|
|
4
|
+
import { createNamespace } from '../utils/components.mjs';
|
|
5
5
|
var {
|
|
6
6
|
n,
|
|
7
7
|
classes
|
package/es/chip/index.mjs
CHANGED
package/es/chip/props.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineListenerProp, pickProps } from '../utils/components';
|
|
2
|
-
import { props as iconProps } from '../icon/props';
|
|
1
|
+
import { defineListenerProp, pickProps } from '../utils/components.mjs';
|
|
2
|
+
import { props as iconProps } from '../icon/props.mjs';
|
|
3
3
|
|
|
4
4
|
function typeValidator(type) {
|
|
5
5
|
return ['default', 'primary', 'info', 'success', 'warning', 'danger'].includes(type);
|
package/es/col/Col.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { defineComponent, ref, computed, watch } from 'vue';
|
|
2
2
|
import { isPlainObject, toNumber } from '@varlet/shared';
|
|
3
|
-
import { props } from './props';
|
|
4
|
-
import { useRow } from './provide';
|
|
5
|
-
import { toSizeUnit } from '../utils/elements';
|
|
6
|
-
import { createNamespace, call } from '../utils/components';
|
|
3
|
+
import { props } from './props.mjs';
|
|
4
|
+
import { useRow } from './provide.mjs';
|
|
5
|
+
import { toSizeUnit } from '../utils/elements.mjs';
|
|
6
|
+
import { createNamespace, call } from '../utils/components.mjs';
|
|
7
7
|
var {
|
|
8
8
|
n,
|
|
9
9
|
classes
|
package/es/col/index.mjs
CHANGED
package/es/col/props.mjs
CHANGED
package/es/col/provide.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useAtParentIndex, useParent } from '../utils/components';
|
|
2
|
-
import { ROW_BIND_COL_KEY, ROW_COUNT_COL_KEY } from '../row/provide';
|
|
1
|
+
import { useAtParentIndex, useParent } from '../utils/components.mjs';
|
|
2
|
+
import { ROW_BIND_COL_KEY, ROW_COUNT_COL_KEY } from '../row/provide.mjs';
|
|
3
3
|
export function useRow() {
|
|
4
4
|
var {
|
|
5
5
|
parentProvider,
|
package/es/collapse/Collapse.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { computed, defineComponent, nextTick, watch } from 'vue';
|
|
2
|
-
import { useCollapseItem } from './provide';
|
|
3
|
-
import { props } from './props';
|
|
4
|
-
import { call, createNamespace } from '../utils/components';
|
|
2
|
+
import { useCollapseItem } from './provide.mjs';
|
|
3
|
+
import { props } from './props.mjs';
|
|
4
|
+
import { call, createNamespace } from '../utils/components.mjs';
|
|
5
5
|
import { isArray } from '@varlet/shared';
|
|
6
6
|
var {
|
|
7
7
|
n
|
package/es/collapse/index.mjs
CHANGED
package/es/collapse/props.mjs
CHANGED
package/es/collapse/provide.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useAtChildrenCounter, useChildren } from '../utils/components';
|
|
1
|
+
import { useAtChildrenCounter, useChildren } from '../utils/components.mjs';
|
|
2
2
|
export var COLLAPSE_BIND_COLLAPSE_ITEM_KEY = Symbol('COLLAPSE_BIND_COLLAPSE_ITEM_KEY');
|
|
3
3
|
export var COLLAPSE_COUNT_COLLAPSE_ITEM_KEY = Symbol('COLLAPSE_COUNT_COLLAPSE_ITEM_KEY');
|
|
4
4
|
export function useCollapseItem() {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineComponent, ref, nextTick, watch, computed } from 'vue';
|
|
2
|
-
import { nextTickFrame, requestAnimationFrame } from '../utils/elements';
|
|
2
|
+
import { nextTickFrame, requestAnimationFrame } from '../utils/elements.mjs';
|
|
3
3
|
import { isArray } from '@varlet/shared';
|
|
4
|
-
import { createNamespace } from '../utils/components';
|
|
5
|
-
import { useCollapse } from './provide';
|
|
6
|
-
import { props } from './props';
|
|
7
|
-
import VarIcon from '../icon';
|
|
4
|
+
import { createNamespace } from '../utils/components.mjs';
|
|
5
|
+
import { useCollapse } from './provide.mjs';
|
|
6
|
+
import { props } from './props.mjs';
|
|
7
|
+
import VarIcon from '../icon/index.mjs';
|
|
8
8
|
var {
|
|
9
9
|
n,
|
|
10
10
|
classes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { useAtParentIndex, useParent } from '../utils/components';
|
|
2
|
-
import { COLLAPSE_BIND_COLLAPSE_ITEM_KEY, COLLAPSE_COUNT_COLLAPSE_ITEM_KEY } from '../collapse/provide';
|
|
1
|
+
import { useAtParentIndex, useParent } from '../utils/components.mjs';
|
|
2
|
+
import { COLLAPSE_BIND_COLLAPSE_ITEM_KEY, COLLAPSE_COUNT_COLLAPSE_ITEM_KEY } from '../collapse/provide.mjs';
|
|
3
3
|
export function useCollapse() {
|
|
4
4
|
var {
|
|
5
5
|
parentProvider,
|
package/es/context/lock.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { watch, onBeforeMount, onUnmounted, onDeactivated, onActivated, getCurrentInstance } from 'vue';
|
|
2
|
-
import context from '.';
|
|
2
|
+
import context from './index.mjs';
|
|
3
3
|
export function resolveLock() {
|
|
4
4
|
var lockCounts = Object.keys(context.locks).length;
|
|
5
5
|
lockCounts <= 0 ? document.body.classList.remove('var--lock') : document.body.classList.add('var--lock');
|
package/es/context/zIndex.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, ref, watch } from 'vue';
|
|
2
|
-
import { props } from './props';
|
|
3
|
-
import { requestAnimationFrame, cancelAnimationFrame } from '../utils/elements';
|
|
4
|
-
import { call, createNamespace } from '../utils/components';
|
|
5
|
-
import { padStart } from '../utils/shared';
|
|
2
|
+
import { props } from './props.mjs';
|
|
3
|
+
import { requestAnimationFrame, cancelAnimationFrame } from '../utils/elements.mjs';
|
|
4
|
+
import { call, createNamespace } from '../utils/components.mjs';
|
|
5
|
+
import { padStart } from '../utils/shared.mjs';
|
|
6
6
|
import { toNumber } from '@varlet/shared';
|
|
7
7
|
var {
|
|
8
8
|
n
|
package/es/countdown/index.mjs
CHANGED
package/es/countdown/props.mjs
CHANGED