@opendesign-plus-test/components 0.0.1-rc.179 → 0.0.1-rc.180

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,12 +1,12 @@
1
- .hover-icon-rotate .o-icon[data-v-7472ece7] {
1
+ .hover-icon-rotate .o-icon[data-v-e625a513] {
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-7472ece7] {
5
+ .hover-icon-rotate:hover .o-icon[data-v-e625a513] {
6
6
  transform: rotate(-180deg);
7
7
  }
8
8
  }
9
- .o-table-expand-scaler[data-v-7472ece7] {
9
+ .o-table-expand-scaler[data-v-e625a513] {
10
10
  position: relative;
11
11
  width: 80vw;
12
12
  height: auto;
@@ -18,30 +18,30 @@
18
18
  line-height: 22px;
19
19
  }
20
20
  @media (min-width: 1201px) and (max-width: 1680px) {
21
- .o-table-expand-scaler[data-v-7472ece7] {
21
+ .o-table-expand-scaler[data-v-e625a513] {
22
22
  font-size: 14px;
23
23
  line-height: 18px;
24
24
  }
25
25
  }
26
26
  @media (min-width: 841px) and (max-width: 1200px) {
27
- .o-table-expand-scaler[data-v-7472ece7] {
27
+ .o-table-expand-scaler[data-v-e625a513] {
28
28
  font-size: 12px;
29
29
  line-height: 18px;
30
30
  }
31
31
  }
32
32
  @media (min-width: 601px) and (max-width: 840px) {
33
- .o-table-expand-scaler[data-v-7472ece7] {
33
+ .o-table-expand-scaler[data-v-e625a513] {
34
34
  font-size: 12px;
35
35
  line-height: 18px;
36
36
  }
37
37
  }
38
38
  @media (max-width: 600px) {
39
- .o-table-expand-scaler[data-v-7472ece7] {
39
+ .o-table-expand-scaler[data-v-e625a513] {
40
40
  font-size: 12px;
41
41
  line-height: 18px;
42
42
  }
43
43
  }
44
- .o-table-expand-close-btn[data-v-7472ece7] {
44
+ .o-table-expand-close-btn[data-v-e625a513] {
45
45
  position: sticky;
46
46
  top: 12px;
47
47
  right: 12px;
@@ -54,13 +54,13 @@
54
54
  color: var(--o-color-info2);
55
55
  }
56
56
  @media (hover: hover) {
57
- .o-table-expand-close-btn[data-v-7472ece7]:hover {
57
+ .o-table-expand-close-btn[data-v-e625a513]:hover {
58
58
  color: var(--o-color-info1);
59
59
  }
60
60
  }
61
- .o-table-expand-close-btn .o-table-expand-close-icon[data-v-7472ece7] {
61
+ .o-table-expand-close-btn .o-table-expand-close-icon[data-v-e625a513] {
62
62
  margin-right: 8px;
63
63
  }
64
- .o-table-expand-content[data-v-7472ece7] {
64
+ .o-table-expand-content[data-v-e625a513] {
65
65
  padding: 48px 32px;
66
66
  }
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./MarkdownTableExpand.vue2.mjs";
2
2
  import './MarkdownTableExpand.css';
3
3
  import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
4
- const MarkdownTableExpand = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-7472ece7"]]);
4
+ const MarkdownTableExpand = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-e625a513"]]);
5
5
  export {
6
6
  MarkdownTableExpand as default
7
7
  };
@@ -1,4 +1,4 @@
1
- import { defineComponent, useModel, ref, watch, onBeforeUnmount, openBlock, createBlock, unref, withCtx, createElementVNode, createVNode, toDisplayString, mergeModels } from "vue";
1
+ import { defineComponent, useModel, openBlock, createBlock, unref, withCtx, createElementVNode, createVNode, toDisplayString, mergeModels } from "vue";
2
2
  import { OLayer, OIcon } from "@opensig/opendesign";
3
3
  import { useI18n } from "../../../i18n/index.mjs";
4
4
  import IconUnexpand from "../../../_virtual/icon-unexpand.mjs";
@@ -20,31 +20,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
20
20
  const onClose = () => {
21
21
  visible.value = false;
22
22
  };
23
- const tableReady = ref(false);
24
- let readyTimer;
25
- watch(
26
- () => visible.value,
27
- (val) => {
28
- if (typeof window === "undefined") {
29
- return;
30
- }
31
- if (readyTimer) {
32
- clearTimeout(readyTimer);
33
- }
34
- clearTimeout(readyTimer);
35
- readyTimer = setTimeout(() => {
36
- tableReady.value = val;
37
- }, 300);
38
- },
39
- {
40
- immediate: true
41
- }
42
- );
43
- onBeforeUnmount(() => {
44
- if (readyTimer) {
45
- clearTimeout(readyTimer);
46
- }
47
- });
48
23
  return (_ctx, _cache) => {
49
24
  return openBlock(), createBlock(unref(OLayer), {
50
25
  visible: visible.value,
@@ -66,10 +41,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
66
41
  ]),
67
42
  createElementVNode("div", _hoisted_2, [
68
43
  createVNode(MarkdownTableData, {
69
- original: !tableReady.value,
70
44
  content: __props.content,
71
45
  "max-height": "min(calc(100vh - 210px), 80vh)"
72
- }, null, 8, ["original", "content"])
46
+ }, null, 8, ["content"])
73
47
  ])
74
48
  ])
75
49
  ]),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opendesign-plus-test/components",
3
- "version": "0.0.1-rc.179",
3
+ "version": "0.0.1-rc.180",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public",
@@ -36,7 +36,7 @@
36
36
  "dist"
37
37
  ],
38
38
  "peerDependencies": {
39
- "@opensig/opendesign": "1.2.7",
39
+ "@opensig/opendesign": "1.2.7-sp1",
40
40
  "@vueuse/core": "^14.0.0",
41
41
  "@vueuse/shared": "^14.0.0",
42
42
  "aos": "^2.3.4",