vueform-plugin-checkbox-select-all 1.0.0 → 1.0.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vueform-plugin-checkbox-select-all",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "Bi-directional Select All logic for Vueform's Checkbox and Checkboxgroup elements",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
package/readme.md CHANGED
@@ -4,9 +4,12 @@ This plugin enables complex "Select All" logic for Vueform. It handles bi-direct
4
4
 
5
5
  ## 📦 Installation
6
6
 
7
- ### 1. Create the Plugin File
7
+ ### 1. Install via NPM
8
+ Run the following command in your project root:
8
9
 
9
- Create a file named `CheckboxSelectAll.js` inside your plugins directory (e.g., `./vueform/plugins/CheckboxSelectAll.js`) and paste the plugin code into it.
10
+ ```bash
11
+ npm install vueform-plugin-checkbox-select-all
12
+ ```
10
13
 
11
14
  ### 2. Register in `vueform.config.js`
12
15
 
@@ -20,7 +23,7 @@ import { defineConfig } from "@vueform/vueform";
20
23
  import "@vueform/vueform/dist/vueform.css";
21
24
 
22
25
  // 1. Import the custom plugin
23
- import CheckboxSelectAll from "./vueform/plugins/CheckboxSelectAll";
26
+ import CheckboxSelectAll from "vueform-plugin-checkbox-select-all";
24
27
 
25
28
  export default defineConfig({
26
29
  theme: vueform,
package/src/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { watch, onMounted, nextTick } from "vue";
2
2
 
3
- export default function CheckboxController() {
3
+ export default function CheckboxSelectAll() {
4
4
  return {
5
5
  apply: ["CheckboxElement", "CheckboxgroupElement"],
6
6
  props: {