@ftlab/one-vue3 0.3.4 → 0.3.6

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.
@@ -1,176 +1,176 @@
1
- * {
2
- box-sizing: border-box;
3
- margin: 0;
4
- padding: 0;
5
- }
6
-
7
- @for $i from -20 through 20 {
8
- $num: 5 * $i;
9
- .p#{$num} {
10
- padding: 0px + $num;
11
- }
12
- .pt#{$num} {
13
- padding-top: 0px + $num;
14
- }
15
- .pr#{$num} {
16
- padding-right: 0px + $num;
17
- }
18
- .pb#{$num} {
19
- padding-bottom: 0px + $num;
20
- }
21
- .pl#{$num} {
22
- padding-left: 0px + $num;
23
- }
24
- .pv#{$num} {
25
- padding-top: 0px + $num;
26
- padding-bottom: 0px + $num;
27
- }
28
- .ph#{$num} {
29
- padding-left: 0px + $num;
30
- padding-right: 0px + $num;
31
- }
32
- .m#{$num} {
33
- margin: 0px + $num;
34
- }
35
- .mt#{$num} {
36
- margin-top: 0px + $num;
37
- }
38
- .mr#{$num} {
39
- margin-right: 0px + $num;
40
- }
41
- .mb#{$num} {
42
- margin-bottom: 0px + $num;
43
- }
44
- .ml#{$num} {
45
- margin-left: 0px + $num;
46
- }
47
- .mv#{$num} {
48
- margin-top: 0px + $num;
49
- margin-bottom: 0px + $num;
50
- }
51
- .mh#{$num} {
52
- margin-left: 0px + $num;
53
- margin-right: 0px + $num;
54
- }
55
- }
56
-
57
- @for $j from 12 through 40 {
58
- .fs#{$j} {
59
- font-size: 0px + $j !important;
60
- }
61
- .lh#{$j} {
62
- line-height: 0px + $j;
63
- }
64
- }
65
-
66
- .f {
67
- display: flex;
68
- }
69
-
70
- .f-s-c {
71
- display: flex;
72
- justify-content: space-between;
73
- align-items: center;
74
- }
75
-
76
- .f-s {
77
- display: flex;
78
- justify-content: space-between;
79
- }
80
-
81
- .f-c {
82
- display: flex;
83
- align-items: center;
84
- }
85
-
86
- .f-c-c {
87
- display: flex;
88
- justify-content: center;
89
- align-items: center;
90
- }
91
-
92
- .f-c-e {
93
- display: flex;
94
- justify-content: flex-end;
95
- align-items: center;
96
- }
97
-
98
- .f-c-c-c {
99
- display: flex;
100
- flex-direction: column;
101
- justify-content: center;
102
- align-items: center;
103
- }
104
-
105
- .f600 {
106
- font-weight: 600;
107
- }
108
-
109
- .tl {
110
- text-align: left;
111
- }
112
- .tc {
113
- text-align: center;
114
- }
115
- .tr {
116
- text-align: right;
117
- }
118
-
119
- .cp {
120
- cursor: pointer;
121
- }
122
-
123
- .breadcrumb-enter-active,
124
- .breadcrumb-leave-active {
125
- transition: all 0.5s;
126
- }
127
-
128
- .breadcrumb-enter,
129
- .breadcrumb-leave-active {
130
- opacity: 0;
131
- transform: translateX(20px);
132
- }
133
-
134
- .breadcrumb-move {
135
- transition: all 0.5s;
136
- }
137
-
138
- .breadcrumb-leave-active {
139
- position: absolute;
140
- }
141
-
142
- .fade-enter-from {
143
- opacity: 0;
144
- transform: translateX(-30px);
145
- }
146
-
147
- .fade-leave-to {
148
- opacity: 0;
149
- transform: translateX(30px);
150
- }
151
-
152
- .fade-enter-active {
153
- transition: all 0.5s;
154
- }
155
- .fade-leave-active {
156
- transition: all 0.5s;
157
- }
158
-
159
- ::-webkit-scrollbar {
160
- width: 8px;
161
- height: 8px;
162
- z-index: 9999;
163
- }
164
-
165
- ::-webkit-scrollbar-track {
166
- border-radius: 0;
167
- background-color: transparent;
168
- }
169
-
170
- input:-webkit-autofill,
171
- input:-webkit-autofill:hover,
172
- input:-webkit-autofill:focus,
173
- input:-webkit-autofill:active {
174
- transition-delay: 111111s;
175
- transition: color 11111s ease-out, background-color 111111s ease-out;
1
+ * {
2
+ box-sizing: border-box;
3
+ margin: 0;
4
+ padding: 0;
5
+ }
6
+
7
+ @for $i from -20 through 20 {
8
+ $num: 5 * $i;
9
+ .p#{$num} {
10
+ padding: 0px + $num;
11
+ }
12
+ .pt#{$num} {
13
+ padding-top: 0px + $num;
14
+ }
15
+ .pr#{$num} {
16
+ padding-right: 0px + $num;
17
+ }
18
+ .pb#{$num} {
19
+ padding-bottom: 0px + $num;
20
+ }
21
+ .pl#{$num} {
22
+ padding-left: 0px + $num;
23
+ }
24
+ .pv#{$num} {
25
+ padding-top: 0px + $num;
26
+ padding-bottom: 0px + $num;
27
+ }
28
+ .ph#{$num} {
29
+ padding-left: 0px + $num;
30
+ padding-right: 0px + $num;
31
+ }
32
+ .m#{$num} {
33
+ margin: 0px + $num;
34
+ }
35
+ .mt#{$num} {
36
+ margin-top: 0px + $num;
37
+ }
38
+ .mr#{$num} {
39
+ margin-right: 0px + $num;
40
+ }
41
+ .mb#{$num} {
42
+ margin-bottom: 0px + $num;
43
+ }
44
+ .ml#{$num} {
45
+ margin-left: 0px + $num;
46
+ }
47
+ .mv#{$num} {
48
+ margin-top: 0px + $num;
49
+ margin-bottom: 0px + $num;
50
+ }
51
+ .mh#{$num} {
52
+ margin-left: 0px + $num;
53
+ margin-right: 0px + $num;
54
+ }
55
+ }
56
+
57
+ @for $j from 12 through 40 {
58
+ .fs#{$j} {
59
+ font-size: 0px + $j !important;
60
+ }
61
+ .lh#{$j} {
62
+ line-height: 0px + $j;
63
+ }
64
+ }
65
+
66
+ .f {
67
+ display: flex;
68
+ }
69
+
70
+ .f-s-c {
71
+ display: flex;
72
+ justify-content: space-between;
73
+ align-items: center;
74
+ }
75
+
76
+ .f-s {
77
+ display: flex;
78
+ justify-content: space-between;
79
+ }
80
+
81
+ .f-c {
82
+ display: flex;
83
+ align-items: center;
84
+ }
85
+
86
+ .f-c-c {
87
+ display: flex;
88
+ justify-content: center;
89
+ align-items: center;
90
+ }
91
+
92
+ .f-c-e {
93
+ display: flex;
94
+ justify-content: flex-end;
95
+ align-items: center;
96
+ }
97
+
98
+ .f-c-c-c {
99
+ display: flex;
100
+ flex-direction: column;
101
+ justify-content: center;
102
+ align-items: center;
103
+ }
104
+
105
+ .f600 {
106
+ font-weight: 600;
107
+ }
108
+
109
+ .tl {
110
+ text-align: left;
111
+ }
112
+ .tc {
113
+ text-align: center;
114
+ }
115
+ .tr {
116
+ text-align: right;
117
+ }
118
+
119
+ .cp {
120
+ cursor: pointer;
121
+ }
122
+
123
+ .breadcrumb-enter-active,
124
+ .breadcrumb-leave-active {
125
+ transition: all 0.5s;
126
+ }
127
+
128
+ .breadcrumb-enter,
129
+ .breadcrumb-leave-active {
130
+ opacity: 0;
131
+ transform: translateX(20px);
132
+ }
133
+
134
+ .breadcrumb-move {
135
+ transition: all 0.5s;
136
+ }
137
+
138
+ .breadcrumb-leave-active {
139
+ position: absolute;
140
+ }
141
+
142
+ .fade-enter-from {
143
+ opacity: 0;
144
+ transform: translateX(-30px);
145
+ }
146
+
147
+ .fade-leave-to {
148
+ opacity: 0;
149
+ transform: translateX(30px);
150
+ }
151
+
152
+ .fade-enter-active {
153
+ transition: all 0.5s;
154
+ }
155
+ .fade-leave-active {
156
+ transition: all 0.5s;
157
+ }
158
+
159
+ ::-webkit-scrollbar {
160
+ width: 8px;
161
+ height: 8px;
162
+ z-index: 9999;
163
+ }
164
+
165
+ ::-webkit-scrollbar-track {
166
+ border-radius: 0;
167
+ background-color: transparent;
168
+ }
169
+
170
+ input:-webkit-autofill,
171
+ input:-webkit-autofill:hover,
172
+ input:-webkit-autofill:focus,
173
+ input:-webkit-autofill:active {
174
+ transition-delay: 111111s;
175
+ transition: color 11111s ease-out, background-color 111111s ease-out;
176
176
  }
@@ -11,23 +11,23 @@ var M = (n, t, e) => t in n ? R(n, t, { enumerable: !0, configurable: !0, writab
11
11
  return n;
12
12
  }, U = (n, t) => G(n, J(t));
13
13
  var V = (n, t, e) => new Promise((i, l) => {
14
- var p = (a) => {
14
+ var p = (s) => {
15
15
  try {
16
- d(e.next(a));
16
+ d(e.next(s));
17
17
  } catch (_) {
18
18
  l(_);
19
19
  }
20
- }, g = (a) => {
20
+ }, g = (s) => {
21
21
  try {
22
- d(e.throw(a));
22
+ d(e.throw(s));
23
23
  } catch (_) {
24
24
  l(_);
25
25
  }
26
- }, d = (a) => a.done ? i(a.value) : Promise.resolve(a.value).then(p, g);
26
+ }, d = (s) => s.done ? i(s.value) : Promise.resolve(s.value).then(p, g);
27
27
  d((e = e.apply(n, t)).next());
28
28
  });
29
- import { defineComponent as b, computed as k, openBlock as m, createElementBlock as C, normalizeClass as E, unref as o, normalizeStyle as Q, renderSlot as W, createCommentVNode as I, ref as h, inject as $, createBlock as w, isRef as X, withCtx as c, createElementVNode as y, toDisplayString as f, createVNode as v, withDirectives as Y, Fragment as Z, renderList as ee, createTextVNode as D } from "vue";
30
- import { b as te, d as oe, u as ne, _ as ae, w as se, c as le, a as ie, E as re, e as de, f as ce, g as pe, h as ue, v as me, i as _e } from "./index-99103fbf.js";
29
+ import { defineComponent as E, computed as k, openBlock as m, createElementBlock as b, normalizeClass as C, unref as o, normalizeStyle as Q, renderSlot as W, createCommentVNode as I, ref as h, inject as $, createBlock as w, isRef as X, withCtx as c, createElementVNode as y, toDisplayString as f, createVNode as v, withDirectives as Y, Fragment as Z, renderList as ee, createTextVNode as D } from "vue";
30
+ import { b as te, d as oe, u as ne, _ as se, w as ae, c as le, a as ie, E as re, e as de, f as ce, g as pe, h as ue, v as me, i as _e } from "./index-5e152029.js";
31
31
  import "./utils-0eda3e43.js";
32
32
  import "./lang-eedab336.js";
33
33
  import "pinia";
@@ -47,49 +47,49 @@ const fe = te({
47
47
  type: oe(String),
48
48
  default: "solid"
49
49
  }
50
- }), ve = b({
50
+ }), ve = E({
51
51
  name: "ElDivider"
52
- }), ge = /* @__PURE__ */ b(U(T({}, ve), {
52
+ }), ge = /* @__PURE__ */ E(U(T({}, ve), {
53
53
  props: fe,
54
54
  setup(n) {
55
55
  const t = n, e = ne("divider"), i = k(() => e.cssVar({
56
56
  "border-style": t.borderStyle
57
57
  }));
58
- return (l, p) => (m(), C("div", {
59
- class: E([o(e).b(), o(e).m(l.direction)]),
58
+ return (l, p) => (m(), b("div", {
59
+ class: C([o(e).b(), o(e).m(l.direction)]),
60
60
  style: Q(o(i)),
61
61
  role: "separator"
62
62
  }, [
63
- l.$slots.default && l.direction !== "vertical" ? (m(), C("div", {
63
+ l.$slots.default && l.direction !== "vertical" ? (m(), b("div", {
64
64
  key: 0,
65
- class: E([o(e).e("text"), o(e).is(l.contentPosition)])
65
+ class: C([o(e).e("text"), o(e).is(l.contentPosition)])
66
66
  }, [
67
67
  W(l.$slots, "default")
68
68
  ], 2)) : I("v-if", !0)
69
69
  ], 6));
70
70
  }
71
71
  }));
72
- var he = /* @__PURE__ */ ae(ge, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/divider/src/divider.vue"]]);
73
- const we = se(he), ye = { class: "dialog__title" }, De = ["innerHTML"], ke = /* @__PURE__ */ b({
72
+ var he = /* @__PURE__ */ se(ge, [["__file", "/home/runner/work/element-plus/element-plus/packages/components/divider/src/divider.vue"]]);
73
+ const we = ae(he), ye = { class: "dialog__title" }, De = ["innerHTML"], ke = /* @__PURE__ */ E({
74
74
  __name: "CheckMessageDialog",
75
75
  emits: ["preventHiddenDropdown"],
76
76
  setup(n, { expose: t, emit: e }) {
77
- const i = h(!1), l = $("authBaseUrl"), p = $("dialogI18n"), g = localStorage.getItem("token") || "", d = h(!1), a = h({}), _ = {
77
+ const i = h(!1), l = $("authBaseUrl"), p = $("dialogI18n"), g = localStorage.getItem("token") || "", d = h(!1), s = h({}), _ = {
78
78
  Authorization: `Bearer ${g}`
79
79
  }, N = k(
80
80
  () => `${l || le.authBaseUrl || "https://gateway-staging.ftlapp.io"}/api/xpush/imm/userMessage/getUserMsgInfo`
81
81
  ), P = (r) => V(this, null, function* () {
82
82
  try {
83
83
  d.value = !0;
84
- const s = yield ie.get(N.value, { headers: _, params: { msgId: r } });
85
- s && s.data && (a.value = s.data);
86
- } catch (s) {
87
- console.log(s);
84
+ const a = yield ie.get(N.value, { headers: _, params: { msgId: r } });
85
+ a && a.data && (s.value = a.data);
86
+ } catch (a) {
87
+ console.log(a);
88
88
  } finally {
89
89
  d.value = !1;
90
90
  }
91
91
  }), x = k(
92
- () => a.value.immAttachments && a.value.immAttachments.length !== 0
92
+ () => s.value.immAttachments && s.value.immAttachments.length !== 0
93
93
  ), z = (r) => {
94
94
  r && window.open(r, "_blank");
95
95
  };
@@ -97,35 +97,35 @@ const we = se(he), ye = { class: "dialog__title" }, De = ["innerHTML"], ke = /*
97
97
  open: (r) => {
98
98
  P(r), i.value = !0;
99
99
  }
100
- }), (r, s) => {
100
+ }), (r, a) => {
101
101
  const A = we, B = re, H = de, L = ce, F = pe, j = ue, q = me;
102
102
  return m(), w(j, {
103
103
  center: "",
104
104
  title: o(p).dialogTitleText,
105
105
  modelValue: o(i),
106
- "onUpdate:modelValue": s[1] || (s[1] = (u) => X(i) ? i.value = u : null),
106
+ "onUpdate:modelValue": a[1] || (a[1] = (u) => X(i) ? i.value = u : null),
107
107
  "append-to-body": "",
108
108
  model: !1,
109
- onClosed: s[2] || (s[2] = () => {
109
+ onClosed: a[2] || (a[2] = () => {
110
110
  r.$emit("preventHiddenDropdown");
111
111
  })
112
112
  }, {
113
113
  default: c(() => [
114
- y("header", ye, f(o(a).title), 1),
114
+ y("header", ye, f(o(s).title), 1),
115
115
  v(A),
116
116
  Y(y("div", {
117
- innerHTML: o(a).content
117
+ innerHTML: o(s).content
118
118
  }, null, 8, De), [
119
119
  [q, o(d)]
120
120
  ]),
121
121
  y("footer", {
122
- class: E(["mt15", [o(x) ? "f-s-c" : "f-c-e"]])
122
+ class: C(["mt15", [o(x) ? "f-s-c" : "f-c-e"]])
123
123
  }, [
124
124
  o(x) ? (m(), w(F, { key: 0 }, {
125
125
  dropdown: c(() => [
126
126
  v(L, null, {
127
127
  default: c(() => [
128
- (m(!0), C(Z, null, ee(o(a).immAttachments, (u) => (m(), w(H, {
128
+ (m(!0), b(Z, null, ee(o(s).immAttachments, (u) => (m(), w(H, {
129
129
  key: u.fileDownloadUrl,
130
130
  onClick: () => z(u.fileDownloadUrl)
131
131
  }, {
@@ -149,7 +149,7 @@ const we = se(he), ye = { class: "dialog__title" }, De = ["innerHTML"], ke = /*
149
149
  _: 1
150
150
  })) : I("", !0),
151
151
  v(B, {
152
- onClick: s[0] || (s[0] = (u) => i.value = !1)
152
+ onClick: a[0] || (a[0] = (u) => i.value = !1)
153
153
  }, {
154
154
  default: c(() => [
155
155
  D(f(o(p).cancelButtonText), 1)
@@ -163,7 +163,7 @@ const we = se(he), ye = { class: "dialog__title" }, De = ["innerHTML"], ke = /*
163
163
  };
164
164
  }
165
165
  });
166
- const Te = /* @__PURE__ */ _e(ke, [["__scopeId", "data-v-0003507a"]]);
166
+ const Te = /* @__PURE__ */ _e(ke, [["__scopeId", "data-v-b6d5935c"]]);
167
167
  export {
168
168
  Te as default
169
169
  };
package/dist/ftlOne.js CHANGED
@@ -1,4 +1,4 @@
1
- import { j as e, l as m, n as p, F, m as d, k as b, o as f } from "./index-99103fbf.js";
1
+ import { j as e, l as m, n as p, F, m as d, k as b, o as f } from "./index-5e152029.js";
2
2
  import "vue";
3
3
  import "./utils-0eda3e43.js";
4
4
  import "./lang-eedab336.js";