vft 0.0.362 → 0.0.364
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/components/carousel/use-carousel.js +1 -1
- package/es/components/input/input.vue2.js +4 -4
- package/es/components/input-tag/composables/use-input-tag.js +1 -1
- package/es/index.js +212 -577
- package/es/package.json.d.ts +1 -1
- package/es/package.json.js +1 -1
- package/es/utils/vue/vnode.js +1 -1
- package/lib/components/input/input.vue2.cjs +1 -1
- package/lib/package.json.cjs +1 -1
- package/lib/package.json.d.ts +1 -1
- package/package.json +5 -5
- package/web-types.json +1 -1
|
@@ -10,7 +10,7 @@ import "../../hooks/use-model-toggle/index.js";
|
|
|
10
10
|
import { useOrderedChildren as Ie } from "../../hooks/use-ordered-children/index.js";
|
|
11
11
|
import "@popperjs/core";
|
|
12
12
|
import "../../hooks/use-z-index/index.js";
|
|
13
|
-
import {
|
|
13
|
+
import { CAROUSEL_ITEM_NAME as H, carouselContextKey as ge } from "./constants.js";
|
|
14
14
|
const L = 300, _e = (t, O, M) => {
|
|
15
15
|
const {
|
|
16
16
|
children: o,
|
|
@@ -13,8 +13,8 @@ import "../../hooks/use-z-index/index.js";
|
|
|
13
13
|
import { UPDATE_MODEL_EVENT as Q } from "@vft/constants";
|
|
14
14
|
import { useAttrs as Ze, useCursor as _e } from "@vft/use";
|
|
15
15
|
import { calcTextareaHeight as ye } from "./utils.js";
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
16
|
+
import { useFormSize as et, useFormDisabled as tt } from "../form/hooks/use-form-common-props.js";
|
|
17
|
+
import { useFormItem as at, useFormItemInputId as ot } from "../form/hooks/use-form-item.js";
|
|
18
18
|
const nt = ["role"], lt = ["id", "type", "disabled", "formatter", "parser", "readonly", "autocomplete", "tabindex", "aria-label", "placeholder", "form"], st = ["id", "tabindex", "disabled", "readonly", "autocomplete", "aria-label", "placeholder", "form"], It = /* @__PURE__ */ Oe({
|
|
19
19
|
__name: "input",
|
|
20
20
|
props: {
|
|
@@ -85,9 +85,9 @@ const nt = ["role"], lt = ["id", "type", "disabled", "formatter", "parser", "rea
|
|
|
85
85
|
o.is("focus", v.value)
|
|
86
86
|
]), d = Ze({
|
|
87
87
|
excludeKeys: l(() => Object.keys(X.value))
|
|
88
|
-
}), { form: Ce, formItem: F } =
|
|
88
|
+
}), { form: Ce, formItem: F } = at(), { inputId: Y } = ot(xe.props, {
|
|
89
89
|
formItemContext: F
|
|
90
|
-
}), ke =
|
|
90
|
+
}), ke = et(), h = tt(), o = pe("input"), Z = pe("textarea"), M = H(), b = H(), v = S(!1), N = S(!1), C = S(!1), K = S(!1), _ = S(), O = H(e.inputStyle), k = l(() => M.value || b.value), T = l(() => G(e.prefixIcon, "icon", { size: 16 })), ee = l(() => G(e.suffixIcon, "icon", { size: 16 })), Ie = l(() => G(e.clearIcon, "icon", {
|
|
91
91
|
icon: "icon-circle-close",
|
|
92
92
|
size: 16
|
|
93
93
|
})), te = l(() => Ce?.statusIcon ?? !1), I = l(() => F?.validateState || ""), ae = l(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { shallowRef as B, ref as L, computed as c, watch as G } from "vue";
|
|
2
2
|
import { EVENT_CODE as g } from "../../../constants/aria.js";
|
|
3
|
-
import { CHANGE_EVENT as i,
|
|
3
|
+
import { CHANGE_EVENT as i, INPUT_EVENT as H, UPDATE_MODEL_EVENT as d } from "../../../constants/event.js";
|
|
4
4
|
import "@vueuse/core";
|
|
5
5
|
import { isUndefined as K } from "@vft/utils";
|
|
6
6
|
import { debugWarn as C } from "../../../utils/error.js";
|
package/es/index.js
CHANGED
|
@@ -1,578 +1,213 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
import { messageDefaults as vx, messageTypes as kx } from "./components/message/types.js";
|
|
1
|
+
import installer from "./defaults.js";
|
|
2
|
+
export { VftAlert } from "./components/alert/index.js";
|
|
3
|
+
export { VftAvatar } from "./components/avatar/index.js";
|
|
4
|
+
export { VftAvatarStack } from "./components/avatar-stack/index.js";
|
|
5
|
+
export { VftBacktop } from "./components/backtop/index.js";
|
|
6
|
+
export { VftButton, VftButtonGroup } from "./components/button/index.js";
|
|
7
|
+
export { VftCard } from "./components/card/index.js";
|
|
8
|
+
export { VftCascader } from "./components/cascader/index.js";
|
|
9
|
+
export { VftCascaderPanel } from "./components/cascader-panel/index.js";
|
|
10
|
+
export { VftCheckTag } from "./components/check-tag/index.js";
|
|
11
|
+
export { VftCheckbox, VftCheckboxButton, VftCheckboxGroup } from "./components/checkbox/index.js";
|
|
12
|
+
export { VftClamp } from "./components/clamp/index.js";
|
|
13
|
+
export { VftClampToggle } from "./components/clamp-toggle/index.js";
|
|
14
|
+
export { VftClampTooltip } from "./components/clamp-tooltip/index.js";
|
|
15
|
+
export { VftCol } from "./components/col/index.js";
|
|
16
|
+
export { VftCollapseTransition } from "./components/collapse-transition/index.js";
|
|
17
|
+
export { VftColorPicker } from "./components/color-picker/index.js";
|
|
18
|
+
export { VftConfigProvider } from "./components/config-provider/index.js";
|
|
19
|
+
export { VftAside, VftContainer, VftFooter, VftHeader, VftMain } from "./components/container/index.js";
|
|
20
|
+
export { createContextMenu, destroyContextMenu } from "./components/context-menu/createContextMenu.js";
|
|
21
|
+
export { VftIcon as $ } from "./components/icon/index.js";
|
|
22
|
+
export { useContextMenu } from "./components/context-menu/useContextMenu.js";
|
|
23
|
+
export { VftDatePicker } from "./components/date-picker/index.js";
|
|
24
|
+
export { VftDateTimeSelect } from "./components/date-time-select/index.js";
|
|
25
|
+
export { VftDescriptions, VftDescriptionsItem } from "./components/descriptions/index.js";
|
|
26
|
+
export { VftDialog } from "./components/dialog/index.js";
|
|
27
|
+
export { VftDivider } from "./components/divider/index.js";
|
|
28
|
+
export { VftDrawer } from "./components/drawer/index.js";
|
|
29
|
+
export { VftDropdown, VftDropdownItem, VftDropdownMenu } from "./components/dropdown/index.js";
|
|
30
|
+
export { VftEmpty } from "./components/empty/index.js";
|
|
31
|
+
export { VftFooterLayout } from "./components/footer-layout/index.js";
|
|
32
|
+
export { VftForm, VftFormItem } from "./components/form/index.js";
|
|
33
|
+
export { VftFullScreen } from "./components/full-screen/index.js";
|
|
34
|
+
export { VftHeaderLayout } from "./components/header-layout/index.js";
|
|
35
|
+
export { VftHorizontalMenu } from "./components/horizontal-menu/index.js";
|
|
36
|
+
export { VftIconText } from "./components/icon-text/index.js";
|
|
37
|
+
export { VftIframeLayout } from "./components/iframe-layout/index.js";
|
|
38
|
+
export { VftImage } from "./components/image/index.js";
|
|
39
|
+
export { VftImageViewer } from "./components/image-viewer/index.js";
|
|
40
|
+
export { VftInput } from "./components/input/index.js";
|
|
41
|
+
export { VftInputNumber } from "./components/input-number/index.js";
|
|
42
|
+
export { VftLink } from "./components/link/index.js";
|
|
43
|
+
export { VftListCell } from "./components/list-cell/index.js";
|
|
44
|
+
export { VftLogo } from "./components/logo/index.js";
|
|
45
|
+
export { VftMenu, VftMenuItem, VftMenuItemGroup as $e, VftSubMenu } from "./components/menu/index.js";
|
|
46
|
+
export { VftMultipleTabs } from "./components/multiple-tabs/index.js";
|
|
47
|
+
export { VftNotification } from "./components/notification/index.js";
|
|
48
|
+
export { VftOverlay } from "./components/overlay/index.js";
|
|
49
|
+
export { VftPageWrapper } from "./components/page-wrapper/index.js";
|
|
50
|
+
export { VftPagination } from "./components/pagination/index.js";
|
|
51
|
+
export { VftPopconfirm } from "./components/popconfirm/index.js";
|
|
52
|
+
export { VftPopover } from "./components/popover/index.js";
|
|
53
|
+
export { VftPopper } from "./components/popper/index.js";
|
|
54
|
+
export { VftQrcode } from "./components/qrcode/index.js";
|
|
55
|
+
export { VftRadio, VftRadioButton, VftRadioGroup } from "./components/radio/index.js";
|
|
56
|
+
export { VftResult } from "./components/result/index.js";
|
|
57
|
+
export { VftRouterViewContent } from "./components/router-view-content/index.js";
|
|
58
|
+
export { VftRow } from "./components/row/index.js";
|
|
59
|
+
export { VftScrollbar } from "./components/scrollbar/index.js";
|
|
60
|
+
export { VftSearch } from "./components/search/index.js";
|
|
61
|
+
export { VftSelect } from "./components/select/index.js";
|
|
62
|
+
export { VftSideMenu } from "./components/side-menu/index.js";
|
|
63
|
+
export { VftSkeleton, VftSkeletonItem } from "./components/skeleton/index.js";
|
|
64
|
+
export { VftSlider } from "./components/slider/index.js";
|
|
65
|
+
export { VftSpace } from "./components/space/index.js";
|
|
66
|
+
export { VftStep, VftSteps } from "./components/steps/index.js";
|
|
67
|
+
export { VftSwitch } from "./components/switch/index.js";
|
|
68
|
+
export { VftTable } from "./components/table/index.js";
|
|
69
|
+
export { VftTabPane as $o, VftTabs } from "./components/tabs/index.js";
|
|
70
|
+
export { VftTag } from "./components/tag/index.js";
|
|
71
|
+
export { VftTimePicker } from "./components/time-picker/index.js";
|
|
72
|
+
export { VftTooltip } from "./components/tooltip/index.js";
|
|
73
|
+
export { VftTree } from "./components/tree/index.js";
|
|
74
|
+
export { VftVerifyCode } from "./components/verify-code/index.js";
|
|
75
|
+
export { default as FixedSizeList } from "./components/virtual-list/components/fixed-size-list.js";
|
|
76
|
+
export { default as DynamicSizeList } from "./components/virtual-list/components/dynamic-size-list.js";
|
|
77
|
+
export { default as FixedSizeGrid } from "./components/virtual-list/components/fixed-size-grid.js";
|
|
78
|
+
export { default as DynamicSizeGrid } from "./components/virtual-list/components/dynamic-size-grid.js";
|
|
79
|
+
export { virtualizedGridProps, virtualizedListProps, virtualizedProps, virtualizedScrollbarProps } from "./components/virtual-list/props.js";
|
|
80
|
+
export { VftAutocomplete } from "./components/autocomplete/index.js";
|
|
81
|
+
export { VftBreadcrumb, VftBreadcrumbItem } from "./components/breadcrumb/index.js";
|
|
82
|
+
export { VftCarousel, VftCarouselItem } from "./components/carousel/index.js";
|
|
83
|
+
export { VftCollapse, VftCollapseItem } from "./components/collapse/index.js";
|
|
84
|
+
export { VftCountdown } from "./components/countdown/index.js";
|
|
85
|
+
export { VftInputTag } from "./components/input-tag/index.js";
|
|
86
|
+
export { VftModal } from "./components/modal/index.js";
|
|
87
|
+
export { VftProgress } from "./components/progress/index.js";
|
|
88
|
+
export { VftSegmented } from "./components/segmented/index.js";
|
|
89
|
+
export { VftStatistic } from "./components/statistic/index.js";
|
|
90
|
+
export { VftSuperForm } from "./components/super-form/index.js";
|
|
91
|
+
export { VftTimeline, VftTimelineItem } from "./components/timeline/index.js";
|
|
92
|
+
export { VftTransfer as $r } from "./components/transfer/index.js";
|
|
93
|
+
export { VftUpload } from "./components/upload/index.js";
|
|
94
|
+
export { VftWatermark } from "./components/watermark/index.js";
|
|
95
|
+
export { VftMdCodeDemo } from "./components/md-code-demo/index.js";
|
|
96
|
+
export { VftMdCodeTabs } from "./components/md-code-tabs/index.js";
|
|
97
|
+
export { VftMdComment } from "./components/md-comment/index.js";
|
|
98
|
+
export { VftMdContainer } from "./components/md-container/index.js";
|
|
99
|
+
export { VftMdTabs } from "./components/md-tabs/index.js";
|
|
100
|
+
export { VftMdVuePlayground } from "./components/md-vue-playground/index.js";
|
|
101
|
+
export { VftInfiniteScroll } from "./components/infinite-scroll/index.js";
|
|
102
|
+
export { VftLoading } from "./components/loading/index.js";
|
|
103
|
+
export { VftMessage } from "./components/message/index.js";
|
|
104
|
+
export { VftProgressI } from "./components/progress-i/index.js";
|
|
105
|
+
export { EVENT_CODE } from "./constants/aria.js";
|
|
106
|
+
export { WEEK_DAYS, datePickTypes } from "./constants/date.js";
|
|
107
|
+
export { CHANGE_EVENT, INPUT_EVENT, UPDATE_MODEL_EVENT } from "./constants/event.js";
|
|
108
|
+
export { INSTALLED_KEY } from "./constants/key.js";
|
|
109
|
+
export { componentSizeMap, componentSizes } from "./constants/size.js";
|
|
110
|
+
export { useAttrs } from "./hooks/use-attrs/index.js";
|
|
111
|
+
export { useDraggable } from "./hooks/use-draggable/index.js";
|
|
112
|
+
export { useFocus } from "./hooks/use-focus/index.js";
|
|
113
|
+
export { FORWARD_REF_INJECTION_KEY, useForwardRef, useForwardRefDirective } from "./hooks/use-forward-ref/index.js";
|
|
114
|
+
export { ID_INJECTION_KEY, useId, useIdInjection } from "./hooks/use-id/index.js";
|
|
115
|
+
export { useLockscreen } from "./hooks/use-lockscreen/index.js";
|
|
116
|
+
export { createModelToggleComposable, useModelToggle, useModelToggleEmits } from "./hooks/use-model-toggle/index.js";
|
|
117
|
+
export { defaultNamespace, namespaceContextKey, useGetDerivedNamespace, useNamespace } from "./hooks/use-namespace/index.js";
|
|
118
|
+
export { useOrderedChildren } from "./hooks/use-ordered-children/index.js";
|
|
119
|
+
export { usePopper } from "./hooks/use-popper/index.js";
|
|
120
|
+
export { usePopperContainer, usePopperContainerId } from "./hooks/use-popper-container/index.js";
|
|
121
|
+
export { useSameTarget } from "./hooks/use-same-target/index.js";
|
|
122
|
+
export { SIZE_INJECTION_KEY, useGlobalSize } from "./hooks/use-size/index.js";
|
|
123
|
+
export { useThrottleRender } from "./hooks/use-throttle-render/index.js";
|
|
124
|
+
export { useTimeout } from "./hooks/use-timeout/index.js";
|
|
125
|
+
export { ZINDEX_INJECTION_KEY, defaultInitialZIndex, useZIndex, zIndexContextKey } from "./hooks/use-z-index/index.js";
|
|
126
|
+
export { useCalcInputWidth } from "./hooks/use-calc-input-width/index.js";
|
|
127
|
+
export { useComposition } from "./hooks/use-composition/index.js";
|
|
128
|
+
export { useFocusController } from "./hooks/use-focus-controller/index.js";
|
|
129
|
+
export { attemptFocus, focusNode, getSibling, isFocusable, isLeaf, isVisible, obtainAllFocusableElements, triggerEvent } from "./utils/dom/aria.js";
|
|
130
|
+
export { getClientXY, getOffsetTop, getOffsetTopDistance, isInContainer } from "./utils/dom/position.js";
|
|
131
|
+
export { getScrollBarWidth as $f, getScrollContainer, isScroll, scrollIntoView } from "./utils/dom/scroll.js";
|
|
132
|
+
export { debugWarn, throwError } from "./utils/error.js";
|
|
133
|
+
export { composeEventHandlers, whenMouse } from "./utils/event.js";
|
|
134
|
+
export { addUnit, castArray, getComponentSize, getSizeType, isValidComponentSize, unique } from "./utils/helper.js";
|
|
135
|
+
export { cssVarValue, generateCssVars, primaryColor, setCssVar, setPrimaryColorCssvars } from "./utils/ns-cover.js";
|
|
136
|
+
export { mutable } from "./utils/typescript.js";
|
|
137
|
+
export { escapeStringRegexp } from "./utils/vue/data-helper.js";
|
|
138
|
+
export { withInstall, withInstallDirective, withInstallFunction, withNoopInstall } from "./utils/vue/install.js";
|
|
139
|
+
export { buildProp, buildProps, definePropType, epPropKey, isEpProp } from "./utils/vue/props/runtime.js";
|
|
140
|
+
export { cAF, rAF } from "./utils/vue/raf.js";
|
|
141
|
+
export { composeRefs } from "./utils/vue/refs.js";
|
|
142
|
+
export { PatchFlags, ensureOnlyChild, flattedChildren, getFirstValidNode, getNormalizedProps, isComment, isFragment, isTemplate, isText, isValidElementNode, renderBlock as $p, renderIf } from "./utils/vue/vnode.js";
|
|
143
|
+
export { CompResolver } from "./comp-resolver.js";
|
|
144
|
+
export { makeInstaller } from "./make-installer.js";
|
|
145
|
+
export { default as VftPopperArrow } from "./components/popper/arrow.vue2.js";
|
|
146
|
+
export { default as VftPopperContent } from "./components/popper/content.vue2.js";
|
|
147
|
+
export { default as VftPopperTrigger } from "./components/popper/trigger.vue2.js";
|
|
148
|
+
export { default as CommonPicker } from "./components/time-picker/common/picker.vue2.js";
|
|
149
|
+
export { default as TimePickPanel } from "./components/time-picker/time-picker-com/panel-time-pick.vue2.js";
|
|
150
|
+
export { buttonGroupContextKey } from "./components/button/constants.js";
|
|
151
|
+
export { cascaderEmits, cascaderProps } from "./components/cascader/cascader.js";
|
|
152
|
+
export { CASCADER_PANEL_INJECTION_KEY } from "./components/cascader-panel/types.js";
|
|
153
|
+
export { CommonProps, DefaultProps, cascaderPanelEmits, cascaderPanelProps, useCascaderConfig } from "./components/cascader-panel/config.js";
|
|
154
|
+
export { checkboxGroupContextKey } from "./components/checkbox/constants.js";
|
|
155
|
+
export { configProviderContextKey, messageConfig } from "./components/config-provider/constants.js";
|
|
156
|
+
export { provideGlobalConfig, useGlobalComponentSettings, useGlobalConfig } from "./components/config-provider/hooks/use-global-config.js";
|
|
157
|
+
export { ROOT_PICKER_INJECTION_KEY, ROOT_PICKER_IS_DEFAULT_FORMAT_INJECTION_KEY } from "./components/date-picker/constants.js";
|
|
158
|
+
export { datePickerProps } from "./components/date-picker/props/date-picker.js";
|
|
159
|
+
export { dialogInjectionKey } from "./components/dialog/constants.js";
|
|
160
|
+
export { useDialog } from "./components/dialog/hooks/use-dialog.js";
|
|
161
|
+
export { DROPDOWN_INJECTION_KEY } from "./components/dropdown/tokens.js";
|
|
162
|
+
export { EmptyEnum } from "./components/empty/constants.js";
|
|
163
|
+
export { formContextKey, formItemContextKey } from "./components/form/constants.js";
|
|
164
|
+
export { useDisabled, useFormDisabled, useFormSize, useSize } from "./components/form/hooks/use-form-common-props.js";
|
|
165
|
+
export { useFormItem, useFormItemInputId } from "./components/form/hooks/use-form-item.js";
|
|
166
|
+
export { MenuTypeEnum } from "./components/horizontal-menu/constants.js";
|
|
167
|
+
export { initAffixTabs, useTabsDrag } from "./components/multiple-tabs/use/use-multiple-tabs.js";
|
|
168
|
+
export { useTabDropdown } from "./components/multiple-tabs/use/use-tab-dropdown.js";
|
|
169
|
+
export { notificationEmits, notificationProps, notificationTypes } from "./components/notification/notification.js";
|
|
170
|
+
export { usePagination, vftPaginationKey } from "./components/pagination/usePagination.js";
|
|
171
|
+
export { radioGroupKey } from "./components/radio/constants.js";
|
|
172
|
+
export { rowContextKey } from "./components/row/constants.js";
|
|
173
|
+
export { scrollbarContextKey } from "./components/scrollbar/constants.js";
|
|
174
|
+
export { BAR_MAP, GAP, renderThumbStyle } from "./components/scrollbar/util.js";
|
|
175
|
+
export { selectV2InjectionKey } from "./components/select/token.js";
|
|
176
|
+
export { sliderContextKey } from "./components/slider/constants.js";
|
|
177
|
+
export { sliderEmits } from "./components/slider/slider.js";
|
|
178
|
+
export { spaceProps } from "./components/space/space.js";
|
|
179
|
+
export { useSpace } from "./components/space/use-space.js";
|
|
180
|
+
export { ACTION_FIELD, CHECKED_FIELD, CREATE_TIME_FIELD, DATE_FIELD, DATE_TIME_FIELD, ID_FIELD, NAME_FIELD, SEQ_FIELD, STATUS_FIELD, UPDATE_TIME_FIELD } from "./components/table/field.js";
|
|
181
|
+
export { useTable as $a } from "./components/table/use/use-table.js";
|
|
182
|
+
export { addRequire, removeRequire, selectMapping } from "./components/table/utils.js";
|
|
183
|
+
export { TabsRootContextKey } from "./components/tabs/types.js";
|
|
184
|
+
export { timePickerDefaultProps, timePickerRangeTriggerProps, timePickerRngeTriggerProps } from "./components/time-picker/common/props.js";
|
|
185
|
+
export { DEFAULT_FORMATS_DATE, DEFAULT_FORMATS_DATEPICKER, DEFAULT_FORMATS_TIME, PICKER_BASE_INJECTION_KEY, PICKER_POPPER_OPTIONS_INJECTION_KEY, timeUnits } from "./components/time-picker/constants.js";
|
|
186
|
+
export { buildTimeList, dateEquals, dayOrDaysToDate, extractDateFormat, extractTimeFormat, formatter, makeList, parseDate, rangeArr, valueEquals } from "./components/time-picker/utils.js";
|
|
187
|
+
export { TOOLTIP_INJECTION_KEY } from "./components/tooltip/constants.js";
|
|
188
|
+
export { getChildState } from "./components/tree/model/node.js";
|
|
189
|
+
export { dragEventsKey, useDragNodeHandler } from "./components/tree/model/useDragNode.js";
|
|
190
|
+
export { breadcrumbKey } from "./components/breadcrumb/constants.js";
|
|
191
|
+
export { CAROUSEL_ITEM_NAME, carouselContextKey } from "./components/carousel/constants.js";
|
|
192
|
+
export { collapseEmits, collapseProps, emitChangeFn } from "./components/collapse/collapse.js";
|
|
193
|
+
export { collapseItemProps } from "./components/collapse/collapse-item.js";
|
|
194
|
+
export { collapseContextKey } from "./components/collapse/constants.js";
|
|
195
|
+
export { countdownEmits, countdownProps } from "./components/countdown/countdown.js";
|
|
196
|
+
export { inputTagEmits, inputTagProps as $s } from "./components/input-tag/input-tag.js";
|
|
197
|
+
export { useModal, useModalInner } from "./components/modal/use/use-modal.js";
|
|
198
|
+
export { defaultProps, segmentedEmits, segmentedProps } from "./components/segmented/segmented.js";
|
|
199
|
+
export { FormCompEnum, add, componentMap, del, isDatePicker, isInput, isRangePicker } from "./components/super-form/component-map.js";
|
|
200
|
+
export { getDynamicProps, useForm } from "./components/super-form/use/use-form.js";
|
|
201
|
+
export { LEFT_CHECK_CHANGE_EVENT, RIGHT_CHECK_CHANGE_EVENT, transferCheckedChangeFn, transferEmits, transferProps } from "./components/transfer/transfer.js";
|
|
202
|
+
export { genFileId, uploadContextKey } from "./components/upload/constants.js";
|
|
203
|
+
export { watermarkProps } from "./components/watermark/watermark.js";
|
|
204
|
+
export { vLoading, createLoadingDirective } from "./components/loading/directive.js";
|
|
205
|
+
export { Loading } from "./components/loading/service.js";
|
|
206
|
+
export { messageDefaults, messageTypes } from "./components/message/types.js";
|
|
208
207
|
const t = e.install, f = e.version;
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
Ha as CHECKED_FIELD,
|
|
216
|
-
Ua as CREATE_TIME_FIELD,
|
|
217
|
-
lm as CommonPicker,
|
|
218
|
-
Dm as CommonProps,
|
|
219
|
-
rm as CompResolver,
|
|
220
|
-
Ba as DATE_FIELD,
|
|
221
|
-
Ja as DATE_TIME_FIELD,
|
|
222
|
-
ns as DEFAULT_FORMATS_DATE,
|
|
223
|
-
ls as DEFAULT_FORMATS_DATEPICKER,
|
|
224
|
-
us as DEFAULT_FORMATS_TIME,
|
|
225
|
-
Wm as DROPDOWN_INJECTION_KEY,
|
|
226
|
-
_m as DefaultProps,
|
|
227
|
-
Cr as DynamicSizeGrid,
|
|
228
|
-
Vr as DynamicSizeList,
|
|
229
|
-
Ft as EVENT_CODE,
|
|
230
|
-
Zm as EmptyEnum,
|
|
231
|
-
Jt as FORWARD_REF_INJECTION_KEY,
|
|
232
|
-
cr as FixedSizeGrid,
|
|
233
|
-
lr as FixedSizeList,
|
|
234
|
-
sx as FormCompEnum,
|
|
235
|
-
Aa as GAP,
|
|
236
|
-
Wa as ID_FIELD,
|
|
237
|
-
jt as ID_INJECTION_KEY,
|
|
238
|
-
Kt as INPUT_EVENT,
|
|
239
|
-
Ot as INSTALLED_KEY,
|
|
240
|
-
Ix as LEFT_CHECK_CHANGE_EVENT,
|
|
241
|
-
sa as MenuTypeEnum,
|
|
242
|
-
gt as Message,
|
|
243
|
-
qa as NAME_FIELD,
|
|
244
|
-
Vs as PICKER_BASE_INJECTION_KEY,
|
|
245
|
-
ds as PICKER_POPPER_OPTIONS_INJECTION_KEY,
|
|
246
|
-
Hp as PatchFlags,
|
|
247
|
-
Tx as RIGHT_CHECK_CHANGE_EVENT,
|
|
248
|
-
hm as ROOT_PICKER_INJECTION_KEY,
|
|
249
|
-
wm as ROOT_PICKER_IS_DEFAULT_FORMAT_INJECTION_KEY,
|
|
250
|
-
Za as SEQ_FIELD,
|
|
251
|
-
gf as SIZE_INJECTION_KEY,
|
|
252
|
-
ja as STATUS_FIELD,
|
|
253
|
-
As as TOOLTIP_INJECTION_KEY,
|
|
254
|
-
ps as TabsRootContextKey,
|
|
255
|
-
Vm as TimePickPanel,
|
|
256
|
-
Lt as UPDATE_MODEL_EVENT,
|
|
257
|
-
Qa as UPDATE_TIME_FIELD,
|
|
258
|
-
a as VftAlert,
|
|
259
|
-
U as VftAside,
|
|
260
|
-
Sr as VftAutocomplete,
|
|
261
|
-
x as VftAvatar,
|
|
262
|
-
n as VftAvatarStack,
|
|
263
|
-
u as VftBacktop,
|
|
264
|
-
Nr as VftBreadcrumb,
|
|
265
|
-
yr as VftBreadcrumbItem,
|
|
266
|
-
d as VftButton,
|
|
267
|
-
c as VftButtonGroup,
|
|
268
|
-
C as VftCard,
|
|
269
|
-
Mr as VftCarousel,
|
|
270
|
-
br as VftCarouselItem,
|
|
271
|
-
T as VftCascader,
|
|
272
|
-
P as VftCascaderPanel,
|
|
273
|
-
_ as VftCheckTag,
|
|
274
|
-
F as VftCheckbox,
|
|
275
|
-
N as VftCheckboxButton,
|
|
276
|
-
y as VftCheckboxGroup,
|
|
277
|
-
M as VftClamp,
|
|
278
|
-
K as VftClampToggle,
|
|
279
|
-
R as VftClampTooltip,
|
|
280
|
-
v as VftCol,
|
|
281
|
-
Lr as VftCollapse,
|
|
282
|
-
Rr as VftCollapseItem,
|
|
283
|
-
h as VftCollapseTransition,
|
|
284
|
-
G as VftColorPicker,
|
|
285
|
-
Y as VftConfigProvider,
|
|
286
|
-
B as VftContainer,
|
|
287
|
-
vr as VftCountdown,
|
|
288
|
-
te as VftDatePicker,
|
|
289
|
-
pe as VftDateTimeSelect,
|
|
290
|
-
ae as VftDescriptions,
|
|
291
|
-
se as VftDescriptionsItem,
|
|
292
|
-
ie as VftDialog,
|
|
293
|
-
le as VftDivider,
|
|
294
|
-
Ve as VftDrawer,
|
|
295
|
-
ce as VftDropdown,
|
|
296
|
-
Ee as VftDropdownItem,
|
|
297
|
-
Ce as VftDropdownMenu,
|
|
298
|
-
Te as VftEmpty,
|
|
299
|
-
J as VftFooter,
|
|
300
|
-
Pe as VftFooterLayout,
|
|
301
|
-
_e as VftForm,
|
|
302
|
-
Se as VftFormItem,
|
|
303
|
-
Ne as VftFullScreen,
|
|
304
|
-
W as VftHeader,
|
|
305
|
-
Ae as VftHeaderLayout,
|
|
306
|
-
be as VftHorizontalMenu,
|
|
307
|
-
$ as VftIcon,
|
|
308
|
-
Le as VftIconText,
|
|
309
|
-
Oe as VftIframeLayout,
|
|
310
|
-
ke as VftImage,
|
|
311
|
-
we as VftImageViewer,
|
|
312
|
-
Et as VftInfiniteScroll,
|
|
313
|
-
ze as VftInput,
|
|
314
|
-
He as VftInputNumber,
|
|
315
|
-
hr as VftInputTag,
|
|
316
|
-
Be as VftLink,
|
|
317
|
-
We as VftListCell,
|
|
318
|
-
It as VftLoading,
|
|
319
|
-
Mx as VftLoadingDirective,
|
|
320
|
-
Rx as VftLoadingService,
|
|
321
|
-
Ze as VftLogo,
|
|
322
|
-
q as VftMain,
|
|
323
|
-
pt as VftMdCodeDemo,
|
|
324
|
-
at as VftMdCodeTabs,
|
|
325
|
-
xt as VftMdComment,
|
|
326
|
-
nt as VftMdContainer,
|
|
327
|
-
ut as VftMdTabs,
|
|
328
|
-
dt as VftMdVuePlayground,
|
|
329
|
-
Qe as VftMenu,
|
|
330
|
-
Xe as VftMenuItem,
|
|
331
|
-
$e as VftMenuItemGroup,
|
|
332
|
-
Pt as VftMessage,
|
|
333
|
-
Gr as VftModal,
|
|
334
|
-
ro as VftMultipleTabs,
|
|
335
|
-
fo as VftNotification,
|
|
336
|
-
mo as VftOverlay,
|
|
337
|
-
so as VftPageWrapper,
|
|
338
|
-
io as VftPagination,
|
|
339
|
-
lo as VftPopconfirm,
|
|
340
|
-
Vo as VftPopover,
|
|
341
|
-
Eo as VftPopper,
|
|
342
|
-
mm as VftPopperArrow,
|
|
343
|
-
sm as VftPopperContent,
|
|
344
|
-
im as VftPopperTrigger,
|
|
345
|
-
Yr as VftProgress,
|
|
346
|
-
_t as VftProgressI,
|
|
347
|
-
Io as VftQrcode,
|
|
348
|
-
go as VftRadio,
|
|
349
|
-
Po as VftRadioButton,
|
|
350
|
-
Do as VftRadioGroup,
|
|
351
|
-
So as VftResult,
|
|
352
|
-
No as VftRouterViewContent,
|
|
353
|
-
Ao as VftRow,
|
|
354
|
-
bo as VftScrollbar,
|
|
355
|
-
Lo as VftSearch,
|
|
356
|
-
Ur as VftSegmented,
|
|
357
|
-
Oo as VftSelect,
|
|
358
|
-
ko as VftSideMenu,
|
|
359
|
-
wo as VftSkeleton,
|
|
360
|
-
Go as VftSkeletonItem,
|
|
361
|
-
Yo as VftSlider,
|
|
362
|
-
Uo as VftSpace,
|
|
363
|
-
Jr as VftStatistic,
|
|
364
|
-
Jo as VftStep,
|
|
365
|
-
Wo as VftSteps,
|
|
366
|
-
eo as VftSubMenu,
|
|
367
|
-
qr as VftSuperForm,
|
|
368
|
-
Zo as VftSwitch,
|
|
369
|
-
$o as VftTabPane,
|
|
370
|
-
Qo as VftTable,
|
|
371
|
-
er as VftTabs,
|
|
372
|
-
rr as VftTag,
|
|
373
|
-
fr as VftTimePicker,
|
|
374
|
-
jr as VftTimeline,
|
|
375
|
-
Qr as VftTimelineItem,
|
|
376
|
-
mr as VftTooltip,
|
|
377
|
-
$r as VftTransfer,
|
|
378
|
-
sr as VftTree,
|
|
379
|
-
ot as VftUpload,
|
|
380
|
-
ir as VftVerifyCode,
|
|
381
|
-
tt as VftWatermark,
|
|
382
|
-
yt as WEEK_DAYS,
|
|
383
|
-
yf as ZINDEX_INJECTION_KEY,
|
|
384
|
-
xx as add,
|
|
385
|
-
os as addRequire,
|
|
386
|
-
ip as addUnit,
|
|
387
|
-
wf as attemptFocus,
|
|
388
|
-
vs as breadcrumbKey,
|
|
389
|
-
Kp as buildProp,
|
|
390
|
-
Lp as buildProps,
|
|
391
|
-
Cs as buildTimeList,
|
|
392
|
-
cm as buttonGroupContextKey,
|
|
393
|
-
hp as cAF,
|
|
394
|
-
ws as carouselContextKey,
|
|
395
|
-
Cm as cascaderEmits,
|
|
396
|
-
Sm as cascaderPanelEmits,
|
|
397
|
-
Fm as cascaderPanelProps,
|
|
398
|
-
Im as cascaderProps,
|
|
399
|
-
np as castArray,
|
|
400
|
-
Am as checkboxGroupContextKey,
|
|
401
|
-
Ws as collapseContextKey,
|
|
402
|
-
zs as collapseEmits,
|
|
403
|
-
Bs as collapseItemProps,
|
|
404
|
-
Ys as collapseProps,
|
|
405
|
-
ix as componentMap,
|
|
406
|
-
kt as componentSizeMap,
|
|
407
|
-
ht as componentSizes,
|
|
408
|
-
ap as composeEventHandlers,
|
|
409
|
-
zp as composeRefs,
|
|
410
|
-
bm as configProviderContextKey,
|
|
411
|
-
Zs as countdownEmits,
|
|
412
|
-
js as countdownProps,
|
|
413
|
-
j as createContextMenu,
|
|
414
|
-
bx as createLoadingDirective,
|
|
415
|
-
rf as createModelToggleComposable,
|
|
416
|
-
Ep as cssVarValue,
|
|
417
|
-
Is as dateEquals,
|
|
418
|
-
At as datePickTypes,
|
|
419
|
-
zm as datePickerProps,
|
|
420
|
-
Ts as dayOrDaysToDate,
|
|
421
|
-
fp as debugWarn,
|
|
422
|
-
e as default,
|
|
423
|
-
Af as defaultInitialZIndex,
|
|
424
|
-
mf as defaultNamespace,
|
|
425
|
-
fx as defaultProps,
|
|
426
|
-
Rp as definePropType,
|
|
427
|
-
nx as del,
|
|
428
|
-
Q as destroyContextMenu,
|
|
429
|
-
Hm as dialogInjectionKey,
|
|
430
|
-
Ls as dragEventsKey,
|
|
431
|
-
Hs as emitChangeFn,
|
|
432
|
-
Up as ensureOnlyChild,
|
|
433
|
-
Op as epPropKey,
|
|
434
|
-
Sp as escapeStringRegexp,
|
|
435
|
-
gs as extractDateFormat,
|
|
436
|
-
Ps as extractTimeFormat,
|
|
437
|
-
Bp as flattedChildren,
|
|
438
|
-
Gf as focusNode,
|
|
439
|
-
Qm as formContextKey,
|
|
440
|
-
Xm as formItemContextKey,
|
|
441
|
-
Ds as formatter,
|
|
442
|
-
Sx as genFileId,
|
|
443
|
-
Cp as generateCssVars,
|
|
444
|
-
bs as getChildState,
|
|
445
|
-
qf as getClientXY,
|
|
446
|
-
lp as getComponentSize,
|
|
447
|
-
cx as getDynamicProps,
|
|
448
|
-
Jp as getFirstValidNode,
|
|
449
|
-
Wp as getNormalizedProps,
|
|
450
|
-
Zf as getOffsetTop,
|
|
451
|
-
jf as getOffsetTopDistance,
|
|
452
|
-
$f as getScrollBarWidth,
|
|
453
|
-
ep as getScrollContainer,
|
|
454
|
-
zf as getSibling,
|
|
455
|
-
up as getSizeType,
|
|
456
|
-
ia as initAffixTabs,
|
|
457
|
-
Xs as inputTagEmits,
|
|
458
|
-
$s as inputTagProps,
|
|
459
|
-
t as install,
|
|
460
|
-
qp as isComment,
|
|
461
|
-
lx as isDatePicker,
|
|
462
|
-
vp as isEpProp,
|
|
463
|
-
Yf as isFocusable,
|
|
464
|
-
Zp as isFragment,
|
|
465
|
-
Qf as isInContainer,
|
|
466
|
-
ux as isInput,
|
|
467
|
-
Hf as isLeaf,
|
|
468
|
-
Vx as isRangePicker,
|
|
469
|
-
op as isScroll,
|
|
470
|
-
jp as isTemplate,
|
|
471
|
-
Qp as isText,
|
|
472
|
-
Vp as isValidComponentSize,
|
|
473
|
-
Xp as isValidElementNode,
|
|
474
|
-
Uf as isVisible,
|
|
475
|
-
fm as makeInstaller,
|
|
476
|
-
_s as makeList,
|
|
477
|
-
Km as messageConfig,
|
|
478
|
-
vx as messageDefaults,
|
|
479
|
-
kx as messageTypes,
|
|
480
|
-
Dp as mutable,
|
|
481
|
-
af as namespaceContextKey,
|
|
482
|
-
da as notificationEmits,
|
|
483
|
-
ca as notificationProps,
|
|
484
|
-
Ea as notificationTypes,
|
|
485
|
-
Bf as obtainAllFocusableElements,
|
|
486
|
-
Ss as parseDate,
|
|
487
|
-
Ip as primaryColor,
|
|
488
|
-
Rm as provideGlobalConfig,
|
|
489
|
-
wp as rAF,
|
|
490
|
-
Pa as radioGroupKey,
|
|
491
|
-
Fs as rangeArr,
|
|
492
|
-
rs as removeRequire,
|
|
493
|
-
$p as renderBlock,
|
|
494
|
-
em as renderIf,
|
|
495
|
-
Ma as renderThumbStyle,
|
|
496
|
-
_a as rowContextKey,
|
|
497
|
-
rp as scrollIntoView,
|
|
498
|
-
Fa as scrollbarContextKey,
|
|
499
|
-
px as segmentedEmits,
|
|
500
|
-
mx as segmentedProps,
|
|
501
|
-
ts as selectMapping,
|
|
502
|
-
Ka as selectV2InjectionKey,
|
|
503
|
-
Tp as setCssVar,
|
|
504
|
-
gp as setPrimaryColorCssvars,
|
|
505
|
-
Ra as sliderContextKey,
|
|
506
|
-
va as sliderEmits,
|
|
507
|
-
ha as spaceProps,
|
|
508
|
-
pp as throwError,
|
|
509
|
-
as as timePickerDefaultProps,
|
|
510
|
-
ss as timePickerRangeTriggerProps,
|
|
511
|
-
xs as timePickerRngeTriggerProps,
|
|
512
|
-
cs as timeUnits,
|
|
513
|
-
gx as transferCheckedChangeFn,
|
|
514
|
-
Px as transferEmits,
|
|
515
|
-
Dx as transferProps,
|
|
516
|
-
Jf as triggerEvent,
|
|
517
|
-
dp as unique,
|
|
518
|
-
Fx as uploadContextKey,
|
|
519
|
-
Gt as useAttrs,
|
|
520
|
-
Lf as useCalcInputWidth,
|
|
521
|
-
Nm as useCascaderConfig,
|
|
522
|
-
Of as useComposition,
|
|
523
|
-
oe as useContextMenu,
|
|
524
|
-
Bm as useDialog,
|
|
525
|
-
ea as useDisabled,
|
|
526
|
-
Rs as useDragNodeHandler,
|
|
527
|
-
Yt as useDraggable,
|
|
528
|
-
Ut as useFocus,
|
|
529
|
-
kf as useFocusController,
|
|
530
|
-
Ex as useForm,
|
|
531
|
-
oa as useFormDisabled,
|
|
532
|
-
pa as useFormItem,
|
|
533
|
-
ma as useFormItemInputId,
|
|
534
|
-
ra as useFormSize,
|
|
535
|
-
Wt as useForwardRef,
|
|
536
|
-
qt as useForwardRefDirective,
|
|
537
|
-
sf as useGetDerivedNamespace,
|
|
538
|
-
Om as useGlobalComponentSettings,
|
|
539
|
-
vm as useGlobalConfig,
|
|
540
|
-
Pf as useGlobalSize,
|
|
541
|
-
Qt as useId,
|
|
542
|
-
Xt as useIdInjection,
|
|
543
|
-
ef as useLockscreen,
|
|
544
|
-
ox as useModal,
|
|
545
|
-
rx as useModalInner,
|
|
546
|
-
tf as useModelToggle,
|
|
547
|
-
ff as useModelToggleEmits,
|
|
548
|
-
xf as useNamespace,
|
|
549
|
-
lf as useOrderedChildren,
|
|
550
|
-
Ia as usePagination,
|
|
551
|
-
Vf as usePopper,
|
|
552
|
-
cf as usePopperContainer,
|
|
553
|
-
Ef as usePopperContainerId,
|
|
554
|
-
If as useSameTarget,
|
|
555
|
-
ta as useSize,
|
|
556
|
-
Ga as useSpace,
|
|
557
|
-
ua as useTabDropdown,
|
|
558
|
-
$a as useTable,
|
|
559
|
-
na as useTabsDrag,
|
|
560
|
-
_f as useThrottleRender,
|
|
561
|
-
Ff as useTimeout,
|
|
562
|
-
Mf as useZIndex,
|
|
563
|
-
Kx as vLoading,
|
|
564
|
-
Ns as valueEquals,
|
|
565
|
-
f as version,
|
|
566
|
-
Ta as vftPaginationKey,
|
|
567
|
-
Tr as virtualizedGridProps,
|
|
568
|
-
gr as virtualizedListProps,
|
|
569
|
-
Pr as virtualizedProps,
|
|
570
|
-
Dr as virtualizedScrollbarProps,
|
|
571
|
-
yx as watermarkProps,
|
|
572
|
-
sp as whenMouse,
|
|
573
|
-
Np as withInstall,
|
|
574
|
-
yp as withInstallDirective,
|
|
575
|
-
Ap as withInstallFunction,
|
|
576
|
-
Mp as withNoopInstall,
|
|
577
|
-
bf as zIndexContextKey
|
|
578
|
-
};
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
const install = installer.install;
|
|
211
|
+
const version = installer.version;
|
|
212
|
+
|
|
213
|
+
export { install, version };
|
package/es/package.json.d.ts
CHANGED
package/es/package.json.js
CHANGED
package/es/utils/vue/vnode.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { isArray as E, hasOwn as m, camelize as N } from "@vft/utils";
|
|
2
2
|
import { isVNode as o, Fragment as S, Comment as A, Text as s, createCommentVNode as L, createBlock as _, openBlock as C } from "vue";
|
|
3
3
|
import { debugWarn as O } from "../error.js";
|
|
4
4
|
const R = "utils/vue/vnode";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../form/index.cjs");const k=require("../icon/index.cjs"),Y=require("@vueuse/core"),s=require("@vft/utils"),T=require("../../utils/error.cjs");require("../config-provider/hooks/use-global-config.cjs");const Be=require("lodash-es"),Z=require("../../hooks/use-namespace/index.cjs");require("../../hooks/use-model-toggle/index.cjs");require("@popperjs/core");require("../../hooks/use-z-index/index.cjs");const q=require("@vft/constants"),_=require("@vft/use"),ee=require("./utils.cjs"),te=require("../form/hooks/use-form-item.cjs"),oe=require("../form/hooks/use-form-common-props.cjs"),Ve=["role"],Ie=["id","type","disabled","formatter","parser","readonly","autocomplete","tabindex","aria-label","placeholder","form"],Se=["id","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form"],ze=e.defineComponent({__name:"input",props:{id:{},size:{default:""},disabled:{type:Boolean},modelValue:{},type:{default:"text"},resize:{},autosize:{type:[Object,Boolean],default:!1},autocomplete:{default:"off"},formatter:{},parser:{},placeholder:{},form:{},readonly:{type:Boolean},clearable:{type:Boolean},showPassword:{type:Boolean},showWordLimit:{type:Boolean},suffixIcon:{},prefixIcon:{},clearIcon:{},containerRole:{},label:{},tabindex:{default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:[Boolean,null,String,Object,Array]}},emits:{[q.UPDATE_MODEL_EVENT]:t=>s.isString(t),input:t=>s.isString(t),change:t=>s.isString(t),suffixClick:t=>s.isString(t),prefixClick:t=>s.isString(t),focus:t=>t instanceof FocusEvent,blur:t=>t instanceof FocusEvent,clear:()=>!0,enter:()=>!0,mouseleave:t=>t instanceof MouseEvent,mouseenter:t=>t instanceof MouseEvent,keydown:t=>t instanceof Event,compositionstart:t=>t instanceof CompositionEvent,compositionupdate:t=>t instanceof CompositionEvent,compositionend:t=>t instanceof CompositionEvent},setup(t,{expose:ne,emit:ae}){const l=ae,v=e.useAttrs(),i=e.useSlots(),M=e.computed(()=>{const o={};return t.containerRole==="combobox"&&(o["aria-haspopup"]=v["aria-haspopup"],o["aria-owns"]=v["aria-owns"],o["aria-expanded"]=v["aria-expanded"]),o}),le=e.computed(()=>[t.type==="textarea"?A.b():n.b(),n.m(ie.value),n.is("disabled",m.value),n.is("exceed",fe.value),n.is("focus",c.value),{[n.b("group")]:i.prepend||i.append,[n.bm("group","append")]:i.append,[n.bm("group","prepend")]:i.prepend,[n.m("prefix")]:i.prefix||t.prefixIcon,[n.m("suffix")]:i.suffix||t.suffixIcon||t.clearable||t.showPassword,[n.bm("suffix","password-clear")]:E.value&&z.value},v.class]),se=e.getCurrentInstance(),re=e.computed(()=>[n.e("wrapper"),n.is("focus",c.value)]),r=_.useAttrs({excludeKeys:e.computed(()=>Object.keys(M.value))}),{form:ue,formItem:C}=te.useFormItem(),{inputId:F}=te.useFormItemInputId(se.props,{formItemContext:C}),ie=oe.useFormSize(),m=oe.useFormDisabled(),n=Z.useNamespace("input"),A=Z.useNamespace("textarea"),w=e.shallowRef(),f=e.shallowRef(),c=e.ref(!1),V=e.ref(!1),y=e.ref(!1),x=e.ref(!1),D=e.ref(),I=e.shallowRef(t.inputStyle),h=e.computed(()=>w.value||f.value),S=e.computed(()=>s.singleAttrToObj(t.prefixIcon,"icon",{size:16})),O=e.computed(()=>s.singleAttrToObj(t.suffixIcon,"icon",{size:16})),ce=e.computed(()=>s.singleAttrToObj(t.clearIcon,"icon",{icon:"icon-circle-close",size:16})),R=e.computed(()=>ue?.statusIcon??!1),g=e.computed(()=>C?.validateState||""),K=e.computed(()=>g.value&&{validating:"icon-loading",success:"icon-circle-check",error:"icon-circle-close"}[g.value]),de=e.computed(()=>x.value?{icon:"icon-view",size:16}:{icon:"icon-hide",size:16}),me=e.computed(()=>[v.style,t.inputStyle]),$=e.computed(()=>[t.inputStyle,I.value,{resize:t.resize}]),u=e.computed(()=>Be.isNil(t.modelValue)?"":String(t.modelValue)),E=e.computed(()=>t.clearable&&!m.value&&!t.readonly&&!!u.value&&(c.value||V.value)),z=e.computed(()=>t.showPassword&&!m.value&&!t.readonly&&!!u.value&&(!!u.value||c.value)),p=e.computed(()=>t.showWordLimit&&!!r.value.maxlength&&(t.type==="text"||t.type==="textarea")&&!m.value&&!t.readonly&&!t.showPassword),N=e.computed(()=>Array.from(u.value).length),fe=e.computed(()=>!!p.value&&N.value>Number(r.value.maxlength)),pe=e.computed(()=>!!i.suffix||!!t.suffixIcon||E.value||t.showPassword||p.value||!!g.value&&R.value),[ve,ye]=_.useCursor(w);Y.useResizeObserver(f,o=>{if(!p.value||t.resize!=="both")return;const a=o[0],{width:d}=a.contentRect;D.value={right:`calc(100% - ${d+15+6}px)`}});const B=()=>{if(!(!Y.isClient||t.type!=="textarea"))if(t.autosize){const o=s.isObject(t.autosize)?t.autosize.minRows:void 0,a=s.isObject(t.autosize)?t.autosize.maxRows:void 0;I.value={...ee.calcTextareaHeight(f.value,o,a)}}else I.value={minHeight:ee.calcTextareaHeight(f.value).minHeight}},b=()=>{const o=h.value;!o||o.value===u.value||(o.value=u.value)},P=async o=>{ve();let{value:a}=o.target;if(r.value.maxlength&&a.length>=r.value.maxlength&&(a=a.slice(0,Number(r.value.maxlength))),t.formatter&&(a=t.parser?t.parser(a):a,a=t.formatter(a)),!y.value){if(a===u.value){b();return}l(q.UPDATE_MODEL_EVENT,a),l("input",a),await e.nextTick(),b(),ye()}},j=o=>{l("change",o.target.value)},he=()=>{l("suffixClick",t.modelValue)},ge=()=>{l("prefixClick",t.modelValue)},L=o=>{l("compositionstart",o),y.value=!0},be=o=>/([(\uAC00-\uD7AF)|\u3130-\u318F])+/.test(o),W=o=>{l("compositionupdate",o);const a=o.target?.value,d=a[a.length-1]||"";y.value=!be(d)},H=o=>{l("compositionend",o),y.value&&(y.value=!1,P(o))},ke=()=>{x.value=!x.value,U()},U=async()=>{await e.nextTick(),h.value?.focus()},Ce=()=>h.value?.blur(),G=o=>{c.value=!0,l("focus",o)},J=o=>{c.value=!1,l("blur",o),t.validateEvent&&C?.validate?.("blur").catch(a=>T.debugWarn(a))},we=o=>{V.value=!1,l("mouseleave",o)},xe=o=>{V.value=!0,l("mouseenter",o)},Q=o=>{let a=o.key;if(o.target.type==="number"&&["e","+","-0","E"].includes(a))return o.returnValue=!1,!1;l("keydown",o)},Ee=()=>{h.value?.select()},X=()=>{l(q.UPDATE_MODEL_EVENT,""),l("change",""),l("clear"),l("input","")};return e.watch(()=>t.modelValue,()=>{e.nextTick(()=>B()),t.validateEvent&&C?.validate?.("change").catch(o=>T.debugWarn(o))}),e.watch(u,()=>b()),e.watch(()=>t.type,async()=>{await e.nextTick(),b(),B()}),e.onMounted(()=>{!t.formatter&&t.parser&&T.debugWarn("VftInput","If you set the parser, you also need to set the formatter."),b(),e.nextTick(B)}),ne({input:w,textarea:f,ref:h,textareaStyle:$,autosize:t.autosize,focus:U,blur:Ce,select:Ee,clear:X,resizeTextarea:B}),(o,a)=>e.withDirectives((e.openBlock(),e.createElementBlock("div",e.mergeProps(M.value,{class:le.value,style:me.value,role:o.containerRole,onMouseenter:xe,onMouseleave:we,onMousewheel:a[1]||(a[1]=d=>o.type==="number"&&c.value?d.preventDefault():null)}),[o.type!=="textarea"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.$slots.prepend?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(n).be("group","prepend"))},[e.renderSlot(o.$slots,"prepend")],2)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(re.value)},[o.$slots.prefix||S.value?.icon?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(e.unref(n).e("prefix"))},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(n).e("prefix-inner")),onClick:ge},[e.renderSlot(o.$slots,"prefix"),S.value?.icon?(e.openBlock(),e.createBlock(e.unref(k.VftIcon),e.mergeProps({key:0,pointer:""},S.value,{class:e.unref(n).e("icon")}),null,16,["class"])):e.createCommentVNode("",!0)],2)],2)):e.createCommentVNode("",!0),e.createElementVNode("input",e.mergeProps({id:e.unref(F),ref_key:"input",ref:w,class:e.unref(n).e("inner")},e.unref(r),{type:o.showPassword?x.value?"text":"password":o.type,disabled:e.unref(m),formatter:o.formatter,parser:o.parser,readonly:o.readonly,autocomplete:o.autocomplete,tabindex:o.tabindex,"aria-label":o.label,placeholder:o.placeholder,style:o.inputStyle,form:o.form,onCompositionstart:L,onCompositionupdate:W,onCompositionend:H,onInput:P,onFocus:G,onBlur:J,onChange:j,onKeydown:Q,onKeyup:a[0]||(a[0]=e.withKeys(d=>l("enter"),["enter"]))}),null,16,Ie),pe.value?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(e.unref(n).e("suffix"))},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(n).e("suffix-inner")),onClick:he},[!E.value||!z.value||!p.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.renderSlot(o.$slots,"suffix"),O.value?.icon?(e.openBlock(),e.createBlock(e.unref(k.VftIcon),e.mergeProps({key:0},O.value,{class:e.unref(n).e("icon")}),null,16,["class"])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),E.value?(e.openBlock(),e.createBlock(e.unref(k.VftIcon),e.mergeProps({key:1,pointer:"",class:[e.unref(n).e("icon"),e.unref(n).e("clear")]},ce.value,{onMousedown:e.withModifiers(e.unref(s.noop),["prevent"]),onClick:e.withModifiers(X,["stop"])}),null,16,["class","onMousedown"])):e.createCommentVNode("",!0),z.value?(e.openBlock(),e.createBlock(e.unref(k.VftIcon),e.mergeProps({key:2},de.value,{class:[e.unref(n).e("icon"),e.unref(n).e("password")],onClick:ke}),null,16,["class"])):e.createCommentVNode("",!0),p.value?(e.openBlock(),e.createElementBlock("span",{key:3,class:e.normalizeClass(e.unref(n).e("count"))},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(n).e("count-inner"))},e.toDisplayString(N.value)+" / "+e.toDisplayString(e.unref(r).maxlength),3)],2)):e.createCommentVNode("",!0),g.value&&K.value&&R.value?(e.openBlock(),e.createBlock(e.unref(k.VftIcon),{key:4,icon:K.value,class:e.normalizeClass([e.unref(n).e("icon"),e.unref(n).e("validateIcon"),e.unref(n).is("loading",g.value==="validating")])},null,8,["icon","class"])):e.createCommentVNode("",!0)],2)],2)):e.createCommentVNode("",!0)],2),o.$slots.append?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(n).be("group","append"))},[e.renderSlot(o.$slots,"append")],2)):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("textarea",e.mergeProps({id:e.unref(F),ref_key:"textarea",ref:f,class:e.unref(A).e("inner")},e.unref(r),{tabindex:o.tabindex,disabled:e.unref(m),readonly:o.readonly,autocomplete:o.autocomplete,style:$.value,"aria-label":o.label,placeholder:o.placeholder,form:o.form,onCompositionstart:L,onCompositionupdate:W,onCompositionend:H,onInput:P,onFocus:G,onBlur:J,onChange:j,onKeydown:Q}),null,16,Se),p.value?(e.openBlock(),e.createElementBlock("span",{key:0,style:e.normalizeStyle(D.value),class:e.normalizeClass(e.unref(n).e("count"))},e.toDisplayString(N.value)+" / "+e.toDisplayString(e.unref(r).maxlength),7)):e.createCommentVNode("",!0)],64))],16,Ve)),[[e.vShow,o.type!=="hidden"]])}});exports.default=ze;
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("vue");require("../form/index.cjs");const k=require("../icon/index.cjs"),Y=require("@vueuse/core"),s=require("@vft/utils"),T=require("../../utils/error.cjs");require("../config-provider/hooks/use-global-config.cjs");const Be=require("lodash-es"),Z=require("../../hooks/use-namespace/index.cjs");require("../../hooks/use-model-toggle/index.cjs");require("@popperjs/core");require("../../hooks/use-z-index/index.cjs");const q=require("@vft/constants"),_=require("@vft/use"),ee=require("./utils.cjs"),te=require("../form/hooks/use-form-common-props.cjs"),oe=require("../form/hooks/use-form-item.cjs"),Ve=["role"],Ie=["id","type","disabled","formatter","parser","readonly","autocomplete","tabindex","aria-label","placeholder","form"],Se=["id","tabindex","disabled","readonly","autocomplete","aria-label","placeholder","form"],ze=e.defineComponent({__name:"input",props:{id:{},size:{default:""},disabled:{type:Boolean},modelValue:{},type:{default:"text"},resize:{},autosize:{type:[Object,Boolean],default:!1},autocomplete:{default:"off"},formatter:{},parser:{},placeholder:{},form:{},readonly:{type:Boolean},clearable:{type:Boolean},showPassword:{type:Boolean},showWordLimit:{type:Boolean},suffixIcon:{},prefixIcon:{},clearIcon:{},containerRole:{},label:{},tabindex:{default:0},validateEvent:{type:Boolean,default:!0},inputStyle:{type:[Boolean,null,String,Object,Array]}},emits:{[q.UPDATE_MODEL_EVENT]:t=>s.isString(t),input:t=>s.isString(t),change:t=>s.isString(t),suffixClick:t=>s.isString(t),prefixClick:t=>s.isString(t),focus:t=>t instanceof FocusEvent,blur:t=>t instanceof FocusEvent,clear:()=>!0,enter:()=>!0,mouseleave:t=>t instanceof MouseEvent,mouseenter:t=>t instanceof MouseEvent,keydown:t=>t instanceof Event,compositionstart:t=>t instanceof CompositionEvent,compositionupdate:t=>t instanceof CompositionEvent,compositionend:t=>t instanceof CompositionEvent},setup(t,{expose:ne,emit:ae}){const l=ae,v=e.useAttrs(),i=e.useSlots(),M=e.computed(()=>{const o={};return t.containerRole==="combobox"&&(o["aria-haspopup"]=v["aria-haspopup"],o["aria-owns"]=v["aria-owns"],o["aria-expanded"]=v["aria-expanded"]),o}),le=e.computed(()=>[t.type==="textarea"?A.b():n.b(),n.m(ie.value),n.is("disabled",m.value),n.is("exceed",fe.value),n.is("focus",c.value),{[n.b("group")]:i.prepend||i.append,[n.bm("group","append")]:i.append,[n.bm("group","prepend")]:i.prepend,[n.m("prefix")]:i.prefix||t.prefixIcon,[n.m("suffix")]:i.suffix||t.suffixIcon||t.clearable||t.showPassword,[n.bm("suffix","password-clear")]:E.value&&z.value},v.class]),se=e.getCurrentInstance(),re=e.computed(()=>[n.e("wrapper"),n.is("focus",c.value)]),r=_.useAttrs({excludeKeys:e.computed(()=>Object.keys(M.value))}),{form:ue,formItem:C}=oe.useFormItem(),{inputId:F}=oe.useFormItemInputId(se.props,{formItemContext:C}),ie=te.useFormSize(),m=te.useFormDisabled(),n=Z.useNamespace("input"),A=Z.useNamespace("textarea"),w=e.shallowRef(),f=e.shallowRef(),c=e.ref(!1),V=e.ref(!1),y=e.ref(!1),x=e.ref(!1),D=e.ref(),I=e.shallowRef(t.inputStyle),h=e.computed(()=>w.value||f.value),S=e.computed(()=>s.singleAttrToObj(t.prefixIcon,"icon",{size:16})),O=e.computed(()=>s.singleAttrToObj(t.suffixIcon,"icon",{size:16})),ce=e.computed(()=>s.singleAttrToObj(t.clearIcon,"icon",{icon:"icon-circle-close",size:16})),R=e.computed(()=>ue?.statusIcon??!1),g=e.computed(()=>C?.validateState||""),K=e.computed(()=>g.value&&{validating:"icon-loading",success:"icon-circle-check",error:"icon-circle-close"}[g.value]),de=e.computed(()=>x.value?{icon:"icon-view",size:16}:{icon:"icon-hide",size:16}),me=e.computed(()=>[v.style,t.inputStyle]),$=e.computed(()=>[t.inputStyle,I.value,{resize:t.resize}]),u=e.computed(()=>Be.isNil(t.modelValue)?"":String(t.modelValue)),E=e.computed(()=>t.clearable&&!m.value&&!t.readonly&&!!u.value&&(c.value||V.value)),z=e.computed(()=>t.showPassword&&!m.value&&!t.readonly&&!!u.value&&(!!u.value||c.value)),p=e.computed(()=>t.showWordLimit&&!!r.value.maxlength&&(t.type==="text"||t.type==="textarea")&&!m.value&&!t.readonly&&!t.showPassword),N=e.computed(()=>Array.from(u.value).length),fe=e.computed(()=>!!p.value&&N.value>Number(r.value.maxlength)),pe=e.computed(()=>!!i.suffix||!!t.suffixIcon||E.value||t.showPassword||p.value||!!g.value&&R.value),[ve,ye]=_.useCursor(w);Y.useResizeObserver(f,o=>{if(!p.value||t.resize!=="both")return;const a=o[0],{width:d}=a.contentRect;D.value={right:`calc(100% - ${d+15+6}px)`}});const B=()=>{if(!(!Y.isClient||t.type!=="textarea"))if(t.autosize){const o=s.isObject(t.autosize)?t.autosize.minRows:void 0,a=s.isObject(t.autosize)?t.autosize.maxRows:void 0;I.value={...ee.calcTextareaHeight(f.value,o,a)}}else I.value={minHeight:ee.calcTextareaHeight(f.value).minHeight}},b=()=>{const o=h.value;!o||o.value===u.value||(o.value=u.value)},P=async o=>{ve();let{value:a}=o.target;if(r.value.maxlength&&a.length>=r.value.maxlength&&(a=a.slice(0,Number(r.value.maxlength))),t.formatter&&(a=t.parser?t.parser(a):a,a=t.formatter(a)),!y.value){if(a===u.value){b();return}l(q.UPDATE_MODEL_EVENT,a),l("input",a),await e.nextTick(),b(),ye()}},j=o=>{l("change",o.target.value)},he=()=>{l("suffixClick",t.modelValue)},ge=()=>{l("prefixClick",t.modelValue)},L=o=>{l("compositionstart",o),y.value=!0},be=o=>/([(\uAC00-\uD7AF)|\u3130-\u318F])+/.test(o),W=o=>{l("compositionupdate",o);const a=o.target?.value,d=a[a.length-1]||"";y.value=!be(d)},H=o=>{l("compositionend",o),y.value&&(y.value=!1,P(o))},ke=()=>{x.value=!x.value,U()},U=async()=>{await e.nextTick(),h.value?.focus()},Ce=()=>h.value?.blur(),G=o=>{c.value=!0,l("focus",o)},J=o=>{c.value=!1,l("blur",o),t.validateEvent&&C?.validate?.("blur").catch(a=>T.debugWarn(a))},we=o=>{V.value=!1,l("mouseleave",o)},xe=o=>{V.value=!0,l("mouseenter",o)},Q=o=>{let a=o.key;if(o.target.type==="number"&&["e","+","-0","E"].includes(a))return o.returnValue=!1,!1;l("keydown",o)},Ee=()=>{h.value?.select()},X=()=>{l(q.UPDATE_MODEL_EVENT,""),l("change",""),l("clear"),l("input","")};return e.watch(()=>t.modelValue,()=>{e.nextTick(()=>B()),t.validateEvent&&C?.validate?.("change").catch(o=>T.debugWarn(o))}),e.watch(u,()=>b()),e.watch(()=>t.type,async()=>{await e.nextTick(),b(),B()}),e.onMounted(()=>{!t.formatter&&t.parser&&T.debugWarn("VftInput","If you set the parser, you also need to set the formatter."),b(),e.nextTick(B)}),ne({input:w,textarea:f,ref:h,textareaStyle:$,autosize:t.autosize,focus:U,blur:Ce,select:Ee,clear:X,resizeTextarea:B}),(o,a)=>e.withDirectives((e.openBlock(),e.createElementBlock("div",e.mergeProps(M.value,{class:le.value,style:me.value,role:o.containerRole,onMouseenter:xe,onMouseleave:we,onMousewheel:a[1]||(a[1]=d=>o.type==="number"&&c.value?d.preventDefault():null)}),[o.type!=="textarea"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[o.$slots.prepend?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(e.unref(n).be("group","prepend"))},[e.renderSlot(o.$slots,"prepend")],2)):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(re.value)},[o.$slots.prefix||S.value?.icon?(e.openBlock(),e.createElementBlock("span",{key:0,class:e.normalizeClass(e.unref(n).e("prefix"))},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(n).e("prefix-inner")),onClick:ge},[e.renderSlot(o.$slots,"prefix"),S.value?.icon?(e.openBlock(),e.createBlock(e.unref(k.VftIcon),e.mergeProps({key:0,pointer:""},S.value,{class:e.unref(n).e("icon")}),null,16,["class"])):e.createCommentVNode("",!0)],2)],2)):e.createCommentVNode("",!0),e.createElementVNode("input",e.mergeProps({id:e.unref(F),ref_key:"input",ref:w,class:e.unref(n).e("inner")},e.unref(r),{type:o.showPassword?x.value?"text":"password":o.type,disabled:e.unref(m),formatter:o.formatter,parser:o.parser,readonly:o.readonly,autocomplete:o.autocomplete,tabindex:o.tabindex,"aria-label":o.label,placeholder:o.placeholder,style:o.inputStyle,form:o.form,onCompositionstart:L,onCompositionupdate:W,onCompositionend:H,onInput:P,onFocus:G,onBlur:J,onChange:j,onKeydown:Q,onKeyup:a[0]||(a[0]=e.withKeys(d=>l("enter"),["enter"]))}),null,16,Ie),pe.value?(e.openBlock(),e.createElementBlock("span",{key:1,class:e.normalizeClass(e.unref(n).e("suffix"))},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(n).e("suffix-inner")),onClick:he},[!E.value||!z.value||!p.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.renderSlot(o.$slots,"suffix"),O.value?.icon?(e.openBlock(),e.createBlock(e.unref(k.VftIcon),e.mergeProps({key:0},O.value,{class:e.unref(n).e("icon")}),null,16,["class"])):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),E.value?(e.openBlock(),e.createBlock(e.unref(k.VftIcon),e.mergeProps({key:1,pointer:"",class:[e.unref(n).e("icon"),e.unref(n).e("clear")]},ce.value,{onMousedown:e.withModifiers(e.unref(s.noop),["prevent"]),onClick:e.withModifiers(X,["stop"])}),null,16,["class","onMousedown"])):e.createCommentVNode("",!0),z.value?(e.openBlock(),e.createBlock(e.unref(k.VftIcon),e.mergeProps({key:2},de.value,{class:[e.unref(n).e("icon"),e.unref(n).e("password")],onClick:ke}),null,16,["class"])):e.createCommentVNode("",!0),p.value?(e.openBlock(),e.createElementBlock("span",{key:3,class:e.normalizeClass(e.unref(n).e("count"))},[e.createElementVNode("span",{class:e.normalizeClass(e.unref(n).e("count-inner"))},e.toDisplayString(N.value)+" / "+e.toDisplayString(e.unref(r).maxlength),3)],2)):e.createCommentVNode("",!0),g.value&&K.value&&R.value?(e.openBlock(),e.createBlock(e.unref(k.VftIcon),{key:4,icon:K.value,class:e.normalizeClass([e.unref(n).e("icon"),e.unref(n).e("validateIcon"),e.unref(n).is("loading",g.value==="validating")])},null,8,["icon","class"])):e.createCommentVNode("",!0)],2)],2)):e.createCommentVNode("",!0)],2),o.$slots.append?(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(e.unref(n).be("group","append"))},[e.renderSlot(o.$slots,"append")],2)):e.createCommentVNode("",!0)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createElementVNode("textarea",e.mergeProps({id:e.unref(F),ref_key:"textarea",ref:f,class:e.unref(A).e("inner")},e.unref(r),{tabindex:o.tabindex,disabled:e.unref(m),readonly:o.readonly,autocomplete:o.autocomplete,style:$.value,"aria-label":o.label,placeholder:o.placeholder,form:o.form,onCompositionstart:L,onCompositionupdate:W,onCompositionend:H,onInput:P,onFocus:G,onBlur:J,onChange:j,onKeydown:Q}),null,16,Se),p.value?(e.openBlock(),e.createElementBlock("span",{key:0,style:e.normalizeStyle(D.value),class:e.normalizeClass(e.unref(n).e("count"))},e.toDisplayString(N.value)+" / "+e.toDisplayString(e.unref(r).maxlength),7)):e.createCommentVNode("",!0)],64))],16,Ve)),[[e.vShow,o.type!=="hidden"]])}});exports.default=ze;
|
package/lib/package.json.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="0.0.
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e="0.0.364";exports.version=e;
|
package/lib/package.json.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vft",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.364",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "lib/index.cjs",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -55,12 +55,12 @@
|
|
|
55
55
|
"resize-detector": "0.3.0",
|
|
56
56
|
"sortablejs": "1.15.0",
|
|
57
57
|
"photoswipe": "5.4.4",
|
|
58
|
-
"@vft/constants": "0.0.72",
|
|
59
|
-
"@vft/store": "0.0.54",
|
|
60
58
|
"@vft/router": "0.0.65",
|
|
61
|
-
"@vft/
|
|
59
|
+
"@vft/utils": "0.0.131",
|
|
60
|
+
"@vft/store": "0.0.54",
|
|
61
|
+
"@vft/constants": "0.0.72",
|
|
62
62
|
"@vft/use": "0.0.77",
|
|
63
|
-
"@vft/
|
|
63
|
+
"@vft/directives": "0.0.33"
|
|
64
64
|
},
|
|
65
65
|
"vetur": {
|
|
66
66
|
"tags": "tags.json",
|
package/web-types.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"$schema":"http://json.schemastore.org/web-types","framework":"vue","name":"vft","version":"0.0.
|
|
1
|
+
{"$schema":"http://json.schemastore.org/web-types","framework":"vue","name":"vft","version":"0.0.364","js-types-syntax":"typescript","description-markup":"markdown","contributions":{"html":{}}}
|