@oeos-components/utils 0.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/dist/index.cjs ADDED
@@ -0,0 +1,16 @@
1
+ const { createJiti } = require("../../../node_modules/.pnpm/jiti@2.5.1/node_modules/jiti/lib/jiti.cjs")
2
+
3
+ const jiti = createJiti(__filename, {
4
+ "interopDefault": true,
5
+ "alias": {
6
+ "@oeos-components/utils": "/Users/andy/cyrd/oeos-components/packages/utils"
7
+ },
8
+ "transformOptions": {
9
+ "babel": {
10
+ "plugins": []
11
+ }
12
+ }
13
+ })
14
+
15
+ /** @type {import("/Users/andy/cyrd/oeos-components/packages/utils/src/index")} */
16
+ module.exports = jiti("/Users/andy/cyrd/oeos-components/packages/utils/src/index.ts")
@@ -0,0 +1 @@
1
+ export * from "/Users/andy/cyrd/oeos-components/packages/utils/src/index";
@@ -0,0 +1 @@
1
+ export * from "/Users/andy/cyrd/oeos-components/packages/utils/src/index";
@@ -0,0 +1 @@
1
+ export * from "/Users/andy/cyrd/oeos-components/packages/utils/src/index";
package/dist/index.mjs ADDED
@@ -0,0 +1,74 @@
1
+ import { createJiti } from "../../../node_modules/.pnpm/jiti@2.5.1/node_modules/jiti/lib/jiti.mjs";
2
+
3
+ const jiti = createJiti(import.meta.url, {
4
+ "interopDefault": true,
5
+ "alias": {
6
+ "@oeos-components/utils": "/Users/andy/cyrd/oeos-components/packages/utils"
7
+ },
8
+ "transformOptions": {
9
+ "babel": {
10
+ "plugins": []
11
+ }
12
+ }
13
+ })
14
+
15
+ /** @type {import("/Users/andy/cyrd/oeos-components/packages/utils/src/index")} */
16
+ const _module = await jiti.import("/Users/andy/cyrd/oeos-components/packages/utils/src/index.ts");
17
+
18
+ export const isString = _module.isString;
19
+ export const isStringNumber = _module.isStringNumber;
20
+ export const isNumber = _module.isNumber;
21
+ export const $toast = _module.$toast;
22
+ export const type = _module.type;
23
+ export const otherParams = _module.otherParams;
24
+ export const setStorage = _module.setStorage;
25
+ export const params = _module.params;
26
+ export const isSession = _module.isSession;
27
+ export const getStorage = _module.getStorage;
28
+ export const clearStorage = _module.clearStorage;
29
+ export const validForm = _module.validForm;
30
+ export const detail = _module.detail;
31
+ export const showMessage = _module.showMessage;
32
+ export const isEmpty = _module.isEmpty;
33
+ export const notEmpty = _module.notEmpty;
34
+ export const merge = _module.merge;
35
+ export const obj2 = _module.obj2;
36
+ export const clone = _module.clone;
37
+ export const times = _module.times;
38
+ export const formatTime = _module.formatTime;
39
+ export const cFormat = _module.cFormat;
40
+ export const formatDurationTime = _module.formatDurationTime;
41
+ export const uuid = _module.uuid;
42
+ export const getType = _module.getType;
43
+ export const sleep = _module.sleep;
44
+ export const fn = _module.fn;
45
+ export const validate = _module.validate;
46
+ export const rules = _module.rules;
47
+ export const pureValid = _module.pureValid;
48
+ export const asyncWrapper = _module.asyncWrapper;
49
+ export const formatImg = _module.formatImg;
50
+ export const addPath = _module.addPath;
51
+ export const copy = _module.copy;
52
+ export const toastParams = _module.toastParams;
53
+ export const formatThousands = _module.formatThousands;
54
+ export const log = _module.log;
55
+ export const variable = _module.variable;
56
+ export const otherInfo = _module.otherInfo;
57
+ export const random = _module.random;
58
+ export const max = _module.max;
59
+ export const toLine = _module.toLine;
60
+ export const connect = _module.connect;
61
+ export const processWidth = _module.processWidth;
62
+ export const isBase = _module.isBase;
63
+ export const toFixed = _module.toFixed;
64
+ export const digits = _module.digits;
65
+ export const formatBytes = _module.formatBytes;
66
+ export const thousands = _module.thousands;
67
+ export const formatBytesConvert = _module.formatBytesConvert;
68
+ export const throttle = _module.throttle;
69
+ export const delay = _module.delay;
70
+ export const debounce = _module.debounce;
71
+ export const confirm = _module.confirm;
72
+ export const options = _module.options;
73
+ export const formatNewLines = _module.formatNewLines;
74
+ export const getVariable = _module.getVariable;
package/package.json ADDED
@@ -0,0 +1,30 @@
1
+ {
2
+ "name": "@oeos-components/utils",
3
+ "version": "0.0.2",
4
+ "description": "utils of oeos-components",
5
+ "license": "MIT",
6
+ "main": "./dist/index.cjs",
7
+ "module": "./dist/index.mjs",
8
+ "types": "./dist/index.d.ts",
9
+ "files": [
10
+ "dist"
11
+ ],
12
+ "publishConfig": {
13
+ "access": "public",
14
+ "registry": "https://registry.npmjs.org"
15
+ },
16
+ "scripts": {
17
+ "build": "npx unbuild",
18
+ "stub": "npx unbuild --stub",
19
+ "release": "npm version patch && npm publish"
20
+ },
21
+ "author": "",
22
+ "dependencies": {
23
+ "@vue/reactivity": "^3.5.18",
24
+ "@vue/shared": "^3.5.18",
25
+ "consola": "^3.4.2",
26
+ "element-plus": "^2.10.4",
27
+ "lodash-es": "^4.17.21",
28
+ "vue": "3.4.15"
29
+ }
30
+ }