dolphin-components 3.1.13 → 3.1.15-beta.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.
package/dist/index.d.ts CHANGED
@@ -552,8 +552,9 @@ export declare class WebSocketWrapper {
552
552
  private socket;
553
553
  private url;
554
554
  private isConnected;
555
+ private initPromise;
555
556
  setURL(url: string): void;
556
- init(): Promise<WebSocketWrapper>;
557
+ init(onError?: (error: Event) => void): Promise<WebSocketWrapper>;
557
558
  onMessage(callback: (message: string) => void): Promise<WebSocketWrapper>;
558
559
  sendMessage(message: string): Promise<void>;
559
560
  close(): void;
@@ -15,7 +15,9 @@ module.exports = {
15
15
  },
16
16
 
17
17
  create(context) {
18
- const filename = context.getFilename();
18
+ const filename =
19
+ context.filename ||
20
+ (typeof context.getPhysicalFilename === "function" ? context.getPhysicalFilename() : "<unknown>");
19
21
 
20
22
  function reportIfDuplicate(id, node) {
21
23
  const existingFile = storeIds.get(id);
package/package.json CHANGED
@@ -1,91 +1,92 @@
1
1
  {
2
- "name": "dolphin-components",
3
- "private": false,
4
- "version": "3.1.13",
5
- "type": "module",
6
- "files": [
7
- "dist",
8
- "eslint"
9
- ],
10
- "engines": {
11
- "node": ">=24"
12
- },
13
- "author": "<Mavorion Systems> (https://mavorion.com/)",
14
- "homepage": "https://mavorion.com/",
15
- "license": "Apache-2.0",
16
- "main": "./dist/dolphin-components.umd.cjs",
17
- "module": "./dist/dolphin-components.es.js",
18
- "exports": {
19
- ".": {
20
- "types": "./dist/index.d.ts",
21
- "import": "./dist/dolphin-components.es.js",
22
- "require": "./dist/dolphin-components.umd.cjs"
2
+ "name": "dolphin-components",
3
+ "private": false,
4
+ "version": "3.1.15-beta.1",
5
+ "type": "module",
6
+ "files": [
7
+ "dist",
8
+ "eslint"
9
+ ],
10
+ "engines": {
11
+ "node": ">=24"
23
12
  },
24
- "./dolphin-components.css": "./dist/dolphin-components.css",
25
- "./eslint": {
26
- "require": "./eslint/eslint-rules.cjs",
27
- "types": "./eslint/eslint-rules.d.ts"
28
- }
29
- },
30
- "types": "./dist/index.d.ts",
31
- "dependencies": {
32
- "@tailwindcss/vite": "^4.2.1",
33
- "@types/tabulator-tables": "^6.3.1",
34
- "axios": "^1.13.6",
35
- "lucide-vue-next": "^0.563.0",
36
- "moment": "^2.30.1",
37
- "nepali-date-library": "^1.1.13",
38
- "nepali-datepicker-vue": "^1.1.13",
39
- "sweetalert2": "^11.26.22",
40
- "tabulator-tables": "^6.4.0",
41
- "tailwindcss": "^4.2.1",
42
- "utility-types": "^3.11.0",
43
- "vue": "^3.5.30",
44
- "vue-datepicker-next": "^1.0.3",
45
- "vue-multiselect": "^3.4.0",
46
- "xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz"
47
- },
48
- "peerDependencies": {
49
- "eslint": "^9.39.2",
50
- "vue-router": "^5.0.2"
51
- },
52
- "devDependencies": {
53
- "@eslint/js": "^9.39.4",
54
- "@tsconfig/node24": "^24.0.4",
55
- "@types/node": "^25.5.0",
56
- "@vitejs/plugin-vue": "^6.0.5",
57
- "@vue/eslint-config-prettier": "^10.2.0",
58
- "@vue/eslint-config-typescript": "^14.7.0",
59
- "@vue/tsconfig": "^0.8.1",
60
- "eslint-plugin-prettier": "^5.5.5",
61
- "eslint-plugin-vue": "^10.8.0",
62
- "git-sentry": "^1.0.2",
63
- "globals": "^17.4.0",
64
- "jiti": "^2.6.1",
65
- "npm-run-all2": "^8.0.4",
66
- "path": "^0.12.7",
67
- "prettier": "3.8.1",
68
- "typescript": "~5.9.3",
69
- "typescript-eslint": "^8.57.0",
70
- "vite": "^7.3.1",
71
- "vite-plugin-dts": "^4.5.4",
72
- "vite-plugin-vue-devtools": "^8.1.0",
73
- "vue-tsc": "^3.2.5"
74
- },
75
- "keywords": [
76
- "mavorion",
77
- "dolphin"
78
- ],
79
- "scripts": {
80
- "dev": "vite --host",
81
- "prebuild": "npm run lint",
82
- "build": "run-p type-check \"build-only {@}\" --",
83
- "preview": "vite preview",
84
- "build-only": "vite build",
85
- "type-check": "vue-tsc --declaration --emitDeclarationOnly",
86
- "format": "prettier --write src/",
87
- "format:check": "prettier --check src/",
88
- "lint": "eslint src --max-warnings 0",
89
- "lint:fix": "eslint src --fix"
90
- }
91
- }
13
+ "author": "<Mavorion Systems> (https://mavorion.com/)",
14
+ "homepage": "https://mavorion.com/",
15
+ "license": "Apache-2.0",
16
+ "main": "./dist/dolphin-components.umd.cjs",
17
+ "module": "./dist/dolphin-components.es.js",
18
+ "exports": {
19
+ ".": {
20
+ "types": "./dist/index.d.ts",
21
+ "import": "./dist/dolphin-components.es.js",
22
+ "require": "./dist/dolphin-components.umd.cjs"
23
+ },
24
+ "./dolphin-components.css": "./dist/dolphin-components.css",
25
+ "./eslint": {
26
+ "require": "./eslint/eslint-rules.cjs",
27
+ "types": "./eslint/eslint-rules.d.ts"
28
+ }
29
+ },
30
+ "types": "./dist/index.d.ts",
31
+ "scripts": {
32
+ "dev": "vite --host",
33
+ "prebuild": "npm run lint",
34
+ "build": "run-p type-check \"build-only {@}\" --",
35
+ "preview": "vite preview",
36
+ "build-only": "vite build",
37
+ "type-check": "vue-tsc --declaration --emitDeclarationOnly",
38
+ "format": "prettier --write src/",
39
+ "format:check": "prettier --check src/",
40
+ "lint": "eslint src --max-warnings 0",
41
+ "lint:fix": "eslint src --fix",
42
+ "prepare": "git-sentry init"
43
+ },
44
+ "dependencies": {
45
+ "@tailwindcss/vite": "^4.2.4",
46
+ "@types/tabulator-tables": "^6.3.2",
47
+ "axios": "^1.15.2",
48
+ "lucide-vue-next": "^1.0.0",
49
+ "moment": "^2.30.1",
50
+ "nepali-date-library": "^1.1.14",
51
+ "nepali-datepicker-vue": "^2.0.0",
52
+ "sweetalert2": "^11.26.24",
53
+ "tabulator-tables": "^6.4.0",
54
+ "tailwindcss": "^4.2.4",
55
+ "utility-types": "^3.11.0",
56
+ "vue": "^3.5.33",
57
+ "vue-datepicker-next": "^1.0.3",
58
+ "vue-multiselect": "^3.5.0",
59
+ "xlsx": "https://cdn.sheetjs.com/xlsx-0.20.3/xlsx-0.20.3.tgz"
60
+ },
61
+ "peerDependencies": {
62
+ "eslint": "^9.39.2",
63
+ "vue-router": "^5.0.2"
64
+ },
65
+ "devDependencies": {
66
+ "@eslint/js": "^10.0.1",
67
+ "@tsconfig/node24": "^24.0.4",
68
+ "@types/node": "^25.6.0",
69
+ "@vitejs/plugin-vue": "^6.0.6",
70
+ "@vue/eslint-config-prettier": "^10.2.0",
71
+ "@vue/eslint-config-typescript": "^14.7.0",
72
+ "@vue/tsconfig": "^0.9.1",
73
+ "eslint-plugin-prettier": "^5.5.5",
74
+ "eslint-plugin-vue": "^10.9.0",
75
+ "git-sentry": "^1.0.2",
76
+ "globals": "^17.5.0",
77
+ "jiti": "^2.6.1",
78
+ "npm-run-all2": "^8.0.4",
79
+ "path": "^0.12.7",
80
+ "prettier": "3.8.3",
81
+ "typescript": "~6.0.3",
82
+ "typescript-eslint": "^8.59.1",
83
+ "vite": "^8.0.10",
84
+ "vite-plugin-dts": "^4.5.4",
85
+ "vite-plugin-vue-devtools": "^8.1.1",
86
+ "vue-tsc": "^3.2.7"
87
+ },
88
+ "keywords": [
89
+ "mavorion",
90
+ "dolphin"
91
+ ]
92
+ }