@hoci/components 0.4.0 → 0.4.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/dist/index.cjs CHANGED
@@ -121,8 +121,24 @@ const HiSwitch = vue.defineComponent({
121
121
  }
122
122
  });
123
123
 
124
+ const components = {
125
+ __proto__: null,
126
+ HiAffix: HiAffix,
127
+ HiIcon: HiIcon,
128
+ HiItem: HiItem,
129
+ HiSelection: HiSelection,
130
+ HiSwitch: HiSwitch
131
+ };
132
+
133
+ const install = (app) => {
134
+ for (const key in components) {
135
+ app.component(key, components[key]);
136
+ }
137
+ };
138
+
124
139
  exports.HiAffix = HiAffix;
125
140
  exports.HiIcon = HiIcon;
126
141
  exports.HiItem = HiItem;
127
142
  exports.HiSelection = HiSelection;
128
143
  exports.HiSwitch = HiSwitch;
144
+ exports.install = install;
package/dist/index.d.cts CHANGED
@@ -1,4 +1,5 @@
1
1
  import * as vue from 'vue';
2
+ import { App } from 'vue';
2
3
  import * as _hoci_core from '@hoci/core';
3
4
 
4
5
  declare const HiAffix: vue.DefineComponent<{
@@ -361,4 +362,6 @@ declare const HiSwitch: vue.DefineComponent<{
361
362
  as: string;
362
363
  }, {}>;
363
364
 
364
- export { HiAffix, HiIcon, HiItem, HiSelection, HiSwitch };
365
+ declare const install: (app: App) => void;
366
+
367
+ export { HiAffix, HiIcon, HiItem, HiSelection, HiSwitch, install };
package/dist/index.d.mts CHANGED
@@ -1,4 +1,5 @@
1
1
  import * as vue from 'vue';
2
+ import { App } from 'vue';
2
3
  import * as _hoci_core from '@hoci/core';
3
4
 
4
5
  declare const HiAffix: vue.DefineComponent<{
@@ -361,4 +362,6 @@ declare const HiSwitch: vue.DefineComponent<{
361
362
  as: string;
362
363
  }, {}>;
363
364
 
364
- export { HiAffix, HiIcon, HiItem, HiSelection, HiSwitch };
365
+ declare const install: (app: App) => void;
366
+
367
+ export { HiAffix, HiIcon, HiItem, HiSelection, HiSwitch, install };
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import * as vue from 'vue';
2
+ import { App } from 'vue';
2
3
  import * as _hoci_core from '@hoci/core';
3
4
 
4
5
  declare const HiAffix: vue.DefineComponent<{
@@ -361,4 +362,6 @@ declare const HiSwitch: vue.DefineComponent<{
361
362
  as: string;
362
363
  }, {}>;
363
364
 
364
- export { HiAffix, HiIcon, HiItem, HiSelection, HiSwitch };
365
+ declare const install: (app: App) => void;
366
+
367
+ export { HiAffix, HiIcon, HiItem, HiSelection, HiSwitch, install };
package/dist/index.mjs CHANGED
@@ -119,4 +119,19 @@ const HiSwitch = defineComponent({
119
119
  }
120
120
  });
121
121
 
122
- export { HiAffix, HiIcon, HiItem, HiSelection, HiSwitch };
122
+ const components = {
123
+ __proto__: null,
124
+ HiAffix: HiAffix,
125
+ HiIcon: HiIcon,
126
+ HiItem: HiItem,
127
+ HiSelection: HiSelection,
128
+ HiSwitch: HiSwitch
129
+ };
130
+
131
+ const install = (app) => {
132
+ for (const key in components) {
133
+ app.component(key, components[key]);
134
+ }
135
+ };
136
+
137
+ export { HiAffix, HiIcon, HiItem, HiSelection, HiSwitch, install };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hoci/components",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "description": "",
5
5
  "author": "chizuki",
6
6
  "license": "MIT",
@@ -32,7 +32,7 @@
32
32
  "@vueuse/core": "^10.5.0",
33
33
  "maybe-types": "^0.1.0",
34
34
  "tslx": "^0.1.1",
35
- "@hoci/core": "0.4.0"
35
+ "@hoci/core": "0.4.2"
36
36
  },
37
37
  "scripts": {
38
38
  "build": "unbuild",