@uzum-tech/ui 1.2.4 → 1.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +436 -301
- package/dist/index.prod.js +2 -2
- package/es/_internal/icons/CheckmarkCircle.d.ts +2 -0
- package/es/_internal/icons/CheckmarkCircle.js +9 -0
- package/es/_internal/icons/DismissCircle.d.ts +2 -0
- package/es/_internal/icons/DismissCircle.js +9 -0
- package/es/_internal/icons/Edit.d.ts +2 -0
- package/es/_internal/icons/Edit.js +9 -0
- package/es/_internal/icons/index.d.ts +3 -0
- package/es/_internal/icons/index.js +3 -0
- package/es/_internal/select-menu/src/SelectMenu.d.ts +2 -0
- package/es/_internal/select-menu/src/SelectOption.js +1 -1
- package/es/_internal/selection/src/Selection.d.ts +2 -0
- package/es/_internal/selection/src/Selection.js +3 -1
- package/es/_styles/common/dark.js +1 -1
- package/es/_styles/common/light.d.ts +2 -0
- package/es/_styles/common/light.js +1 -1
- package/es/alert/src/Alert.d.ts +2 -0
- package/es/auto-complete/src/AutoComplete.d.ts +2 -0
- package/es/avatar-group/src/AvatarGroup.d.ts +2 -0
- package/es/calendar/src/Calendar.d.ts +2 -0
- package/es/card/src/Card.d.ts +2 -0
- package/es/cascader/src/Cascader.d.ts +2 -0
- package/es/cascader/src/CascaderMenu.d.ts +2 -0
- package/es/cascader/src/CascaderOption.d.ts +2 -0
- package/es/cascader/src/CascaderSelectMenu.d.ts +2 -0
- package/es/cascader/src/CascaderSubmenu.d.ts +2 -0
- package/es/checkbox/src/Checkbox.d.ts +2 -0
- package/es/collapse/src/Collapse.d.ts +2 -0
- package/es/color-picker/src/ColorInputUnit.d.ts +2 -0
- package/es/data-table/src/DataTable.d.ts +2 -0
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +2 -0
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +2 -0
- package/es/data-table/src/TableParts/Body.d.ts +2 -0
- package/es/data-table/src/TableParts/Cell.d.ts +4 -0
- package/es/data-table/src/TableParts/Header.d.ts +2 -0
- package/es/data-table/styles/light.js +2 -2
- package/es/date-picker/src/DatePicker.d.ts +2 -0
- package/es/date-picker/src/panel/date.d.ts +2 -0
- package/es/date-picker/src/panel/daterange.d.ts +2 -0
- package/es/date-picker/src/panel/datetime.d.ts +2 -0
- package/es/date-picker/src/panel/datetimerange.d.ts +2 -0
- package/es/date-picker/src/panel/panelMonth.d.ts +4 -0
- package/es/date-picker/src/panel/panelMonthContent.d.ts +2 -0
- package/es/date-picker/src/panel/panelYear.d.ts +4 -0
- package/es/date-picker/src/panel/panelYearContent.d.ts +2 -0
- package/es/date-picker/src/panel/use-calendar.d.ts +2 -0
- package/es/date-picker/src/panel/use-dual-calendar.d.ts +2 -0
- package/es/date-picker/src/panel/use-panel-common.d.ts +2 -0
- package/es/dialog/src/Dialog.d.ts +2 -0
- package/es/dialog/src/DialogProvider.d.ts +4 -0
- package/es/drawer/src/Drawer.d.ts +24 -0
- package/es/drawer/src/Drawer.js +4 -2
- package/es/drawer/src/DrawerBodyWrapper.d.ts +4 -0
- package/es/drawer/src/DrawerContent.d.ts +4 -0
- package/es/drawer/src/styles/index.cssr.js +4 -0
- package/es/drawer/styles/_common.d.ts +2 -0
- package/es/drawer/styles/_common.js +3 -1
- package/es/drawer/styles/light.d.ts +4 -0
- package/es/dropdown/src/Dropdown.d.ts +2 -0
- package/es/dynamic-input/src/DynamicInput.d.ts +2 -0
- package/es/dynamic-input/src/InputPreset.d.ts +2 -0
- package/es/dynamic-input/src/PairPreset.d.ts +2 -0
- package/es/dynamic-tags/src/DynamicTags.d.ts +2 -0
- package/es/ellipsis/src/Ellipsis.d.ts +2 -0
- package/es/input/src/Input.d.ts +2 -0
- package/es/input-number/src/InputNumber.d.ts +2 -0
- package/es/layout/src/Layout.d.ts +4 -0
- package/es/layout/src/LayoutContent.d.ts +2 -0
- package/es/layout/src/LayoutSider.d.ts +2 -0
- package/es/legacy-transfer/src/Transfer.d.ts +2 -0
- package/es/legacy-transfer/src/TransferFilter.d.ts +2 -0
- package/es/legacy-transfer/src/TransferList.d.ts +2 -0
- package/es/legacy-transfer/src/TransferListItem.d.ts +2 -0
- package/es/log/src/Log.d.ts +2 -0
- package/es/mention/src/Mention.d.ts +2 -0
- package/es/menu/src/Menu.d.ts +2 -0
- package/es/menu/src/MenuOption.d.ts +2 -0
- package/es/menu/src/Submenu.d.ts +2 -0
- package/es/modal/src/BodyWrapper.d.ts +2 -0
- package/es/notification/src/NotificationContainer.d.ts +2 -0
- package/es/pagination/src/Pagination.d.ts +2 -0
- package/es/popconfirm/src/Popconfirm.d.ts +2 -0
- package/es/popselect/src/Popselect.d.ts +2 -0
- package/es/popselect/src/PopselectPanel.d.ts +2 -0
- package/es/select/src/Select.d.ts +2 -0
- package/es/status/src/Status.d.ts +36 -6
- package/es/status/src/Status.js +28 -22
- package/es/status/src/interface.d.ts +3 -0
- package/es/status/src/interface.js +1 -0
- package/es/status/src/styles/index.cssr.js +5 -1
- package/es/status/styles/light.d.ts +2 -0
- package/es/status/styles/light.js +3 -1
- package/es/steps/src/Step.d.ts +12 -6
- package/es/steps/src/Step.js +77 -46
- package/es/steps/src/Steps.d.ts +63 -13
- package/es/steps/src/Steps.js +6 -2
- package/es/steps/src/interface.d.ts +13 -0
- package/es/steps/src/interface.js +1 -0
- package/es/steps/src/styles/index.cssr.js +24 -1
- package/es/steps/styles/light.d.ts +4 -0
- package/es/steps/styles/light.js +5 -1
- package/es/tag/src/Tag.js +1 -1
- package/es/tag/src/styles/index.cssr.js +0 -4
- package/es/theme-editor/src/ThemeEditor.d.ts +2 -0
- package/es/time-picker/src/Panel.d.ts +2 -0
- package/es/time-picker/src/TimePicker.d.ts +2 -0
- package/es/tooltip/src/Tooltip.d.ts +2 -0
- package/es/transfer/src/Transfer.d.ts +2 -0
- package/es/transfer/src/TransferFilter.d.ts +2 -0
- package/es/transfer/src/TransferList.d.ts +2 -0
- package/es/transfer/src/TransferListItem.d.ts +2 -0
- package/es/tree/src/Tree.d.ts +2 -0
- package/es/tree/src/TreeNodeCheckbox.d.ts +2 -0
- package/es/tree-select/src/TreeSelect.d.ts +2 -0
- package/es/upload/src/Upload.d.ts +3 -1
- package/es/upload/src/Upload.js +5 -4
- package/es/upload/src/UploadFile.d.ts +2 -0
- package/es/upload/src/UploadProgress.d.ts +2 -0
- package/es/upload/src/UploadTrigger.js +2 -2
- package/es/upload/src/interface.d.ts +2 -2
- package/es/upload/src/styles/index.cssr.js +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/lib/_internal/icons/CheckmarkCircle.d.ts +2 -0
- package/lib/_internal/icons/CheckmarkCircle.js +11 -0
- package/lib/_internal/icons/DismissCircle.d.ts +2 -0
- package/lib/_internal/icons/DismissCircle.js +11 -0
- package/lib/_internal/icons/Edit.d.ts +2 -0
- package/lib/_internal/icons/Edit.js +11 -0
- package/lib/_internal/icons/index.d.ts +3 -0
- package/lib/_internal/icons/index.js +7 -1
- package/lib/_internal/select-menu/src/SelectMenu.d.ts +2 -0
- package/lib/_internal/select-menu/src/SelectOption.js +5 -2
- package/lib/_internal/selection/src/Selection.d.ts +2 -0
- package/lib/_internal/selection/src/Selection.js +6 -4
- package/lib/_styles/common/dark.js +1 -1
- package/lib/_styles/common/light.d.ts +2 -0
- package/lib/_styles/common/light.js +1 -1
- package/lib/alert/src/Alert.d.ts +2 -0
- package/lib/auto-complete/src/AutoComplete.d.ts +2 -0
- package/lib/avatar-group/src/AvatarGroup.d.ts +2 -0
- package/lib/calendar/src/Calendar.d.ts +2 -0
- package/lib/card/src/Card.d.ts +2 -0
- package/lib/cascader/src/Cascader.d.ts +2 -0
- package/lib/cascader/src/CascaderMenu.d.ts +2 -0
- package/lib/cascader/src/CascaderOption.d.ts +2 -0
- package/lib/cascader/src/CascaderSelectMenu.d.ts +2 -0
- package/lib/cascader/src/CascaderSubmenu.d.ts +2 -0
- package/lib/checkbox/src/Checkbox.d.ts +2 -0
- package/lib/collapse/src/Collapse.d.ts +2 -0
- package/lib/color-picker/src/ColorInputUnit.d.ts +2 -0
- package/lib/data-table/src/DataTable.d.ts +2 -0
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +2 -0
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +2 -0
- package/lib/data-table/src/TableParts/Body.d.ts +2 -0
- package/lib/data-table/src/TableParts/Cell.d.ts +4 -0
- package/lib/data-table/src/TableParts/Header.d.ts +2 -0
- package/lib/data-table/styles/light.js +2 -2
- package/lib/date-picker/src/DatePicker.d.ts +2 -0
- package/lib/date-picker/src/panel/date.d.ts +2 -0
- package/lib/date-picker/src/panel/daterange.d.ts +2 -0
- package/lib/date-picker/src/panel/datetime.d.ts +2 -0
- package/lib/date-picker/src/panel/datetimerange.d.ts +2 -0
- package/lib/date-picker/src/panel/panelMonth.d.ts +4 -0
- package/lib/date-picker/src/panel/panelMonthContent.d.ts +2 -0
- package/lib/date-picker/src/panel/panelYear.d.ts +4 -0
- package/lib/date-picker/src/panel/panelYearContent.d.ts +2 -0
- package/lib/date-picker/src/panel/use-calendar.d.ts +2 -0
- package/lib/date-picker/src/panel/use-dual-calendar.d.ts +2 -0
- package/lib/date-picker/src/panel/use-panel-common.d.ts +2 -0
- package/lib/dialog/src/Dialog.d.ts +2 -0
- package/lib/dialog/src/DialogProvider.d.ts +4 -0
- package/lib/drawer/src/Drawer.d.ts +24 -0
- package/lib/drawer/src/Drawer.js +4 -2
- package/lib/drawer/src/DrawerBodyWrapper.d.ts +4 -0
- package/lib/drawer/src/DrawerContent.d.ts +4 -0
- package/lib/drawer/src/styles/index.cssr.js +4 -0
- package/lib/drawer/styles/_common.d.ts +2 -0
- package/lib/drawer/styles/_common.js +3 -1
- package/lib/drawer/styles/light.d.ts +4 -0
- package/lib/dropdown/src/Dropdown.d.ts +2 -0
- package/lib/dynamic-input/src/DynamicInput.d.ts +2 -0
- package/lib/dynamic-input/src/InputPreset.d.ts +2 -0
- package/lib/dynamic-input/src/PairPreset.d.ts +2 -0
- package/lib/dynamic-tags/src/DynamicTags.d.ts +2 -0
- package/lib/ellipsis/src/Ellipsis.d.ts +2 -0
- package/lib/input/src/Input.d.ts +2 -0
- package/lib/input-number/src/InputNumber.d.ts +2 -0
- package/lib/layout/src/Layout.d.ts +4 -0
- package/lib/layout/src/LayoutContent.d.ts +2 -0
- package/lib/layout/src/LayoutSider.d.ts +2 -0
- package/lib/legacy-transfer/src/Transfer.d.ts +2 -0
- package/lib/legacy-transfer/src/TransferFilter.d.ts +2 -0
- package/lib/legacy-transfer/src/TransferList.d.ts +2 -0
- package/lib/legacy-transfer/src/TransferListItem.d.ts +2 -0
- package/lib/log/src/Log.d.ts +2 -0
- package/lib/mention/src/Mention.d.ts +2 -0
- package/lib/menu/src/Menu.d.ts +2 -0
- package/lib/menu/src/MenuOption.d.ts +2 -0
- package/lib/menu/src/Submenu.d.ts +2 -0
- package/lib/modal/src/BodyWrapper.d.ts +2 -0
- package/lib/notification/src/NotificationContainer.d.ts +2 -0
- package/lib/pagination/src/Pagination.d.ts +2 -0
- package/lib/popconfirm/src/Popconfirm.d.ts +2 -0
- package/lib/popselect/src/Popselect.d.ts +2 -0
- package/lib/popselect/src/PopselectPanel.d.ts +2 -0
- package/lib/select/src/Select.d.ts +2 -0
- package/lib/status/src/Status.d.ts +36 -6
- package/lib/status/src/Status.js +27 -21
- package/lib/status/src/interface.d.ts +3 -0
- package/lib/status/src/interface.js +2 -0
- package/lib/status/src/styles/index.cssr.js +5 -1
- package/lib/status/styles/light.d.ts +2 -0
- package/lib/status/styles/light.js +3 -1
- package/lib/steps/src/Step.d.ts +12 -6
- package/lib/steps/src/Step.js +76 -45
- package/lib/steps/src/Steps.d.ts +63 -13
- package/lib/steps/src/Steps.js +6 -2
- package/lib/steps/src/interface.d.ts +13 -0
- package/lib/steps/src/interface.js +2 -0
- package/lib/steps/src/styles/index.cssr.js +24 -1
- package/lib/steps/styles/light.d.ts +4 -0
- package/lib/steps/styles/light.js +5 -1
- package/lib/tag/src/Tag.js +1 -1
- package/lib/tag/src/styles/index.cssr.js +0 -4
- package/lib/theme-editor/src/ThemeEditor.d.ts +2 -0
- package/lib/time-picker/src/Panel.d.ts +2 -0
- package/lib/time-picker/src/TimePicker.d.ts +2 -0
- package/lib/tooltip/src/Tooltip.d.ts +2 -0
- package/lib/transfer/src/Transfer.d.ts +2 -0
- package/lib/transfer/src/TransferFilter.d.ts +2 -0
- package/lib/transfer/src/TransferList.d.ts +2 -0
- package/lib/transfer/src/TransferListItem.d.ts +2 -0
- package/lib/tree/src/Tree.d.ts +2 -0
- package/lib/tree/src/TreeNodeCheckbox.d.ts +2 -0
- package/lib/tree-select/src/TreeSelect.d.ts +2 -0
- package/lib/upload/src/Upload.d.ts +3 -1
- package/lib/upload/src/Upload.js +5 -4
- package/lib/upload/src/UploadFile.d.ts +2 -0
- package/lib/upload/src/UploadProgress.d.ts +2 -0
- package/lib/upload/src/UploadTrigger.js +2 -2
- package/lib/upload/src/interface.d.ts +2 -2
- package/lib/upload/src/styles/index.cssr.js +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/web-types.json +29 -4
package/dist/index.js
CHANGED
|
@@ -34772,6 +34772,45 @@
|
|
|
34772
34772
|
}
|
|
34773
34773
|
});
|
|
34774
34774
|
|
|
34775
|
+
var EditIcon = vue.defineComponent({
|
|
34776
|
+
name: "Edit",
|
|
34777
|
+
render() {
|
|
34778
|
+
return /* @__PURE__ */ vue.h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /* @__PURE__ */ vue.h("g", { fill: "none" }, /* @__PURE__ */ vue.h(
|
|
34779
|
+
"path",
|
|
34780
|
+
{
|
|
34781
|
+
d: "M21.03 2.97a3.578 3.578 0 0 1 0 5.06L9.062 20a2.25 2.25 0 0 1-.999.58l-5.116 1.395a.75.75 0 0 1-.92-.921l1.395-5.116a2.25 2.25 0 0 1 .58-.999L15.97 2.97a3.578 3.578 0 0 1 5.06 0zM15 6.06L5.062 16a.75.75 0 0 0-.193.333l-1.05 3.85l3.85-1.05A.75.75 0 0 0 8 18.938L17.94 9L15 6.06zm2.03-2.03l-.97.97L19 7.94l.97-.97a2.079 2.079 0 0 0-2.94-2.94z",
|
|
34782
|
+
fill: "currentColor"
|
|
34783
|
+
}
|
|
34784
|
+
)));
|
|
34785
|
+
}
|
|
34786
|
+
});
|
|
34787
|
+
|
|
34788
|
+
var HistoryFinishIcon = vue.defineComponent({
|
|
34789
|
+
name: "CheckmarkCircle",
|
|
34790
|
+
render() {
|
|
34791
|
+
return /* @__PURE__ */ vue.h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /* @__PURE__ */ vue.h("g", { fill: "none" }, /* @__PURE__ */ vue.h(
|
|
34792
|
+
"path",
|
|
34793
|
+
{
|
|
34794
|
+
d: "M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2zm0 1.5a8.5 8.5 0 1 0 0 17a8.5 8.5 0 0 0 0-17zm-1.25 9.94l4.47-4.47a.75.75 0 0 1 1.133.976l-.073.084l-5 5a.75.75 0 0 1-.976.073l-.084-.073l-2.5-2.5a.75.75 0 0 1 .976-1.133l.084.073l1.97 1.97l4.47-4.47l-4.47 4.47z",
|
|
34795
|
+
fill: "currentColor"
|
|
34796
|
+
}
|
|
34797
|
+
)));
|
|
34798
|
+
}
|
|
34799
|
+
});
|
|
34800
|
+
|
|
34801
|
+
var HistoryErrorIcon = vue.defineComponent({
|
|
34802
|
+
name: "DismissCircle",
|
|
34803
|
+
render() {
|
|
34804
|
+
return /* @__PURE__ */ vue.h("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24" }, /* @__PURE__ */ vue.h("g", { fill: "none" }, /* @__PURE__ */ vue.h(
|
|
34805
|
+
"path",
|
|
34806
|
+
{
|
|
34807
|
+
d: "M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12S6.477 2 12 2zm0 1.5a8.5 8.5 0 1 0 0 17a8.5 8.5 0 0 0 0-17zm3.446 4.897l.084.073a.75.75 0 0 1 .073.976l-.073.084L13.061 12l2.47 2.47a.75.75 0 0 1 .072.976l-.073.084a.75.75 0 0 1-.976.073l-.084-.073L12 13.061l-2.47 2.47a.75.75 0 0 1-.976.072l-.084-.073a.75.75 0 0 1-.073-.976l.073-.084L10.939 12l-2.47-2.47a.75.75 0 0 1-.072-.976l.073-.084a.75.75 0 0 1 .976-.073l.084.073L12 10.939l2.47-2.47a.75.75 0 0 1 .976-.072z",
|
|
34808
|
+
fill: "currentColor"
|
|
34809
|
+
}
|
|
34810
|
+
)));
|
|
34811
|
+
}
|
|
34812
|
+
});
|
|
34813
|
+
|
|
34775
34814
|
var UIconSwitchTransition = vue.defineComponent({
|
|
34776
34815
|
name: "BaseIconSwitchTransition",
|
|
34777
34816
|
setup(_, { slots }) {
|
|
@@ -35433,8 +35472,11 @@
|
|
|
35433
35472
|
staticRed: "#F24835",
|
|
35434
35473
|
staticOrange: "#F48C2C",
|
|
35435
35474
|
staticGreen: "#09B849",
|
|
35475
|
+
staticDeepBlue: "#2F53CD",
|
|
35436
35476
|
staticErrorAccent: "#CB0000",
|
|
35437
|
-
shadowDepth2: "0 0 0 1px #424247"
|
|
35477
|
+
shadowDepth2: "0 0 0 1px #424247",
|
|
35478
|
+
// В дизайне тень вообще отсутствует, пока что пусть побудет визуально как border
|
|
35479
|
+
shadowDepth: "0px 8px 8px 0px rgba(255, 255, 255, 0.25)"
|
|
35438
35480
|
// В дизайне тень вообще отсутствует, пока что пусть побудет визуально как border
|
|
35439
35481
|
};
|
|
35440
35482
|
|
|
@@ -35497,8 +35539,10 @@
|
|
|
35497
35539
|
staticRed: "#F24835",
|
|
35498
35540
|
staticOrange: "#F48C2C",
|
|
35499
35541
|
staticGreen: "#09B849",
|
|
35542
|
+
staticDeepBlue: "#2F53CD",
|
|
35500
35543
|
staticErrorAccent: "#CB0000",
|
|
35501
|
-
shadowDepth2: "0px 20px 80px 0px rgba(0, 0, 0, 0.07)"
|
|
35544
|
+
shadowDepth2: "0px 20px 80px 0px rgba(0, 0, 0, 0.07)",
|
|
35545
|
+
shadowDepth: "0px 8px 8px 0px rgba(0, 0, 0, 0.25)"
|
|
35502
35546
|
};
|
|
35503
35547
|
|
|
35504
35548
|
const self$1j = vars => {
|
|
@@ -37362,6 +37406,188 @@
|
|
|
37362
37406
|
self: self$1g
|
|
37363
37407
|
};
|
|
37364
37408
|
|
|
37409
|
+
var style$1x = cB("base-account-option", `
|
|
37410
|
+
display: flex;
|
|
37411
|
+
align-items: center;
|
|
37412
|
+
position: relative;
|
|
37413
|
+
height: var(--u-height);
|
|
37414
|
+
`, [cE("icon", `
|
|
37415
|
+
display: flex;
|
|
37416
|
+
align-items: center;
|
|
37417
|
+
justify-content: center;
|
|
37418
|
+
flex-shrink: 0;
|
|
37419
|
+
width: var(--u-icon-width);
|
|
37420
|
+
height: var(--u-icon-height);
|
|
37421
|
+
margin: var(--u-icon-margin);
|
|
37422
|
+
font-size: var(--u-icon-size);
|
|
37423
|
+
`), cE("wrap", `
|
|
37424
|
+
width: 10px;
|
|
37425
|
+
flex-grow: 1;
|
|
37426
|
+
`), cE("label", `
|
|
37427
|
+
margin: var(--u-label-margin);
|
|
37428
|
+
color: var(--u-label-color);
|
|
37429
|
+
font-size: var(--u-label-font-size);
|
|
37430
|
+
font-weight: var(--u-label-font-weight);
|
|
37431
|
+
line-height: var(--u-label-line-height);
|
|
37432
|
+
text-overflow: ellipsis;
|
|
37433
|
+
overflow: hidden;
|
|
37434
|
+
`), cE("value", `
|
|
37435
|
+
font-size: var(--u-value-font-size);
|
|
37436
|
+
font-weight: var(--u-value-font-weight);
|
|
37437
|
+
line-height: var(--u-value-line-height);
|
|
37438
|
+
text-overflow: ellipsis;
|
|
37439
|
+
overflow: hidden;
|
|
37440
|
+
`), cM("avatar", [cE("icon", `
|
|
37441
|
+
width: var(--u-avatar-width);
|
|
37442
|
+
height: var(--u-avatar-height);
|
|
37443
|
+
border-radius: var(--u-avatar-radius);
|
|
37444
|
+
background: var(--u-avatar-color);
|
|
37445
|
+
color: var(--u-avatar-icon-color);
|
|
37446
|
+
font-size: var(--u-avatar-size);
|
|
37447
|
+
`)])]);
|
|
37448
|
+
|
|
37449
|
+
var commonVars$7 = {
|
|
37450
|
+
iconWidth: "44px",
|
|
37451
|
+
iconHeight: "44px",
|
|
37452
|
+
iconMargin: "0 16px 0 0",
|
|
37453
|
+
iconSize: "44px",
|
|
37454
|
+
labelMargin: "0 0 4px 0",
|
|
37455
|
+
avatarWidth: "44px",
|
|
37456
|
+
avatarHeight: "28px",
|
|
37457
|
+
avatarRadius: "4px",
|
|
37458
|
+
avatarSize: "16px"
|
|
37459
|
+
};
|
|
37460
|
+
|
|
37461
|
+
const self$1f = vars => {
|
|
37462
|
+
const {
|
|
37463
|
+
heightHuge,
|
|
37464
|
+
fontBodyLarge,
|
|
37465
|
+
fontTitleMedium,
|
|
37466
|
+
lineHeightBodyLarge,
|
|
37467
|
+
lineHeightTitleMedium,
|
|
37468
|
+
fontWeight,
|
|
37469
|
+
fontWeightStrong,
|
|
37470
|
+
textSecondary,
|
|
37471
|
+
elementsPrimary,
|
|
37472
|
+
elementsSecondary
|
|
37473
|
+
} = vars;
|
|
37474
|
+
return {
|
|
37475
|
+
...commonVars$7,
|
|
37476
|
+
height: heightHuge,
|
|
37477
|
+
labelColor: textSecondary,
|
|
37478
|
+
labelFontSize: fontBodyLarge,
|
|
37479
|
+
labelFontWeight: fontWeight,
|
|
37480
|
+
labelLineHeight: lineHeightBodyLarge,
|
|
37481
|
+
valueFontSize: fontTitleMedium,
|
|
37482
|
+
valueFontWeight: fontWeightStrong,
|
|
37483
|
+
valueLineHeight: lineHeightTitleMedium,
|
|
37484
|
+
avatarColor: elementsPrimary,
|
|
37485
|
+
avatarIconColor: elementsSecondary
|
|
37486
|
+
};
|
|
37487
|
+
};
|
|
37488
|
+
const accountOptionLight = {
|
|
37489
|
+
name: "AccountOption",
|
|
37490
|
+
common: derived,
|
|
37491
|
+
self: self$1f
|
|
37492
|
+
};
|
|
37493
|
+
|
|
37494
|
+
const accountOptionDark = {
|
|
37495
|
+
name: "AccountOption",
|
|
37496
|
+
common: derived$1,
|
|
37497
|
+
self: self$1f
|
|
37498
|
+
};
|
|
37499
|
+
|
|
37500
|
+
var UBaseAccountOption = vue.defineComponent({
|
|
37501
|
+
name: "BaseClear",
|
|
37502
|
+
inheritAttrs: false,
|
|
37503
|
+
props: {
|
|
37504
|
+
...useTheme.props,
|
|
37505
|
+
icon: Function,
|
|
37506
|
+
avatar: Function,
|
|
37507
|
+
label: [String, Object],
|
|
37508
|
+
value: [String, Number]
|
|
37509
|
+
},
|
|
37510
|
+
setup(props) {
|
|
37511
|
+
const { mergedClsPrefixRef } = useConfig(props);
|
|
37512
|
+
const themeRef = useTheme(
|
|
37513
|
+
"AccountOption",
|
|
37514
|
+
"-base-account-option",
|
|
37515
|
+
style$1x,
|
|
37516
|
+
accountOptionLight,
|
|
37517
|
+
props,
|
|
37518
|
+
mergedClsPrefixRef
|
|
37519
|
+
);
|
|
37520
|
+
const cssVarsRef = vue.computed(() => {
|
|
37521
|
+
const {
|
|
37522
|
+
self: {
|
|
37523
|
+
height,
|
|
37524
|
+
iconWidth,
|
|
37525
|
+
iconHeight,
|
|
37526
|
+
iconMargin,
|
|
37527
|
+
iconSize,
|
|
37528
|
+
labelMargin,
|
|
37529
|
+
labelColor,
|
|
37530
|
+
labelFontSize,
|
|
37531
|
+
labelFontWeight,
|
|
37532
|
+
labelLineHeight,
|
|
37533
|
+
valueFontSize,
|
|
37534
|
+
valueFontWeight,
|
|
37535
|
+
valueLineHeight,
|
|
37536
|
+
avatarWidth,
|
|
37537
|
+
avatarHeight,
|
|
37538
|
+
avatarRadius,
|
|
37539
|
+
avatarColor,
|
|
37540
|
+
avatarIconColor,
|
|
37541
|
+
avatarSize
|
|
37542
|
+
}
|
|
37543
|
+
} = themeRef.value;
|
|
37544
|
+
return {
|
|
37545
|
+
"--u-height": height,
|
|
37546
|
+
"--u-icon-width": iconWidth,
|
|
37547
|
+
"--u-icon-height": iconHeight,
|
|
37548
|
+
"--u-icon-margin": iconMargin,
|
|
37549
|
+
"--u-icon-size": iconSize,
|
|
37550
|
+
"--u-label-margin": labelMargin,
|
|
37551
|
+
"--u-label-color": labelColor,
|
|
37552
|
+
"--u-label-font-size": labelFontSize,
|
|
37553
|
+
"--u-label-font-weight": labelFontWeight,
|
|
37554
|
+
"--u-label-line-height": labelLineHeight,
|
|
37555
|
+
"--u-value-font-size": valueFontSize,
|
|
37556
|
+
"--u-value-font-weight": valueFontWeight,
|
|
37557
|
+
"--u-value-line-height": valueLineHeight,
|
|
37558
|
+
"--u-avatar-width": avatarWidth,
|
|
37559
|
+
"--u-avatar-height": avatarHeight,
|
|
37560
|
+
"--u-avatar-radius": avatarRadius,
|
|
37561
|
+
"--u-avatar-color": avatarColor,
|
|
37562
|
+
"--u-avatar-icon-color": avatarIconColor,
|
|
37563
|
+
"--u-avatar-size": avatarSize
|
|
37564
|
+
};
|
|
37565
|
+
});
|
|
37566
|
+
return {
|
|
37567
|
+
mergedClsPrefix: mergedClsPrefixRef,
|
|
37568
|
+
cssVars: cssVarsRef
|
|
37569
|
+
};
|
|
37570
|
+
},
|
|
37571
|
+
render() {
|
|
37572
|
+
const { mergedClsPrefix, cssVars } = this;
|
|
37573
|
+
const icon = this.avatar || this.icon ? /* @__PURE__ */ vue.h("div", { class: `${mergedClsPrefix}-base-account-option__icon` }, /* @__PURE__ */ vue.h(UBaseIcon, { clsPrefix: mergedClsPrefix }, {
|
|
37574
|
+
default: this.avatar || this.icon
|
|
37575
|
+
})) : null;
|
|
37576
|
+
return /* @__PURE__ */ vue.h(
|
|
37577
|
+
"div",
|
|
37578
|
+
{
|
|
37579
|
+
class: [
|
|
37580
|
+
`${mergedClsPrefix}-base-account-option`,
|
|
37581
|
+
this.avatar && `${mergedClsPrefix}-base-account-option--avatar`
|
|
37582
|
+
],
|
|
37583
|
+
style: cssVars
|
|
37584
|
+
},
|
|
37585
|
+
icon,
|
|
37586
|
+
/* @__PURE__ */ vue.h("div", { class: `${mergedClsPrefix}-base-account-option__wrap` }, /* @__PURE__ */ vue.h("div", { class: `${mergedClsPrefix}-base-account-option__label` }, this.label), /* @__PURE__ */ vue.h("div", { class: `${mergedClsPrefix}-base-account-option__value` }, this.value))
|
|
37587
|
+
);
|
|
37588
|
+
}
|
|
37589
|
+
});
|
|
37590
|
+
|
|
37365
37591
|
function renderCheckMark(show, clsPrefix) {
|
|
37366
37592
|
return /* @__PURE__ */ vue.h(vue.Transition, { name: "fade-in-scale-up-transition" }, {
|
|
37367
37593
|
default: () => show ? /* @__PURE__ */ vue.h(
|
|
@@ -37595,7 +37821,7 @@
|
|
|
37595
37821
|
})];
|
|
37596
37822
|
}
|
|
37597
37823
|
|
|
37598
|
-
var style$
|
|
37824
|
+
var style$1w = cB("base-select-menu", `
|
|
37599
37825
|
line-height: 1.5;
|
|
37600
37826
|
outline: none;
|
|
37601
37827
|
z-index: 0;
|
|
@@ -37779,7 +38005,7 @@
|
|
|
37779
38005
|
const themeRef = useTheme(
|
|
37780
38006
|
"InternalSelectMenu",
|
|
37781
38007
|
"-internal-select-menu",
|
|
37782
|
-
style$
|
|
38008
|
+
style$1w,
|
|
37783
38009
|
internalSelectMenuLight,
|
|
37784
38010
|
props,
|
|
37785
38011
|
vue.toRef(props, "clsPrefix")
|
|
@@ -38228,7 +38454,7 @@
|
|
|
38228
38454
|
}
|
|
38229
38455
|
});
|
|
38230
38456
|
|
|
38231
|
-
var style$
|
|
38457
|
+
var style$1v = cB("base-wave", `
|
|
38232
38458
|
position: absolute;
|
|
38233
38459
|
left: 0;
|
|
38234
38460
|
right: 0;
|
|
@@ -38246,7 +38472,7 @@
|
|
|
38246
38472
|
}
|
|
38247
38473
|
},
|
|
38248
38474
|
setup(props) {
|
|
38249
|
-
useStyle("-base-wave", style$
|
|
38475
|
+
useStyle("-base-wave", style$1v, vue.toRef(props, "clsPrefix"));
|
|
38250
38476
|
const selfRef = vue.ref(null);
|
|
38251
38477
|
const activeRef = vue.ref(false);
|
|
38252
38478
|
let animationTimerId = null;
|
|
@@ -38291,7 +38517,7 @@
|
|
|
38291
38517
|
}
|
|
38292
38518
|
});
|
|
38293
38519
|
|
|
38294
|
-
var style$
|
|
38520
|
+
var style$1u = cB("base-menu-mask", `
|
|
38295
38521
|
position: absolute;
|
|
38296
38522
|
left: 0;
|
|
38297
38523
|
right: 0;
|
|
@@ -38314,7 +38540,7 @@
|
|
|
38314
38540
|
}
|
|
38315
38541
|
},
|
|
38316
38542
|
setup(props) {
|
|
38317
|
-
useStyle("-base-menu-mask", style$
|
|
38543
|
+
useStyle("-base-menu-mask", style$1u, vue.toRef(props, "clsPrefix"));
|
|
38318
38544
|
const messageRef = vue.ref(null);
|
|
38319
38545
|
let timerId = null;
|
|
38320
38546
|
const uncontrolledShowRef = vue.ref(false);
|
|
@@ -38348,7 +38574,7 @@
|
|
|
38348
38574
|
}
|
|
38349
38575
|
});
|
|
38350
38576
|
|
|
38351
|
-
const self$
|
|
38577
|
+
const self$1e = vars => {
|
|
38352
38578
|
const {
|
|
38353
38579
|
fontBodyMedium,
|
|
38354
38580
|
containerPrimary,
|
|
@@ -38375,13 +38601,13 @@
|
|
|
38375
38601
|
const popoverLight = {
|
|
38376
38602
|
name: "Popover",
|
|
38377
38603
|
common: derived,
|
|
38378
|
-
self: self$
|
|
38604
|
+
self: self$1e
|
|
38379
38605
|
};
|
|
38380
38606
|
|
|
38381
38607
|
const popoverDark = {
|
|
38382
38608
|
name: "Popover",
|
|
38383
38609
|
common: derived$1,
|
|
38384
|
-
self: self$
|
|
38610
|
+
self: self$1e
|
|
38385
38611
|
};
|
|
38386
38612
|
|
|
38387
38613
|
const oppositePlacement = {
|
|
@@ -38391,7 +38617,7 @@
|
|
|
38391
38617
|
right: "left"
|
|
38392
38618
|
};
|
|
38393
38619
|
const arrowSize = "var(--u-arrow-height) * 1.414";
|
|
38394
|
-
var style$
|
|
38620
|
+
var style$1t = c$1([cB("popover", `
|
|
38395
38621
|
transition:
|
|
38396
38622
|
box-shadow .3s var(--u-bezier),
|
|
38397
38623
|
background-color .3s var(--u-bezier),
|
|
@@ -38582,7 +38808,7 @@
|
|
|
38582
38808
|
const themeRef = useTheme(
|
|
38583
38809
|
"Popover",
|
|
38584
38810
|
"-popover",
|
|
38585
|
-
style$
|
|
38811
|
+
style$1t,
|
|
38586
38812
|
popoverLight,
|
|
38587
38813
|
props,
|
|
38588
38814
|
mergedClsPrefixRef
|
|
@@ -39387,7 +39613,7 @@
|
|
|
39387
39613
|
}
|
|
39388
39614
|
});
|
|
39389
39615
|
|
|
39390
|
-
const self$
|
|
39616
|
+
const self$1d = vars => {
|
|
39391
39617
|
const {
|
|
39392
39618
|
opacityDisabled,
|
|
39393
39619
|
borderRadiusSmall: borderRadius,
|
|
@@ -39561,13 +39787,13 @@
|
|
|
39561
39787
|
const tagLight = {
|
|
39562
39788
|
name: "Tag",
|
|
39563
39789
|
common: derived,
|
|
39564
|
-
self: self$
|
|
39790
|
+
self: self$1d
|
|
39565
39791
|
};
|
|
39566
39792
|
|
|
39567
39793
|
const tagDark = {
|
|
39568
39794
|
name: "Tag",
|
|
39569
39795
|
common: derived$1,
|
|
39570
|
-
self: self$
|
|
39796
|
+
self: self$1d
|
|
39571
39797
|
};
|
|
39572
39798
|
|
|
39573
39799
|
var rtlStyle$q = cB("tag", [cM("rtl", `
|
|
@@ -39614,7 +39840,7 @@
|
|
|
39614
39840
|
}
|
|
39615
39841
|
};
|
|
39616
39842
|
|
|
39617
|
-
var style$
|
|
39843
|
+
var style$1s = cB("tag", `
|
|
39618
39844
|
white-space: nowrap;
|
|
39619
39845
|
position: relative;
|
|
39620
39846
|
box-sizing: border-box;
|
|
@@ -39682,15 +39908,11 @@
|
|
|
39682
39908
|
box-shadow: none;
|
|
39683
39909
|
color: var(--u-text-color-checkable);
|
|
39684
39910
|
background-color: var(--u-color-checkable);
|
|
39685
|
-
border: var(--u-border);
|
|
39686
|
-
border-color: var(--u-color);
|
|
39687
39911
|
transition: border-color .3s var(--u-bezier);
|
|
39688
39912
|
`, [cNotM("disabled", [c$1("&:hover", "background-color: var(--u-color-hover-checkable);", [cNotM("checked", "color: var(--u-text-color-hover-checkable);")]), c$1("&:focus", `
|
|
39689
|
-
background-color: var(--u-color-pressed-checkable);
|
|
39690
|
-
border: var(--u-border);
|
|
39913
|
+
background-color: var(--u-color-pressed-checkable);
|
|
39691
39914
|
transition: border-color .3s var(--u-bezier);`, [cNotM("checked", "color: var(--u-text-color-pressed-checkable);")]), c$1("&:active", `
|
|
39692
39915
|
background-color: var(--u-color-pressed-checkable);
|
|
39693
|
-
border: var(--u-border);
|
|
39694
39916
|
transition: border-color .3s var(--u-bezier);`, [cNotM("checked", "color: var(--u-text-color-pressed-checkable);")])]), cM("checked", `
|
|
39695
39917
|
color: var(--u-text-color-checked);
|
|
39696
39918
|
background-color: var(--u-color-checked);
|
|
@@ -39749,7 +39971,7 @@
|
|
|
39749
39971
|
const themeRef = useTheme(
|
|
39750
39972
|
"Tag",
|
|
39751
39973
|
"-tag",
|
|
39752
|
-
style$
|
|
39974
|
+
style$1s,
|
|
39753
39975
|
tagLight,
|
|
39754
39976
|
props,
|
|
39755
39977
|
mergedClsPrefixRef
|
|
@@ -39958,7 +40180,7 @@
|
|
|
39958
40180
|
absolute: true
|
|
39959
40181
|
}
|
|
39960
40182
|
) : null,
|
|
39961
|
-
|
|
40183
|
+
this.mergedBordered ? /* @__PURE__ */ vue.h(
|
|
39962
40184
|
"div",
|
|
39963
40185
|
{
|
|
39964
40186
|
class: `${mergedClsPrefix}-tag__border`,
|
|
@@ -39969,7 +40191,7 @@
|
|
|
39969
40191
|
}
|
|
39970
40192
|
});
|
|
39971
40193
|
|
|
39972
|
-
var style$
|
|
40194
|
+
var style$1r = cB("base-clear", `
|
|
39973
40195
|
flex-shrink: 0;
|
|
39974
40196
|
height: 1em;
|
|
39975
40197
|
width: 1em;
|
|
@@ -40010,7 +40232,7 @@
|
|
|
40010
40232
|
onClear: Function
|
|
40011
40233
|
},
|
|
40012
40234
|
setup(props) {
|
|
40013
|
-
useStyle("-base-clear", style$
|
|
40235
|
+
useStyle("-base-clear", style$1r, vue.toRef(props, "clsPrefix"));
|
|
40014
40236
|
return {
|
|
40015
40237
|
handleMouseDown(e) {
|
|
40016
40238
|
e.preventDefault();
|
|
@@ -40104,7 +40326,7 @@
|
|
|
40104
40326
|
}
|
|
40105
40327
|
});
|
|
40106
40328
|
|
|
40107
|
-
const self$
|
|
40329
|
+
const self$1c = vars => {
|
|
40108
40330
|
const {
|
|
40109
40331
|
borderRadius,
|
|
40110
40332
|
iconMedium,
|
|
@@ -40265,7 +40487,7 @@
|
|
|
40265
40487
|
peers: {
|
|
40266
40488
|
Popover: popoverLight
|
|
40267
40489
|
},
|
|
40268
|
-
self: self$
|
|
40490
|
+
self: self$1c
|
|
40269
40491
|
});
|
|
40270
40492
|
|
|
40271
40493
|
const internalSelectionDark = {
|
|
@@ -40274,7 +40496,7 @@
|
|
|
40274
40496
|
peers: {
|
|
40275
40497
|
Popover: popoverDark
|
|
40276
40498
|
},
|
|
40277
|
-
self: self$
|
|
40499
|
+
self: self$1c
|
|
40278
40500
|
};
|
|
40279
40501
|
|
|
40280
40502
|
function generateSecondaryStates(state) {
|
|
@@ -40298,7 +40520,7 @@
|
|
|
40298
40520
|
color: var(--u-arrow-color${state}-secondary);
|
|
40299
40521
|
`)])];
|
|
40300
40522
|
}
|
|
40301
|
-
var style$
|
|
40523
|
+
var style$1q = c$1([cB("base-selection", `
|
|
40302
40524
|
position: relative;
|
|
40303
40525
|
z-index: auto;
|
|
40304
40526
|
box-shadow: none;
|
|
@@ -40647,7 +40869,7 @@
|
|
|
40647
40869
|
const themeRef = useTheme(
|
|
40648
40870
|
"InternalSelection",
|
|
40649
40871
|
"-internal-selection",
|
|
40650
|
-
style$
|
|
40872
|
+
style$1q,
|
|
40651
40873
|
internalSelectionLight,
|
|
40652
40874
|
props,
|
|
40653
40875
|
vue.toRef(props, "clsPrefix")
|
|
@@ -41728,7 +41950,7 @@
|
|
|
41728
41950
|
})];
|
|
41729
41951
|
}
|
|
41730
41952
|
|
|
41731
|
-
var style$
|
|
41953
|
+
var style$1p = c$1([c$1("@keyframes u-base-slot-machine-fade-up-in", `
|
|
41732
41954
|
from {
|
|
41733
41955
|
transform: translateY(60%);
|
|
41734
41956
|
opacity: 0;
|
|
@@ -41847,7 +42069,7 @@
|
|
|
41847
42069
|
}
|
|
41848
42070
|
},
|
|
41849
42071
|
setup(props) {
|
|
41850
|
-
useStyle("-base-slot-machine", style$
|
|
42072
|
+
useStyle("-base-slot-machine", style$1p, vue.toRef(props, "clsPrefix"));
|
|
41851
42073
|
const oldValueRef = vue.ref();
|
|
41852
42074
|
const newValueRef = vue.ref();
|
|
41853
42075
|
const numbersRef = vue.computed(() => {
|
|
@@ -42205,188 +42427,6 @@
|
|
|
42205
42427
|
};
|
|
42206
42428
|
}
|
|
42207
42429
|
|
|
42208
|
-
var style$1p = cB("base-account-option", `
|
|
42209
|
-
display: flex;
|
|
42210
|
-
align-items: center;
|
|
42211
|
-
position: relative;
|
|
42212
|
-
height: var(--u-height);
|
|
42213
|
-
`, [cE("icon", `
|
|
42214
|
-
display: flex;
|
|
42215
|
-
align-items: center;
|
|
42216
|
-
justify-content: center;
|
|
42217
|
-
flex-shrink: 0;
|
|
42218
|
-
width: var(--u-icon-width);
|
|
42219
|
-
height: var(--u-icon-height);
|
|
42220
|
-
margin: var(--u-icon-margin);
|
|
42221
|
-
font-size: var(--u-icon-size);
|
|
42222
|
-
`), cE("wrap", `
|
|
42223
|
-
width: 10px;
|
|
42224
|
-
flex-grow: 1;
|
|
42225
|
-
`), cE("label", `
|
|
42226
|
-
margin: var(--u-label-margin);
|
|
42227
|
-
color: var(--u-label-color);
|
|
42228
|
-
font-size: var(--u-label-font-size);
|
|
42229
|
-
font-weight: var(--u-label-font-weight);
|
|
42230
|
-
line-height: var(--u-label-line-height);
|
|
42231
|
-
text-overflow: ellipsis;
|
|
42232
|
-
overflow: hidden;
|
|
42233
|
-
`), cE("value", `
|
|
42234
|
-
font-size: var(--u-value-font-size);
|
|
42235
|
-
font-weight: var(--u-value-font-weight);
|
|
42236
|
-
line-height: var(--u-value-line-height);
|
|
42237
|
-
text-overflow: ellipsis;
|
|
42238
|
-
overflow: hidden;
|
|
42239
|
-
`), cM("avatar", [cE("icon", `
|
|
42240
|
-
width: var(--u-avatar-width);
|
|
42241
|
-
height: var(--u-avatar-height);
|
|
42242
|
-
border-radius: var(--u-avatar-radius);
|
|
42243
|
-
background: var(--u-avatar-color);
|
|
42244
|
-
color: var(--u-avatar-icon-color);
|
|
42245
|
-
font-size: var(--u-avatar-size);
|
|
42246
|
-
`)])]);
|
|
42247
|
-
|
|
42248
|
-
var commonVars$7 = {
|
|
42249
|
-
iconWidth: "44px",
|
|
42250
|
-
iconHeight: "44px",
|
|
42251
|
-
iconMargin: "0 16px 0 0",
|
|
42252
|
-
iconSize: "44px",
|
|
42253
|
-
labelMargin: "0 0 4px 0",
|
|
42254
|
-
avatarWidth: "44px",
|
|
42255
|
-
avatarHeight: "28px",
|
|
42256
|
-
avatarRadius: "4px",
|
|
42257
|
-
avatarSize: "16px"
|
|
42258
|
-
};
|
|
42259
|
-
|
|
42260
|
-
const self$1c = vars => {
|
|
42261
|
-
const {
|
|
42262
|
-
heightHuge,
|
|
42263
|
-
fontBodyLarge,
|
|
42264
|
-
fontTitleMedium,
|
|
42265
|
-
lineHeightBodyLarge,
|
|
42266
|
-
lineHeightTitleMedium,
|
|
42267
|
-
fontWeight,
|
|
42268
|
-
fontWeightStrong,
|
|
42269
|
-
textSecondary,
|
|
42270
|
-
elementsPrimary,
|
|
42271
|
-
elementsSecondary
|
|
42272
|
-
} = vars;
|
|
42273
|
-
return {
|
|
42274
|
-
...commonVars$7,
|
|
42275
|
-
height: heightHuge,
|
|
42276
|
-
labelColor: textSecondary,
|
|
42277
|
-
labelFontSize: fontBodyLarge,
|
|
42278
|
-
labelFontWeight: fontWeight,
|
|
42279
|
-
labelLineHeight: lineHeightBodyLarge,
|
|
42280
|
-
valueFontSize: fontTitleMedium,
|
|
42281
|
-
valueFontWeight: fontWeightStrong,
|
|
42282
|
-
valueLineHeight: lineHeightTitleMedium,
|
|
42283
|
-
avatarColor: elementsPrimary,
|
|
42284
|
-
avatarIconColor: elementsSecondary
|
|
42285
|
-
};
|
|
42286
|
-
};
|
|
42287
|
-
const accountOptionLight = {
|
|
42288
|
-
name: "AccountOption",
|
|
42289
|
-
common: derived,
|
|
42290
|
-
self: self$1c
|
|
42291
|
-
};
|
|
42292
|
-
|
|
42293
|
-
const accountOptionDark = {
|
|
42294
|
-
name: "AccountOption",
|
|
42295
|
-
common: derived$1,
|
|
42296
|
-
self: self$1c
|
|
42297
|
-
};
|
|
42298
|
-
|
|
42299
|
-
var UBaseAccountOption = vue.defineComponent({
|
|
42300
|
-
name: "BaseClear",
|
|
42301
|
-
inheritAttrs: false,
|
|
42302
|
-
props: {
|
|
42303
|
-
...useTheme.props,
|
|
42304
|
-
icon: Function,
|
|
42305
|
-
avatar: Function,
|
|
42306
|
-
label: [String, Object],
|
|
42307
|
-
value: [String, Number]
|
|
42308
|
-
},
|
|
42309
|
-
setup(props) {
|
|
42310
|
-
const { mergedClsPrefixRef } = useConfig(props);
|
|
42311
|
-
const themeRef = useTheme(
|
|
42312
|
-
"AccountOption",
|
|
42313
|
-
"-base-account-option",
|
|
42314
|
-
style$1p,
|
|
42315
|
-
accountOptionLight,
|
|
42316
|
-
props,
|
|
42317
|
-
mergedClsPrefixRef
|
|
42318
|
-
);
|
|
42319
|
-
const cssVarsRef = vue.computed(() => {
|
|
42320
|
-
const {
|
|
42321
|
-
self: {
|
|
42322
|
-
height,
|
|
42323
|
-
iconWidth,
|
|
42324
|
-
iconHeight,
|
|
42325
|
-
iconMargin,
|
|
42326
|
-
iconSize,
|
|
42327
|
-
labelMargin,
|
|
42328
|
-
labelColor,
|
|
42329
|
-
labelFontSize,
|
|
42330
|
-
labelFontWeight,
|
|
42331
|
-
labelLineHeight,
|
|
42332
|
-
valueFontSize,
|
|
42333
|
-
valueFontWeight,
|
|
42334
|
-
valueLineHeight,
|
|
42335
|
-
avatarWidth,
|
|
42336
|
-
avatarHeight,
|
|
42337
|
-
avatarRadius,
|
|
42338
|
-
avatarColor,
|
|
42339
|
-
avatarIconColor,
|
|
42340
|
-
avatarSize
|
|
42341
|
-
}
|
|
42342
|
-
} = themeRef.value;
|
|
42343
|
-
return {
|
|
42344
|
-
"--u-height": height,
|
|
42345
|
-
"--u-icon-width": iconWidth,
|
|
42346
|
-
"--u-icon-height": iconHeight,
|
|
42347
|
-
"--u-icon-margin": iconMargin,
|
|
42348
|
-
"--u-icon-size": iconSize,
|
|
42349
|
-
"--u-label-margin": labelMargin,
|
|
42350
|
-
"--u-label-color": labelColor,
|
|
42351
|
-
"--u-label-font-size": labelFontSize,
|
|
42352
|
-
"--u-label-font-weight": labelFontWeight,
|
|
42353
|
-
"--u-label-line-height": labelLineHeight,
|
|
42354
|
-
"--u-value-font-size": valueFontSize,
|
|
42355
|
-
"--u-value-font-weight": valueFontWeight,
|
|
42356
|
-
"--u-value-line-height": valueLineHeight,
|
|
42357
|
-
"--u-avatar-width": avatarWidth,
|
|
42358
|
-
"--u-avatar-height": avatarHeight,
|
|
42359
|
-
"--u-avatar-radius": avatarRadius,
|
|
42360
|
-
"--u-avatar-color": avatarColor,
|
|
42361
|
-
"--u-avatar-icon-color": avatarIconColor,
|
|
42362
|
-
"--u-avatar-size": avatarSize
|
|
42363
|
-
};
|
|
42364
|
-
});
|
|
42365
|
-
return {
|
|
42366
|
-
mergedClsPrefix: mergedClsPrefixRef,
|
|
42367
|
-
cssVars: cssVarsRef
|
|
42368
|
-
};
|
|
42369
|
-
},
|
|
42370
|
-
render() {
|
|
42371
|
-
const { mergedClsPrefix, cssVars } = this;
|
|
42372
|
-
const icon = this.avatar || this.icon ? /* @__PURE__ */ vue.h("div", { class: `${mergedClsPrefix}-base-account-option__icon` }, /* @__PURE__ */ vue.h(UBaseIcon, { clsPrefix: mergedClsPrefix }, {
|
|
42373
|
-
default: this.avatar || this.icon
|
|
42374
|
-
})) : null;
|
|
42375
|
-
return /* @__PURE__ */ vue.h(
|
|
42376
|
-
"div",
|
|
42377
|
-
{
|
|
42378
|
-
class: [
|
|
42379
|
-
`${mergedClsPrefix}-base-account-option`,
|
|
42380
|
-
this.avatar && `${mergedClsPrefix}-base-account-option--avatar`
|
|
42381
|
-
],
|
|
42382
|
-
style: cssVars
|
|
42383
|
-
},
|
|
42384
|
-
icon,
|
|
42385
|
-
/* @__PURE__ */ vue.h("div", { class: `${mergedClsPrefix}-base-account-option__wrap` }, /* @__PURE__ */ vue.h("div", { class: `${mergedClsPrefix}-base-account-option__label` }, this.label), /* @__PURE__ */ vue.h("div", { class: `${mergedClsPrefix}-base-account-option__value` }, this.value))
|
|
42386
|
-
);
|
|
42387
|
-
}
|
|
42388
|
-
});
|
|
42389
|
-
|
|
42390
42430
|
var commonVars$6 = {
|
|
42391
42431
|
iconMargin: "16px",
|
|
42392
42432
|
closeMargin: "12px",
|
|
@@ -59619,7 +59659,7 @@
|
|
|
59619
59659
|
fontWeightBold,
|
|
59620
59660
|
elementsPrimary,
|
|
59621
59661
|
brandPrimary500,
|
|
59622
|
-
|
|
59662
|
+
shadowDepth,
|
|
59623
59663
|
iconLarge
|
|
59624
59664
|
} = vars;
|
|
59625
59665
|
return {
|
|
@@ -59675,7 +59715,7 @@
|
|
|
59675
59715
|
thColorPopover: containerPrimary,
|
|
59676
59716
|
thColorHoverPopover: containerPrimary,
|
|
59677
59717
|
tdColorPopover: containerPrimary,
|
|
59678
|
-
fixedBoxShadow:
|
|
59718
|
+
fixedBoxShadow: shadowDepth,
|
|
59679
59719
|
// loading
|
|
59680
59720
|
loadingColor: brandPrimary500,
|
|
59681
59721
|
loadingSize: iconLarge,
|
|
@@ -77667,7 +77707,9 @@
|
|
|
77667
77707
|
footerBorderTop: "1px solid transparent",
|
|
77668
77708
|
closeBorderRadius: "10px",
|
|
77669
77709
|
subtitleMarginTop: "16px",
|
|
77670
|
-
actionsSpace: "16px"
|
|
77710
|
+
actionsSpace: "16px",
|
|
77711
|
+
contentMargin: "0px",
|
|
77712
|
+
contentBorderRadius: "0px"
|
|
77671
77713
|
};
|
|
77672
77714
|
|
|
77673
77715
|
const self$E = vars => {
|
|
@@ -78117,6 +78159,8 @@
|
|
|
78117
78159
|
color: var(--u-text-color);
|
|
78118
78160
|
box-sizing: border-box;
|
|
78119
78161
|
max-width: 100%;
|
|
78162
|
+
margin: var(--u-drawer-margin);
|
|
78163
|
+
border-radius: var(--u-drawer-border-radius);
|
|
78120
78164
|
`, [slideInFromRightTransition(), slideInFromLeftTransition(), slideInFromTopTransition(), slideInFromBottomTransition(), cM("unselectable", `
|
|
78121
78165
|
user-select: none;
|
|
78122
78166
|
-webkit-user-select: none;
|
|
@@ -78536,7 +78580,9 @@
|
|
|
78536
78580
|
subtitleFontSize,
|
|
78537
78581
|
subtitleTextColor,
|
|
78538
78582
|
actionsSpace,
|
|
78539
|
-
maskColor
|
|
78583
|
+
maskColor,
|
|
78584
|
+
contentMargin,
|
|
78585
|
+
contentBorderRadius
|
|
78540
78586
|
}
|
|
78541
78587
|
} = themeRef.value;
|
|
78542
78588
|
return {
|
|
@@ -78570,7 +78616,9 @@
|
|
|
78570
78616
|
"--u-subtitle-line-height": subtitleLineHeight,
|
|
78571
78617
|
"--u-subtitle-font-size": subtitleFontSize,
|
|
78572
78618
|
"--u-subtitle-text-color": subtitleTextColor,
|
|
78573
|
-
"--u-actions-space": actionsSpace
|
|
78619
|
+
"--u-actions-space": actionsSpace,
|
|
78620
|
+
"--u-drawer-margin": contentMargin,
|
|
78621
|
+
"--u-drawer-border-radius": contentBorderRadius
|
|
78574
78622
|
};
|
|
78575
78623
|
});
|
|
78576
78624
|
const themeClassHandle = inlineThemeDisabled ? useThemeClass("drawer", void 0, cssVarsRef, props) : void 0;
|
|
@@ -84316,16 +84364,19 @@
|
|
|
84316
84364
|
textSecondary,
|
|
84317
84365
|
staticGreen,
|
|
84318
84366
|
staticOrange,
|
|
84319
|
-
staticRed
|
|
84367
|
+
staticRed,
|
|
84368
|
+
staticDeepBlue
|
|
84320
84369
|
} = vars;
|
|
84321
84370
|
return {
|
|
84322
84371
|
fontSize: fontBodyMedium,
|
|
84323
84372
|
lineHeight: lineHeightBodyMedium,
|
|
84324
84373
|
fontWeight: fontWeightStrong,
|
|
84325
84374
|
iconSize: iconSmall,
|
|
84375
|
+
iconColor: "",
|
|
84326
84376
|
iconSpacing: "8px",
|
|
84327
84377
|
textColor: textSecondary,
|
|
84328
84378
|
successColor: staticGreen,
|
|
84379
|
+
infoColor: staticDeepBlue,
|
|
84329
84380
|
warningColor: staticOrange,
|
|
84330
84381
|
dangerColor: staticRed
|
|
84331
84382
|
};
|
|
@@ -84354,7 +84405,8 @@
|
|
|
84354
84405
|
elementsTertiary,
|
|
84355
84406
|
brandPrimary300,
|
|
84356
84407
|
textSecondary,
|
|
84357
|
-
staticWhite
|
|
84408
|
+
staticWhite,
|
|
84409
|
+
staticGreen
|
|
84358
84410
|
} = vars;
|
|
84359
84411
|
return {
|
|
84360
84412
|
stepHeaderFontSizeSmall: fontBodySmall,
|
|
@@ -84365,6 +84417,10 @@
|
|
|
84365
84417
|
indicatorSizeMedium: "28px",
|
|
84366
84418
|
indicatorIconSizeSmall: "14px",
|
|
84367
84419
|
indicatorIconSizeMedium: "18px",
|
|
84420
|
+
indicatorIconColorProcess: textPrimary,
|
|
84421
|
+
indicatorIconColorWait: textSecondary,
|
|
84422
|
+
indicatorIconColorFinish: staticGreen,
|
|
84423
|
+
indicatorIconColorError: staticRed,
|
|
84368
84424
|
stepHeaderFontWeight: fontWeightStrong,
|
|
84369
84425
|
indicatorTextColorProcess: staticWhite,
|
|
84370
84426
|
indicatorTextColorWait: textSecondary,
|
|
@@ -96172,16 +96228,20 @@
|
|
|
96172
96228
|
});
|
|
96173
96229
|
|
|
96174
96230
|
var style$j = cB("status", `
|
|
96175
|
-
display: flex;
|
|
96231
|
+
display: inline-flex;
|
|
96176
96232
|
font-size: var(--u-font-size);
|
|
96177
96233
|
line-height: var(--u-line-height);
|
|
96178
96234
|
font-weight: var(--u-font-weight);
|
|
96179
96235
|
color: var(--u-text-color);
|
|
96236
|
+
padding: 2px 8px;
|
|
96237
|
+
border-radius: 16px;
|
|
96238
|
+
background-color: var(--u-background-color);
|
|
96180
96239
|
`, [cE("icon", `
|
|
96181
96240
|
display: flex;
|
|
96182
96241
|
align-items: center;
|
|
96183
96242
|
height: var(--u-line-height);
|
|
96184
96243
|
font-size: var(--u-icon-size);
|
|
96244
|
+
color: var(--u-icon-color);
|
|
96185
96245
|
margin-right: var(--u-icon-spacing);
|
|
96186
96246
|
flex-shrink: 0;
|
|
96187
96247
|
`, [c$1("&:last-child", `
|
|
@@ -96191,6 +96251,8 @@
|
|
|
96191
96251
|
const statusProps = {
|
|
96192
96252
|
...useTheme.props,
|
|
96193
96253
|
color: String,
|
|
96254
|
+
filled: Boolean,
|
|
96255
|
+
noIcon: Boolean,
|
|
96194
96256
|
type: {
|
|
96195
96257
|
type: String,
|
|
96196
96258
|
default: "default"
|
|
@@ -96209,21 +96271,17 @@
|
|
|
96209
96271
|
props,
|
|
96210
96272
|
mergedClsPrefixRef
|
|
96211
96273
|
);
|
|
96212
|
-
const
|
|
96213
|
-
|
|
96214
|
-
|
|
96215
|
-
|
|
96216
|
-
|
|
96217
|
-
|
|
96218
|
-
|
|
96219
|
-
|
|
96220
|
-
|
|
96221
|
-
|
|
96222
|
-
|
|
96223
|
-
case "default":
|
|
96224
|
-
return () => /* @__PURE__ */ vue.h(InactiveIcon, null);
|
|
96225
|
-
}
|
|
96226
|
-
});
|
|
96274
|
+
const iconRenderer = {
|
|
96275
|
+
success: () => /* @__PURE__ */ vue.h(SuccessIcon, null),
|
|
96276
|
+
info: () => /* @__PURE__ */ vue.h(InfoIcon, null),
|
|
96277
|
+
warning: () => /* @__PURE__ */ vue.h(WarningIcon, null),
|
|
96278
|
+
error: () => /* @__PURE__ */ vue.h(ErrorIcon, null),
|
|
96279
|
+
default: () => resolveWrappedSlot(slots.icon, (icon) => icon) || /* @__PURE__ */ vue.h(InactiveIcon, null)
|
|
96280
|
+
};
|
|
96281
|
+
const renderIcon = () => {
|
|
96282
|
+
const renderer = iconRenderer[props.type] || iconRenderer.default;
|
|
96283
|
+
return renderer();
|
|
96284
|
+
};
|
|
96227
96285
|
const cssVarsRef = vue.computed(() => {
|
|
96228
96286
|
const {
|
|
96229
96287
|
common: { cubicBezierEaseInOut },
|
|
@@ -96232,7 +96290,9 @@
|
|
|
96232
96290
|
warningColor,
|
|
96233
96291
|
dangerColor,
|
|
96234
96292
|
successColor,
|
|
96293
|
+
infoColor,
|
|
96235
96294
|
iconSize,
|
|
96295
|
+
iconColor,
|
|
96236
96296
|
fontSize,
|
|
96237
96297
|
lineHeight,
|
|
96238
96298
|
fontWeight,
|
|
@@ -96244,6 +96304,9 @@
|
|
|
96244
96304
|
case "success":
|
|
96245
96305
|
color = successColor;
|
|
96246
96306
|
break;
|
|
96307
|
+
case "info":
|
|
96308
|
+
color = infoColor;
|
|
96309
|
+
break;
|
|
96247
96310
|
case "warning":
|
|
96248
96311
|
color = warningColor;
|
|
96249
96312
|
break;
|
|
@@ -96254,10 +96317,12 @@
|
|
|
96254
96317
|
return {
|
|
96255
96318
|
"--u-bezier": cubicBezierEaseInOut,
|
|
96256
96319
|
"--u-text-color": props.color || color,
|
|
96320
|
+
"--u-background-color": props.filled ? `${props.color || color}10` : "transparent",
|
|
96257
96321
|
"--u-font-size": fontSize,
|
|
96258
96322
|
"--u-font-weight": fontWeight,
|
|
96259
96323
|
"--u-line-height": lineHeight,
|
|
96260
96324
|
"--u-icon-size": iconSize,
|
|
96325
|
+
"--u-icon-color": iconColor || props.color || color,
|
|
96261
96326
|
"--u-icon-spacing": iconSpacing
|
|
96262
96327
|
};
|
|
96263
96328
|
});
|
|
@@ -96271,7 +96336,7 @@
|
|
|
96271
96336
|
) : void 0;
|
|
96272
96337
|
return {
|
|
96273
96338
|
mergedClsPrefix: mergedClsPrefixRef,
|
|
96274
|
-
mergedRenderIcon:
|
|
96339
|
+
mergedRenderIcon: renderIcon,
|
|
96275
96340
|
cssVars: inlineThemeDisabled ? void 0 : cssVarsRef,
|
|
96276
96341
|
themeClass: themeClassHandle?.themeClass,
|
|
96277
96342
|
onRender: themeClassHandle?.onRender
|
|
@@ -96286,11 +96351,12 @@
|
|
|
96286
96351
|
class: [
|
|
96287
96352
|
`${mergedClsPrefix}-status`,
|
|
96288
96353
|
`${mergedClsPrefix}-status--${this.type}`,
|
|
96289
|
-
this.themeClass
|
|
96354
|
+
this.themeClass,
|
|
96355
|
+
{ [`${mergedClsPrefix}-status--filled`]: this.filled }
|
|
96290
96356
|
],
|
|
96291
96357
|
style: this.cssVars
|
|
96292
96358
|
},
|
|
96293
|
-
/* @__PURE__ */ vue.h("div", { class: `${mergedClsPrefix}-status__icon` }, /* @__PURE__ */ vue.h(UBaseIcon, { clsPrefix: mergedClsPrefix }, { default: this.mergedRenderIcon })),
|
|
96359
|
+
!this.noIcon && /* @__PURE__ */ vue.h("div", { class: `${mergedClsPrefix}-status__icon` }, /* @__PURE__ */ vue.h(UBaseIcon, { clsPrefix: mergedClsPrefix }, { default: this.mergedRenderIcon })),
|
|
96294
96360
|
$slots.default && /* @__PURE__ */ vue.h("span", { class: `${mergedClsPrefix}-status__description` }, $slots.default())
|
|
96295
96361
|
);
|
|
96296
96362
|
}
|
|
@@ -96390,7 +96456,29 @@
|
|
|
96390
96456
|
`, [iconSwitchTransition()]), cB("base-icon", `
|
|
96391
96457
|
color: var(--u-indicator-text-color);
|
|
96392
96458
|
transition: color .3s var(--u-bezier);
|
|
96393
|
-
`, [iconSwitchTransition()])])]), cM("vertical", "flex-direction: column;", [cNotM("show-description", [c$1(">", [cB("step", "padding-bottom: 8px;")])]), c$1(">", [cB("step", "margin-bottom: 16px;", [
|
|
96459
|
+
`, [iconSwitchTransition()])])]), cM("vertical", "flex-direction: column;", [cNotM("show-description", [c$1(">", [cB("step", "padding-bottom: 8px;")])]), c$1(">", [cB("step", "margin-bottom: 16px;", [cM("history-variant", [`
|
|
96460
|
+
margin-top: 12px;
|
|
96461
|
+
margin-bottom: 24px;
|
|
96462
|
+
color: var(--u-header-text-color);
|
|
96463
|
+
`, c$1(">", [cB("step-indicator", [`
|
|
96464
|
+
background-color: transparent;
|
|
96465
|
+
box-shadow: none;
|
|
96466
|
+
color: var(--u-header-text-color);
|
|
96467
|
+
`, cB("step-indicator-slot", [cB("icon", `
|
|
96468
|
+
color: var(--u-step-icon-color);
|
|
96469
|
+
transition: color .3s var(--u-bezier);
|
|
96470
|
+
`, [iconSwitchTransition()]), cB("base-icon", `
|
|
96471
|
+
color: var(--u-step-icon-color);
|
|
96472
|
+
transition: color .3s var(--u-bezier);
|
|
96473
|
+
`, [iconSwitchTransition()])]), c$1(">", [cB("step-splitor", `
|
|
96474
|
+
position: absolute;
|
|
96475
|
+
bottom: -24px;
|
|
96476
|
+
width: 2px;
|
|
96477
|
+
background-color: var(--u-color-target);
|
|
96478
|
+
margin: 0 !important;
|
|
96479
|
+
left: calc(var(--u-indicator-size) / 2);
|
|
96480
|
+
height: calc(100% - var(--u-indicator-size));
|
|
96481
|
+
`)])]), cB("step-content", [cE("description", "margin-top: 8px;")])])]), c$1("&:last-child", "margin-bottom: 0;"), c$1(">", [cB("step-indicator", [c$1(">", [cB("step-splitor", `
|
|
96394
96482
|
position: absolute;
|
|
96395
96483
|
bottom: -8px;
|
|
96396
96484
|
width: 1px;
|
|
@@ -96423,6 +96511,10 @@
|
|
|
96423
96511
|
default: "medium"
|
|
96424
96512
|
},
|
|
96425
96513
|
vertical: Boolean,
|
|
96514
|
+
variant: {
|
|
96515
|
+
type: String,
|
|
96516
|
+
default: "default"
|
|
96517
|
+
},
|
|
96426
96518
|
"onUpdate:current": [Function, Array],
|
|
96427
96519
|
onUpdateCurrent: [Function, Array]
|
|
96428
96520
|
};
|
|
@@ -96460,7 +96552,7 @@
|
|
|
96460
96552
|
class: [
|
|
96461
96553
|
`${mergedClsPrefix}-steps`,
|
|
96462
96554
|
this.rtlEnabled && `${mergedClsPrefix}-steps--rtl`,
|
|
96463
|
-
this.vertical && `${mergedClsPrefix}-steps--vertical`
|
|
96555
|
+
(this.vertical || this.variant === "history") && `${mergedClsPrefix}-steps--vertical`
|
|
96464
96556
|
]
|
|
96465
96557
|
},
|
|
96466
96558
|
stepsWithIndex(flatten$3(getSlot$1(this)))
|
|
@@ -96474,6 +96566,7 @@
|
|
|
96474
96566
|
description: String,
|
|
96475
96567
|
disabled: Boolean,
|
|
96476
96568
|
noIcon: Boolean,
|
|
96569
|
+
variant: String,
|
|
96477
96570
|
// index will be filled by parent steps, not user
|
|
96478
96571
|
internalIndex: {
|
|
96479
96572
|
type: Number,
|
|
@@ -96494,33 +96587,41 @@
|
|
|
96494
96587
|
mergedClsPrefixRef,
|
|
96495
96588
|
stepsSlots
|
|
96496
96589
|
} = USteps;
|
|
96497
|
-
const
|
|
96498
|
-
|
|
96499
|
-
|
|
96500
|
-
const noIconRef = vue.computed(() =>
|
|
96501
|
-
|
|
96590
|
+
const variantRef = vue.computed(
|
|
96591
|
+
() => stepsProps.variant || "default"
|
|
96592
|
+
);
|
|
96593
|
+
const noIconRef = vue.computed(() => props.noIcon);
|
|
96594
|
+
const variantBehaviors = vue.computed(() => {
|
|
96595
|
+
const variant = variantRef.value;
|
|
96596
|
+
return {
|
|
96597
|
+
variant,
|
|
96598
|
+
isVerticalOrHistory: stepsProps.vertical || variant === "history",
|
|
96599
|
+
shouldRenderSplitor: !stepsProps.vertical && variant !== "history"
|
|
96600
|
+
};
|
|
96502
96601
|
});
|
|
96503
|
-
const mergedStatusRef = vue.computed(
|
|
96504
|
-
|
|
96505
|
-
|
|
96506
|
-
|
|
96507
|
-
|
|
96508
|
-
|
|
96509
|
-
|
|
96510
|
-
|
|
96511
|
-
|
|
96512
|
-
|
|
96513
|
-
|
|
96514
|
-
|
|
96515
|
-
|
|
96516
|
-
|
|
96517
|
-
|
|
96518
|
-
|
|
96519
|
-
}
|
|
96520
|
-
}
|
|
96602
|
+
const mergedStatusRef = vue.computed(() => {
|
|
96603
|
+
const { status } = props;
|
|
96604
|
+
if (status)
|
|
96605
|
+
return status;
|
|
96606
|
+
const { internalIndex } = props;
|
|
96607
|
+
const { current, status: stepsStatus } = stepsProps;
|
|
96608
|
+
if (variantRef.value === "history") {
|
|
96609
|
+
if (current === void 0)
|
|
96610
|
+
return "process";
|
|
96611
|
+
if (internalIndex < current)
|
|
96612
|
+
return "process";
|
|
96613
|
+
if (internalIndex === current)
|
|
96614
|
+
return stepsStatus || "process";
|
|
96615
|
+
return "wait";
|
|
96616
|
+
}
|
|
96617
|
+
if (current === void 0)
|
|
96521
96618
|
return "process";
|
|
96522
|
-
|
|
96523
|
-
|
|
96619
|
+
if (internalIndex < current)
|
|
96620
|
+
return "finish";
|
|
96621
|
+
if (internalIndex === current)
|
|
96622
|
+
return stepsStatus || "process";
|
|
96623
|
+
return "wait";
|
|
96624
|
+
});
|
|
96524
96625
|
const cssVarsRef = vue.computed(() => {
|
|
96525
96626
|
const { value: status } = mergedStatusRef;
|
|
96526
96627
|
const { size } = stepsProps;
|
|
@@ -96537,7 +96638,8 @@
|
|
|
96537
96638
|
[createKey("headerTextColor", status)]: headerTextColor,
|
|
96538
96639
|
[createKey("splitorColor", status)]: splitorColor,
|
|
96539
96640
|
[createKey("indicatorColor", status)]: indicatorColor,
|
|
96540
|
-
[createKey("descriptionTextColor", status)]: descriptionTextColor
|
|
96641
|
+
[createKey("descriptionTextColor", status)]: descriptionTextColor,
|
|
96642
|
+
[createKey("indicatorIconColor", status)]: indicatorIconColor
|
|
96541
96643
|
}
|
|
96542
96644
|
} = mergedThemeRef.value;
|
|
96543
96645
|
return {
|
|
@@ -96552,7 +96654,8 @@
|
|
|
96552
96654
|
"--u-indicator-text-color": indicatorTextColor,
|
|
96553
96655
|
"--u-splitor-color": splitorColor,
|
|
96554
96656
|
"--u-step-header-font-size": stepHeaderFontSize,
|
|
96555
|
-
"--u-step-header-font-weight": stepHeaderFontWeight
|
|
96657
|
+
"--u-step-header-font-weight": stepHeaderFontWeight,
|
|
96658
|
+
"--u-step-icon-color": indicatorIconColor
|
|
96556
96659
|
};
|
|
96557
96660
|
});
|
|
96558
96661
|
const themeClassHandle = inlineThemeDisabled ? useThemeClass(
|
|
@@ -96578,6 +96681,43 @@
|
|
|
96578
96681
|
}
|
|
96579
96682
|
} : void 0;
|
|
96580
96683
|
});
|
|
96684
|
+
const iconRenderer = {
|
|
96685
|
+
history: {
|
|
96686
|
+
finish: () => renderFinishIcon("history"),
|
|
96687
|
+
error: () => renderErrorIcon("history"),
|
|
96688
|
+
default: () => resolveWrappedSlot(slots.icon, (icon) => icon || renderHistoryIcon())
|
|
96689
|
+
},
|
|
96690
|
+
default: {
|
|
96691
|
+
finish: () => renderFinishIcon(),
|
|
96692
|
+
error: () => renderErrorIcon(),
|
|
96693
|
+
default: () => resolveWrappedSlot(
|
|
96694
|
+
slots.icon,
|
|
96695
|
+
(icon) => icon || renderInternalIndex()
|
|
96696
|
+
)
|
|
96697
|
+
}
|
|
96698
|
+
};
|
|
96699
|
+
const renderIcon = () => {
|
|
96700
|
+
const variant = variantBehaviors.value.variant;
|
|
96701
|
+
const status = mergedStatusRef.value;
|
|
96702
|
+
const rendererGroup = iconRenderer[variant] || iconRenderer.default;
|
|
96703
|
+
if (status in rendererGroup) {
|
|
96704
|
+
return rendererGroup[status]();
|
|
96705
|
+
}
|
|
96706
|
+
return rendererGroup.default();
|
|
96707
|
+
};
|
|
96708
|
+
const renderFinishIcon = (variant = "default") => /* @__PURE__ */ vue.h(UBaseIcon, { clsPrefix: mergedClsPrefixRef.value, key: "finish" }, {
|
|
96709
|
+
default: () => variant === "history" ? resolveSlot(stepsSlots["finish-icon"], () => [
|
|
96710
|
+
/* @__PURE__ */ vue.h(HistoryFinishIcon, null)
|
|
96711
|
+
]) : resolveSlot(stepsSlots["finish-icon"], () => [/* @__PURE__ */ vue.h(Checkmark, null)])
|
|
96712
|
+
});
|
|
96713
|
+
const renderErrorIcon = (variant = "default") => /* @__PURE__ */ vue.h(UBaseIcon, { clsPrefix: mergedClsPrefixRef.value, key: "error" }, {
|
|
96714
|
+
default: () => variant === "history" ? resolveSlot(stepsSlots["error-icon"], () => [
|
|
96715
|
+
/* @__PURE__ */ vue.h(HistoryErrorIcon, null)
|
|
96716
|
+
]) : resolveSlot(stepsSlots["error-icon"], () => [/* @__PURE__ */ vue.h(ErrorIcon$1, null)])
|
|
96717
|
+
});
|
|
96718
|
+
const renderHistoryIcon = () => /* @__PURE__ */ vue.h(UBaseIcon, { clsPrefix: mergedClsPrefixRef.value, key: "history" }, {
|
|
96719
|
+
default: () => resolveSlot(stepsSlots["history-icon"], () => [/* @__PURE__ */ vue.h(EditIcon, null)])
|
|
96720
|
+
});
|
|
96581
96721
|
const renderInternalIndex = () => /* @__PURE__ */ vue.h(
|
|
96582
96722
|
"div",
|
|
96583
96723
|
{
|
|
@@ -96586,27 +96726,12 @@
|
|
|
96586
96726
|
},
|
|
96587
96727
|
props.internalIndex
|
|
96588
96728
|
);
|
|
96589
|
-
const renderFinishIcon = () => /* @__PURE__ */ vue.h(UBaseIcon, { clsPrefix: mergedClsPrefixRef.value, key: "finish" }, {
|
|
96590
|
-
default: () => resolveSlot(stepsSlots["finish-icon"], () => [/* @__PURE__ */ vue.h(Checkmark, null)])
|
|
96591
|
-
});
|
|
96592
|
-
const renderErrorIcon = () => /* @__PURE__ */ vue.h(UBaseIcon, { clsPrefix: mergedClsPrefixRef.value, key: "error" }, {
|
|
96593
|
-
default: () => resolveSlot(stepsSlots["error-icon"], () => [/* @__PURE__ */ vue.h(ErrorIcon$1, null)])
|
|
96594
|
-
});
|
|
96595
|
-
const renderIcon = () => {
|
|
96596
|
-
return resolveWrappedSlot(slots.icon, (icon) => {
|
|
96597
|
-
const mergedStatus = mergedStatusRef.value;
|
|
96598
|
-
if (mergedStatus === "finish")
|
|
96599
|
-
return renderFinishIcon();
|
|
96600
|
-
if (mergedStatus === "error")
|
|
96601
|
-
return renderErrorIcon();
|
|
96602
|
-
return icon || renderInternalIndex();
|
|
96603
|
-
});
|
|
96604
|
-
};
|
|
96605
96729
|
return {
|
|
96606
96730
|
renderIcon,
|
|
96607
96731
|
stepsSlots,
|
|
96608
96732
|
mergedClsPrefix: mergedClsPrefixRef,
|
|
96609
|
-
|
|
96733
|
+
variantBehaviors,
|
|
96734
|
+
variant: variantRef,
|
|
96610
96735
|
noIcon: noIconRef,
|
|
96611
96736
|
mergedStatus: mergedStatusRef,
|
|
96612
96737
|
handleStepClick,
|
|
@@ -96616,7 +96741,15 @@
|
|
|
96616
96741
|
};
|
|
96617
96742
|
},
|
|
96618
96743
|
render() {
|
|
96619
|
-
const {
|
|
96744
|
+
const {
|
|
96745
|
+
mergedClsPrefix,
|
|
96746
|
+
onRender,
|
|
96747
|
+
handleStepClick,
|
|
96748
|
+
disabled,
|
|
96749
|
+
renderIcon,
|
|
96750
|
+
variantBehaviors,
|
|
96751
|
+
noIcon
|
|
96752
|
+
} = this;
|
|
96620
96753
|
const descriptionNode = resolveWrappedSlot(
|
|
96621
96754
|
this.$slots.default,
|
|
96622
96755
|
(children) => {
|
|
@@ -96637,20 +96770,21 @@
|
|
|
96637
96770
|
!disabled && handleStepClick && `${mergedClsPrefix}-step--clickable`,
|
|
96638
96771
|
this.themeClass,
|
|
96639
96772
|
descriptionNode && `${mergedClsPrefix}-step--show-description`,
|
|
96640
|
-
`${mergedClsPrefix}-step--${this.mergedStatus}-status
|
|
96773
|
+
`${mergedClsPrefix}-step--${this.mergedStatus}-status`,
|
|
96774
|
+
`${mergedClsPrefix}-step--${this.variant}-variant`
|
|
96641
96775
|
],
|
|
96642
96776
|
style: this.cssVars,
|
|
96643
96777
|
onClick: handleStepClick
|
|
96644
96778
|
},
|
|
96645
|
-
|
|
96779
|
+
variantBehaviors.isVerticalOrHistory || !noIcon ? /* @__PURE__ */ vue.h("div", { class: `${mergedClsPrefix}-step-indicator` }, /* @__PURE__ */ vue.h("div", { class: `${mergedClsPrefix}-step-indicator-slot` }, /* @__PURE__ */ vue.h(UIconSwitchTransition, null, { default: renderIcon })), variantBehaviors.isVerticalOrHistory ? /* @__PURE__ */ vue.h("div", { class: `${mergedClsPrefix}-step-splitor` }) : null) : null,
|
|
96646
96780
|
/* @__PURE__ */ vue.h("div", { class: `${mergedClsPrefix}-step-content` }, /* @__PURE__ */ vue.h(
|
|
96647
96781
|
"div",
|
|
96648
96782
|
{
|
|
96649
|
-
class: `${mergedClsPrefix}-step-content-header ${mergedClsPrefix}-step-content-header${
|
|
96783
|
+
class: `${mergedClsPrefix}-step-content-header ${mergedClsPrefix}-step-content-header${noIcon ? "--column" : ""}`
|
|
96650
96784
|
},
|
|
96651
96785
|
/* @__PURE__ */ vue.h("div", { class: `${mergedClsPrefix}-step-content-header__title` }, resolveSlot(this.$slots.title, () => [this.title])),
|
|
96652
|
-
|
|
96653
|
-
!
|
|
96786
|
+
noIcon && variantBehaviors.shouldRenderSplitor ? /* @__PURE__ */ vue.h("div", { class: `${mergedClsPrefix}-step-splitor-no-icon` }) : null,
|
|
96787
|
+
!noIcon && variantBehaviors.shouldRenderSplitor ? /* @__PURE__ */ vue.h("div", { class: `${mergedClsPrefix}-step-splitor` }) : null
|
|
96654
96788
|
), descriptionNode)
|
|
96655
96789
|
);
|
|
96656
96790
|
}
|
|
@@ -104237,7 +104371,7 @@
|
|
|
104237
104371
|
maxReachedRef,
|
|
104238
104372
|
listTypeRef,
|
|
104239
104373
|
dragOverRef,
|
|
104240
|
-
|
|
104374
|
+
openFileDialog,
|
|
104241
104375
|
draggerInsideRef,
|
|
104242
104376
|
handleFileAddition,
|
|
104243
104377
|
mergedDirectoryDndRef,
|
|
@@ -104249,7 +104383,7 @@
|
|
|
104249
104383
|
function handleTriggerClick() {
|
|
104250
104384
|
if (mergedDisabledRef.value || maxReachedRef.value)
|
|
104251
104385
|
return;
|
|
104252
|
-
|
|
104386
|
+
openFileDialog();
|
|
104253
104387
|
}
|
|
104254
104388
|
function handleTriggerDragOver(e) {
|
|
104255
104389
|
e.preventDefault();
|
|
@@ -104786,7 +104920,7 @@
|
|
|
104786
104920
|
}
|
|
104787
104921
|
});
|
|
104788
104922
|
|
|
104789
|
-
var style$2 = c$1([cB("upload", "width:
|
|
104923
|
+
var style$2 = c$1([cB("upload", "width: var(--u-upload-width)", [cM("dragger-inside", [cB("upload-trigger", `
|
|
104790
104924
|
display: block;
|
|
104791
104925
|
`)]), cM("drag-over", [cB("upload-dragger", `
|
|
104792
104926
|
border: var(--u-dragger-border-hover);
|
|
@@ -105345,7 +105479,7 @@
|
|
|
105345
105479
|
const mergedFileListRef = vue.computed(
|
|
105346
105480
|
() => _mergedFileListRef.value.map(createSettledFileInfo)
|
|
105347
105481
|
);
|
|
105348
|
-
function
|
|
105482
|
+
function openFileDialog() {
|
|
105349
105483
|
inputElRef.value?.click();
|
|
105350
105484
|
}
|
|
105351
105485
|
function handleFileInputChange(e) {
|
|
@@ -105573,7 +105707,8 @@
|
|
|
105573
105707
|
"--u-dragger-icon-color": draggerIconColor,
|
|
105574
105708
|
"--u-dragger-title-color": draggerTitleColor,
|
|
105575
105709
|
"--u-dragger-text-color": draggerTextColor,
|
|
105576
|
-
"--u-label-color": labelColor
|
|
105710
|
+
"--u-label-color": labelColor,
|
|
105711
|
+
"--u-upload-width": props.listType === "image-card" ? "auto" : "100%"
|
|
105577
105712
|
};
|
|
105578
105713
|
});
|
|
105579
105714
|
const themeClassHandle = inlineThemeDisabled ? useThemeClass("upload", void 0, cssVarsRef, props) : void 0;
|
|
@@ -105598,7 +105733,7 @@
|
|
|
105598
105733
|
getFileThumbnailUrlResolver,
|
|
105599
105734
|
listTypeRef: vue.toRef(props, "listType"),
|
|
105600
105735
|
dragOverRef,
|
|
105601
|
-
|
|
105736
|
+
openFileDialog,
|
|
105602
105737
|
draggerInsideRef,
|
|
105603
105738
|
handleFileAddition,
|
|
105604
105739
|
mergedDisabledRef: formItem.mergedDisabledRef,
|
|
@@ -105620,7 +105755,7 @@
|
|
|
105620
105755
|
uncontrolledFileListRef.value = [];
|
|
105621
105756
|
},
|
|
105622
105757
|
submit,
|
|
105623
|
-
|
|
105758
|
+
openFileDialog
|
|
105624
105759
|
};
|
|
105625
105760
|
return {
|
|
105626
105761
|
mergedClsPrefix: mergedClsPrefixRef,
|
|
@@ -106772,7 +106907,7 @@
|
|
|
106772
106907
|
watermarkProps: watermarkProps
|
|
106773
106908
|
});
|
|
106774
106909
|
|
|
106775
|
-
var version = "1.
|
|
106910
|
+
var version = "1.3.1";
|
|
106776
106911
|
|
|
106777
106912
|
function create({
|
|
106778
106913
|
componentPrefix = "U",
|