@uzum-tech/ui 1.8.1 → 1.8.2
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 +189 -135
- package/dist/index.prod.js +3 -3
- package/es/_internal/scrollbar/src/Scrollbar.js +1 -1
- package/es/button/src/Button.d.ts +72 -0
- package/es/button/src/Button.js +13 -7
- package/es/button/src/styles/index.cssr.js +1 -2
- package/es/button/styles/light.d.ts +8 -0
- package/es/button/styles/light.js +7 -7
- package/es/calendar/src/Calendar.d.ts +80 -0
- package/es/calendar/styles/light.d.ts +8 -0
- package/es/chat/src/Chat.d.ts +87 -7
- package/es/chat/src/Chat.js +11 -12
- package/es/chat/src/ChatListItems.d.ts +88 -0
- package/es/chat/src/ChatListItems.js +4 -1
- package/es/chat/src/ChatMessages.d.ts +88 -0
- package/es/chat/src/styles/index.cssr.js +1 -3
- package/es/chat/styles/dark.d.ts +8 -0
- package/es/chat/styles/light.d.ts +8 -0
- package/es/color-picker/src/ColorInputUnit.d.ts +8 -0
- package/es/color-picker/src/ColorPicker.d.ts +72 -0
- package/es/color-picker/styles/light.d.ts +8 -0
- package/es/data-table/src/DataTable.d.ts +56 -0
- package/es/data-table/src/HeaderButton/FilterButton.d.ts +8 -0
- package/es/data-table/src/HeaderButton/FilterMenu.d.ts +8 -0
- package/es/data-table/src/TableParts/Body.d.ts +8 -0
- package/es/data-table/src/TableParts/Header.d.ts +8 -0
- package/es/data-table/src/interface.d.ts +24 -0
- package/es/data-table/styles/light.d.ts +8 -0
- package/es/date-picker/src/DatePicker.d.ts +168 -0
- package/es/date-picker/src/panel/date.d.ts +24 -0
- package/es/date-picker/src/panel/daterange.d.ts +24 -0
- package/es/date-picker/src/panel/datetime.d.ts +24 -0
- package/es/date-picker/src/panel/datetimerange.d.ts +24 -0
- package/es/date-picker/src/panel/panelMonth.d.ts +48 -0
- package/es/date-picker/src/panel/panelMonthContent.d.ts +24 -0
- package/es/date-picker/src/panel/panelYear.d.ts +48 -0
- package/es/date-picker/src/panel/panelYearContent.d.ts +24 -0
- package/es/date-picker/src/panel/use-calendar.d.ts +24 -0
- package/es/date-picker/src/panel/use-dual-calendar.d.ts +24 -0
- package/es/date-picker/src/panel/use-panel-common.d.ts +24 -0
- package/es/date-picker/styles/light.d.ts +16 -0
- package/es/dialog/src/Dialog.d.ts +56 -0
- package/es/dialog/src/DialogProvider.d.ts +16 -0
- package/es/dialog/styles/light.d.ts +8 -0
- package/es/dynamic-input/src/DynamicInput.d.ts +80 -0
- package/es/dynamic-input/src/InputPreset.d.ts +8 -0
- package/es/dynamic-input/src/PairPreset.d.ts +8 -0
- package/es/dynamic-input/styles/light.d.ts +8 -0
- package/es/dynamic-tags/src/DynamicTags.d.ts +80 -0
- package/es/dynamic-tags/styles/light.d.ts +8 -0
- package/es/input-number/src/InputNumber.d.ts +80 -0
- package/es/input-number/styles/light.d.ts +8 -0
- package/es/legacy-transfer/src/Transfer.d.ts +80 -0
- package/es/legacy-transfer/src/TransferFilter.d.ts +8 -0
- package/es/legacy-transfer/src/TransferList.d.ts +8 -0
- package/es/legacy-transfer/src/TransferListItem.d.ts +8 -0
- package/es/legacy-transfer/styles/light.d.ts +8 -0
- package/es/modal/src/BodyWrapper.d.ts +16 -0
- package/es/modal/src/Modal.d.ts +72 -0
- package/es/modal/styles/light.d.ts +8 -0
- package/es/notification/src/Notification.d.ts +5 -0
- package/es/notification/src/Notification.js +16 -6
- package/es/notification/src/NotificationContainer.d.ts +12 -0
- package/es/notification/src/NotificationProvider.d.ts +108 -0
- package/es/notification/src/styles/index.cssr.js +12 -8
- package/es/notification/styles/light.d.ts +24 -0
- package/es/notification/styles/light.js +9 -8
- package/es/popconfirm/src/Popconfirm.d.ts +80 -0
- package/es/popconfirm/styles/light.d.ts +8 -0
- package/es/time-picker/src/Panel.d.ts +8 -0
- package/es/time-picker/src/TimePicker.d.ts +80 -0
- package/es/time-picker/styles/light.d.ts +8 -0
- package/es/transfer/src/Transfer.d.ts +80 -0
- package/es/transfer/src/TransferFilter.d.ts +8 -0
- package/es/transfer/src/TransferList.d.ts +8 -0
- package/es/transfer/src/TransferListItem.d.ts +8 -0
- package/es/transfer/styles/light.d.ts +8 -0
- package/es/upload/src/Upload.d.ts +90 -0
- package/es/upload/src/Upload.js +2 -1
- package/es/upload/src/UploadFile.d.ts +9 -0
- package/es/upload/src/UploadProgress.d.ts +9 -0
- package/es/upload/src/styles/index.cssr.js +1 -0
- package/es/upload/src/useUploadActionsRender.js +5 -1
- package/es/upload/styles/light.d.ts +10 -0
- package/es/upload/styles/light.js +6 -5
- package/es/version.d.ts +1 -1
- package/es/version.js +1 -1
- package/lib/_internal/scrollbar/src/Scrollbar.js +1 -1
- package/lib/button/src/Button.d.ts +72 -0
- package/lib/button/src/Button.js +13 -7
- package/lib/button/src/styles/index.cssr.js +1 -2
- package/lib/button/styles/light.d.ts +8 -0
- package/lib/button/styles/light.js +7 -7
- package/lib/calendar/src/Calendar.d.ts +80 -0
- package/lib/calendar/styles/light.d.ts +8 -0
- package/lib/chat/src/Chat.d.ts +87 -7
- package/lib/chat/src/Chat.js +11 -12
- package/lib/chat/src/ChatListItems.d.ts +88 -0
- package/lib/chat/src/ChatListItems.js +4 -1
- package/lib/chat/src/ChatMessages.d.ts +88 -0
- package/lib/chat/src/styles/index.cssr.js +1 -3
- package/lib/chat/styles/dark.d.ts +8 -0
- package/lib/chat/styles/light.d.ts +8 -0
- package/lib/color-picker/src/ColorInputUnit.d.ts +8 -0
- package/lib/color-picker/src/ColorPicker.d.ts +72 -0
- package/lib/color-picker/styles/light.d.ts +8 -0
- package/lib/data-table/src/DataTable.d.ts +56 -0
- package/lib/data-table/src/HeaderButton/FilterButton.d.ts +8 -0
- package/lib/data-table/src/HeaderButton/FilterMenu.d.ts +8 -0
- package/lib/data-table/src/TableParts/Body.d.ts +8 -0
- package/lib/data-table/src/TableParts/Header.d.ts +8 -0
- package/lib/data-table/src/interface.d.ts +24 -0
- package/lib/data-table/styles/light.d.ts +8 -0
- package/lib/date-picker/src/DatePicker.d.ts +168 -0
- package/lib/date-picker/src/panel/date.d.ts +24 -0
- package/lib/date-picker/src/panel/daterange.d.ts +24 -0
- package/lib/date-picker/src/panel/datetime.d.ts +24 -0
- package/lib/date-picker/src/panel/datetimerange.d.ts +24 -0
- package/lib/date-picker/src/panel/panelMonth.d.ts +48 -0
- package/lib/date-picker/src/panel/panelMonthContent.d.ts +24 -0
- package/lib/date-picker/src/panel/panelYear.d.ts +48 -0
- package/lib/date-picker/src/panel/panelYearContent.d.ts +24 -0
- package/lib/date-picker/src/panel/use-calendar.d.ts +24 -0
- package/lib/date-picker/src/panel/use-dual-calendar.d.ts +24 -0
- package/lib/date-picker/src/panel/use-panel-common.d.ts +24 -0
- package/lib/date-picker/styles/light.d.ts +16 -0
- package/lib/dialog/src/Dialog.d.ts +56 -0
- package/lib/dialog/src/DialogProvider.d.ts +16 -0
- package/lib/dialog/styles/light.d.ts +8 -0
- package/lib/dynamic-input/src/DynamicInput.d.ts +80 -0
- package/lib/dynamic-input/src/InputPreset.d.ts +8 -0
- package/lib/dynamic-input/src/PairPreset.d.ts +8 -0
- package/lib/dynamic-input/styles/light.d.ts +8 -0
- package/lib/dynamic-tags/src/DynamicTags.d.ts +80 -0
- package/lib/dynamic-tags/styles/light.d.ts +8 -0
- package/lib/input-number/src/InputNumber.d.ts +80 -0
- package/lib/input-number/styles/light.d.ts +8 -0
- package/lib/legacy-transfer/src/Transfer.d.ts +80 -0
- package/lib/legacy-transfer/src/TransferFilter.d.ts +8 -0
- package/lib/legacy-transfer/src/TransferList.d.ts +8 -0
- package/lib/legacy-transfer/src/TransferListItem.d.ts +8 -0
- package/lib/legacy-transfer/styles/light.d.ts +8 -0
- package/lib/modal/src/BodyWrapper.d.ts +16 -0
- package/lib/modal/src/Modal.d.ts +72 -0
- package/lib/modal/styles/light.d.ts +8 -0
- package/lib/notification/src/Notification.d.ts +5 -0
- package/lib/notification/src/Notification.js +14 -4
- package/lib/notification/src/NotificationContainer.d.ts +12 -0
- package/lib/notification/src/NotificationProvider.d.ts +108 -0
- package/lib/notification/src/styles/index.cssr.js +12 -8
- package/lib/notification/styles/light.d.ts +24 -0
- package/lib/notification/styles/light.js +9 -8
- package/lib/popconfirm/src/Popconfirm.d.ts +80 -0
- package/lib/popconfirm/styles/light.d.ts +8 -0
- package/lib/time-picker/src/Panel.d.ts +8 -0
- package/lib/time-picker/src/TimePicker.d.ts +80 -0
- package/lib/time-picker/styles/light.d.ts +8 -0
- package/lib/transfer/src/Transfer.d.ts +80 -0
- package/lib/transfer/src/TransferFilter.d.ts +8 -0
- package/lib/transfer/src/TransferList.d.ts +8 -0
- package/lib/transfer/src/TransferListItem.d.ts +8 -0
- package/lib/transfer/styles/light.d.ts +8 -0
- package/lib/upload/src/Upload.d.ts +90 -0
- package/lib/upload/src/Upload.js +2 -1
- package/lib/upload/src/UploadFile.d.ts +9 -0
- package/lib/upload/src/UploadProgress.d.ts +9 -0
- package/lib/upload/src/styles/index.cssr.js +1 -0
- package/lib/upload/src/useUploadActionsRender.js +5 -1
- package/lib/upload/styles/light.d.ts +10 -0
- package/lib/upload/styles/light.js +6 -5
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +1 -1
- package/web-types.json +4 -4
package/dist/index.js
CHANGED
|
@@ -31800,7 +31800,7 @@
|
|
|
31800
31800
|
const scrollTo = (options, y) => {
|
|
31801
31801
|
if (!props.scrollable) return;
|
|
31802
31802
|
if (typeof options === "number") {
|
|
31803
|
-
scrollToPosition(y ?? 0,
|
|
31803
|
+
scrollToPosition(options, y ?? 0, 0, false, "auto");
|
|
31804
31804
|
return;
|
|
31805
31805
|
}
|
|
31806
31806
|
const {
|
|
@@ -37880,8 +37880,8 @@
|
|
|
37880
37880
|
const successPress = "#0f9b42";
|
|
37881
37881
|
const warningHover = "#f79942";
|
|
37882
37882
|
const warningPress = "#df7a1d";
|
|
37883
|
-
const errorHover = "#
|
|
37884
|
-
const
|
|
37883
|
+
const errorHover = "#cb0000";
|
|
37884
|
+
const errorDisable = "#f8a39a";
|
|
37885
37885
|
return {
|
|
37886
37886
|
...commonVariables$5,
|
|
37887
37887
|
heightTiny: heightMini,
|
|
@@ -37903,20 +37903,28 @@
|
|
|
37903
37903
|
colorOpacitySecondaryPressed: "0.28",
|
|
37904
37904
|
colorOpacitySecondaryFocus: "0.27",
|
|
37905
37905
|
colorSecondary: elementsTertiary,
|
|
37906
|
-
colorSecondaryHover:
|
|
37906
|
+
colorSecondaryHover: elementsQuaternary,
|
|
37907
37907
|
colorSecondaryPressed: elementsTertiary,
|
|
37908
|
+
colorSecondaryFocus: elementsTertiary,
|
|
37909
|
+
colorSecondaryDisabled: elementsTertiary,
|
|
37910
|
+
textColorSecondaryDisabled: elementsQuinary,
|
|
37908
37911
|
waveColorSecondary: elementsQuinary,
|
|
37909
37912
|
// tertiary
|
|
37910
37913
|
colorTertiary: elementsPrimary,
|
|
37911
37914
|
colorTertiaryHover: elementsSenary,
|
|
37912
37915
|
colorTertiaryPressed: elementsPrimary,
|
|
37913
|
-
|
|
37914
|
-
|
|
37916
|
+
colorTertiaryFocus: elementsPrimary,
|
|
37917
|
+
colorTertiaryDisalbed: elementsQuinary,
|
|
37918
|
+
waveColorTertiary: elementsQuinary,
|
|
37915
37919
|
textColorTextTertiary: textQuaternary,
|
|
37920
|
+
rippleColorTertiary: elementsQuinary,
|
|
37916
37921
|
// quaternary
|
|
37917
37922
|
colorQuaternary: "#0000",
|
|
37918
|
-
colorQuaternaryHover:
|
|
37919
|
-
colorQuaternaryPressed:
|
|
37923
|
+
colorQuaternaryHover: elementsQuaternary,
|
|
37924
|
+
colorQuaternaryPressed: "#0000",
|
|
37925
|
+
colorQuaternaryFocus: "#0000",
|
|
37926
|
+
rippleColorQuaternary: elementsQuinary,
|
|
37927
|
+
waveColorQuaternary: elementsQuinary,
|
|
37920
37928
|
// default type
|
|
37921
37929
|
color: "#0000",
|
|
37922
37930
|
colorHover: "#0000",
|
|
@@ -37948,10 +37956,10 @@
|
|
|
37948
37956
|
rippleColor: brandPrimary500,
|
|
37949
37957
|
// primary
|
|
37950
37958
|
colorPrimary: brandPrimary500,
|
|
37951
|
-
colorHoverPrimary:
|
|
37952
|
-
colorPressedPrimary:
|
|
37953
|
-
colorFocusPrimary:
|
|
37954
|
-
colorDisabledPrimary:
|
|
37959
|
+
colorHoverPrimary: brandPrimary600,
|
|
37960
|
+
colorPressedPrimary: brandPrimary500,
|
|
37961
|
+
colorFocusPrimary: brandPrimary500,
|
|
37962
|
+
colorDisabledPrimary: brandPrimary300,
|
|
37955
37963
|
waveColorPrimary: brandPrimary300,
|
|
37956
37964
|
textColorPrimary: staticWhite,
|
|
37957
37965
|
textColorHoverPrimary: staticWhite,
|
|
@@ -37959,21 +37967,21 @@
|
|
|
37959
37967
|
textColorFocusPrimary: staticWhite,
|
|
37960
37968
|
textColorDisabledPrimary: staticWhite,
|
|
37961
37969
|
textColorTextPrimary: brandPrimary500,
|
|
37962
|
-
textColorTextHoverPrimary:
|
|
37963
|
-
textColorTextPressedPrimary:
|
|
37964
|
-
textColorTextFocusPrimary:
|
|
37965
|
-
textColorTextDisabledPrimary:
|
|
37970
|
+
textColorTextHoverPrimary: brandPrimary600,
|
|
37971
|
+
textColorTextPressedPrimary: brandPrimary300,
|
|
37972
|
+
textColorTextFocusPrimary: brandPrimary300,
|
|
37973
|
+
textColorTextDisabledPrimary: brandPrimary300,
|
|
37966
37974
|
textColorGhostPrimary: brandPrimary500,
|
|
37967
|
-
textColorGhostHoverPrimary:
|
|
37968
|
-
textColorGhostPressedPrimary:
|
|
37969
|
-
textColorGhostFocusPrimary:
|
|
37970
|
-
textColorGhostDisabledPrimary:
|
|
37975
|
+
textColorGhostHoverPrimary: brandPrimary600,
|
|
37976
|
+
textColorGhostPressedPrimary: brandPrimary500,
|
|
37977
|
+
textColorGhostFocusPrimary: brandPrimary500,
|
|
37978
|
+
textColorGhostDisabledPrimary: brandPrimary300,
|
|
37971
37979
|
borderPrimary: `2px solid ${brandPrimary500}`,
|
|
37972
|
-
borderHoverPrimary: `2px solid ${
|
|
37973
|
-
borderPressedPrimary: `2px solid ${
|
|
37974
|
-
borderFocusPrimary: `2px solid ${
|
|
37975
|
-
borderDisabledPrimary: `2px solid ${
|
|
37976
|
-
rippleColorPrimary:
|
|
37980
|
+
borderHoverPrimary: `2px solid ${brandPrimary600}`,
|
|
37981
|
+
borderPressedPrimary: `2px solid ${brandPrimary500}`,
|
|
37982
|
+
borderFocusPrimary: `2px solid ${brandPrimary500}`,
|
|
37983
|
+
borderDisabledPrimary: `2px solid ${brandPrimary300}`,
|
|
37984
|
+
rippleColorPrimary: brandPrimary300,
|
|
37977
37985
|
// info
|
|
37978
37986
|
colorInfo: brandQuaternary500,
|
|
37979
37987
|
colorHoverInfo: brandQuaternary300,
|
|
@@ -38058,9 +38066,9 @@
|
|
|
38058
38066
|
// error
|
|
38059
38067
|
colorError: staticRed,
|
|
38060
38068
|
colorHoverError: errorHover,
|
|
38061
|
-
colorPressedError:
|
|
38062
|
-
colorFocusError:
|
|
38063
|
-
colorDisabledError:
|
|
38069
|
+
colorPressedError: staticRed,
|
|
38070
|
+
colorFocusError: staticRed,
|
|
38071
|
+
colorDisabledError: errorDisable,
|
|
38064
38072
|
textColorError: staticWhite,
|
|
38065
38073
|
textColorHoverError: staticWhite,
|
|
38066
38074
|
textColorPressedError: staticWhite,
|
|
@@ -38068,20 +38076,20 @@
|
|
|
38068
38076
|
textColorDisabledError: staticWhite,
|
|
38069
38077
|
textColorTextError: staticRed,
|
|
38070
38078
|
textColorTextHoverError: errorHover,
|
|
38071
|
-
textColorTextPressedError:
|
|
38072
|
-
textColorTextFocusError:
|
|
38073
|
-
textColorTextDisabledError:
|
|
38079
|
+
textColorTextPressedError: staticRed,
|
|
38080
|
+
textColorTextFocusError: staticRed,
|
|
38081
|
+
textColorTextDisabledError: errorDisable,
|
|
38074
38082
|
textColorGhostError: staticRed,
|
|
38075
38083
|
textColorGhostHoverError: errorHover,
|
|
38076
|
-
textColorGhostPressedError:
|
|
38077
|
-
textColorGhostFocusError:
|
|
38078
|
-
textColorGhostDisabledError:
|
|
38084
|
+
textColorGhostPressedError: staticRed,
|
|
38085
|
+
textColorGhostFocusError: staticRed,
|
|
38086
|
+
textColorGhostDisabledError: errorDisable,
|
|
38079
38087
|
borderError: `2px solid ${staticRed}`,
|
|
38080
38088
|
borderHoverError: `2px solid ${errorHover}`,
|
|
38081
|
-
borderPressedError: `2px solid ${
|
|
38082
|
-
borderFocusError: `2px solid ${
|
|
38083
|
-
borderDisabledError: `2px solid ${
|
|
38084
|
-
rippleColorError:
|
|
38089
|
+
borderPressedError: `2px solid ${staticRed}`,
|
|
38090
|
+
borderFocusError: `2px solid ${staticRed}`,
|
|
38091
|
+
borderDisabledError: `2px solid ${errorDisable}`,
|
|
38092
|
+
rippleColorError: errorDisable,
|
|
38085
38093
|
waveOpacity: "0.6",
|
|
38086
38094
|
fontWeight,
|
|
38087
38095
|
fontWeightStrong
|
|
@@ -38129,6 +38137,7 @@
|
|
|
38129
38137
|
borderRadiusLarge,
|
|
38130
38138
|
closeMedium,
|
|
38131
38139
|
iconMedium,
|
|
38140
|
+
iconLarge,
|
|
38132
38141
|
fontWeight,
|
|
38133
38142
|
staticBlack,
|
|
38134
38143
|
staticWhite,
|
|
@@ -38138,10 +38147,10 @@
|
|
|
38138
38147
|
brandPrimary500,
|
|
38139
38148
|
brandSecondary600,
|
|
38140
38149
|
staticRed,
|
|
38141
|
-
|
|
38142
|
-
textPrimary,
|
|
38150
|
+
elementsQuinary,
|
|
38143
38151
|
transparencySecondary,
|
|
38144
|
-
transparencyPrimary
|
|
38152
|
+
transparencyPrimary,
|
|
38153
|
+
elementsDarkQuinary
|
|
38145
38154
|
} = vars;
|
|
38146
38155
|
return {
|
|
38147
38156
|
...commonVars$5,
|
|
@@ -38158,47 +38167,53 @@
|
|
|
38158
38167
|
borderRadius: borderRadiusLarge,
|
|
38159
38168
|
closeSize: closeMedium,
|
|
38160
38169
|
closeIconSize: iconMedium,
|
|
38161
|
-
avatarSize:
|
|
38170
|
+
avatarSize: iconLarge,
|
|
38162
38171
|
closeMargin: "12px",
|
|
38163
38172
|
// Default
|
|
38164
|
-
color:
|
|
38165
|
-
iconColor:
|
|
38166
|
-
textColor:
|
|
38167
|
-
closeIconColor:
|
|
38168
|
-
closeIconColorHover:
|
|
38169
|
-
closeIconColorPressed:
|
|
38173
|
+
color: staticWhite,
|
|
38174
|
+
iconColor: elementsDarkQuinary,
|
|
38175
|
+
textColor: staticBlack,
|
|
38176
|
+
closeIconColor: staticBlack,
|
|
38177
|
+
closeIconColorHover: staticBlack,
|
|
38178
|
+
closeIconColorPressed: staticBlack,
|
|
38170
38179
|
closeColorHover: transparencyTertiary,
|
|
38171
38180
|
closeColorPressed: transparencyQuinary,
|
|
38172
|
-
titleTextColor:
|
|
38173
|
-
descriptionTextColor:
|
|
38174
|
-
actionTextColor:
|
|
38181
|
+
titleTextColor: staticBlack,
|
|
38182
|
+
descriptionTextColor: staticBlack,
|
|
38183
|
+
actionTextColor: staticBlack,
|
|
38184
|
+
iconWrapperColor: "rgb(16 16 16 / 8%)",
|
|
38185
|
+
iconWrapperPulseColor: "rgb(16 16 16 / 4%)",
|
|
38175
38186
|
// Success
|
|
38176
|
-
colorSuccess:
|
|
38177
|
-
iconColorSuccess:
|
|
38178
|
-
textColorSuccess:
|
|
38179
|
-
closeIconColorSuccess:
|
|
38180
|
-
closeIconColorHoverSuccess:
|
|
38181
|
-
closeIconColorPressedSuccess:
|
|
38187
|
+
colorSuccess: staticWhite,
|
|
38188
|
+
iconColorSuccess: staticGreen,
|
|
38189
|
+
textColorSuccess: staticBlack,
|
|
38190
|
+
closeIconColorSuccess: staticBlack,
|
|
38191
|
+
closeIconColorHoverSuccess: staticBlack,
|
|
38192
|
+
closeIconColorPressedSuccess: staticBlack,
|
|
38182
38193
|
closeColorHoverSuccess: transparencyTertiary,
|
|
38183
38194
|
closeColorPressedSuccess: transparencyQuinary,
|
|
38184
|
-
titleTextColorSuccess:
|
|
38185
|
-
descriptionTextColorSuccess:
|
|
38186
|
-
actionTextColorSuccess:
|
|
38195
|
+
titleTextColorSuccess: staticBlack,
|
|
38196
|
+
descriptionTextColorSuccess: staticBlack,
|
|
38197
|
+
actionTextColorSuccess: staticBlack,
|
|
38198
|
+
iconWrapperColorSuccess: derived.brandTertiary300,
|
|
38199
|
+
iconWrapperPulseColorSuccess: derived.brand350,
|
|
38187
38200
|
// Info
|
|
38188
|
-
colorInfo:
|
|
38189
|
-
iconColorInfo:
|
|
38190
|
-
textColorInfo:
|
|
38191
|
-
closeIconColorInfo:
|
|
38192
|
-
closeIconColorHoverInfo:
|
|
38193
|
-
closeIconColorPressedInfo:
|
|
38201
|
+
colorInfo: staticWhite,
|
|
38202
|
+
iconColorInfo: elementsQuinary,
|
|
38203
|
+
textColorInfo: staticBlack,
|
|
38204
|
+
closeIconColorInfo: staticBlack,
|
|
38205
|
+
closeIconColorHoverInfo: staticBlack,
|
|
38206
|
+
closeIconColorPressedInfo: staticBlack,
|
|
38194
38207
|
closeColorHoverInfo: transparencySecondary,
|
|
38195
38208
|
closeColorPressedInfo: transparencyPrimary,
|
|
38196
|
-
titleTextColorInfo:
|
|
38197
|
-
descriptionTextColorInfo:
|
|
38198
|
-
actionTextColorInfo:
|
|
38209
|
+
titleTextColorInfo: staticBlack,
|
|
38210
|
+
descriptionTextColorInfo: staticBlack,
|
|
38211
|
+
actionTextColorInfo: staticBlack,
|
|
38212
|
+
iconWrapperColorInfo: "rgb(197 199 202 / 36%)",
|
|
38213
|
+
iconWrapperPulseColorInfo: "rgb(197 199 202 / 14%)",
|
|
38199
38214
|
// Warning
|
|
38200
|
-
colorWarning:
|
|
38201
|
-
iconColorWarning:
|
|
38215
|
+
colorWarning: staticWhite,
|
|
38216
|
+
iconColorWarning: brandSecondary600,
|
|
38202
38217
|
textColorWarning: staticBlack,
|
|
38203
38218
|
closeIconColorWarning: staticBlack,
|
|
38204
38219
|
closeIconColorHoverWarning: staticBlack,
|
|
@@ -38208,30 +38223,36 @@
|
|
|
38208
38223
|
titleTextColorWarning: staticBlack,
|
|
38209
38224
|
descriptionTextColorWarning: staticBlack,
|
|
38210
38225
|
actionTextColorWarning: staticBlack,
|
|
38226
|
+
iconWrapperColorWarning: "rgb(249 222 109 / 28%)",
|
|
38227
|
+
iconWrapperPulseColorWarning: "rgb(249 222 109 / 18%)",
|
|
38211
38228
|
// Error
|
|
38212
|
-
colorError:
|
|
38213
|
-
iconColorError:
|
|
38214
|
-
textColorError:
|
|
38215
|
-
closeIconColorError:
|
|
38216
|
-
closeIconColorHoverError:
|
|
38217
|
-
closeIconColorPressedError:
|
|
38229
|
+
colorError: staticWhite,
|
|
38230
|
+
iconColorError: staticRed,
|
|
38231
|
+
textColorError: staticBlack,
|
|
38232
|
+
closeIconColorError: staticBlack,
|
|
38233
|
+
closeIconColorHoverError: staticBlack,
|
|
38234
|
+
closeIconColorPressedError: staticBlack,
|
|
38218
38235
|
closeColorHoverError: transparencyTertiary,
|
|
38219
38236
|
closeColorPressedError: transparencyQuinary,
|
|
38220
|
-
titleTextColorError:
|
|
38221
|
-
descriptionTextColorError:
|
|
38222
|
-
actionTextColorError:
|
|
38237
|
+
titleTextColorError: staticBlack,
|
|
38238
|
+
descriptionTextColorError: staticBlack,
|
|
38239
|
+
actionTextColorError: staticBlack,
|
|
38240
|
+
iconWrapperColorError: derived.brandQuinary100,
|
|
38241
|
+
iconWrapperPulseColorError: derived.brand550,
|
|
38223
38242
|
// Primary
|
|
38224
|
-
colorPrimary:
|
|
38225
|
-
iconColorPrimary:
|
|
38226
|
-
textColorPrimary:
|
|
38227
|
-
closeIconColorPrimary:
|
|
38228
|
-
closeIconColorHoverPrimary:
|
|
38229
|
-
closeIconColorPressedPrimary:
|
|
38243
|
+
colorPrimary: staticWhite,
|
|
38244
|
+
iconColorPrimary: brandPrimary500,
|
|
38245
|
+
textColorPrimary: staticBlack,
|
|
38246
|
+
closeIconColorPrimary: staticBlack,
|
|
38247
|
+
closeIconColorHoverPrimary: staticBlack,
|
|
38248
|
+
closeIconColorPressedPrimary: staticBlack,
|
|
38230
38249
|
closeColorHoverPrimary: transparencyTertiary,
|
|
38231
38250
|
closeColorPressedPrimary: transparencyQuinary,
|
|
38232
|
-
titleTextColorPrimary:
|
|
38233
|
-
descriptionTextColorPrimary:
|
|
38234
|
-
actionTextColorPrimary:
|
|
38251
|
+
titleTextColorPrimary: staticBlack,
|
|
38252
|
+
descriptionTextColorPrimary: staticBlack,
|
|
38253
|
+
actionTextColorPrimary: staticBlack,
|
|
38254
|
+
iconWrapperColorPrimary: derived.brandPrimary100,
|
|
38255
|
+
iconWrapperPulseColorPrimary: derived.brandPrimary50
|
|
38235
38256
|
};
|
|
38236
38257
|
};
|
|
38237
38258
|
const notificationLight = createTheme$1({
|
|
@@ -41869,9 +41890,9 @@
|
|
|
41869
41890
|
fontBodyMedium,
|
|
41870
41891
|
lineHeightBodyMedium,
|
|
41871
41892
|
borderRadiusLarge,
|
|
41872
|
-
elementsQuinary,
|
|
41873
41893
|
containerSecondary,
|
|
41874
|
-
brandPrimary300
|
|
41894
|
+
brandPrimary300,
|
|
41895
|
+
brandPrimary500
|
|
41875
41896
|
} = vars;
|
|
41876
41897
|
return {
|
|
41877
41898
|
baseColor: containerPrimary,
|
|
@@ -41879,8 +41900,9 @@
|
|
|
41879
41900
|
lineHeight: lineHeightBodyMedium,
|
|
41880
41901
|
borderRadius: borderRadiusLarge,
|
|
41881
41902
|
draggerColor: elementsTertiary,
|
|
41882
|
-
draggerBorder: `
|
|
41883
|
-
draggerBorderHover: `
|
|
41903
|
+
draggerBorder: `1px dashed ${brandPrimary500}`,
|
|
41904
|
+
draggerBorderHover: `1px solid ${brandPrimary500}`,
|
|
41905
|
+
draggerShadowFocus: `0 0 0 4px ${brandPrimary500}1a`,
|
|
41884
41906
|
itemColorHover: elementsTertiary,
|
|
41885
41907
|
itemColorHoverError: changeColor(staticRed, {
|
|
41886
41908
|
alpha: 0.05
|
|
@@ -41890,8 +41912,8 @@
|
|
|
41890
41912
|
itemTextColorSuccess: staticGreen,
|
|
41891
41913
|
itemIconColor: elementsPrimary,
|
|
41892
41914
|
itemDisabledOpacity: opacityDisabled,
|
|
41893
|
-
itemBorderImageCardError: `
|
|
41894
|
-
itemBorderImageCard: `
|
|
41915
|
+
itemBorderImageCardError: `1px solid ${staticRed}`,
|
|
41916
|
+
itemBorderImageCard: `1px solid ${elementsQuaternary}`,
|
|
41895
41917
|
draggerIconBgColor: elementsTertiary,
|
|
41896
41918
|
draggerIconColor: elementsPrimary,
|
|
41897
41919
|
draggerTitleColor: textPrimary,
|
|
@@ -44148,8 +44170,7 @@
|
|
|
44148
44170
|
`), cM("dashed", [cE("border, state-border", {
|
|
44149
44171
|
borderStyle: "dashed !important"
|
|
44150
44172
|
})]), cM("disabled", {
|
|
44151
|
-
cursor: "not-allowed"
|
|
44152
|
-
opacity: "var(--u-opacity-disabled)"
|
|
44173
|
+
cursor: "not-allowed"
|
|
44153
44174
|
})]), c$1("@keyframes button-wave-spread", {
|
|
44154
44175
|
from: {
|
|
44155
44176
|
boxShadow: "0 0 0.5px 0 var(--u-ripple-color)"
|
|
@@ -44374,7 +44395,7 @@
|
|
|
44374
44395
|
"--u-text-color": mergedTextColor,
|
|
44375
44396
|
"--u-text-color-hover": propTextColor ? createHoverColor(propTextColor) : self[createKey("textColorTextHover", mergedType)],
|
|
44376
44397
|
"--u-text-color-pressed": propTextColor ? createPressedColor(propTextColor) : self[createKey("textColorTextPressed", mergedType)],
|
|
44377
|
-
"--u-text-color-focus": propTextColor ? createHoverColor(propTextColor) : self[createKey("
|
|
44398
|
+
"--u-text-color-focus": propTextColor ? createHoverColor(propTextColor) : self[createKey("textColorTextFocus", mergedType)],
|
|
44378
44399
|
"--u-text-color-disabled": propTextColor || self[createKey("textColorTextDisabled", mergedType)]
|
|
44379
44400
|
};
|
|
44380
44401
|
} else if (ghost || dashed) {
|
|
@@ -44390,7 +44411,7 @@
|
|
|
44390
44411
|
"--u-text-color": mergedTextColor || self[createKey("textColorGhost", mergedType)],
|
|
44391
44412
|
"--u-text-color-hover": mergedTextColor ? createHoverColor(mergedTextColor) : self[createKey("textColorGhostHover", mergedType)],
|
|
44392
44413
|
"--u-text-color-pressed": mergedTextColor ? createPressedColor(mergedTextColor) : self[createKey("textColorGhostPressed", mergedType)],
|
|
44393
|
-
"--u-text-color-focus": mergedTextColor ? createHoverColor(mergedTextColor) : self[createKey("
|
|
44414
|
+
"--u-text-color-focus": mergedTextColor ? createHoverColor(mergedTextColor) : self[createKey("textColorGhostFocus", mergedType)],
|
|
44394
44415
|
"--u-text-color-disabled": mergedTextColor || self[createKey("textColorGhostDisabled", mergedType)]
|
|
44395
44416
|
};
|
|
44396
44417
|
} else if (secondary) {
|
|
@@ -44409,7 +44430,7 @@
|
|
|
44409
44430
|
}) : self.colorSecondaryPressed,
|
|
44410
44431
|
"--u-color-focus": isColoredType ? changeColor(mergedTextColor, {
|
|
44411
44432
|
alpha: Number(self.colorOpacitySecondaryHover)
|
|
44412
|
-
}) : self.
|
|
44433
|
+
}) : self.colorSecondaryFocus,
|
|
44413
44434
|
"--u-color-focus-visible": isColoredType ? changeColor(mergedTextColor, {
|
|
44414
44435
|
alpha: +self.colorOpacitySecondaryFocus
|
|
44415
44436
|
}) : self.waveColorSecondary,
|
|
@@ -44419,12 +44440,12 @@
|
|
|
44419
44440
|
"--u-text-color-hover": mergedTextColor,
|
|
44420
44441
|
"--u-text-color-pressed": mergedTextColor,
|
|
44421
44442
|
"--u-text-color-focus": mergedTextColor,
|
|
44422
|
-
"--u-text-color-disabled": mergedTextColor
|
|
44443
|
+
"--u-text-color-disabled": isColoredType ? mergedTextColor : self.textColorSecondaryDisabled
|
|
44423
44444
|
};
|
|
44424
44445
|
} else if (tertiary || quaternary) {
|
|
44425
44446
|
const typeColor = typeIsDefault ? self.textColor : typeIsTertiary ? self.textColorTertiary : self[createKey("color", mergedType)];
|
|
44426
44447
|
const mergedColor = color || typeColor;
|
|
44427
|
-
colorProps["--u-
|
|
44448
|
+
colorProps["--u-text-color"] = mergedColor;
|
|
44428
44449
|
colorProps["--u-text-color"] = mergedColor;
|
|
44429
44450
|
colorProps["--u-text-color-hover"] = mergedColor;
|
|
44430
44451
|
colorProps["--u-text-color-pressed"] = mergedColor;
|
|
@@ -44434,7 +44455,7 @@
|
|
|
44434
44455
|
colorProps["--u-color"] = self.colorTertiary;
|
|
44435
44456
|
colorProps["--u-color-hover"] = self.colorTertiaryHover;
|
|
44436
44457
|
colorProps["--u-color-pressed"] = self.colorTertiaryPressed;
|
|
44437
|
-
colorProps["--u-color-focus"] = self.
|
|
44458
|
+
colorProps["--u-color-focus"] = self.colorTertiaryFocus;
|
|
44438
44459
|
colorProps["--u-color-disabled"] = self.colorTertiaryDisalbed;
|
|
44439
44460
|
colorProps["--u-ripple-color"] = self.colorTertiary;
|
|
44440
44461
|
colorProps["--u-text-color"] = self.textColorTextTertiary;
|
|
@@ -44443,12 +44464,15 @@
|
|
|
44443
44464
|
colorProps["--u-text-color-focus"] = self.textColorTextTertiary;
|
|
44444
44465
|
colorProps["--u-text-color-disabled"] = self.textColorTextTertiary;
|
|
44445
44466
|
colorProps["--u-color-focus-visible"] = self.waveColorTertiary;
|
|
44467
|
+
colorProps["--u-ripple-color"] = self.rippleColorTertiary;
|
|
44446
44468
|
} else {
|
|
44447
44469
|
colorProps["--u-color"] = self.colorQuaternary;
|
|
44448
44470
|
colorProps["--u-color-hover"] = self.colorQuaternaryHover;
|
|
44449
44471
|
colorProps["--u-color-pressed"] = self.colorQuaternaryPressed;
|
|
44450
|
-
colorProps["--u-color-focus"] = self.
|
|
44472
|
+
colorProps["--u-color-focus"] = self.colorQuaternaryFocus;
|
|
44451
44473
|
colorProps["--u-color-disabled"] = self.colorQuaternary;
|
|
44474
|
+
colorProps["--u-ripple-color"] = self.rippleColorQuaternary;
|
|
44475
|
+
colorProps["--u-color-focus-visible"] = self.waveColorQuaternary;
|
|
44452
44476
|
}
|
|
44453
44477
|
} else {
|
|
44454
44478
|
colorProps = {
|
|
@@ -59743,9 +59767,7 @@
|
|
|
59743
59767
|
|
|
59744
59768
|
var style$12 = cB("chat", `
|
|
59745
59769
|
height: 100%;
|
|
59746
|
-
|
|
59747
|
-
min-height: 0;
|
|
59748
|
-
display: flex;
|
|
59770
|
+
background-color: transparent;
|
|
59749
59771
|
box-sizing: border-box;
|
|
59750
59772
|
.u-list-item__text {
|
|
59751
59773
|
grid-template-columns: 1fr !important;
|
|
@@ -60495,14 +60517,16 @@
|
|
|
60495
60517
|
}
|
|
60496
60518
|
);
|
|
60497
60519
|
}
|
|
60498
|
-
return /* @__PURE__ */ vue.h(
|
|
60499
|
-
|
|
60500
|
-
|
|
60501
|
-
|
|
60502
|
-
|
|
60503
|
-
|
|
60504
|
-
|
|
60505
|
-
|
|
60520
|
+
return /* @__PURE__ */ vue.h(UFlex, { justify: "center", align: "center", vertical: true }, {
|
|
60521
|
+
default: () => /* @__PURE__ */ vue.h(
|
|
60522
|
+
UEmpty,
|
|
60523
|
+
{
|
|
60524
|
+
...this.emptyProps,
|
|
60525
|
+
theme: this.mergedTheme.peers.Empty,
|
|
60526
|
+
themeOverrides: this.mergedTheme.peerOverrides.Empty
|
|
60527
|
+
}
|
|
60528
|
+
)
|
|
60529
|
+
});
|
|
60506
60530
|
})();
|
|
60507
60531
|
return /* @__PURE__ */ vue.h(
|
|
60508
60532
|
"div",
|
|
@@ -61181,8 +61205,12 @@
|
|
|
61181
61205
|
handleDownloadClick,
|
|
61182
61206
|
capitalizeFirstLetter
|
|
61183
61207
|
} = opts;
|
|
61208
|
+
const getExt = (name) => {
|
|
61209
|
+
const i = name.lastIndexOf(".");
|
|
61210
|
+
return i === -1 || i === name.length - 1 ? "" : name.slice(i + 1);
|
|
61211
|
+
};
|
|
61184
61212
|
const isImageType = ["image", "image-card"].includes(listType);
|
|
61185
|
-
const fileExt = file.name
|
|
61213
|
+
const fileExt = getExt(file.name);
|
|
61186
61214
|
const capitalizedExt = capitalizeFirstLetter(fileExt);
|
|
61187
61215
|
const icon = vue.h(
|
|
61188
61216
|
"div",
|
|
@@ -62555,6 +62583,7 @@
|
|
|
62555
62583
|
display: block;
|
|
62556
62584
|
`)]), cM("drag-over", [cB("upload-dragger", `
|
|
62557
62585
|
border: var(--u-dragger-border-hover);
|
|
62586
|
+
box-shadow: var(--u-dragger-shadow-focus);
|
|
62558
62587
|
`)]), cE("label", {
|
|
62559
62588
|
marginBottom: "12px",
|
|
62560
62589
|
marginTop: 0,
|
|
@@ -63534,6 +63563,7 @@
|
|
|
63534
63563
|
draggerColor,
|
|
63535
63564
|
draggerBorder,
|
|
63536
63565
|
draggerBorderHover,
|
|
63566
|
+
draggerShadowFocus,
|
|
63537
63567
|
itemColorHover,
|
|
63538
63568
|
itemColorHoverError,
|
|
63539
63569
|
itemTextColorError,
|
|
@@ -63563,6 +63593,7 @@
|
|
|
63563
63593
|
"--u-border-radius": borderRadius,
|
|
63564
63594
|
"--u-dragger-border": draggerBorder,
|
|
63565
63595
|
"--u-dragger-border-hover": draggerBorderHover,
|
|
63596
|
+
"--u-dragger-shadow-focus": draggerShadowFocus,
|
|
63566
63597
|
"--u-dragger-color": draggerColor,
|
|
63567
63598
|
"--u-font-size": fontSize,
|
|
63568
63599
|
"--u-item-color-hover": itemColorHover,
|
|
@@ -65555,9 +65586,9 @@
|
|
|
65555
65586
|
type: Number,
|
|
65556
65587
|
default: 10
|
|
65557
65588
|
},
|
|
65558
|
-
|
|
65589
|
+
height: {
|
|
65559
65590
|
type: [String, Number],
|
|
65560
|
-
default:
|
|
65591
|
+
default: 800
|
|
65561
65592
|
},
|
|
65562
65593
|
onChatSelect: {
|
|
65563
65594
|
type: Function,
|
|
@@ -65886,15 +65917,15 @@
|
|
|
65886
65917
|
render() {
|
|
65887
65918
|
const { $slots } = this;
|
|
65888
65919
|
this.onRender?.();
|
|
65889
|
-
const
|
|
65890
|
-
|
|
65920
|
+
const heightStyle = this.height ? {
|
|
65921
|
+
height: typeof this.height === "number" ? `${this.height}px` : this.height
|
|
65891
65922
|
} : {};
|
|
65892
65923
|
return /* @__PURE__ */ vue.h(
|
|
65893
65924
|
"div",
|
|
65894
65925
|
{
|
|
65895
65926
|
class: [`${this.mergedClsPrefix}-chat`, this.themeClass],
|
|
65896
65927
|
style: {
|
|
65897
|
-
...
|
|
65928
|
+
...heightStyle,
|
|
65898
65929
|
...this.cssVars
|
|
65899
65930
|
}
|
|
65900
65931
|
},
|
|
@@ -65904,7 +65935,7 @@
|
|
|
65904
65935
|
sidebarHeaderMain: $slots.sidebarHeaderMain,
|
|
65905
65936
|
sidebarHeaderActions: $slots.sidebarHeaderActions
|
|
65906
65937
|
})
|
|
65907
|
-
]), resolveSlot($slots.default, () => [
|
|
65938
|
+
]), this.selectedChatId && resolveSlot($slots.default, () => [
|
|
65908
65939
|
/* @__PURE__ */ vue.h(ChatMainArea, null, {
|
|
65909
65940
|
headerActions: $slots.headerActions
|
|
65910
65941
|
})
|
|
@@ -118032,7 +118063,9 @@
|
|
|
118032
118063
|
[createKey("closeIconColorPressed", type)]: closeIconColorPressed,
|
|
118033
118064
|
[createKey("titleTextColor", type)]: titleTextColor,
|
|
118034
118065
|
[createKey("descriptionTextColor", type)]: descriptionTextColor,
|
|
118035
|
-
[createKey("actionTextColor", type)]: actionTextColor
|
|
118066
|
+
[createKey("actionTextColor", type)]: actionTextColor,
|
|
118067
|
+
[createKey("iconWrapperColor", type)]: iconWrapperColor,
|
|
118068
|
+
[createKey("iconWrapperPulseColor", type)]: iconWrapperPulseColor
|
|
118036
118069
|
},
|
|
118037
118070
|
common: { cubicBezierEaseOut, cubicBezierEaseIn, cubicBezierEaseInOut }
|
|
118038
118071
|
} = mergedThemeRef.value;
|
|
@@ -118072,7 +118105,12 @@
|
|
|
118072
118105
|
"--u-padding-bottom": bottom,
|
|
118073
118106
|
"--u-meta-font-size": metaFontSize,
|
|
118074
118107
|
"--u-description-font-size": descriptionFontSize,
|
|
118075
|
-
"--u-avatar-size": avatarSize
|
|
118108
|
+
"--u-avatar-size": avatarSize,
|
|
118109
|
+
"--u-icon-wrapper-color": iconWrapperColor,
|
|
118110
|
+
"--u-icon-wrapper-pulse-color": iconWrapperPulseColor,
|
|
118111
|
+
iconColor,
|
|
118112
|
+
iconWrapperColor,
|
|
118113
|
+
iconWrapperPulseColor
|
|
118076
118114
|
};
|
|
118077
118115
|
});
|
|
118078
118116
|
const themeClassHandle = inlineThemeDisabled ? useThemeClass(
|
|
@@ -118096,7 +118134,8 @@
|
|
|
118096
118134
|
};
|
|
118097
118135
|
},
|
|
118098
118136
|
render() {
|
|
118099
|
-
const { mergedClsPrefix } = this;
|
|
118137
|
+
const { mergedClsPrefix, cssVars } = this;
|
|
118138
|
+
const { iconColor, iconWrapperColor, iconWrapperPulseColor } = cssVars;
|
|
118100
118139
|
this.onRender?.();
|
|
118101
118140
|
return /* @__PURE__ */ vue.h(
|
|
118102
118141
|
"div",
|
|
@@ -118120,7 +118159,18 @@
|
|
|
118120
118159
|
],
|
|
118121
118160
|
style: this.cssVars
|
|
118122
118161
|
},
|
|
118123
|
-
this.showAvatar ? /* @__PURE__ */ vue.h("div", { class: `${mergedClsPrefix}-notification__avatar` },
|
|
118162
|
+
this.showAvatar ? this.avatar ? /* @__PURE__ */ vue.h("div", { class: `${mergedClsPrefix}-notification__avatar` }, render$1(this.avatar)) : /* @__PURE__ */ vue.h(
|
|
118163
|
+
UIconWrapper,
|
|
118164
|
+
{
|
|
118165
|
+
pulseSize: 52,
|
|
118166
|
+
size: 36,
|
|
118167
|
+
color: iconWrapperColor,
|
|
118168
|
+
pulseColor: iconWrapperPulseColor,
|
|
118169
|
+
variant: "pulse",
|
|
118170
|
+
borderRadius: 60
|
|
118171
|
+
},
|
|
118172
|
+
/* @__PURE__ */ vue.h(UIcon, { color: iconColor, size: 24 }, () => this.type === "success" ? /* @__PURE__ */ vue.h(SuccessIcon, null) : /* @__PURE__ */ vue.h(InfoIcon, null))
|
|
118173
|
+
) : null,
|
|
118124
118174
|
this.closable ? /* @__PURE__ */ vue.h(
|
|
118125
118175
|
UBaseClose,
|
|
118126
118176
|
{
|
|
@@ -118402,6 +118452,8 @@
|
|
|
118402
118452
|
display: flex;
|
|
118403
118453
|
overflow: hidden;
|
|
118404
118454
|
flex-shrink: 0;
|
|
118455
|
+
padding-top: var(--u-padding-top);
|
|
118456
|
+
padding-bottom: var(--u-padding-bottom);
|
|
118405
118457
|
padding-left: var(--u-padding-left);
|
|
118406
118458
|
padding-right: var(--u-padding-right);
|
|
118407
118459
|
width: var(--u-width);
|
|
@@ -118411,12 +118463,14 @@
|
|
|
118411
118463
|
border-radius: var(--u-border-radius);
|
|
118412
118464
|
box-sizing: border-box;
|
|
118413
118465
|
opacity: 1;
|
|
118414
|
-
|
|
118466
|
+
box-shadow: 0 0 20px 0 rgba(68, 83, 113, 0.10), 0 12px 20px 0 rgba(68, 83, 113, 0.05);
|
|
118467
|
+
`, [cE("avatar", [cB("icon-wrapper", `
|
|
118468
|
+
`), cB("icon", {
|
|
118415
118469
|
color: "var(--u-icon-color)"
|
|
118416
118470
|
}), cB("base-icon", {
|
|
118417
118471
|
color: "var(--u-icon-color)"
|
|
118418
118472
|
})]), cM("show-avatar", [cB("notification-main", `
|
|
118419
|
-
margin-left:
|
|
118473
|
+
margin-left: 16px;
|
|
118420
118474
|
width: calc(100% - var(--u-avatar-size) + 16px);
|
|
118421
118475
|
`)]), cM("closable", [cB("notification-main", [c$1("> *:first-child", `
|
|
118422
118476
|
padding-right: var(--u-close-size);
|
|
@@ -118429,9 +118483,7 @@
|
|
|
118429
118483
|
background-color .3s var(--u-bezier),
|
|
118430
118484
|
color .3s var(--u-bezier);
|
|
118431
118485
|
`)]), cE("avatar", `
|
|
118432
|
-
position:
|
|
118433
|
-
top: var(--u-padding-top);
|
|
118434
|
-
left: var(--u-padding-left);
|
|
118486
|
+
position: relative;
|
|
118435
118487
|
width: var(--u-avatar-size);
|
|
118436
118488
|
height: var(--u-avatar-size);
|
|
118437
118489
|
font-size: var(--u-avatar-size);
|
|
@@ -118439,18 +118491,18 @@
|
|
|
118439
118491
|
align-items: center;
|
|
118440
118492
|
justify-content: center;
|
|
118441
118493
|
`, [cB("icon", "transition: color .3s var(--u-bezier);")]), cB("notification-main", `
|
|
118442
|
-
padding-top:
|
|
118443
|
-
padding-bottom: var(--u-padding-bottom);
|
|
118494
|
+
padding-top: 2px;
|
|
118444
118495
|
box-sizing: border-box;
|
|
118445
118496
|
display: flex;
|
|
118446
118497
|
flex-direction: column;
|
|
118447
118498
|
margin-left: 8px;
|
|
118448
118499
|
width: calc(100% - 8px);
|
|
118500
|
+
justify-content: center;
|
|
118449
118501
|
`, [cB("notification-main-footer", `
|
|
118450
118502
|
display: flex;
|
|
118451
118503
|
align-items: center;
|
|
118452
118504
|
justify-content: space-between;
|
|
118453
|
-
margin-top:
|
|
118505
|
+
margin-top: 8px;
|
|
118454
118506
|
`, [cE("meta", `
|
|
118455
118507
|
font-size: var(--u-meta-font-size);
|
|
118456
118508
|
transition: color .3s var(--u-bezier-ease-out);
|
|
@@ -118459,6 +118511,8 @@
|
|
|
118459
118511
|
cursor: pointer;
|
|
118460
118512
|
transition: color .3s var(--u-bezier-ease-out);
|
|
118461
118513
|
color: var(--u-action-text-color);
|
|
118514
|
+
width: 100%;
|
|
118515
|
+
margin-top: 16px;
|
|
118462
118516
|
`)]), cE("header", `
|
|
118463
118517
|
font-weight: var(--u-title-font-weight);
|
|
118464
118518
|
font-size: var(--u-title-font-size);
|
|
@@ -129769,7 +129823,7 @@
|
|
|
129769
129823
|
watermarkProps: watermarkProps
|
|
129770
129824
|
});
|
|
129771
129825
|
|
|
129772
|
-
var version = "1.8.
|
|
129826
|
+
var version = "1.8.2";
|
|
129773
129827
|
|
|
129774
129828
|
function create({
|
|
129775
129829
|
componentPrefix = "U",
|