3h1-ui 3.0.0-next.60 → 3.0.0-next.61

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 CHANGED
@@ -1,4 +1,4 @@
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, withDirectives, vShow, getCurrentInstance, inject, onUnmounted, provide, onBeforeUnmount, resolveDynamicComponent, 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";
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
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";
@@ -5940,14 +5940,24 @@ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
5940
5940
  return openBlock(), createElementBlock("span", {
5941
5941
  class: normalizeClass(getClass.value)
5942
5942
  }, [
5943
- createElementVNode("div", null, [
5943
+ createElementVNode("div", {
5944
+ class: normalizeClass(`${unref(prefixCls2)}-label`)
5945
+ }, [
5944
5946
  renderSlot(_ctx.$slots, "default", {}, void 0, true),
5945
5947
  __props.helpMessage ? (openBlock(), createBlock(_sfc_main$1A, {
5946
5948
  key: 0,
5947
5949
  class: normalizeClass(`${unref(prefixCls2)}-help`),
5948
5950
  text: __props.helpMessage
5949
- }, null, 8, ["class", "text"])) : createCommentVNode("", true)
5950
- ]),
5951
+ }, null, 8, ["class", "text"])) : createCommentVNode("", true),
5952
+ renderSlot(_ctx.$slots, "extra", {}, () => {
5953
+ var _a2, _b, _c;
5954
+ return [
5955
+ ((_a2 = _ctx.$attrs) == null ? void 0 : _a2.extra) ? (openBlock(), createBlock(resolveDynamicComponent(
5956
+ unref(isFunction$4)(_ctx.$attrs.extra) ? (_c = (_b = _ctx.$attrs).extra) == null ? void 0 : _c.call(_b) : h("span", _ctx.$attrs.extra)
5957
+ ), { key: 0 })) : createCommentVNode("", true)
5958
+ ];
5959
+ }, true)
5960
+ ], 2),
5951
5961
  __props.expand ? (openBlock(), createElementBlock("div", {
5952
5962
  key: 0,
5953
5963
  class: normalizeClass(`${unref(prefixCls2)}-expand`),
@@ -5964,8 +5974,8 @@ const _sfc_main$1z = /* @__PURE__ */ defineComponent({
5964
5974
  };
5965
5975
  }
5966
5976
  });
5967
- const BasicTitle_vue_vue_type_style_index_0_scoped_c885e8af_lang = "";
5968
- const BasicTitle$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["__scopeId", "data-v-c885e8af"]]);
5977
+ const BasicTitle_vue_vue_type_style_index_0_scoped_6f1a89f9_lang = "";
5978
+ const BasicTitle$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["__scopeId", "data-v-6f1a89f9"]]);
5969
5979
  const props$b = {
5970
5980
  prefixCls: { type: String },
5971
5981
  helpMessage: {
package/es/style.css CHANGED
@@ -1124,7 +1124,7 @@ span.iconify {
1124
1124
  }
1125
1125
  .shy-basic-help__wrap p {
1126
1126
  margin-bottom: 0;
1127
- }.shy-basic-title[data-v-c885e8af] {
1127
+ }.shy-basic-title[data-v-6f1a89f9] {
1128
1128
  position: relative;
1129
1129
  display: flex;
1130
1130
  font-family: PingFangSC, PingFang SC;
@@ -1137,7 +1137,12 @@ span.iconify {
1137
1137
  justify-content: space-between;
1138
1138
  align-items: center;
1139
1139
  }
1140
- .shy-basic-title-show-span[data-v-c885e8af]::before {
1140
+ .shy-basic-title-label[data-v-6f1a89f9] {
1141
+ display: flex;
1142
+ gap: 8px;
1143
+ align-items: center;
1144
+ }
1145
+ .shy-basic-title-show-span[data-v-6f1a89f9]::before {
1141
1146
  content: '';
1142
1147
  position: absolute;
1143
1148
  width: 2px;
@@ -1148,17 +1153,17 @@ span.iconify {
1148
1153
  top: 50%;
1149
1154
  transform: translateY(-50%);
1150
1155
  }
1151
- .shy-basic-title-help[data-v-c885e8af] {
1156
+ .shy-basic-title-help[data-v-6f1a89f9] {
1152
1157
  margin-left: 10px;
1153
1158
  }
1154
- .shy-basic-title-expand[data-v-c885e8af] {
1159
+ .shy-basic-title-expand[data-v-6f1a89f9] {
1155
1160
  cursor: pointer;
1156
1161
  font-size: 14px;
1157
1162
  display: flex;
1158
1163
  align-items: center;
1159
1164
  color: var(--primary-5);
1160
1165
  }
1161
- .shy-basic-title-expand-icon[data-v-c885e8af] {
1166
+ .shy-basic-title-expand-icon[data-v-6f1a89f9] {
1162
1167
  margin-right: 3px;
1163
1168
  }.shy-collapse-container {
1164
1169
  background-color: #ffffff;
package/lib/index.js CHANGED
@@ -5964,14 +5964,24 @@ const _sfc_main$1z = /* @__PURE__ */ vue.defineComponent({
5964
5964
  return vue.openBlock(), vue.createElementBlock("span", {
5965
5965
  class: vue.normalizeClass(getClass.value)
5966
5966
  }, [
5967
- vue.createElementVNode("div", null, [
5967
+ vue.createElementVNode("div", {
5968
+ class: vue.normalizeClass(`${vue.unref(prefixCls2)}-label`)
5969
+ }, [
5968
5970
  vue.renderSlot(_ctx.$slots, "default", {}, void 0, true),
5969
5971
  __props.helpMessage ? (vue.openBlock(), vue.createBlock(_sfc_main$1A, {
5970
5972
  key: 0,
5971
5973
  class: vue.normalizeClass(`${vue.unref(prefixCls2)}-help`),
5972
5974
  text: __props.helpMessage
5973
- }, null, 8, ["class", "text"])) : vue.createCommentVNode("", true)
5974
- ]),
5975
+ }, null, 8, ["class", "text"])) : vue.createCommentVNode("", true),
5976
+ vue.renderSlot(_ctx.$slots, "extra", {}, () => {
5977
+ var _a2, _b, _c;
5978
+ return [
5979
+ ((_a2 = _ctx.$attrs) == null ? void 0 : _a2.extra) ? (vue.openBlock(), vue.createBlock(vue.resolveDynamicComponent(
5980
+ vue.unref(utils.isFunction)(_ctx.$attrs.extra) ? (_c = (_b = _ctx.$attrs).extra) == null ? void 0 : _c.call(_b) : vue.h("span", _ctx.$attrs.extra)
5981
+ ), { key: 0 })) : vue.createCommentVNode("", true)
5982
+ ];
5983
+ }, true)
5984
+ ], 2),
5975
5985
  __props.expand ? (vue.openBlock(), vue.createElementBlock("div", {
5976
5986
  key: 0,
5977
5987
  class: vue.normalizeClass(`${vue.unref(prefixCls2)}-expand`),
@@ -5988,8 +5998,8 @@ const _sfc_main$1z = /* @__PURE__ */ vue.defineComponent({
5988
5998
  };
5989
5999
  }
5990
6000
  });
5991
- const BasicTitle_vue_vue_type_style_index_0_scoped_c885e8af_lang = "";
5992
- const BasicTitle$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["__scopeId", "data-v-c885e8af"]]);
6001
+ const BasicTitle_vue_vue_type_style_index_0_scoped_6f1a89f9_lang = "";
6002
+ const BasicTitle$1 = /* @__PURE__ */ _export_sfc(_sfc_main$1z, [["__scopeId", "data-v-6f1a89f9"]]);
5993
6003
  const props$b = {
5994
6004
  prefixCls: { type: String },
5995
6005
  helpMessage: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "3h1-ui",
3
- "version": "3.0.0-next.60",
3
+ "version": "3.0.0-next.61",
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/use": "1.0.0-next.1",
34
- "@shy-plugins/utils": "1.0.0-next.1"
33
+ "@shy-plugins/utils": "1.0.0-next.1",
34
+ "@shy-plugins/use": "1.0.0-next.1"
35
35
  },
36
36
  "types": "es/ui/index.d.ts",
37
37
  "devDependencies": {