@web-utils/component 1.2.7 → 2.0.0

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.
@@ -2,7 +2,7 @@ import { n as l } from "../../chunks/6499de3a.js";
2
2
  var r = function() {
3
3
  var e = this, a = e.$createElement, t = e._self._c || a;
4
4
  return t("div", {
5
- staticClass: "address-input-wrapper flex-box"
5
+ staticClass: "address-input-wrapper flex-row"
6
6
  }, [t("div", {
7
7
  staticClass: "address-input-item-wrapper"
8
8
  }, [t("ElCascader", {
@@ -22,7 +22,7 @@ var r = function() {
22
22
  expression: "internalVal.address"
23
23
  }
24
24
  })], 1), t("div", {
25
- staticClass: "address-input-item-wrapper flex-1"
25
+ staticClass: "address-input-item-wrapper flex-item"
26
26
  }, [t("ElInput", {
27
27
  attrs: {
28
28
  placeholder: "\u8BF7\u8F93\u5165\u8BE6\u7EC6\u5730\u5740\uFF01",
@@ -70,7 +70,7 @@ var B = function() {
70
70
  var o = s.node, n = s.data;
71
71
  return [e._t("default", function() {
72
72
  return [n.edit ? [t("span", {
73
- staticClass: "custom-tree-node flex-box flex-1 oh",
73
+ staticClass: "custom-tree-node flex-row flex-item oh",
74
74
  attrs: {
75
75
  "data-id": n.id
76
76
  }
@@ -79,7 +79,7 @@ var B = function() {
79
79
  class: n.loading ? "el-icon-loading" : "el-icon-edit-outline"
80
80
  }) : e._e(), t("ElInput", {
81
81
  ref: "labelTxt",
82
- staticClass: "node-input flex-1",
82
+ staticClass: "node-input flex-item",
83
83
  attrs: {
84
84
  size: "mini",
85
85
  placeholder: e.defaultOptions.inputPlaceholder
@@ -146,12 +146,12 @@ var B = function() {
146
146
  "data-id": n.id
147
147
  }
148
148
  }, [t("span", {
149
- staticClass: "node-label flex-box flex-1 oh ellipsis-1"
149
+ staticClass: "node-label flex-row flex-item oh ellipsis-1"
150
150
  }, [e.icon ? t("i", {
151
151
  staticClass: "node-icon",
152
152
  class: n.loading ? "el-icon-loading" : e.icon(n, o)
153
153
  }) : e._e(), t("span", {
154
- staticClass: "flex-1-relative",
154
+ staticClass: "flex-item-relative",
155
155
  staticStyle: {
156
156
  height: "21px"
157
157
  }
@@ -1,14 +1,14 @@
1
1
  import { n as c } from "../../chunks/6499de3a.js";
2
2
  var a = function() {
3
- var t = this, s = t.$createElement, n = t._self._c || s;
3
+ var t = this, e = t.$createElement, n = t._self._c || e;
4
4
  return n("div", {
5
- class: ["icon-card", "flex-box", t.iconBg]
5
+ class: ["icon-card", "flex-row", t.iconBg]
6
6
  }, [n("div", {
7
7
  staticClass: "card-icon_bg"
8
8
  }, [n("i", {
9
9
  class: ["card-icon", t.icon]
10
10
  })]), n("div", {
11
- staticClass: "flex-1"
11
+ staticClass: "flex-item"
12
12
  }, [n("p", {
13
13
  staticClass: "icon-card_title"
14
14
  }, [t._t("default")], 2), n("div", {
@@ -19,8 +19,8 @@ var a = function() {
19
19
  click: t.toDetails
20
20
  }
21
21
  }, [t._v(t._s(t.number))]), t._t("nuit")], 2)])]);
22
- }, o = [];
23
- const i = {
22
+ }, i = [];
23
+ const o = {
24
24
  name: "IconCard",
25
25
  props: {
26
26
  iconBg: {
@@ -39,11 +39,11 @@ const i = {
39
39
  this.$router.push(this.path);
40
40
  }
41
41
  }
42
- }, e = {};
42
+ }, s = {};
43
43
  var r = /* @__PURE__ */ c(
44
- i,
45
- a,
46
44
  o,
45
+ a,
46
+ i,
47
47
  !1,
48
48
  l,
49
49
  null,
@@ -51,8 +51,8 @@ var r = /* @__PURE__ */ c(
51
51
  null
52
52
  );
53
53
  function l(t) {
54
- for (let s in e)
55
- this[s] = e[s];
54
+ for (let e in s)
55
+ this[e] = s[e];
56
56
  }
57
57
  const u = /* @__PURE__ */ function() {
58
58
  return r.exports;
@@ -12,7 +12,7 @@ var r = function() {
12
12
  click: t.goBack
13
13
  }
14
14
  }, [t._v(" \u8FD4\u56DE ")]) : t._e(), t.$slots.right ? n("div", {
15
- staticClass: "flex-1 flex-box-column vertical-center"
15
+ staticClass: "flex-item flex-row-column vertical-center"
16
16
  }, [t._t("right")], 2) : t._e()], 1);
17
17
  }, s = [];
18
18
  const c = {
@@ -35,12 +35,12 @@ var l = /* @__PURE__ */ a(
35
35
  r,
36
36
  s,
37
37
  !1,
38
- _,
38
+ i,
39
39
  null,
40
40
  null,
41
41
  null
42
42
  );
43
- function _(t) {
43
+ function i(t) {
44
44
  for (let e in o)
45
45
  this[e] = o[e];
46
46
  }
@@ -1 +1 @@
1
- .nav-bar{flex-shrink:0;display:flex;width:100%;height:40px;border-bottom:1px #eee solid}.nav-bar .el-button--text{margin-left:12px}
1
+ .nav-bar{flex-shrink:0;display:flex;width:100%;height:40px;background-color:#fff;border-bottom:1px #eee solid}.nav-bar .el-button--text{margin-left:12px}
@@ -2,7 +2,7 @@ import { n as o } from "../../chunks/6499de3a.js";
2
2
  var l = function() {
3
3
  var e = this, t = e.$createElement, a = e._self._c || t;
4
4
  return a("div", {
5
- staticClass: "page flex-box flex-1",
5
+ staticClass: "page flex-row flex-item",
6
6
  class: {
7
7
  vertical: e.vertical && !e.horizontal
8
8
  }
@@ -1 +1 @@
1
- .page{height:100%;background-color:#fff}.page.vertical{flex-direction:column}
1
+ .page{height:100%}.page.vertical{flex-direction:column}
@@ -1,8 +1,8 @@
1
1
  import { n as a } from "../../chunks/6499de3a.js";
2
- var i = function() {
2
+ var r = function() {
3
3
  var e = this, t = e.$createElement, n = e._self._c || t;
4
4
  return n("div", {
5
- staticClass: "egd-header flex-box egd-page-header"
5
+ staticClass: "egd-header flex-row egd-page-header"
6
6
  }, [e._t("section-title", function() {
7
7
  return [n("span", {
8
8
  staticClass: "section-title"
@@ -14,13 +14,13 @@ var i = function() {
14
14
  }, {
15
15
  title: e.title
16
16
  }), n("div", {
17
- staticClass: "flex-box flex-1 vertical-center"
17
+ staticClass: "flex-row flex-item vertical-center"
18
18
  }, [n("div", {
19
- class: ["flex-box", "flex-1", "vertical-center", {
19
+ class: ["flex-row", "flex-item", "vertical-center", {
20
20
  "align-end": e.alignEnd
21
21
  }]
22
22
  }, [e._t("default")], 2)])], 2);
23
- }, r = [];
23
+ }, i = [];
24
24
  const s = {
25
25
  name: "PageHeader",
26
26
  props: {
@@ -36,8 +36,8 @@ const s = {
36
36
  }, l = {};
37
37
  var o = /* @__PURE__ */ a(
38
38
  s,
39
- i,
40
39
  r,
40
+ i,
41
41
  !1,
42
42
  _,
43
43
  null,
package/dist/index.css CHANGED
@@ -1024,6 +1024,7 @@
1024
1024
  display: flex;
1025
1025
  width: 100%;
1026
1026
  height: 40px;
1027
+ background-color: #fff;
1027
1028
  border-bottom: 1px #eee solid;
1028
1029
  }
1029
1030
  .nav-bar .el-button--text {
@@ -1040,7 +1041,6 @@
1040
1041
  }
1041
1042
  .page {
1042
1043
  height: 100%;
1043
- background-color: #fff;
1044
1044
  }
1045
1045
  .page.vertical {
1046
1046
  flex-direction: column;
package/dist/index.es.js CHANGED
@@ -50,7 +50,7 @@ import "tinymce/plugins/imagetools";
50
50
  var render$18 = function() {
51
51
  var e = this, t = e.$createElement, s = e._self._c || t;
52
52
  return s("div", {
53
- staticClass: "address-input-wrapper flex-box"
53
+ staticClass: "address-input-wrapper flex-row"
54
54
  }, [s("div", {
55
55
  staticClass: "address-input-item-wrapper"
56
56
  }, [s("ElCascader", {
@@ -70,7 +70,7 @@ var render$18 = function() {
70
70
  expression: "internalVal.address"
71
71
  }
72
72
  })], 1), s("div", {
73
- staticClass: "address-input-item-wrapper flex-1"
73
+ staticClass: "address-input-item-wrapper flex-item"
74
74
  }, [s("ElInput", {
75
75
  attrs: {
76
76
  placeholder: "\u8BF7\u8F93\u5165\u8BE6\u7EC6\u5730\u5740\uFF01",
@@ -2892,7 +2892,7 @@ var render$S = function() {
2892
2892
  var r = n.node, i = n.data;
2893
2893
  return [e._t("default", function() {
2894
2894
  return [i.edit ? [s("span", {
2895
- staticClass: "custom-tree-node flex-box flex-1 oh",
2895
+ staticClass: "custom-tree-node flex-row flex-item oh",
2896
2896
  attrs: {
2897
2897
  "data-id": i.id
2898
2898
  }
@@ -2901,7 +2901,7 @@ var render$S = function() {
2901
2901
  class: i.loading ? "el-icon-loading" : "el-icon-edit-outline"
2902
2902
  }) : e._e(), s("ElInput", {
2903
2903
  ref: "labelTxt",
2904
- staticClass: "node-input flex-1",
2904
+ staticClass: "node-input flex-item",
2905
2905
  attrs: {
2906
2906
  size: "mini",
2907
2907
  placeholder: e.defaultOptions.inputPlaceholder
@@ -2968,12 +2968,12 @@ var render$S = function() {
2968
2968
  "data-id": i.id
2969
2969
  }
2970
2970
  }, [s("span", {
2971
- staticClass: "node-label flex-box flex-1 oh ellipsis-1"
2971
+ staticClass: "node-label flex-row flex-item oh ellipsis-1"
2972
2972
  }, [e.icon ? s("i", {
2973
2973
  staticClass: "node-icon",
2974
2974
  class: i.loading ? "el-icon-loading" : e.icon(i, r)
2975
2975
  }) : e._e(), s("span", {
2976
- staticClass: "flex-1-relative",
2976
+ staticClass: "flex-item-relative",
2977
2977
  staticStyle: {
2978
2978
  height: "21px"
2979
2979
  }
@@ -7058,13 +7058,13 @@ const GuideSteps = /* @__PURE__ */ function() {
7058
7058
  var render$v = function() {
7059
7059
  var e = this, t = e.$createElement, s = e._self._c || t;
7060
7060
  return s("div", {
7061
- class: ["icon-card", "flex-box", e.iconBg]
7061
+ class: ["icon-card", "flex-row", e.iconBg]
7062
7062
  }, [s("div", {
7063
7063
  staticClass: "card-icon_bg"
7064
7064
  }, [s("i", {
7065
7065
  class: ["card-icon", e.icon]
7066
7066
  })]), s("div", {
7067
- staticClass: "flex-1"
7067
+ staticClass: "flex-item"
7068
7068
  }, [s("p", {
7069
7069
  staticClass: "icon-card_title"
7070
7070
  }, [e._t("default")], 2), s("div", {
@@ -7775,7 +7775,7 @@ var render$q = function() {
7775
7775
  click: e.goBack
7776
7776
  }
7777
7777
  }, [e._v(" \u8FD4\u56DE ")]) : e._e(), e.$slots.right ? s("div", {
7778
- staticClass: "flex-1 flex-box-column vertical-center"
7778
+ staticClass: "flex-item flex-row-column vertical-center"
7779
7779
  }, [e._t("right")], 2) : e._e()], 1);
7780
7780
  }, staticRenderFns$q = [];
7781
7781
  const NavBar_vue_vue_type_style_index_0_lang = "", __vue2_script$u = {
@@ -7844,7 +7844,7 @@ const NotImplement = /* @__PURE__ */ function() {
7844
7844
  var render$o = function() {
7845
7845
  var e = this, t = e.$createElement, s = e._self._c || t;
7846
7846
  return s("div", {
7847
- staticClass: "page flex-box flex-1",
7847
+ staticClass: "page flex-row flex-item",
7848
7848
  class: {
7849
7849
  vertical: e.vertical && !e.horizontal
7850
7850
  }
@@ -8626,7 +8626,7 @@ const PageableView = /* @__PURE__ */ function() {
8626
8626
  var render$l = function() {
8627
8627
  var e = this, t = e.$createElement, s = e._self._c || t;
8628
8628
  return s("div", {
8629
- staticClass: "egd-header flex-box egd-page-header"
8629
+ staticClass: "egd-header flex-row egd-page-header"
8630
8630
  }, [e._t("section-title", function() {
8631
8631
  return [s("span", {
8632
8632
  staticClass: "section-title"
@@ -8638,9 +8638,9 @@ var render$l = function() {
8638
8638
  }, {
8639
8639
  title: e.title
8640
8640
  }), s("div", {
8641
- staticClass: "flex-box flex-1 vertical-center"
8641
+ staticClass: "flex-row flex-item vertical-center"
8642
8642
  }, [s("div", {
8643
- class: ["flex-box", "flex-1", "vertical-center", {
8643
+ class: ["flex-row", "flex-item", "vertical-center", {
8644
8644
  "align-end": e.alignEnd
8645
8645
  }]
8646
8646
  }, [e._t("default")], 2)])], 2);
@@ -13076,7 +13076,7 @@ function __vue2_injectStyles(e) {
13076
13076
  }
13077
13077
  const XDialog = /* @__PURE__ */ function() {
13078
13078
  return __component__.exports;
13079
- }(), version = "1.2.7";
13079
+ }(), version = "2.0.0";
13080
13080
  function index(e) {
13081
13081
  e.component(AddressInput.name, AddressInput), e.component(AsideMenu.name, AsideMenu), e.component(AwesomeButton.name, AwesomeButton), e.component(CapsuleTab.name, CapsuleTab), e.component(ChunkFileUploader.name, ChunkFileUploader), e.component(ChunkFileUploaderButton.name, ChunkFileUploaderButton), e.component(ChunkFileUploaderDrop.name, ChunkFileUploaderDrop), e.component(ChunkFileUploaderFile.name, ChunkFileUploaderFile), e.component(ChunkFileUploaderFiles.name, ChunkFileUploaderFiles), e.component(ChunkFileUploaderList.name, ChunkFileUploaderList), e.component(ChunkFileUploaderUnSupport.name, ChunkFileUploaderUnSupport), e.component(CodeMirrorEditor.name, CodeMirrorEditor), e.component(ColorPicker.name, ColorPicker), e.component(Confirmable.name, Confirmable), e.component(ConfirmButton.name, ConfirmButton), e.component(ContextMenu.name, ContextMenu), e.component(CustomScrollbar.name, CustomScrollbar), e.component(DataTablePicker.name, DataTablePicker), e.component(DynamicTable.name, DynamicTable), e.component(ECharts.name, ECharts), e.component(EditableProgress.name, EditableProgress), e.component(EditableTree.name, EditableTree), e.component(EgdCollapse.name, EgdCollapse), e.component(EgdCollapseItem.name, EgdCollapseItem), e.component(ElementDialog.name, ElementDialog), e.component(EmptyView.name, EmptyView), e.component(ErrorView.name, ErrorView), e.component(FlexColumn.name, FlexColumn), e.component(FlexItem.name, FlexItem), e.component(FlexRow.name, FlexRow), e.component(FlexScroller.name, FlexScroller), e.component(FormButton.name, FormButton), e.component(FormCascader.name, FormCascader), e.component(FormCheckboxGroup.name, FormCheckboxGroup), e.component(FormDatePicker.name, FormDatePicker), e.component(FormHolder.name, FormHolder), e.component(FormInput.name, FormInput), e.component(FormInputEmail.name, FormInputEmail), e.component(FormInputIdCard.name, FormInputIdCard), e.component(FormInputNumber.name, FormInputNumber), e.component(FormInputPhoneNumber.name, FormInputPhoneNumber), e.component(FormInputTime.name, FormInputTime), e.component(FormItem.name, FormItem), e.component(FormItemConfigProvider.name, FormItemConfigProvider), e.component(FormItemGroup.name, FormItemGroup), e.component(FormRadioGroup.name, FormRadioGroup), e.component(FormSelect.name, FormSelect), e.component(FormSwitch.name, FormSwitch), e.component(FormTextarea.name, FormTextarea), e.component(FormView.name, FormView), e.component(GuideSteps.name, GuideSteps), e.component(IconCard.name, IconCard), e.component(IframeWindow.name, IframeWindow), e.component(InputNumber.name, InputNumber), e.component(InputNumberRange.name, InputNumberRange), e.component(JSXComponent.name, JSXComponent), e.component(KeepViewAlive.name, KeepViewAlive), e.component(LoadingView.name, LoadingView), e.component(NavBar.name, NavBar), e.component(NotImplement.name, NotImplement), e.component(Page.name, Page), e.component(PageableTable.name, PageableTable), e.component(PageableView.name, PageableView), e.component(PageHeader.name, PageHeader), e.component(PageIndex.name, PageIndex), e.component(PageIndexTop.name, PageIndexTop), e.component(PageSkeleton.name, PageSkeleton), e.component(PageSkeletonNew.name, PageSkeletonNew), e.component(PhotoSwipe.name, PhotoSwipe), e.component(ResizeObserver.name, ResizeObserver), e.component(SearchPopover.name, SearchPopover), e.component(SignPanel.name, SignPanel), e.component(SplitPane.name, SplitPane), e.component(Stateful.name, Stateful), e.component(StaticPageableTable.name, StaticPageableTable), e.component(Swiper.name, Swiper), e.component(Tab.name, Tab), e.component(TabItem.name, TabItem), e.component(TableColumn.name, TableColumn), e.component(TableView.name, TableView), e.component(TagRender.name, TagRender), e.component(TinymceEditor.name, TinymceEditor), e.component(TinymceWrapper.name, TinymceWrapper), e.component(Toolbar.name, Toolbar), e.component(ToolbarButton.name, ToolbarButton), e.component(Trigger.name, Trigger), e.component(VueTagsInput.name, VueTagsInput), e.component(Watermark.name, Watermark), e.component(XDialog.name, XDialog);
13082
13082
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@web-utils/component",
3
- "version": "1.2.7",
3
+ "version": "2.0.0",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "license": "MIT",
package/web-types.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "$schema": "https://json.schemastore.org/web-types",
3
3
  "framework": "vue",
4
4
  "name": "@web-utils/component",
5
- "version": "1.2.7",
5
+ "version": "2.0.0",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "description-markup": "markdown",