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

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,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.292",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public",