@ndscnj/roomkit-web-vue3 25.12.2420 → 25.12.2421

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.
@@ -22,6 +22,7 @@ declare const Index: ({
22
22
  "show-overlay": (...args: any[]) => void;
23
23
  }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
24
24
  $slots: {
25
+ content?(_: {}): any;
25
26
  contentH5?(_: {}): any;
26
27
  };
27
28
  })) | ({
@@ -1,4 +1,5 @@
1
1
  declare function __VLS_template(): {
2
+ content?(_: {}): any;
2
3
  contentH5?(_: {}): any;
3
4
  };
4
5
  declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./indexH5.vue2.mjs";
2
2
  /* empty css */
3
3
  import _export_sfc from "../../../_virtual/_plugin-vue_export-helper.mjs";
4
- const indexH5 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-90dd0d72"]]);
4
+ const indexH5 = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d92c63fc"]]);
5
5
  export {
6
6
  indexH5 as default
7
7
  };
@@ -93,6 +93,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
93
93
  createVNode(voteControl, {
94
94
  onClick: _cache[0] || (_cache[0] = ($event) => handleControlClick("voteControl"))
95
95
  }, {
96
+ content: withCtx(() => [
97
+ renderSlot(_ctx.$slots, "content", {}, void 0, true)
98
+ ]),
96
99
  contentH5: withCtx(() => [
97
100
  renderSlot(_ctx.$slots, "contentH5", {}, void 0, true)
98
101
  ]),
@@ -1,4 +1,5 @@
1
1
  declare function __VLS_template(): {
2
+ content?(_: {}): any;
2
3
  contentH5?(_: {}): any;
3
4
  };
4
5
  declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./voteControl.vue2.mjs";
2
2
  /* empty css */
3
3
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
4
- const voteControl = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b0e5925b"]]);
4
+ const voteControl = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-3059b52a"]]);
5
5
  export {
6
6
  voteControl as default
7
7
  };
@@ -36,6 +36,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
36
36
  }
37
37
  const basicStoreNew = useBasicStore();
38
38
  function handleClose() {
39
+ showToolBox.value = false;
40
+ console.log(basicStoreNew, "basicStoreNew");
39
41
  basicStoreNew.setSidebarOpenStatus(false);
40
42
  basicStoreNew.setSidebarName("");
41
43
  }
@@ -68,6 +70,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
68
70
  ]),
69
71
  _cache[1] || (_cache[1] = createElementVNode("div", { class: "tool-box-item" }, "表决", -1))
70
72
  ]),
73
+ renderSlot(_ctx.$slots, "content", {}, void 0, true),
71
74
  renderSlot(_ctx.$slots, "contentH5", {}, void 0, true),
72
75
  _cache[2] || (_cache[2] = createElementVNode("div", { class: "bottom-box" }, null, -1))
73
76
  ])) : createCommentVNode("", true)
package/es/index.mjs CHANGED
@@ -3635,7 +3635,7 @@ to {
3635
3635
  border-radius: 8px;
3636
3636
  color: var(--text-color-primary);
3637
3637
  background-color: var(--button-color-secondary-default);
3638
- }.contact-container[data-v-b0e5925b] {
3638
+ }.contact-container[data-v-3059b52a] {
3639
3639
  position: fixed;
3640
3640
  top: 0;
3641
3641
  bottom: 0;
@@ -3644,17 +3644,17 @@ to {
3644
3644
  box-sizing: border-box;
3645
3645
  width: 100vw;
3646
3646
  height: auto;
3647
- background-color: var(--uikit-color-black-8);
3647
+ background-color: #fff;
3648
3648
  }
3649
- .contact-container .container-title-box[data-v-b0e5925b] {
3649
+ .contact-container .container-title-box[data-v-3059b52a] {
3650
3650
  width: 100vw;
3651
3651
  height: 6vh;
3652
- background-color: var(--uikit-color-black-8);
3652
+ background-color: #fff;
3653
3653
  display: flex;
3654
3654
  align-items: center;
3655
3655
  justify-content: center;
3656
3656
  }
3657
- .contact-container .container-title-box .icon-container[data-v-b0e5925b] {
3657
+ .contact-container .container-title-box .icon-container[data-v-3059b52a] {
3658
3658
  position: absolute;
3659
3659
  top: 0;
3660
3660
  left: 0;
@@ -3664,15 +3664,15 @@ to {
3664
3664
  padding: 20px 25px;
3665
3665
  background-size: cover;
3666
3666
  }
3667
- .contact-container .container-title-box .close-icon[data-v-b0e5925b] {
3667
+ .contact-container .container-title-box .close-icon[data-v-3059b52a] {
3668
3668
  background-size: cover;
3669
3669
  }
3670
- .contact-container .bottom-box[data-v-b0e5925b] {
3670
+ .contact-container .bottom-box[data-v-3059b52a] {
3671
3671
  width: 100vw;
3672
3672
  height: 7vh;
3673
3673
  background-color: var(--uikit-color-black-8);
3674
3674
  }
3675
- .ndsc-img-box[data-v-b0e5925b] {
3675
+ .ndsc-img-box[data-v-3059b52a] {
3676
3676
  width: 24px;
3677
3677
  height: 24px;
3678
3678
  }.tool-box[data-v-34681937] {
@@ -3704,7 +3704,7 @@ to {
3704
3704
  .tool-box .tool-box-item[data-v-34681937]:hover {
3705
3705
  border-radius: 8px;
3706
3706
  background-color: var(--list-color-hover);
3707
- }.footer-container[data-v-90dd0d72] {
3707
+ }.footer-container[data-v-d92c63fc] {
3708
3708
  position: absolute;
3709
3709
  bottom: 0;
3710
3710
  display: flex;
@@ -22,6 +22,7 @@ declare const Index: ({
22
22
  "show-overlay": (...args: any[]) => void;
23
23
  }, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
24
24
  $slots: {
25
+ content?(_: {}): any;
25
26
  contentH5?(_: {}): any;
26
27
  };
27
28
  })) | ({
@@ -1,4 +1,5 @@
1
1
  declare function __VLS_template(): {
2
+ content?(_: {}): any;
2
3
  contentH5?(_: {}): any;
3
4
  };
4
5
  declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
@@ -3,5 +3,5 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const indexH5_vue_vue_type_script_setup_true_lang = require("./indexH5.vue2.js");
4
4
  ;/* empty css */
5
5
  const _pluginVue_exportHelper = require("../../../_virtual/_plugin-vue_export-helper.js");
6
- const indexH5 = /* @__PURE__ */ _pluginVue_exportHelper.default(indexH5_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-90dd0d72"]]);
6
+ const indexH5 = /* @__PURE__ */ _pluginVue_exportHelper.default(indexH5_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-d92c63fc"]]);
7
7
  exports.default = indexH5;
@@ -95,6 +95,9 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
95
95
  Vue.createVNode(voteControl.default, {
96
96
  onClick: _cache[0] || (_cache[0] = ($event) => handleControlClick("voteControl"))
97
97
  }, {
98
+ content: Vue.withCtx(() => [
99
+ Vue.renderSlot(_ctx.$slots, "content", {}, void 0, true)
100
+ ]),
98
101
  contentH5: Vue.withCtx(() => [
99
102
  Vue.renderSlot(_ctx.$slots, "contentH5", {}, void 0, true)
100
103
  ]),
@@ -1,4 +1,5 @@
1
1
  declare function __VLS_template(): {
2
+ content?(_: {}): any;
2
3
  contentH5?(_: {}): any;
3
4
  };
4
5
  declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
@@ -3,5 +3,5 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
3
3
  const voteControl_vue_vue_type_script_setup_true_lang = require("./voteControl.vue2.js");
4
4
  ;/* empty css */
5
5
  const _pluginVue_exportHelper = require("../../_virtual/_plugin-vue_export-helper.js");
6
- const voteControl = /* @__PURE__ */ _pluginVue_exportHelper.default(voteControl_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-b0e5925b"]]);
6
+ const voteControl = /* @__PURE__ */ _pluginVue_exportHelper.default(voteControl_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-3059b52a"]]);
7
7
  exports.default = voteControl;
@@ -38,6 +38,8 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
38
38
  }
39
39
  const basicStoreNew = basic.useBasicStore();
40
40
  function handleClose() {
41
+ showToolBox.value = false;
42
+ console.log(basicStoreNew, "basicStoreNew");
41
43
  basicStoreNew.setSidebarOpenStatus(false);
42
44
  basicStoreNew.setSidebarName("");
43
45
  }
@@ -70,6 +72,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
70
72
  ]),
71
73
  _cache[1] || (_cache[1] = Vue.createElementVNode("div", { class: "tool-box-item" }, "表决", -1))
72
74
  ]),
75
+ Vue.renderSlot(_ctx.$slots, "content", {}, void 0, true),
73
76
  Vue.renderSlot(_ctx.$slots, "contentH5", {}, void 0, true),
74
77
  _cache[2] || (_cache[2] = Vue.createElementVNode("div", { class: "bottom-box" }, null, -1))
75
78
  ])) : Vue.createCommentVNode("", true)
package/lib/index.js CHANGED
@@ -3635,7 +3635,7 @@ to {
3635
3635
  border-radius: 8px;
3636
3636
  color: var(--text-color-primary);
3637
3637
  background-color: var(--button-color-secondary-default);
3638
- }.contact-container[data-v-b0e5925b] {
3638
+ }.contact-container[data-v-3059b52a] {
3639
3639
  position: fixed;
3640
3640
  top: 0;
3641
3641
  bottom: 0;
@@ -3644,17 +3644,17 @@ to {
3644
3644
  box-sizing: border-box;
3645
3645
  width: 100vw;
3646
3646
  height: auto;
3647
- background-color: var(--uikit-color-black-8);
3647
+ background-color: #fff;
3648
3648
  }
3649
- .contact-container .container-title-box[data-v-b0e5925b] {
3649
+ .contact-container .container-title-box[data-v-3059b52a] {
3650
3650
  width: 100vw;
3651
3651
  height: 6vh;
3652
- background-color: var(--uikit-color-black-8);
3652
+ background-color: #fff;
3653
3653
  display: flex;
3654
3654
  align-items: center;
3655
3655
  justify-content: center;
3656
3656
  }
3657
- .contact-container .container-title-box .icon-container[data-v-b0e5925b] {
3657
+ .contact-container .container-title-box .icon-container[data-v-3059b52a] {
3658
3658
  position: absolute;
3659
3659
  top: 0;
3660
3660
  left: 0;
@@ -3664,15 +3664,15 @@ to {
3664
3664
  padding: 20px 25px;
3665
3665
  background-size: cover;
3666
3666
  }
3667
- .contact-container .container-title-box .close-icon[data-v-b0e5925b] {
3667
+ .contact-container .container-title-box .close-icon[data-v-3059b52a] {
3668
3668
  background-size: cover;
3669
3669
  }
3670
- .contact-container .bottom-box[data-v-b0e5925b] {
3670
+ .contact-container .bottom-box[data-v-3059b52a] {
3671
3671
  width: 100vw;
3672
3672
  height: 7vh;
3673
3673
  background-color: var(--uikit-color-black-8);
3674
3674
  }
3675
- .ndsc-img-box[data-v-b0e5925b] {
3675
+ .ndsc-img-box[data-v-3059b52a] {
3676
3676
  width: 24px;
3677
3677
  height: 24px;
3678
3678
  }.tool-box[data-v-34681937] {
@@ -3704,7 +3704,7 @@ to {
3704
3704
  .tool-box .tool-box-item[data-v-34681937]:hover {
3705
3705
  border-radius: 8px;
3706
3706
  background-color: var(--list-color-hover);
3707
- }.footer-container[data-v-90dd0d72] {
3707
+ }.footer-container[data-v-d92c63fc] {
3708
3708
  position: absolute;
3709
3709
  bottom: 0;
3710
3710
  display: flex;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ndscnj/roomkit-web-vue3",
3
- "version": "25.12.2420",
3
+ "version": "25.12.2421",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.mjs",
6
6
  "types": "./es/index.d.ts",
@@ -17,6 +17,9 @@
17
17
  <voteControl
18
18
  @click="handleControlClick('voteControl')"
19
19
  >
20
+ <template #content>
21
+ <slot name="content"></slot>
22
+ </template>
20
23
  <template #contentH5>
21
24
  <slot name="contentH5"></slot>
22
25
  </template>
@@ -14,6 +14,7 @@
14
14
  </span>
15
15
  <div class="tool-box-item">表决</div>
16
16
  </div>
17
+ <slot name="content"></slot>
17
18
  <slot name="contentH5"></slot>
18
19
  <div class="bottom-box"></div>
19
20
  </div>
@@ -42,6 +43,8 @@ function toggleToolBox() {
42
43
  }
43
44
  const basicStoreNew = useBasicStore();
44
45
  function handleClose() {
46
+ showToolBox.value=false
47
+ console.log(basicStoreNew,"basicStoreNew")
45
48
  basicStoreNew.setSidebarOpenStatus(false);
46
49
  basicStoreNew.setSidebarName('');
47
50
  }
@@ -57,11 +60,11 @@ function handleClose() {
57
60
  box-sizing: border-box;
58
61
  width: 100vw;
59
62
  height: auto;
60
- background-color: var(--uikit-color-black-8);
63
+ background-color: #fff;
61
64
  .container-title-box{
62
65
  width: 100vw;
63
66
  height: 6vh;
64
- background-color: var(--uikit-color-black-8);
67
+ background-color: #fff;
65
68
  display: flex;
66
69
  align-items: center;
67
70
  justify-content: center;