@zyui/components 0.0.1

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.
@@ -0,0 +1,2 @@
1
+ export * from './src/ConfigProvider';
2
+ export * from './src/hooks';
@@ -0,0 +1,20 @@
1
+ import { PropType } from 'vue';
2
+ import { HttpRequest } from '@zyui/utils/';
3
+
4
+ export interface ConfigProviderContext {
5
+ http?: HttpRequest;
6
+ }
7
+ export declare const configProviderContextKey: unique symbol;
8
+ export declare const ConfigProvider: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
9
+ http: {
10
+ type: PropType<HttpRequest>;
11
+ required: false;
12
+ };
13
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
14
+ [key: string]: any;
15
+ }>[] | undefined, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
16
+ http: {
17
+ type: PropType<HttpRequest>;
18
+ required: false;
19
+ };
20
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,3 @@
1
+ import { ConfigProviderContext } from './ConfigProvider';
2
+
3
+ export declare function useConfigProvider(): ConfigProviderContext;
@@ -0,0 +1 @@
1
+ export { default as LalalaButton } from './index.vue';
@@ -0,0 +1,42 @@
1
+ /**
2
+ * The only true button.
3
+ */
4
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
5
+ /**
6
+ * 按钮大小1
7
+ * @values small, normal, large
8
+ */
9
+ size: {
10
+ type: StringConstructor;
11
+ default: string;
12
+ };
13
+ /**
14
+ * The size of the button
15
+ * @values small, normal, large
16
+ */
17
+ type: {
18
+ type: ArrayConstructor;
19
+ default: () => never[];
20
+ };
21
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
22
+ /**
23
+ * 按钮大小1
24
+ * @values small, normal, large
25
+ */
26
+ size: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
30
+ /**
31
+ * The size of the button
32
+ * @values small, normal, large
33
+ */
34
+ type: {
35
+ type: ArrayConstructor;
36
+ default: () => never[];
37
+ };
38
+ }>> & Readonly<{}>, {
39
+ size: string;
40
+ type: unknown[];
41
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
42
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as UserSelector } from './index.vue';
@@ -0,0 +1,4 @@
1
+ export * from './LalalaButton';
2
+ export * from './input';
3
+ export * from './ConfigProvider';
4
+ export * from './UserSelector';
@@ -0,0 +1 @@
1
+ export { default as LalalaInput } from './index.vue';
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import { App } from 'vue';
2
+ export * from './components';
3
+ export declare const version: string;
4
+ export declare function install(app: App): App<any>;
5
+ declare const _default: {
6
+ install: typeof install;
7
+ version: string;
8
+ };
9
+ export default _default;
package/es/style.css ADDED
@@ -0,0 +1 @@
1
+ .num[data-v-e449b4d7]{color:#79bbff;margin-left:4px;margin-right:4px}.face-img[data-v-f1dabd72]{width:40px;height:40px;background-color:#82b4f7;border-radius:100%;display:flex;align-items:center;justify-content:center}.selected-icon[data-v-f1dabd72]{position:absolute;top:0;right:16px}.num[data-v-e7a619fe]{color:#79bbff;margin-left:4px;margin-right:4px}*,:before,:after{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }::backdrop{--un-rotate:0;--un-rotate-x:0;--un-rotate-y:0;--un-rotate-z:0;--un-scale-x:1;--un-scale-y:1;--un-scale-z:1;--un-skew-x:0;--un-skew-y:0;--un-translate-x:0;--un-translate-y:0;--un-translate-z:0;--un-pan-x: ;--un-pan-y: ;--un-pinch-zoom: ;--un-scroll-snap-strictness:proximity;--un-ordinal: ;--un-slashed-zero: ;--un-numeric-figure: ;--un-numeric-spacing: ;--un-numeric-fraction: ;--un-border-spacing-x:0;--un-border-spacing-y:0;--un-ring-offset-shadow:0 0 rgb(0 0 0 / 0);--un-ring-shadow:0 0 rgb(0 0 0 / 0);--un-shadow-inset: ;--un-shadow:0 0 rgb(0 0 0 / 0);--un-ring-inset: ;--un-ring-offset-width:0px;--un-ring-offset-color:#fff;--un-ring-width:0px;--un-ring-color:rgb(147 197 253 / .5);--un-blur: ;--un-brightness: ;--un-contrast: ;--un-drop-shadow: ;--un-grayscale: ;--un-hue-rotate: ;--un-invert: ;--un-saturate: ;--un-sepia: ;--un-backdrop-blur: ;--un-backdrop-brightness: ;--un-backdrop-contrast: ;--un-backdrop-grayscale: ;--un-backdrop-hue-rotate: ;--un-backdrop-invert: ;--un-backdrop-opacity: ;--un-backdrop-saturate: ;--un-backdrop-sepia: }.absolute{position:absolute}.relative{position:relative}.ml-2{margin-left:.5rem}.block{display:block}[size~="16"]{width:4rem;height:4rem}.h-\[400px\]{height:400px}.h-\[80px\]{height:80px}.w-\[100px\]{width:100px}.w-\[160px\]{width:160px}.w-\[180px\]{width:180px}.flex{display:flex}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.border{border-width:1px}.border-gray-300{--un-border-opacity:1;border-color:rgb(209 213 219 / var(--un-border-opacity))}.rounded-md{border-radius:.375rem}.bg-\[red\]{background-color:red}.p-2{padding:.5rem}.px-\[10px\]{padding-left:10px;padding-right:10px}.pt-\[5px\]{padding-top:5px}.text-center{text-align:center}.text-white,[color~="#fff"]{--un-text-opacity:1;color:rgb(255 255 255 / var(--un-text-opacity))}[color~="#f56c6c"]{--un-text-opacity:1;color:rgb(245 108 108 / var(--un-text-opacity))}
@@ -0,0 +1,2 @@
1
+ export * from './src/ConfigProvider';
2
+ export * from './src/hooks';
@@ -0,0 +1,20 @@
1
+ import { PropType } from 'vue';
2
+ import { HttpRequest } from '@zyui/utils/';
3
+
4
+ export interface ConfigProviderContext {
5
+ http?: HttpRequest;
6
+ }
7
+ export declare const configProviderContextKey: unique symbol;
8
+ export declare const ConfigProvider: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
9
+ http: {
10
+ type: PropType<HttpRequest>;
11
+ required: false;
12
+ };
13
+ }>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
14
+ [key: string]: any;
15
+ }>[] | undefined, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
16
+ http: {
17
+ type: PropType<HttpRequest>;
18
+ required: false;
19
+ };
20
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -0,0 +1,3 @@
1
+ import { ConfigProviderContext } from './ConfigProvider';
2
+
3
+ export declare function useConfigProvider(): ConfigProviderContext;
@@ -0,0 +1 @@
1
+ export { default as LalalaButton } from './index.vue';
@@ -0,0 +1,42 @@
1
+ /**
2
+ * The only true button.
3
+ */
4
+ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
5
+ /**
6
+ * 按钮大小1
7
+ * @values small, normal, large
8
+ */
9
+ size: {
10
+ type: StringConstructor;
11
+ default: string;
12
+ };
13
+ /**
14
+ * The size of the button
15
+ * @values small, normal, large
16
+ */
17
+ type: {
18
+ type: ArrayConstructor;
19
+ default: () => never[];
20
+ };
21
+ }>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
22
+ /**
23
+ * 按钮大小1
24
+ * @values small, normal, large
25
+ */
26
+ size: {
27
+ type: StringConstructor;
28
+ default: string;
29
+ };
30
+ /**
31
+ * The size of the button
32
+ * @values small, normal, large
33
+ */
34
+ type: {
35
+ type: ArrayConstructor;
36
+ default: () => never[];
37
+ };
38
+ }>> & Readonly<{}>, {
39
+ size: string;
40
+ type: unknown[];
41
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
42
+ export default _default;
@@ -0,0 +1 @@
1
+ export { default as UserSelector } from './index.vue';
@@ -0,0 +1,4 @@
1
+ export * from './LalalaButton';
2
+ export * from './input';
3
+ export * from './ConfigProvider';
4
+ export * from './UserSelector';
@@ -0,0 +1 @@
1
+ export { default as LalalaInput } from './index.vue';
@@ -0,0 +1,2 @@
1
+ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
2
+ export default _default;
@@ -0,0 +1,9 @@
1
+ import { App } from 'vue';
2
+ export * from './components';
3
+ export declare const version: string;
4
+ export declare function install(app: App): App<any>;
5
+ declare const _default: {
6
+ install: typeof install;
7
+ version: string;
8
+ };
9
+ export default _default;
package/package.json ADDED
@@ -0,0 +1,35 @@
1
+ {
2
+ "name": "@zyui/components",
3
+ "version": "0.0.1",
4
+ "main": "lib/index.js",
5
+ "module": "es/index.mjs",
6
+ "types": "es/src/index.d.ts",
7
+ "exports": {
8
+ ".": {
9
+ "development": "./src/index.ts",
10
+ "default": "./es/index.mjs"
11
+ }
12
+ },
13
+ "files": [
14
+ "es",
15
+ "lib"
16
+ ],
17
+ "peerDependencies": {
18
+ "vue": "^3.3.0",
19
+ "@element-plus/icons-vue": "^2.3.1",
20
+ "element-plus": "^2.9.1",
21
+ "lodash-es": "^4.17.21"
22
+ },
23
+ "dependencies": {
24
+ "@zyui/hooks": "0.0.1",
25
+ "@zyui/utils": "0.0.1"
26
+ },
27
+ "scripts": {
28
+ "dev": "vite",
29
+ "build": "vite build",
30
+ "build:watch": "vite build --watch",
31
+ "build:types": "vue-tsc --declaration --emitDeclarationOnly",
32
+ "type-check": "vue-tsc --noEmit",
33
+ "preview": "vite preview"
34
+ }
35
+ }