@das-fed/upf-ui 6.4.0-dev.134 → 6.4.0-dev.135
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/package.json +5 -5
- package/packages/components/cascader/index.js +25 -25
- package/packages/components/cascader/index.js.gz +0 -0
- package/packages/components/cascader/style.css +1 -1
- package/packages/components/cascader/style.css.gz +0 -0
- package/packages/components/form-item/index.js +711 -708
- package/packages/components/form-item/index.js.gz +0 -0
- package/packages/components/form-item/src/hooks/use-form.d.ts +1 -0
- package/packages/components/form-item/style.css +1 -1
- package/packages/components/form-item/style.css.gz +0 -0
- package/packages/components/tree-select/index.js +12 -11
- package/packages/components/tree-select/index.js.gz +0 -0
- package/packages/components/tree-v2/index.d.ts +16 -2
- package/packages/components/tree-v2/index.js +1944 -1920
- package/packages/components/tree-v2/index.js.gz +0 -0
- package/packages/components/tree-v2/src/App.vue.d.ts +4 -0
- package/packages/components/tree-v2/style.css +1 -1
- package/packages/components/tree-v2/style.css.gz +0 -0
|
Binary file
|
|
@@ -6,6 +6,7 @@ export declare const useForm: (formItemProps: FormItemProps, emit: Emits, isShow
|
|
|
6
6
|
erroredMode: import("vue").ComputedRef<"default" | "overlay" | undefined>;
|
|
7
7
|
innerError: import("vue").Ref<any, any>;
|
|
8
8
|
labelWidth: import("vue").ComputedRef<string>;
|
|
9
|
+
reqiuiredMarkerWidth: string;
|
|
9
10
|
formLabelMarginRight: import("vue").ComputedRef<string | undefined>;
|
|
10
11
|
contentWidth: import("vue").ComputedRef<string | undefined>;
|
|
11
12
|
flexConfig: import("vue").Ref<string | number, string | number>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.das-ui-form-item[data-v-
|
|
1
|
+
.das-ui-form-item[data-v-445b20a1]{display:flex;flex-direction:column;min-width:0}.das-ui-form-item.marin-right-0[data-v-445b20a1]{margin-right:0!important}.das-ui-form-item.top[data-v-445b20a1]{align-items:flex-start!important}.das-ui-form-item.top .das-ui-form-item-label[data-v-445b20a1]{margin-bottom:3px;margin-right:0!important}.das-ui-form-item.left[data-v-445b20a1]{flex-direction:row}.das-ui-form-item.left .das-ui-form-item-label[data-v-445b20a1]{text-align:left}.das-ui-form-item.right[data-v-445b20a1]{flex-direction:row}.das-ui-form-item.right .das-ui-form-item-label[data-v-445b20a1]{text-align:right}.das-ui-form-item.right .das-ui-form-item-label .label[data-v-445b20a1]{width:auto}.das-ui-form-item.flex-layout[data-v-445b20a1]{width:100%}.das-ui-form-item .das-ui-form-item-label[data-v-445b20a1]{flex-shrink:0}.das-ui-form-item .das-ui-form-item-label.size-small[data-v-445b20a1]{height:24px;line-height:24px;font-size:12px}.das-ui-form-item .das-ui-form-item-label.size-default[data-v-445b20a1]{height:32px;line-height:32px;font-size:14px}.das-ui-form-item .das-ui-form-item-label.size-large[data-v-445b20a1]{height:40px;line-height:40px;font-size:14px}.das-ui-form-item .das-ui-form-item-label .label[data-v-445b20a1]{width:fit-content;position:relative;max-width:100%;display:flex;align-items:center;color:var(--das-ui-form-label-normal)}.das-ui-form-item .das-ui-form-item-label .label .label-context[data-v-445b20a1]{width:100%;padding-left:var(--7e41732a)}.das-ui-form-item .das-ui-form-item-label .label .label-context .label-context-inner[data-v-445b20a1]{position:relative}.das-ui-form-item .das-ui-form-item-label .label .label-context .label-context-inner.required-mark[data-v-445b20a1]:before{content:"*";position:absolute;left:-8px;width:6px;color:var(--das-ui-form-error-label-color);font-weight:700}.das-ui-form-item .das-ui-form-item-label .label .help-icon-container[data-v-445b20a1]{height:100%;display:flex;align-items:center;justify-content:center}.das-ui-form-item .das-ui-form-container[data-v-445b20a1]{flex:1;display:flex;position:relative}.das-ui-form-item .das-ui-form-container .error-label[data-v-445b20a1]{position:absolute;height:22px;width:100%;font-size:12px;left:0;top:100%;line-height:18px;font-weight:400;letter-spacing:0;color:var(--das-ui-form-error-label-color);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.das-ui-form-item .das-ui-form-container .error-label--overlay[data-v-445b20a1]{position:absolute;width:100%;left:0;top:100%;background-color:var(--das-ui-color-overlay-error);box-shadow:0 4px 10px #0003;border-radius:1px;padding:2px 8px;box-sizing:border-box;font-size:12px;z-index:99;color:var(--das-ui-form-error-label-color)}.das-form-item-overlay-error-label-content[data-v-445b20a1]{position:absolute;top:100%;left:0;width:var(--5082fabe)}.das-ui-form-item.flex-layout .das-ui-form-container .das-ui-input{width:100%}
|
|
Binary file
|
|
@@ -5,9 +5,10 @@ import { ElPopover as We } from "element-plus";
|
|
|
5
5
|
import "element-plus/es/components/popover/style/css";
|
|
6
6
|
import { currentLang as Fe, t as Ie } from "@das-fed/upf-web/packages/i18n/index";
|
|
7
7
|
import { DasSelect as Ae } from "@das-fed/upf-ui/packages/components/select/index";
|
|
8
|
-
import {
|
|
9
|
-
import { DasIconXiala as
|
|
10
|
-
import { vDasTooltip as
|
|
8
|
+
import { DasTreeV2 as Ge } from "@das-fed/upf-ui/packages/components/tree-v2/index";
|
|
9
|
+
import { DasIconXiala as He } from "@das-fed/upf-ui/packages/icons/xiala/index";
|
|
10
|
+
import { vDasTooltip as ze } from "@das-fed/upf-ui/packages/components/text-tooltip/index";
|
|
11
|
+
import { DasTreeRef as Ue } from "@das-fed/upf-ui/packages/components/tree/index";
|
|
11
12
|
import { SizeWatcher as _e } from "@das-fed/upf-utils/size-watcher";
|
|
12
13
|
import { flatTree as qe } from "@das-fed/upf-utils/common-tools";
|
|
13
14
|
import { vClickOutside as Xe } from "@das-fed/upf-utils/directive";
|
|
@@ -125,7 +126,7 @@ function Xt(e, i, c) {
|
|
|
125
126
|
}
|
|
126
127
|
var Jt = Xt;
|
|
127
128
|
const Qt = /* @__PURE__ */ Qe(Jt), Yt = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc|%)$/.test(e), Q = (e) => typeof e == "string" && Yt(e) ? e : e + "px", Zt = (e, i, c, d, g, j) => {
|
|
128
|
-
const y = L(null), p = L(null), f =
|
|
129
|
+
const y = L(null), p = L(null), f = Ue(), x = L(), C = L(!1), T = L(""), V = L(""), h = b(() => e.mode === "multiple" || e.mode === "tags"), k = b(() => ({ label: "name", children: "children", pathName: "pathName", disabled: "disabled", ...d.props ?? {} })), W = Fe.value === "zh-CN" ? "," : ", ", u = b({
|
|
129
130
|
get: () => e.modelValue ? e.modelValue : void 0,
|
|
130
131
|
set: (t) => {
|
|
131
132
|
i("update:modelValue", t);
|
|
@@ -463,7 +464,7 @@ const Qt = /* @__PURE__ */ Qe(Jt), Yt = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|v
|
|
|
463
464
|
onClear: o(oe)
|
|
464
465
|
}), {
|
|
465
466
|
suffixIcon: R(() => [
|
|
466
|
-
X(o(
|
|
467
|
+
X(o(He), {
|
|
467
468
|
size: "medium",
|
|
468
469
|
style: { transition: "transform 0.5s" },
|
|
469
470
|
iconColor: o(E) ? "#5582F3" : "currentColor"
|
|
@@ -482,7 +483,7 @@ const Qt = /* @__PURE__ */ Qe(Jt), Yt = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|v
|
|
|
482
483
|
/* TEXT */
|
|
483
484
|
)
|
|
484
485
|
])), [
|
|
485
|
-
[o(
|
|
486
|
+
[o(ze)]
|
|
486
487
|
])
|
|
487
488
|
]),
|
|
488
489
|
default: R(() => [
|
|
@@ -497,7 +498,7 @@ const Qt = /* @__PURE__ */ Qe(Jt), Yt = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|v
|
|
|
497
498
|
}, ["stop"]))
|
|
498
499
|
},
|
|
499
500
|
[
|
|
500
|
-
X(o(
|
|
501
|
+
X(o(Ge), me({
|
|
501
502
|
ref_key: "$tree",
|
|
502
503
|
ref: M
|
|
503
504
|
}, o(j), {
|
|
@@ -580,9 +581,9 @@ const Qt = /* @__PURE__ */ Qe(Jt), Yt = (e) => /^[+-]?\d+(\.\d+)?(px|em|rem|vw|v
|
|
|
580
581
|
"--das-ui-tree-select-search-no-data": "#999999"
|
|
581
582
|
};
|
|
582
583
|
Je(rr);
|
|
583
|
-
const
|
|
584
|
+
const br = Ee(tr), gr = () => L(null), yr = { title: "tree-select 树选择" };
|
|
584
585
|
export {
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
586
|
+
br as DasTreeSelect,
|
|
587
|
+
gr as DasTreeSelectRef,
|
|
588
|
+
yr as default
|
|
588
589
|
};
|
|
Binary file
|
|
@@ -10,6 +10,8 @@ declare const DasTreeV2: import("@das-fed/upf-utils").SFCWithInstall<{
|
|
|
10
10
|
resetLazyLoad: () => Promise<boolean>;
|
|
11
11
|
autoExpand: () => Promise<boolean>;
|
|
12
12
|
searchClear: () => void;
|
|
13
|
+
lazyData: import("vue").Ref<any[], any[]>;
|
|
14
|
+
lazyDataNextTick: (val: string | string[]) => Promise<unknown>;
|
|
13
15
|
filterSeach: () => void;
|
|
14
16
|
handleSearch: () => Promise<void>;
|
|
15
17
|
getGrandChildrenFn: (data: any) => Promise<any>;
|
|
@@ -57,6 +59,8 @@ declare const DasTreeV2: import("@das-fed/upf-utils").SFCWithInstall<{
|
|
|
57
59
|
resetLazyLoad: () => Promise<boolean>;
|
|
58
60
|
autoExpand: () => Promise<boolean>;
|
|
59
61
|
searchClear: () => void;
|
|
62
|
+
lazyData: import("vue").Ref<any[], any[]>;
|
|
63
|
+
lazyDataNextTick: (val: string | string[]) => Promise<unknown>;
|
|
60
64
|
filterSeach: () => void;
|
|
61
65
|
handleSearch: () => Promise<void>;
|
|
62
66
|
getGrandChildrenFn: (data: any) => Promise<any>;
|
|
@@ -97,6 +101,8 @@ declare const DasTreeV2: import("@das-fed/upf-utils").SFCWithInstall<{
|
|
|
97
101
|
resetLazyLoad: () => Promise<boolean>;
|
|
98
102
|
autoExpand: () => Promise<boolean>;
|
|
99
103
|
searchClear: () => void;
|
|
104
|
+
lazyData: import("vue").Ref<any[], any[]>;
|
|
105
|
+
lazyDataNextTick: (val: string | string[]) => Promise<unknown>;
|
|
100
106
|
filterSeach: () => void;
|
|
101
107
|
handleSearch: () => Promise<void>;
|
|
102
108
|
getGrandChildrenFn: (data: any) => Promise<any>;
|
|
@@ -238,6 +244,8 @@ declare const DasTreeV2Ref: () => import("vue").Ref<({
|
|
|
238
244
|
resetLazyLoad: () => Promise<boolean>;
|
|
239
245
|
autoExpand: () => Promise<boolean>;
|
|
240
246
|
searchClear: () => void;
|
|
247
|
+
lazyData: import("vue").Ref<any[], any[]>;
|
|
248
|
+
lazyDataNextTick: (val: string | string[]) => Promise<unknown>;
|
|
241
249
|
filterSeach: () => void;
|
|
242
250
|
handleSearch: () => Promise<void>;
|
|
243
251
|
getGrandChildrenFn: (data: any) => Promise<any>;
|
|
@@ -310,7 +318,7 @@ declare const DasTreeV2Ref: () => import("vue").Ref<({
|
|
|
310
318
|
overlayZIndex: string;
|
|
311
319
|
}> & Omit<Readonly<import("./src/type.js").Props> & Readonly<{
|
|
312
320
|
[x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
|
|
313
|
-
}>, "findSelectableParentNode" | "filterSeach" | "handleSearch" | "treeRef" | "treeIsEmpty" | "childLinkParent" | "parentLinkChild" | "resetLazyLoad" | "autoExpand" | "searchClear" | "getGrandChildrenFn" | "setData" | ("props" | "data" | "modelValue" | "nodeKey" | "draggable" | "currentNodeKey" | "defaultExpandedKeys" | "defaultExpandedPaths" | "defaultExpandRoot" | "expandOnClickNode" | "checkStrictly" | "operationsLayout" | "maxNodeLevel" | "showFilterInput" | "inputOptions" | "emptyText" | "searchEmptyText" | "rootNodeId" | "renderDom" | "overlayZIndex")> & import("vue").ShallowUnwrapRef<{
|
|
321
|
+
}>, "findSelectableParentNode" | "filterSeach" | "handleSearch" | "treeRef" | "treeIsEmpty" | "childLinkParent" | "parentLinkChild" | "resetLazyLoad" | "autoExpand" | "searchClear" | "lazyData" | "lazyDataNextTick" | "getGrandChildrenFn" | "setData" | ("props" | "data" | "modelValue" | "nodeKey" | "draggable" | "currentNodeKey" | "defaultExpandedKeys" | "defaultExpandedPaths" | "defaultExpandRoot" | "expandOnClickNode" | "checkStrictly" | "operationsLayout" | "maxNodeLevel" | "showFilterInput" | "inputOptions" | "emptyText" | "searchEmptyText" | "rootNodeId" | "renderDom" | "overlayZIndex")> & import("vue").ShallowUnwrapRef<{
|
|
314
322
|
treeRef: import("vue").Ref<any, any>;
|
|
315
323
|
treeIsEmpty: import("vue").ComputedRef<boolean>;
|
|
316
324
|
findSelectableParentNode: (node: any, parentIdProps?: string) => any;
|
|
@@ -319,6 +327,8 @@ declare const DasTreeV2Ref: () => import("vue").Ref<({
|
|
|
319
327
|
resetLazyLoad: () => Promise<boolean>;
|
|
320
328
|
autoExpand: () => Promise<boolean>;
|
|
321
329
|
searchClear: () => void;
|
|
330
|
+
lazyData: import("vue").Ref<any[], any[]>;
|
|
331
|
+
lazyDataNextTick: (val: string | string[]) => Promise<unknown>;
|
|
322
332
|
filterSeach: () => void;
|
|
323
333
|
handleSearch: () => Promise<void>;
|
|
324
334
|
getGrandChildrenFn: (data: any) => Promise<any>;
|
|
@@ -433,6 +443,8 @@ declare const DasTreeV2Ref: () => import("vue").Ref<({
|
|
|
433
443
|
resetLazyLoad: () => Promise<boolean>;
|
|
434
444
|
autoExpand: () => Promise<boolean>;
|
|
435
445
|
searchClear: () => void;
|
|
446
|
+
lazyData: import("vue").Ref<any[], any[]>;
|
|
447
|
+
lazyDataNextTick: (val: string | string[]) => Promise<unknown>;
|
|
436
448
|
filterSeach: () => void;
|
|
437
449
|
handleSearch: () => Promise<void>;
|
|
438
450
|
getGrandChildrenFn: (data: any) => Promise<any>;
|
|
@@ -505,7 +517,7 @@ declare const DasTreeV2Ref: () => import("vue").Ref<({
|
|
|
505
517
|
overlayZIndex: string;
|
|
506
518
|
}> & Omit<Readonly<import("./src/type.js").Props> & Readonly<{
|
|
507
519
|
[x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
|
|
508
|
-
}>, "findSelectableParentNode" | "filterSeach" | "handleSearch" | "treeRef" | "treeIsEmpty" | "childLinkParent" | "parentLinkChild" | "resetLazyLoad" | "autoExpand" | "searchClear" | "getGrandChildrenFn" | "setData" | ("props" | "data" | "modelValue" | "nodeKey" | "draggable" | "currentNodeKey" | "defaultExpandedKeys" | "defaultExpandedPaths" | "defaultExpandRoot" | "expandOnClickNode" | "checkStrictly" | "operationsLayout" | "maxNodeLevel" | "showFilterInput" | "inputOptions" | "emptyText" | "searchEmptyText" | "rootNodeId" | "renderDom" | "overlayZIndex")> & import("vue").ShallowUnwrapRef<{
|
|
520
|
+
}>, "findSelectableParentNode" | "filterSeach" | "handleSearch" | "treeRef" | "treeIsEmpty" | "childLinkParent" | "parentLinkChild" | "resetLazyLoad" | "autoExpand" | "searchClear" | "lazyData" | "lazyDataNextTick" | "getGrandChildrenFn" | "setData" | ("props" | "data" | "modelValue" | "nodeKey" | "draggable" | "currentNodeKey" | "defaultExpandedKeys" | "defaultExpandedPaths" | "defaultExpandRoot" | "expandOnClickNode" | "checkStrictly" | "operationsLayout" | "maxNodeLevel" | "showFilterInput" | "inputOptions" | "emptyText" | "searchEmptyText" | "rootNodeId" | "renderDom" | "overlayZIndex")> & import("vue").ShallowUnwrapRef<{
|
|
509
521
|
treeRef: import("vue").Ref<any, any>;
|
|
510
522
|
treeIsEmpty: import("vue").ComputedRef<boolean>;
|
|
511
523
|
findSelectableParentNode: (node: any, parentIdProps?: string) => any;
|
|
@@ -514,6 +526,8 @@ declare const DasTreeV2Ref: () => import("vue").Ref<({
|
|
|
514
526
|
resetLazyLoad: () => Promise<boolean>;
|
|
515
527
|
autoExpand: () => Promise<boolean>;
|
|
516
528
|
searchClear: () => void;
|
|
529
|
+
lazyData: import("vue").Ref<any[], any[]>;
|
|
530
|
+
lazyDataNextTick: (val: string | string[]) => Promise<unknown>;
|
|
517
531
|
filterSeach: () => void;
|
|
518
532
|
handleSearch: () => Promise<void>;
|
|
519
533
|
getGrandChildrenFn: (data: any) => Promise<any>;
|