@agendize/vue-tools 0.0.9-beta001 → 0.0.10
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 +60 -56
- package/dist/bloc/Bloc.d.ts +0 -11
- package/dist/bloc/useBlocState.d.ts +0 -3
- package/dist/index.d.ts +0 -7
- package/dist/presentation/component/qr-code/View.vue.d.ts +0 -48
- package/dist/style.css +0 -1
- package/dist/utils/date.d.ts +0 -1
- package/dist/utils/file.d.ts +0 -9
- package/dist/utils/format.d.ts +0 -4
- package/dist/vue-tools.es.js +0 -2092
- package/dist/vue-tools.umd.js +0 -5
package/package.json
CHANGED
|
@@ -1,56 +1,60 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@agendize/vue-tools",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "Agendize tools",
|
|
5
|
-
"private": false,
|
|
6
|
-
"keywords": [
|
|
7
|
-
"agendize",
|
|
8
|
-
"tools"
|
|
9
|
-
],
|
|
10
|
-
"homepage": "https://github.com/agendize/vue-tools",
|
|
11
|
-
"bugs": {
|
|
12
|
-
"url": "https://github.com/agendize/vue-tools/issues"
|
|
13
|
-
},
|
|
14
|
-
"repository": {
|
|
15
|
-
"type": "git",
|
|
16
|
-
"url": "git+https://github.com/agendize/vue-tools.git"
|
|
17
|
-
},
|
|
18
|
-
"license": "Apache-2.0",
|
|
19
|
-
"author": "David Tant",
|
|
20
|
-
"main": "./dist/vue-tools.umd.js",
|
|
21
|
-
"module": "./dist/vue-tools.es.js",
|
|
22
|
-
"unpkg": "./dist/vue-tools.min.js",
|
|
23
|
-
"types": "./dist/index.d.ts",
|
|
24
|
-
"files": [
|
|
25
|
-
"dist/"
|
|
26
|
-
],
|
|
27
|
-
"exports": {
|
|
28
|
-
".": {
|
|
29
|
-
"import": "./dist/vue-tools.es.js",
|
|
30
|
-
"require": "./dist/vue-tools.umd.js",
|
|
31
|
-
"style": "./dist/style.css"
|
|
32
|
-
}
|
|
33
|
-
},
|
|
34
|
-
"scripts": {
|
|
35
|
-
"dev": "vite",
|
|
36
|
-
"build": "vite build && vue-tsc --emitDeclarationOnly",
|
|
37
|
-
"build-quick": "vite build",
|
|
38
|
-
"preview": "vite preview",
|
|
39
|
-
"test": "jest",
|
|
40
|
-
"publish-public": "npm publish --access=public",
|
|
41
|
-
"publish-beta": "npm publish --access=public --tag=beta"
|
|
42
|
-
},
|
|
43
|
-
"dependencies": {
|
|
44
|
-
"vue": "^3.2.37",
|
|
45
|
-
"qr-code-styling":"^1.5.0"
|
|
46
|
-
},
|
|
47
|
-
"devDependencies": {
|
|
48
|
-
"@intlify/vite-plugin-vue-i18n": "^3.4.0",
|
|
49
|
-
"@types/node": "^17.0.45",
|
|
50
|
-
"@vitejs/plugin-vue": "^2.3.3",
|
|
51
|
-
"typescript": "4.7.4",
|
|
52
|
-
"vite": "^2.9.14",
|
|
53
|
-
"sass": "^1.53.0",
|
|
54
|
-
"vue-tsc": "^0.29.8"
|
|
55
|
-
}
|
|
56
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@agendize/vue-tools",
|
|
3
|
+
"version": "0.0.10",
|
|
4
|
+
"description": "Agendize tools",
|
|
5
|
+
"private": false,
|
|
6
|
+
"keywords": [
|
|
7
|
+
"agendize",
|
|
8
|
+
"tools"
|
|
9
|
+
],
|
|
10
|
+
"homepage": "https://github.com/agendize/vue-tools",
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/agendize/vue-tools/issues"
|
|
13
|
+
},
|
|
14
|
+
"repository": {
|
|
15
|
+
"type": "git",
|
|
16
|
+
"url": "git+https://github.com/agendize/vue-tools.git"
|
|
17
|
+
},
|
|
18
|
+
"license": "Apache-2.0",
|
|
19
|
+
"author": "David Tant",
|
|
20
|
+
"main": "./dist/vue-tools.umd.js",
|
|
21
|
+
"module": "./dist/vue-tools.es.js",
|
|
22
|
+
"unpkg": "./dist/vue-tools.min.js",
|
|
23
|
+
"types": "./dist/index.d.ts",
|
|
24
|
+
"files": [
|
|
25
|
+
"dist/"
|
|
26
|
+
],
|
|
27
|
+
"exports": {
|
|
28
|
+
".": {
|
|
29
|
+
"import": "./dist/vue-tools.es.js",
|
|
30
|
+
"require": "./dist/vue-tools.umd.js",
|
|
31
|
+
"style": "./dist/style.css"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"scripts": {
|
|
35
|
+
"dev": "vite",
|
|
36
|
+
"build": "vite build && vue-tsc --emitDeclarationOnly",
|
|
37
|
+
"build-quick": "vite build",
|
|
38
|
+
"preview": "vite preview",
|
|
39
|
+
"test": "jest",
|
|
40
|
+
"publish-public": "npm publish --access=public",
|
|
41
|
+
"publish-beta": "npm publish --access=public --tag=beta"
|
|
42
|
+
},
|
|
43
|
+
"dependencies": {
|
|
44
|
+
"vue": "^3.2.37",
|
|
45
|
+
"qr-code-styling":"^1.5.0"
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"@intlify/vite-plugin-vue-i18n": "^3.4.0",
|
|
49
|
+
"@types/node": "^17.0.45",
|
|
50
|
+
"@vitejs/plugin-vue": "^2.3.3",
|
|
51
|
+
"typescript": "4.7.4",
|
|
52
|
+
"vite": "^2.9.14",
|
|
53
|
+
"sass": "^1.53.0",
|
|
54
|
+
"vue-tsc": "^0.29.8"
|
|
55
|
+
},
|
|
56
|
+
"peerDependencies": {
|
|
57
|
+
"@agendize/design-system": ">=0.14.38",
|
|
58
|
+
"@agendize/az-i18n": ">=0.0.93"
|
|
59
|
+
}
|
|
60
|
+
}
|
package/dist/bloc/Bloc.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
declare type Subscription<S> = (state: S) => void;
|
|
2
|
-
export declare abstract class Bloc<S> {
|
|
3
|
-
private internalState;
|
|
4
|
-
private listeners;
|
|
5
|
-
constructor(initialState: S);
|
|
6
|
-
get state(): S;
|
|
7
|
-
changeState(state: S): void;
|
|
8
|
-
subscribe(listener: Subscription<S>): void;
|
|
9
|
-
unsubscribe(listener: Subscription<S>): void;
|
|
10
|
-
}
|
|
11
|
-
export {};
|
package/dist/index.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { useBlocState } from "./bloc/useBlocState";
|
|
2
|
-
import { dateToString } from "./utils/date";
|
|
3
|
-
import { onPictureUpdated, readBlobFromUrl } from "./utils/file";
|
|
4
|
-
import { pad, parseToInt } from "./utils/format";
|
|
5
|
-
import QRCode from "./presentation/component/qr-code/View.vue";
|
|
6
|
-
export { Bloc } from './bloc/Bloc';
|
|
7
|
-
export { useBlocState, dateToString, QRCode, onPictureUpdated, readBlobFromUrl, pad, parseToInt };
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
width: {
|
|
3
|
-
type: import("vue").PropType<number>;
|
|
4
|
-
required: true;
|
|
5
|
-
};
|
|
6
|
-
height: {
|
|
7
|
-
type: import("vue").PropType<number>;
|
|
8
|
-
required: true;
|
|
9
|
-
};
|
|
10
|
-
bgColor: {
|
|
11
|
-
type: import("vue").PropType<string>;
|
|
12
|
-
};
|
|
13
|
-
dotsColor: {
|
|
14
|
-
type: import("vue").PropType<string>;
|
|
15
|
-
};
|
|
16
|
-
value: {
|
|
17
|
-
type: import("vue").PropType<string>;
|
|
18
|
-
required: true;
|
|
19
|
-
};
|
|
20
|
-
outlineValue: {
|
|
21
|
-
type: import("vue").PropType<string>;
|
|
22
|
-
required: true;
|
|
23
|
-
};
|
|
24
|
-
}, () => void, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
|
-
width: {
|
|
26
|
-
type: import("vue").PropType<number>;
|
|
27
|
-
required: true;
|
|
28
|
-
};
|
|
29
|
-
height: {
|
|
30
|
-
type: import("vue").PropType<number>;
|
|
31
|
-
required: true;
|
|
32
|
-
};
|
|
33
|
-
bgColor: {
|
|
34
|
-
type: import("vue").PropType<string>;
|
|
35
|
-
};
|
|
36
|
-
dotsColor: {
|
|
37
|
-
type: import("vue").PropType<string>;
|
|
38
|
-
};
|
|
39
|
-
value: {
|
|
40
|
-
type: import("vue").PropType<string>;
|
|
41
|
-
required: true;
|
|
42
|
-
};
|
|
43
|
-
outlineValue: {
|
|
44
|
-
type: import("vue").PropType<string>;
|
|
45
|
-
required: true;
|
|
46
|
-
};
|
|
47
|
-
}>>, {}>;
|
|
48
|
-
export default _default;
|
package/dist/style.css
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
.az-qrcode[data-v-0b0913b4]{display:flex;padding:.25rem;background-color:#fff;flex-direction:column;align-items:center;border:1px solid var(--az-grey-100);border-radius:8px;border-width:1px;font-family:Poppins;font-size:12px}.az-qrcode .az-qrcode-center[data-v-0b0913b4]{display:grid}.az-qrcode .az-qrcode-center .az-qrcode-left[data-v-0b0913b4]{transform:rotate(180deg);text-align:center;writing-mode:vertical-lr;text-orientation:mixed}.az-qrcode .az-qrcode-center .az-qrcode-right[data-v-0b0913b4]{text-align:center;writing-mode:vertical-rl;text-orientation:mixed}.az-qrcode .az-qrcode-bottom[data-v-0b0913b4]{transform:rotate(180deg)}
|
package/dist/utils/date.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function dateToString(date: Date, short?: boolean): string;
|
package/dist/utils/file.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Ref } from "vue";
|
|
2
|
-
declare function onPictureUpdated(item: File | undefined, objectDefinition: {
|
|
3
|
-
urlPicture: Ref<string | undefined>;
|
|
4
|
-
pictureAsData: Ref<string | undefined>;
|
|
5
|
-
filePicture: Ref<File | undefined>;
|
|
6
|
-
}): void;
|
|
7
|
-
declare const toBase64: (file: File) => Promise<string | ArrayBuffer | null>;
|
|
8
|
-
declare function readBlobFromUrl(url: string, callback: (data: string) => void): void;
|
|
9
|
-
export { toBase64, onPictureUpdated, readBlobFromUrl };
|
package/dist/utils/format.d.ts
DELETED