@opendesign-plus-test/components 0.0.1-rc.291 → 0.0.1-rc.293

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.
Files changed (14) hide show
  1. package/dist/components.cjs.js +28 -28
  2. package/dist/components.css +1 -1
  3. package/dist/components.es.js +4563 -4569
  4. package/dist/treeshaking/components/account/internal/ODeviceAuthConfirm.mjs +2 -2
  5. package/dist/treeshaking/components/account/internal/ODeviceAuthConfirm.vue_vue_type_script_setup_true_lang.mjs +5 -3
  6. package/dist/treeshaking/components/account/internal/{ODeviceAuthConfirm.vue_vue_type_style_index_0_scoped_53f5746a_lang.css → ODeviceAuthConfirm.vue_vue_type_style_index_0_scoped_4e610d0b_lang.css} +31 -31
  7. package/dist/treeshaking/components/account/internal/ODeviceAuthConfirm.vue_vue_type_style_index_1_lang.css +4 -4
  8. package/dist/treeshaking/components/account/internal/ODeviceAuthResult.mjs +2 -2
  9. package/dist/treeshaking/components/account/internal/ODeviceAuthResult.vue_vue_type_script_setup_true_lang.mjs +4 -9
  10. package/dist/treeshaking/components/account/internal/{ODeviceAuthResult.vue_vue_type_style_index_0_scoped_0e41baf8_lang.css → ODeviceAuthResult.vue_vue_type_style_index_0_scoped_bec3b2ed_lang.css} +11 -11
  11. package/dist/treeshaking/components/account/internal/ODeviceAuthSuccess.mjs +2 -2
  12. package/dist/treeshaking/components/account/internal/ODeviceAuthSuccess.vue_vue_type_script_setup_true_lang.mjs +4 -9
  13. package/dist/treeshaking/components/account/internal/{ODeviceAuthSuccess.vue_vue_type_style_index_0_scoped_ff0d4746_lang.css → ODeviceAuthSuccess.vue_vue_type_style_index_0_scoped_0f6adc21_lang.css} +11 -11
  14. package/package.json +1 -1
@@ -1,7 +1,7 @@
1
1
  import _plugin_vue_export_helper_default from "../../../_virtual/_plugin-vue_export-helper.mjs";
2
2
  import ODeviceAuthConfirm_vue_vue_type_script_setup_true_lang_default from "./ODeviceAuthConfirm.vue_vue_type_script_setup_true_lang.mjs";
3
- import './ODeviceAuthConfirm.vue_vue_type_style_index_0_scoped_53f5746a_lang.css';
3
+ import './ODeviceAuthConfirm.vue_vue_type_style_index_0_scoped_4e610d0b_lang.css';
4
4
  import './ODeviceAuthConfirm.vue_vue_type_style_index_1_lang.css';
5
5
  // src/components/account/internal/ODeviceAuthConfirm.vue
6
- var ODeviceAuthConfirm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ODeviceAuthConfirm_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-53f5746a"]]);
6
+ var ODeviceAuthConfirm_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ODeviceAuthConfirm_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-4e610d0b"]]);
7
7
  export { ODeviceAuthConfirm_default as default };
@@ -228,7 +228,8 @@ var ODeviceAuthConfirm_vue_vue_type_script_setup_true_lang_default = /*@__PURE__
228
228
  }, 8, ["modelValue"])
229
229
  ]),
230
230
  createElementVNode("div", { class: normalizeClass(["actions", { "is-mobile": unref(isPhone) }]) }, [createVNode(unref(OButton), {
231
- type: "outline",
231
+ color: "primary",
232
+ variant: "outline",
232
233
  class: "cancel-btn",
233
234
  size: "large",
234
235
  onClick: onCancelClick
@@ -256,7 +257,8 @@ var ODeviceAuthConfirm_vue_vue_type_script_setup_true_lang_default = /*@__PURE__
256
257
  footer: withCtx(() => [createElementVNode("div", { class: normalizeClass(["dialog-footer", { "is-mobile": unref(isPhone) }]) }, [
257
258
  createVNode(unref(OButton), {
258
259
  class: "cancel",
259
- type: "outline",
260
+ color: "primary",
261
+ variant: "outline",
260
262
  onClick: onContinueAuthorize
261
263
  }, {
262
264
  default: withCtx(() => [createTextVNode(toDisplayString(unref(t)("account.DEVICE_AUTH_CANCEL_DIALOG_CONTINUE")), 1)]),
@@ -264,7 +266,7 @@ var ODeviceAuthConfirm_vue_vue_type_script_setup_true_lang_default = /*@__PURE__
264
266
  }),
265
267
  unref(isPhone) ? (openBlock(), createElementBlock("span", _hoisted_17, "|")) : createCommentVNode("", true),
266
268
  createVNode(unref(OButton), {
267
- type: "primary",
269
+ color: "primary",
268
270
  variant: "solid",
269
271
  class: "confirm-btn",
270
272
  onClick: onConfirmCancel
@@ -1,22 +1,22 @@
1
- .hover-icon-rotate .o-icon[data-v-53f5746a] {
1
+ .hover-icon-rotate .o-icon[data-v-4e610d0b] {
2
2
  transition: all var(--o-duration-m1) var(--o-easing-standard-in);
3
3
  }
4
4
  @media (hover: hover) {
5
- .hover-icon-rotate:hover .o-icon[data-v-53f5746a] {
5
+ .hover-icon-rotate:hover .o-icon[data-v-4e610d0b] {
6
6
  transform: rotate(-180deg);
7
7
  }
8
8
  }
9
- .device-auth-confirm[data-v-53f5746a] {
9
+ .device-auth-confirm[data-v-4e610d0b] {
10
10
  width: 100%;
11
11
  }
12
- .device-auth-confirm .user-row[data-v-53f5746a] {
12
+ .device-auth-confirm .user-row[data-v-4e610d0b] {
13
13
  display: flex;
14
14
  align-items: center;
15
15
  padding-bottom: 12px;
16
16
  margin-bottom: 12px;
17
17
  border-bottom: 1px solid var(--o-color-control1);
18
18
  }
19
- .device-auth-confirm .user-row .avatar[data-v-53f5746a] {
19
+ .device-auth-confirm .user-row .avatar[data-v-4e610d0b] {
20
20
  width: 48px;
21
21
  height: 48px;
22
22
  border-radius: 50%;
@@ -31,32 +31,32 @@
31
31
  margin-right: 8px;
32
32
  flex-shrink: 0;
33
33
  }
34
- .device-auth-confirm .user-row .avatar .avatar-img[data-v-53f5746a] {
34
+ .device-auth-confirm .user-row .avatar .avatar-img[data-v-4e610d0b] {
35
35
  width: 100%;
36
36
  height: 100%;
37
37
  object-fit: cover;
38
38
  display: block;
39
39
  }
40
- .device-auth-confirm .user-row .user-info[data-v-53f5746a] {
40
+ .device-auth-confirm .user-row .user-info[data-v-4e610d0b] {
41
41
  display: flex;
42
42
  flex-direction: column;
43
43
  justify-content: center;
44
44
  min-width: 0;
45
45
  flex: 1;
46
46
  }
47
- .device-auth-confirm .user-row .user-info .client-title[data-v-53f5746a] {
47
+ .device-auth-confirm .user-row .user-info .client-title[data-v-4e610d0b] {
48
48
  font-size: 16px;
49
49
  line-height: 24px;
50
50
  font-weight: 600;
51
51
  color: var(--o-color-info1);
52
52
  margin-bottom: 2px;
53
53
  }
54
- .device-auth-confirm .user-row .user-info .access-text[data-v-53f5746a] {
54
+ .device-auth-confirm .user-row .user-info .access-text[data-v-4e610d0b] {
55
55
  font-size: 14px;
56
56
  line-height: 20px;
57
57
  color: var(--o-color-info3);
58
58
  }
59
- .device-auth-confirm .notice[data-v-53f5746a] {
59
+ .device-auth-confirm .notice[data-v-4e610d0b] {
60
60
  display: flex;
61
61
  border-left: 3px solid var(--o-color-primary1);
62
62
  padding: 12px 12px 12px 16px;
@@ -65,11 +65,11 @@
65
65
  margin-bottom: 32px;
66
66
  }
67
67
  @media (max-width: 600px) {
68
- .device-auth-confirm .notice[data-v-53f5746a] {
68
+ .device-auth-confirm .notice[data-v-4e610d0b] {
69
69
  margin-bottom: 24px;
70
70
  }
71
71
  }
72
- .device-auth-confirm .notice .notice-icon[data-v-53f5746a] {
72
+ .device-auth-confirm .notice .notice-icon[data-v-4e610d0b] {
73
73
  width: 18px;
74
74
  height: 18px;
75
75
  border-radius: 50%;
@@ -82,11 +82,11 @@
82
82
  margin-right: 8px;
83
83
  margin-top: 2px;
84
84
  }
85
- .device-auth-confirm .notice .notice-content[data-v-53f5746a] {
85
+ .device-auth-confirm .notice .notice-content[data-v-4e610d0b] {
86
86
  flex: 1;
87
87
  min-width: 0;
88
88
  }
89
- .device-auth-confirm .notice .notice-text[data-v-53f5746a] {
89
+ .device-auth-confirm .notice .notice-text[data-v-4e610d0b] {
90
90
  margin: 0;
91
91
  font-size: 14px;
92
92
  line-height: 20px;
@@ -94,84 +94,84 @@
94
94
  color: var(--o-color-info2);
95
95
  }
96
96
  @media (max-width: 600px) {
97
- .device-auth-confirm .notice .notice-text[data-v-53f5746a] {
97
+ .device-auth-confirm .notice .notice-text[data-v-4e610d0b] {
98
98
  font-size: 12px;
99
99
  line-height: 18px;
100
100
  }
101
101
  }
102
- .device-auth-confirm .notice .notice-text-secondary[data-v-53f5746a] {
102
+ .device-auth-confirm .notice .notice-text-secondary[data-v-4e610d0b] {
103
103
  margin: 4px 0 0;
104
104
  font-size: 14px;
105
105
  line-height: 20px;
106
106
  color: var(--o-color-info3);
107
107
  }
108
108
  @media (max-width: 600px) {
109
- .device-auth-confirm .notice .notice-text-secondary[data-v-53f5746a] {
109
+ .device-auth-confirm .notice .notice-text-secondary[data-v-4e610d0b] {
110
110
  font-size: 12px;
111
111
  line-height: 18px;
112
112
  }
113
113
  }
114
- .device-auth-confirm .scope[data-v-53f5746a] {
114
+ .device-auth-confirm .scope[data-v-4e610d0b] {
115
115
  margin-bottom: 32px;
116
116
  border: 1px solid var(--o-color-control1);
117
117
  padding: 12px;
118
118
  border-radius: 4px;
119
119
  }
120
120
  @media (max-width: 600px) {
121
- .device-auth-confirm .scope[data-v-53f5746a] {
121
+ .device-auth-confirm .scope[data-v-4e610d0b] {
122
122
  margin-bottom: 24px;
123
123
  }
124
124
  }
125
- .device-auth-confirm .scope .scope-title[data-v-53f5746a] {
125
+ .device-auth-confirm .scope .scope-title[data-v-4e610d0b] {
126
126
  font-size: 14px;
127
127
  line-height: 22px;
128
128
  color: var(--o-color-info1);
129
129
  font-weight: 600;
130
130
  margin-bottom: 12px;
131
131
  }
132
- .device-auth-confirm .scope .scope-group[data-v-53f5746a] {
132
+ .device-auth-confirm .scope .scope-group[data-v-4e610d0b] {
133
133
  display: flex;
134
134
  flex-direction: column;
135
135
  }
136
- .device-auth-confirm .scope .scope-item[data-v-53f5746a] {
136
+ .device-auth-confirm .scope .scope-item[data-v-4e610d0b] {
137
137
  display: flex;
138
138
  align-items: center;
139
139
  }
140
- .device-auth-confirm .actions[data-v-53f5746a] {
140
+ .device-auth-confirm .actions[data-v-4e610d0b] {
141
141
  display: flex;
142
142
  gap: 12px;
143
143
  }
144
- .device-auth-confirm .actions .cancel-btn[data-v-53f5746a] {
144
+ .device-auth-confirm .actions .cancel-btn.o-btn-primary[data-v-4e610d0b] {
145
145
  background-color: transparent;
146
146
  color: var(--o-color-primary1);
147
147
  border-color: var(--o-color-primary1);
148
148
  }
149
- .device-auth-confirm .actions .cancel-btn[data-v-53f5746a]:hover {
149
+ .device-auth-confirm .actions .cancel-btn.o-btn-primary[data-v-4e610d0b]:hover {
150
150
  border-color: var(--o-color-primary2);
151
151
  color: var(--o-color-primary2);
152
152
  background-color: transparent;
153
153
  }
154
- .device-auth-confirm .actions .confirm-btn[data-v-53f5746a] {
154
+ .device-auth-confirm .actions .confirm-btn[data-v-4e610d0b] {
155
155
  background-color: var(--o-color-primary1);
156
156
  color: #fff;
157
157
  border-color: var(--o-color-primary1);
158
158
  }
159
- .device-auth-confirm .actions .confirm-btn[data-v-53f5746a]:hover {
159
+ .device-auth-confirm .actions .confirm-btn[data-v-4e610d0b]:hover {
160
160
  background-color: var(--o-color-primary2);
161
161
  color: #fff;
162
162
  border-color: var(--o-color-primary2);
163
163
  }
164
- .device-auth-confirm .actions .o-btn[data-v-53f5746a] {
164
+ .device-auth-confirm .actions .o-btn[data-v-4e610d0b] {
165
165
  flex: 1;
166
166
  }
167
- .device-auth-confirm .actions.is-mobile[data-v-53f5746a] {
167
+ .device-auth-confirm .actions.is-mobile[data-v-4e610d0b] {
168
168
  flex-direction: column-reverse;
169
169
  gap: 0;
170
170
  }
171
- .device-auth-confirm .actions.is-mobile .o-btn[data-v-53f5746a] {
171
+ .device-auth-confirm .actions.is-mobile .o-btn[data-v-4e610d0b] {
172
172
  width: 100%;
173
173
  flex: none;
174
174
  }
175
- .device-auth-confirm .actions.is-mobile .cancel-btn[data-v-53f5746a] {
175
+ .device-auth-confirm .actions.is-mobile .cancel-btn[data-v-4e610d0b] {
176
176
  margin-top: 16px;
177
177
  }
@@ -93,7 +93,7 @@
93
93
  padding: 0 8px;
94
94
  user-select: none;
95
95
  }
96
- .cancel-auth-dialog .dialog-footer .o-btn {
96
+ .cancel-auth-dialog .dialog-footer .o-btn.o-btn-outline.o-btn-primary {
97
97
  border-color: var(--o-color-primary1);
98
98
  color: var(--o-color-primary1);
99
99
  background-color: transparent;
@@ -102,12 +102,12 @@
102
102
  height: 40px;
103
103
  line-height: 40px;
104
104
  }
105
- .cancel-auth-dialog .dialog-footer .o-btn:hover {
105
+ .cancel-auth-dialog .dialog-footer .o-btn.o-btn-outline.o-btn-primary:hover {
106
106
  border-color: var(--o-color-primary2);
107
107
  color: var(--o-color-primary2);
108
108
  background-color: transparent;
109
109
  }
110
- .cancel-auth-dialog .dialog-footer.is-mobile .o-btn {
110
+ .cancel-auth-dialog .dialog-footer.is-mobile .o-btn.o-btn-primary {
111
111
  border: none;
112
112
  background-color: transparent;
113
113
  color: var(--o-color-info2);
@@ -117,7 +117,7 @@
117
117
  padding: 4px 8px;
118
118
  font-size: 16px;
119
119
  }
120
- .cancel-auth-dialog .dialog-footer.is-mobile .o-btn:hover {
120
+ .cancel-auth-dialog .dialog-footer.is-mobile .o-btn.o-btn-primary:hover {
121
121
  border: none;
122
122
  background-color: transparent;
123
123
  color: var(--o-color-info3);
@@ -1,6 +1,6 @@
1
1
  import _plugin_vue_export_helper_default from "../../../_virtual/_plugin-vue_export-helper.mjs";
2
2
  import ODeviceAuthResult_vue_vue_type_script_setup_true_lang_default from "./ODeviceAuthResult.vue_vue_type_script_setup_true_lang.mjs";
3
- import './ODeviceAuthResult.vue_vue_type_style_index_0_scoped_0e41baf8_lang.css';
3
+ import './ODeviceAuthResult.vue_vue_type_style_index_0_scoped_bec3b2ed_lang.css';
4
4
  // src/components/account/internal/ODeviceAuthResult.vue
5
- var ODeviceAuthResult_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ODeviceAuthResult_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-0e41baf8"]]);
5
+ var ODeviceAuthResult_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ODeviceAuthResult_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-bec3b2ed"]]);
6
6
  export { ODeviceAuthResult_default as default };
@@ -1,12 +1,11 @@
1
1
  import icon_auth_fail_default from "../../../_virtual/~icons/account/icon-auth-fail.mjs";
2
2
  import icon_auth_cancel_default from "../../../_virtual/~icons/account/icon-auth-cancel.mjs";
3
- import { computed, createElementBlock, createElementVNode, defineComponent, normalizeClass, openBlock, toDisplayString, unref } from "vue";
3
+ import { computed, createBlock, createElementBlock, createElementVNode, defineComponent, normalizeClass, openBlock, resolveDynamicComponent, toDisplayString, unref } from "vue";
4
4
  import { useScreen } from "@opendesign-plus/composables";
5
5
  // src/components/account/internal/ODeviceAuthResult.vue?vue&type=script&setup=true&lang.ts
6
6
  var _hoisted_1 = { class: "auth-header" };
7
- var _hoisted_2 = ["src", "alt"];
8
- var _hoisted_3 = { class: "result-title" };
9
- var _hoisted_4 = { class: "result-tip" };
7
+ var _hoisted_2 = { class: "result-title" };
8
+ var _hoisted_3 = { class: "result-tip" };
10
9
  var ODeviceAuthResult_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
11
10
  __name: "ODeviceAuthResult",
12
11
  props: {
@@ -43,11 +42,7 @@ var ODeviceAuthResult_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*
43
42
  /** 移动端:图标 48*48 + 标题上下排列;PC 端:图标 40*40 + 标题水平排列 */
44
43
  const { isPhone } = useScreen();
45
44
  return (_ctx, _cache) => {
46
- return openBlock(), createElementBlock("div", { class: normalizeClass(["device-auth-result", { "is-mobile": unref(isPhone) }]) }, [createElementVNode("div", _hoisted_1, [createElementVNode("img", {
47
- src: resultIcon.value,
48
- alt: __props.status,
49
- class: "auth-icon"
50
- }, null, 8, _hoisted_2), createElementVNode("div", _hoisted_3, toDisplayString(__props.title), 1)]), createElementVNode("div", _hoisted_4, toDisplayString(__props.tip), 1)], 2);
45
+ return openBlock(), createElementBlock("div", { class: normalizeClass(["device-auth-result", { "is-mobile": unref(isPhone) }]) }, [createElementVNode("div", _hoisted_1, [(openBlock(), createBlock(resolveDynamicComponent(resultIcon.value), { class: "auth-icon" })), createElementVNode("div", _hoisted_2, toDisplayString(__props.title), 1)]), createElementVNode("div", _hoisted_3, toDisplayString(__props.tip), 1)], 2);
51
46
  };
52
47
  }
53
48
  });
@@ -1,56 +1,56 @@
1
- .hover-icon-rotate .o-icon[data-v-0e41baf8] {
1
+ .hover-icon-rotate .o-icon[data-v-bec3b2ed] {
2
2
  transition: all var(--o-duration-m1) var(--o-easing-standard-in);
3
3
  }
4
4
  @media (hover: hover) {
5
- .hover-icon-rotate:hover .o-icon[data-v-0e41baf8] {
5
+ .hover-icon-rotate:hover .o-icon[data-v-bec3b2ed] {
6
6
  transform: rotate(-180deg);
7
7
  }
8
8
  }
9
- .device-auth-result[data-v-0e41baf8] {
9
+ .device-auth-result[data-v-bec3b2ed] {
10
10
  display: flex;
11
11
  flex-direction: column;
12
12
  align-items: center;
13
13
  padding: 8px 0 16px;
14
14
  }
15
- .device-auth-result .auth-header[data-v-0e41baf8] {
15
+ .device-auth-result .auth-header[data-v-bec3b2ed] {
16
16
  display: flex;
17
17
  flex-direction: row;
18
18
  align-items: center;
19
19
  margin-bottom: 12px;
20
20
  }
21
- .device-auth-result .auth-icon[data-v-0e41baf8] {
21
+ .device-auth-result .auth-icon[data-v-bec3b2ed] {
22
22
  width: 40px;
23
23
  height: 40px;
24
24
  margin-right: 12px;
25
25
  display: block;
26
26
  flex-shrink: 0;
27
27
  }
28
- .device-auth-result .result-title[data-v-0e41baf8] {
28
+ .device-auth-result .result-title[data-v-bec3b2ed] {
29
29
  font-size: 20px;
30
30
  line-height: 28px;
31
31
  font-weight: 600;
32
32
  color: var(--o-color-info1);
33
33
  }
34
- .device-auth-result .result-tip[data-v-0e41baf8] {
34
+ .device-auth-result .result-tip[data-v-bec3b2ed] {
35
35
  font-size: 14px;
36
36
  line-height: 22px;
37
37
  color: var(--o-color-info3);
38
38
  text-align: center;
39
39
  }
40
- .device-auth-result.is-mobile .auth-header[data-v-0e41baf8] {
40
+ .device-auth-result.is-mobile .auth-header[data-v-bec3b2ed] {
41
41
  flex-direction: column;
42
42
  }
43
- .device-auth-result.is-mobile .auth-icon[data-v-0e41baf8] {
43
+ .device-auth-result.is-mobile .auth-icon[data-v-bec3b2ed] {
44
44
  width: 48px;
45
45
  height: 48px;
46
46
  margin-right: 0;
47
47
  margin-bottom: 12px;
48
48
  }
49
- .device-auth-result.is-mobile .result-title[data-v-0e41baf8] {
49
+ .device-auth-result.is-mobile .result-title[data-v-bec3b2ed] {
50
50
  font-size: 16px;
51
51
  line-height: 24px;
52
52
  }
53
- .device-auth-result.is-mobile .result-tip[data-v-0e41baf8] {
53
+ .device-auth-result.is-mobile .result-tip[data-v-bec3b2ed] {
54
54
  font-size: 12px;
55
55
  line-height: 18px;
56
56
  }
@@ -1,6 +1,6 @@
1
1
  import _plugin_vue_export_helper_default from "../../../_virtual/_plugin-vue_export-helper.mjs";
2
2
  import ODeviceAuthSuccess_vue_vue_type_script_setup_true_lang_default from "./ODeviceAuthSuccess.vue_vue_type_script_setup_true_lang.mjs";
3
- import './ODeviceAuthSuccess.vue_vue_type_style_index_0_scoped_ff0d4746_lang.css';
3
+ import './ODeviceAuthSuccess.vue_vue_type_style_index_0_scoped_0f6adc21_lang.css';
4
4
  // src/components/account/internal/ODeviceAuthSuccess.vue
5
- var ODeviceAuthSuccess_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ODeviceAuthSuccess_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-ff0d4746"]]);
5
+ var ODeviceAuthSuccess_default = /*#__PURE__*/ _plugin_vue_export_helper_default(ODeviceAuthSuccess_vue_vue_type_script_setup_true_lang_default, [["__scopeId", "data-v-0f6adc21"]]);
6
6
  export { ODeviceAuthSuccess_default as default };
@@ -1,12 +1,11 @@
1
1
  import { useI18n } from "../../../i18n/index.mjs";
2
2
  import icon_auth_success_default from "../../../_virtual/~icons/account/icon-auth-success.mjs";
3
- import { createElementBlock, createElementVNode, defineComponent, normalizeClass, openBlock, toDisplayString, unref } from "vue";
3
+ import { createElementBlock, createElementVNode, createVNode, defineComponent, normalizeClass, openBlock, toDisplayString, unref } from "vue";
4
4
  import { useScreen } from "@opendesign-plus/composables";
5
5
  // src/components/account/internal/ODeviceAuthSuccess.vue?vue&type=script&setup=true&lang.ts
6
6
  var _hoisted_1 = { class: "auth-header" };
7
- var _hoisted_2 = ["src"];
8
- var _hoisted_3 = { class: "success-title" };
9
- var _hoisted_4 = { class: "success-tip" };
7
+ var _hoisted_2 = { class: "success-title" };
8
+ var _hoisted_3 = { class: "success-tip" };
10
9
  var ODeviceAuthSuccess_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent({
11
10
  __name: "ODeviceAuthSuccess",
12
11
  setup(__props) {
@@ -17,11 +16,7 @@ var ODeviceAuthSuccess_vue_vue_type_script_setup_true_lang_default = /*@__PURE__
17
16
  /** 移动端:图标 48*48 + 标题上下排列;PC 端:图标 40*40 + 标题水平排列 */
18
17
  const { isPhone } = useScreen();
19
18
  return (_ctx, _cache) => {
20
- return openBlock(), createElementBlock("div", { class: normalizeClass(["device-auth-success", { "is-mobile": unref(isPhone) }]) }, [createElementVNode("div", _hoisted_1, [createElementVNode("img", {
21
- src: unref(icon_auth_success_default),
22
- alt: "success",
23
- class: "auth-icon"
24
- }, null, 8, _hoisted_2), createElementVNode("div", _hoisted_3, toDisplayString(unref(t)("account.DEVICE_AUTH_SUCCESS_TITLE")), 1)]), createElementVNode("div", _hoisted_4, toDisplayString(unref(t)("account.DEVICE_AUTH_SUCCESS_TIP")), 1)], 2);
19
+ return openBlock(), createElementBlock("div", { class: normalizeClass(["device-auth-success", { "is-mobile": unref(isPhone) }]) }, [createElementVNode("div", _hoisted_1, [createVNode(unref(icon_auth_success_default), { class: "auth-icon" }), createElementVNode("div", _hoisted_2, toDisplayString(unref(t)("account.DEVICE_AUTH_SUCCESS_TITLE")), 1)]), createElementVNode("div", _hoisted_3, toDisplayString(unref(t)("account.DEVICE_AUTH_SUCCESS_TIP")), 1)], 2);
25
20
  };
26
21
  }
27
22
  });
@@ -1,56 +1,56 @@
1
- .hover-icon-rotate .o-icon[data-v-ff0d4746] {
1
+ .hover-icon-rotate .o-icon[data-v-0f6adc21] {
2
2
  transition: all var(--o-duration-m1) var(--o-easing-standard-in);
3
3
  }
4
4
  @media (hover: hover) {
5
- .hover-icon-rotate:hover .o-icon[data-v-ff0d4746] {
5
+ .hover-icon-rotate:hover .o-icon[data-v-0f6adc21] {
6
6
  transform: rotate(-180deg);
7
7
  }
8
8
  }
9
- .device-auth-success[data-v-ff0d4746] {
9
+ .device-auth-success[data-v-0f6adc21] {
10
10
  display: flex;
11
11
  flex-direction: column;
12
12
  align-items: center;
13
13
  padding: 8px 0 16px;
14
14
  }
15
- .device-auth-success .auth-header[data-v-ff0d4746] {
15
+ .device-auth-success .auth-header[data-v-0f6adc21] {
16
16
  display: flex;
17
17
  flex-direction: row;
18
18
  align-items: center;
19
19
  margin-bottom: 12px;
20
20
  }
21
- .device-auth-success .auth-icon[data-v-ff0d4746] {
21
+ .device-auth-success .auth-icon[data-v-0f6adc21] {
22
22
  width: 40px;
23
23
  height: 40px;
24
24
  margin-right: 12px;
25
25
  display: block;
26
26
  flex-shrink: 0;
27
27
  }
28
- .device-auth-success .success-title[data-v-ff0d4746] {
28
+ .device-auth-success .success-title[data-v-0f6adc21] {
29
29
  font-size: 20px;
30
30
  line-height: 28px;
31
31
  font-weight: 600;
32
32
  color: var(--o-color-info1);
33
33
  }
34
- .device-auth-success .success-tip[data-v-ff0d4746] {
34
+ .device-auth-success .success-tip[data-v-0f6adc21] {
35
35
  font-size: 14px;
36
36
  line-height: 22px;
37
37
  color: var(--o-color-info3);
38
38
  text-align: center;
39
39
  }
40
- .device-auth-success.is-mobile .auth-header[data-v-ff0d4746] {
40
+ .device-auth-success.is-mobile .auth-header[data-v-0f6adc21] {
41
41
  flex-direction: column;
42
42
  }
43
- .device-auth-success.is-mobile .auth-icon[data-v-ff0d4746] {
43
+ .device-auth-success.is-mobile .auth-icon[data-v-0f6adc21] {
44
44
  width: 48px;
45
45
  height: 48px;
46
46
  margin-right: 0;
47
47
  margin-bottom: 12px;
48
48
  }
49
- .device-auth-success.is-mobile .success-title[data-v-ff0d4746] {
49
+ .device-auth-success.is-mobile .success-title[data-v-0f6adc21] {
50
50
  font-size: 16px;
51
51
  line-height: 24px;
52
52
  }
53
- .device-auth-success.is-mobile .success-tip[data-v-ff0d4746] {
53
+ .device-auth-success.is-mobile .success-tip[data-v-0f6adc21] {
54
54
  font-size: 12px;
55
55
  line-height: 18px;
56
56
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opendesign-plus-test/components",
3
- "version": "0.0.1-rc.291",
3
+ "version": "0.0.1-rc.293",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public",