3h1-ui 3.0.0-next.65 → 3.0.0-next.67
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/index.js +6 -6
- package/es/style.css +2 -0
- package/lib/index.js +5 -5
- package/package.json +3 -3
package/es/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { h, nextTick, createVNode, defineComponent, ref, computed, unref, watchEffect, watch, resolveComponent, openBlock, createBlock, mergeProps, withCtx, createElementBlock, Fragment, renderList, createTextVNode, toDisplayString, createSlots, renderSlot, normalizeProps, guardReactiveProps, createElementVNode, onMounted, normalizeClass, createCommentVNode, normalizeStyle as normalizeStyle$1, Transition, toHandlers, useSlots, resolveDynamicComponent, withDirectives, vShow, getCurrentInstance, inject, onUnmounted, provide, onBeforeUnmount, reactive, toRef, toRefs, TransitionGroup, getCurrentScope, onScopeDispose, defineAsyncComponent, isRef, toRaw, shallowRef, isVNode, readonly, useAttrs as useAttrs$2, shallowReactive, withKeys, render as render$1, resolveDirective, pushScopeId, popScopeId, useCssVars, triggerRef, Comment, Text, withModifiers } from "vue";
|
|
2
2
|
import { Radio, Select, Tree, TreeSelect, Cascader, Transfer, Input, Tooltip, Skeleton, Popover, Pagination as Pagination$1, Empty as Empty$3, Button as Button$1, Table as Table$2, FormItem, DatePicker as DatePicker$1, InputNumber, Modal as Modal$3, ConfigProvider, Popconfirm, Menu, Dropdown, Divider as Divider$1, Image, Progress, Tag, Alert, Upload, Space, AutoComplete, Switch, Checkbox, Slider, Rate, TimePicker as TimePicker$1, Col, Form, Row, Spin, PageHeader, CheckboxGroup, TableSummaryRow, TableSummaryCell, TableSummary, Badge, FormItemRest, Drawer, Avatar, Descriptions, DescriptionsItem, theme, Breadcrumb, Timeline, TimelineItem } from "ant-design-vue";
|
|
3
3
|
import { isFunction as isFunction$4, isString as isString$4, isArray as isArray$4, getSlot as getSlot$1, addClass as addClass$1, removeClass as removeClass$1, getPopupContainer as getPopupContainer$1, triggerWindowResize, off, on, addResizeListener, removeResizeListener, buildUUID, extendSlots as extendSlots$1, withInstall as withInstall$8, isBoolean as isBoolean$1, isNumber as isNumber$2, isDef as isDef$1, warn as warn$1, downloadByUrl, isObject as isObject$4, isNull, dateUtil, isNullOrUnDef, error as error$1, deepMerge as deepMerge$1, getDynamicProps, buildProps, createBEM, forEach as forEach$1, isClient as isClient$1, filter, treeToList, eachTree, isEmpty, isServer, formatToDate, isMap as isMap$2, findNodeAll, getViewportOffset, isNullAndUnDef, dataURLtoBlob, deepMergeObjects } from "@shy-plugins/utils";
|
|
4
|
-
import { useAttrs as useAttrs$1, useRuleFormItem, useDesign as useDesign$1, useTimeoutFn as useTimeoutFn$2, useScrollTo as useScrollTo$1, useIntersectionObserver, useCopyToClipboard, useMessage, usePagination as usePagination$3, useI18n as useI18n$1, useSortable, createContext as createContext$1, useContext as useContext$2, useBreakpoint, useContentHeight, useWindowSizeFn as useWindowSizeFn$1, onMountedOrActivated, useEventListener as useEventListener$1 } from "@shy-plugins/use";
|
|
4
|
+
import { useAttrs as useAttrs$1, useRuleFormItem, useDesign as useDesign$1, useTimeoutFn as useTimeoutFn$2, useScrollTo as useScrollTo$1, useIntersectionObserver, useCopyToClipboard, useMessage, usePagination as usePagination$3, getVarColor, useI18n as useI18n$1, useSortable, createContext as createContext$1, useContext as useContext$2, useBreakpoint, useContentHeight, useWindowSizeFn as useWindowSizeFn$1, onMountedOrActivated, useEventListener as useEventListener$1 } from "@shy-plugins/use";
|
|
5
5
|
import { zxcvbn } from "@zxcvbn-ts/core";
|
|
6
6
|
import Iconify from "@purge-icons/generated";
|
|
7
7
|
import dayjs from "dayjs";
|
|
@@ -10268,19 +10268,19 @@ const BasicButton = /* @__PURE__ */ defineComponent({
|
|
|
10268
10268
|
let colorPrimary;
|
|
10269
10269
|
switch (props2.type || props2.color) {
|
|
10270
10270
|
case "danger":
|
|
10271
|
-
colorPrimary = "
|
|
10271
|
+
colorPrimary = getVarColor("--red-6");
|
|
10272
10272
|
break;
|
|
10273
10273
|
case "waring":
|
|
10274
|
-
colorPrimary = "
|
|
10274
|
+
colorPrimary = getVarColor("--yellow-5");
|
|
10275
10275
|
break;
|
|
10276
10276
|
case "success":
|
|
10277
|
-
colorPrimary = "
|
|
10277
|
+
colorPrimary = getVarColor("--green-5");
|
|
10278
10278
|
break;
|
|
10279
10279
|
case "message":
|
|
10280
|
-
colorPrimary = "
|
|
10280
|
+
colorPrimary = getVarColor("--blue-6");
|
|
10281
10281
|
break;
|
|
10282
10282
|
default:
|
|
10283
|
-
colorPrimary = "
|
|
10283
|
+
colorPrimary = getVarColor("--primary-5");
|
|
10284
10284
|
break;
|
|
10285
10285
|
}
|
|
10286
10286
|
return colorPrimary;
|
package/es/style.css
CHANGED
|
@@ -1383,6 +1383,7 @@ span.iconify {
|
|
|
1383
1383
|
border-top: unset;
|
|
1384
1384
|
box-shadow: inset 0px 1px 0px 0px var(--gray-3);
|
|
1385
1385
|
background: var(--gray-1);
|
|
1386
|
+
border-radius: 0 0 10px 10px;
|
|
1386
1387
|
}
|
|
1387
1388
|
.shy-basic-modal.fullscreen-modal {
|
|
1388
1389
|
height: 100%;
|
|
@@ -1843,6 +1844,7 @@ span.iconify {
|
|
|
1843
1844
|
border-top: unset;
|
|
1844
1845
|
box-shadow: inset 0px 1px 0px 0px var(--gray-3);
|
|
1845
1846
|
background: var(--gray-1);
|
|
1847
|
+
border-radius: 0 0 10px 10px;
|
|
1846
1848
|
}
|
|
1847
1849
|
.shy-basic-modal.fullscreen-modal {
|
|
1848
1850
|
height: 100%;
|
package/lib/index.js
CHANGED
|
@@ -10292,19 +10292,19 @@ const BasicButton = /* @__PURE__ */ vue.defineComponent({
|
|
|
10292
10292
|
let colorPrimary;
|
|
10293
10293
|
switch (props2.type || props2.color) {
|
|
10294
10294
|
case "danger":
|
|
10295
|
-
colorPrimary = "
|
|
10295
|
+
colorPrimary = use.getVarColor("--red-6");
|
|
10296
10296
|
break;
|
|
10297
10297
|
case "waring":
|
|
10298
|
-
colorPrimary = "
|
|
10298
|
+
colorPrimary = use.getVarColor("--yellow-5");
|
|
10299
10299
|
break;
|
|
10300
10300
|
case "success":
|
|
10301
|
-
colorPrimary = "
|
|
10301
|
+
colorPrimary = use.getVarColor("--green-5");
|
|
10302
10302
|
break;
|
|
10303
10303
|
case "message":
|
|
10304
|
-
colorPrimary = "
|
|
10304
|
+
colorPrimary = use.getVarColor("--blue-6");
|
|
10305
10305
|
break;
|
|
10306
10306
|
default:
|
|
10307
|
-
colorPrimary = "
|
|
10307
|
+
colorPrimary = use.getVarColor("--primary-5");
|
|
10308
10308
|
break;
|
|
10309
10309
|
}
|
|
10310
10310
|
return colorPrimary;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "3h1-ui",
|
|
3
|
-
"version": "3.0.0-next.
|
|
3
|
+
"version": "3.0.0-next.67",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"vxe-table": "^4.3.6",
|
|
31
31
|
"xe-utils": "^3.5.7",
|
|
32
32
|
"@shy-plugins/tinymce": "^1.0.6",
|
|
33
|
-
"@shy-plugins/
|
|
34
|
-
"@shy-plugins/
|
|
33
|
+
"@shy-plugins/utils": "1.0.0-next.1",
|
|
34
|
+
"@shy-plugins/use": "1.0.1-next.1"
|
|
35
35
|
},
|
|
36
36
|
"types": "es/ui/index.d.ts",
|
|
37
37
|
"devDependencies": {
|