ninemoon-ui 0.0.2 → 0.0.3

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.
package/dist/index.umd.js CHANGED
@@ -2598,9 +2598,6 @@
2598
2598
  vue.h("input", {
2599
2599
  type: "checkbox",
2600
2600
  "onUpdate:modelValue": (value) => allSelect.value = value,
2601
- onChange: () => {
2602
- allSelect.value ? allSelection() : toggleAllSelection();
2603
- },
2604
2601
  class: "tdd-appearance-none form-tick tdd-h-4 tdd-w-4 tdd-border tdd-border-gray-300 tdd-rounded checked:tdd-border-transparent checked:tdd-bg-red-600 tdd-text-red-600 focus:tdd-outline-none"
2605
2602
  }),
2606
2603
  [[vue.vModelCheckbox, allSelect.value]]
@@ -2626,15 +2623,6 @@
2626
2623
  const clearSelection = () => {
2627
2624
  choosed.value = [];
2628
2625
  };
2629
- const a = () => {
2630
- let arr = [
2631
- { a: 1, b: 3 },
2632
- { a: 3, b: 6 },
2633
- { a: 0, b: 9 }
2634
- ];
2635
- return arr.map((i) => i.a);
2636
- };
2637
- a();
2638
2626
  const allSelection = () => {
2639
2627
  let temp = [];
2640
2628
  for (let i = 0; i < props.data.length; i++) {
@@ -54,9 +54,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
54
54
  h("input", {
55
55
  type: "checkbox",
56
56
  "onUpdate:modelValue": (value) => allSelect.value = value,
57
- onChange: () => {
58
- allSelect.value ? allSelection() : toggleAllSelection();
59
- },
60
57
  class: "tdd-appearance-none form-tick tdd-h-4 tdd-w-4 tdd-border tdd-border-gray-300 tdd-rounded checked:tdd-border-transparent checked:tdd-bg-red-600 tdd-text-red-600 focus:tdd-outline-none"
61
58
  }),
62
59
  [[vModelCheckbox, allSelect.value]]
@@ -82,15 +79,6 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
82
79
  const clearSelection = () => {
83
80
  choosed.value = [];
84
81
  };
85
- const a = () => {
86
- let arr = [
87
- { a: 1, b: 3 },
88
- { a: 3, b: 6 },
89
- { a: 0, b: 9 }
90
- ];
91
- return arr.map((i) => i.a);
92
- };
93
- a();
94
82
  const allSelection = () => {
95
83
  let temp = [];
96
84
  for (let i = 0; i < props.data.length; i++) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ninemoon-ui",
3
3
  "private": false,
4
- "version": "0.0.2",
4
+ "version": "0.0.3",
5
5
  "author": "zhuboy",
6
6
  "keywords": [
7
7
  "vue3",