3h1-ui 3.0.0-next.235 → 3.0.0-next.237
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/index.js +5 -3
- package/lib/index.js +4 -2
- package/package.json +1 -1
package/es/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent, createVNode, Transition, mergeProps, openBlock, createBlock, toHandlers, withCtx, renderSlot, computed, createElementBlock, normalizeClass, normalizeStyle as normalizeStyle$1, createElementVNode, ref, watch, onMounted, unref, nextTick, resolveComponent, getCurrentScope, onScopeDispose, getCurrentInstance, onUnmounted, readonly, watchEffect, Fragment, renderList, createCommentVNode, h as h$2, useSlots, resolveDynamicComponent, createTextVNode, toDisplayString, withDirectives, vShow, inject, provide, onBeforeUnmount, reactive, toRef, toRefs, TransitionGroup, shallowRef, isVNode, createSlots, normalizeProps, guardReactiveProps, toRaw, defineAsyncComponent, isRef, triggerRef, Comment, Text, cloneVNode, resolveDirective, onUpdated, withModifiers, onBeforeMount, Teleport, render as render$1, useAttrs as useAttrs$2, useCssVars } from "vue";
|
|
2
2
|
import { Input, Popover, Pagination as Pagination$1, Empty as Empty$3, Tooltip as Tooltip$2, Skeleton, Modal as Modal$2, Button as Button$1, ConfigProvider, Popconfirm, PageHeader, Space, Radio, Select, Tree, TreeSelect, Cascader, Transfer, Col as Col$1, Form as Form$1, Row as Row$1, Menu, Divider as Divider$1, Spin, FormItemRest as FormItemRest$1, InputNumber, AutoComplete, Switch, Checkbox, DatePicker as DatePicker$1, TimePicker as TimePicker$1, Dropdown, CheckboxGroup, Tag, Table, TableSummary, TableSummaryRow, TableSummaryCell, Image, Badge, FormItem as FormItem$3, Progress, Alert, Upload, theme, Collapse, CollapsePanel, Slider, Rate, Drawer, Avatar, Descriptions as Descriptions$2, DescriptionsItem as DescriptionsItem$1, Breadcrumb } from "ant-design-vue";
|
|
3
|
-
import { getSlot as getSlot$2, addClass as addClass$2, removeClass as removeClass$2, isString as isString$3, getPopupContainer, isArray as isArray$3, isFunction as isFunction$6, triggerWindowResize, off, on, addResizeListener, removeResizeListener, extendSlots as extendSlots$1, withInstall as withInstall$7, isNumber as isNumber$3, isBoolean as isBoolean$2, isNull, isObject as isObject$7, dateUtil, isNullOrUnDef, isDef as isDef$1, error as error$1, deepMerge as deepMerge$2,
|
|
3
|
+
import { getSlot as getSlot$2, addClass as addClass$2, removeClass as removeClass$2, isString as isString$3, getPopupContainer, isArray as isArray$3, isFunction as isFunction$6, triggerWindowResize, off, on, addResizeListener, removeResizeListener, extendSlots as extendSlots$1, withInstall as withInstall$7, isNumber as isNumber$3, isBoolean as isBoolean$2, isNull, isObject as isObject$7, dateUtil, isNullOrUnDef, isDef as isDef$1, error as error$1, deepMerge as deepMerge$2, getDynamicProps, forEach as forEach$1, isClient as isClient$1, buildProps, createBEM, filter, treeToList as treeToList$1, eachTree, isEmpty, findNodeAll, buildUUID, isServer, isNullAndUnDef, formatToDate, isMap as isMap$2, getViewportOffset, warn as warn$2, downloadByUrl, dataURLtoBlob, deepMergeObjects } from "@shy-plugins/utils";
|
|
4
4
|
import Iconify from "@purge-icons/generated";
|
|
5
5
|
import { useCopyToClipboard, useMessage, usePagination as usePagination$2, useDesign as useDesign$1, useTimeoutFn as useTimeoutFn$2, useScrollTo as useScrollTo$1, useIntersectionObserver, useTheme, useAttrs as useAttrs$1, useContentHeight, useRuleFormItem, useContext as useContext$1, createContext as createContext$2, onMountedOrActivated, useI18n as useI18n$1, useSortable } from "@shy-plugins/use";
|
|
6
6
|
import { isBoolean as isBoolean$1 } from "xe-utils";
|
|
@@ -25749,7 +25749,7 @@ const ShyForm = /* @__PURE__ */ defineComponent({
|
|
|
25749
25749
|
}
|
|
25750
25750
|
}
|
|
25751
25751
|
if ((_b = (_a2 = schema == null ? void 0 : schema.component) == null ? void 0 : _a2.includes) == null ? void 0 : _b.call(_a2, "Input")) {
|
|
25752
|
-
schema.defaultValue =
|
|
25752
|
+
schema.defaultValue = schema.defaultValue ?? "";
|
|
25753
25753
|
}
|
|
25754
25754
|
if (schema.component === "Table") {
|
|
25755
25755
|
schema.defaultValue = schema.defaultValue || reactive([]);
|
|
@@ -27203,7 +27203,9 @@ const BasicTree = /* @__PURE__ */ defineComponent({
|
|
|
27203
27203
|
"class": ((_a2 = unref(getBindValues)) == null ? void 0 : _a2.blockNode) ? `${bem("content")}` : ""
|
|
27204
27204
|
}, [createVNode("span", null, [title.substr(0, searchIdx)]), createVNode("span", {
|
|
27205
27205
|
"style": highlightStyle
|
|
27206
|
-
}, [searchText]), createVNode("span", null, [title.substr(searchIdx + searchText.length)])]) :
|
|
27206
|
+
}, [searchText]), createVNode("span", null, [title.substr(searchIdx + searchText.length)])]) : createVNode("span", {
|
|
27207
|
+
"title": title
|
|
27208
|
+
}, [title]);
|
|
27207
27209
|
item[titleField] = createVNode(Fragment, null, [createVNode("span", {
|
|
27208
27210
|
"class": `${prefixCls2}-node-title`,
|
|
27209
27211
|
"onClick": handleClickNode.bind(null, item[keyField], item[childrenField])
|
package/lib/index.js
CHANGED
|
@@ -25773,7 +25773,7 @@ const ShyForm = /* @__PURE__ */ vue.defineComponent({
|
|
|
25773
25773
|
}
|
|
25774
25774
|
}
|
|
25775
25775
|
if ((_b = (_a2 = schema == null ? void 0 : schema.component) == null ? void 0 : _a2.includes) == null ? void 0 : _b.call(_a2, "Input")) {
|
|
25776
|
-
schema.defaultValue =
|
|
25776
|
+
schema.defaultValue = schema.defaultValue ?? "";
|
|
25777
25777
|
}
|
|
25778
25778
|
if (schema.component === "Table") {
|
|
25779
25779
|
schema.defaultValue = schema.defaultValue || vue.reactive([]);
|
|
@@ -27227,7 +27227,9 @@ const BasicTree = /* @__PURE__ */ vue.defineComponent({
|
|
|
27227
27227
|
"class": ((_a2 = vue.unref(getBindValues)) == null ? void 0 : _a2.blockNode) ? `${bem("content")}` : ""
|
|
27228
27228
|
}, [vue.createVNode("span", null, [title.substr(0, searchIdx)]), vue.createVNode("span", {
|
|
27229
27229
|
"style": highlightStyle
|
|
27230
|
-
}, [searchText]), vue.createVNode("span", null, [title.substr(searchIdx + searchText.length)])]) :
|
|
27230
|
+
}, [searchText]), vue.createVNode("span", null, [title.substr(searchIdx + searchText.length)])]) : vue.createVNode("span", {
|
|
27231
|
+
"title": title
|
|
27232
|
+
}, [title]);
|
|
27231
27233
|
item[titleField] = vue.createVNode(vue.Fragment, null, [vue.createVNode("span", {
|
|
27232
27234
|
"class": `${prefixCls2}-node-title`,
|
|
27233
27235
|
"onClick": handleClickNode.bind(null, item[keyField], item[childrenField])
|