@vertesia/ui 0.79.1 → 0.79.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/lib/esm/core/components/TagsInput.js +194 -0
- package/lib/esm/core/components/TagsInput.js.map +1 -0
- package/lib/esm/core/components/index.js +2 -1
- package/lib/esm/core/components/index.js.map +1 -1
- package/lib/esm/core/components/shadcn/popover.js +1 -1
- package/lib/esm/core/components/shadcn/popover.js.map +1 -1
- package/lib/esm/env/index.js +1 -1
- package/lib/esm/env/index.js.map +1 -1
- package/lib/esm/features/store/collections/EditCollectionView.js +18 -7
- package/lib/esm/features/store/collections/EditCollectionView.js.map +1 -1
- package/lib/esm/features/store/collections/SelectCollection.js +104 -39
- package/lib/esm/features/store/collections/SelectCollection.js.map +1 -1
- package/lib/esm/features/store/collections/SharedPropsEditor.js +40 -0
- package/lib/esm/features/store/collections/SharedPropsEditor.js.map +1 -0
- package/lib/esm/features/store/collections/SyncMemberHeadsToggle.js +35 -0
- package/lib/esm/features/store/collections/SyncMemberHeadsToggle.js.map +1 -0
- package/lib/esm/features/store/collections/index.js +2 -0
- package/lib/esm/features/store/collections/index.js.map +1 -1
- package/lib/esm/features/store/objects/upload/useSmartFileUploadProcessing.js +10 -9
- package/lib/esm/features/store/objects/upload/useSmartFileUploadProcessing.js.map +1 -1
- package/lib/esm/session/UserSessionProvider.js +2 -2
- package/lib/esm/session/UserSessionProvider.js.map +1 -1
- package/lib/esm/shell/apps/AppProjectSelector.js +2 -2
- package/lib/esm/shell/apps/AppProjectSelector.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/lib/types/core/components/TagsInput.d.ts +16 -0
- package/lib/types/core/components/TagsInput.d.ts.map +1 -0
- package/lib/types/core/components/index.d.ts +2 -1
- package/lib/types/core/components/index.d.ts.map +1 -1
- package/lib/types/core/components/shadcn/popover.d.ts +7 -0
- package/lib/types/core/components/shadcn/popover.d.ts.map +1 -1
- package/lib/types/features/store/collections/EditCollectionView.d.ts.map +1 -1
- package/lib/types/features/store/collections/SelectCollection.d.ts +2 -1
- package/lib/types/features/store/collections/SelectCollection.d.ts.map +1 -1
- package/lib/types/features/store/collections/SharedPropsEditor.d.ts +7 -0
- package/lib/types/features/store/collections/SharedPropsEditor.d.ts.map +1 -0
- package/lib/types/features/store/collections/SyncMemberHeadsToggle.d.ts +7 -0
- package/lib/types/features/store/collections/SyncMemberHeadsToggle.d.ts.map +1 -0
- package/lib/types/features/store/collections/index.d.ts +2 -0
- package/lib/types/features/store/collections/index.d.ts.map +1 -1
- package/lib/types/features/store/objects/upload/useSmartFileUploadProcessing.d.ts.map +1 -1
- package/lib/vertesia-ui-core.js +1 -1
- package/lib/vertesia-ui-core.js.map +1 -1
- package/lib/vertesia-ui-env.js +1 -1
- package/lib/vertesia-ui-env.js.map +1 -1
- package/lib/vertesia-ui-features.js +1 -1
- package/lib/vertesia-ui-features.js.map +1 -1
- package/lib/vertesia-ui-session.js +1 -1
- package/lib/vertesia-ui-session.js.map +1 -1
- package/lib/vertesia-ui-shell.js +1 -1
- package/lib/vertesia-ui-shell.js.map +1 -1
- package/package.json +166 -166
- package/src/env/index.ts +1 -1
- package/src/features/store/objects/upload/useSmartFileUploadProcessing.ts +1 -3
package/package.json
CHANGED
|
@@ -1,172 +1,172 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
2
|
+
"name": "@vertesia/ui",
|
|
3
|
+
"version": "0.79.2",
|
|
4
|
+
"description": "Vertesia UI components and and hooks",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./lib/index.js",
|
|
7
|
+
"files": [
|
|
8
|
+
"lib",
|
|
9
|
+
"src",
|
|
10
|
+
"tsconfig.dist.json"
|
|
11
|
+
],
|
|
12
|
+
"license": "Apache-2.0",
|
|
13
|
+
"homepage": "https://docs.vertesiahq.com",
|
|
14
|
+
"keywords": [
|
|
15
|
+
"vertesia",
|
|
16
|
+
"UI",
|
|
17
|
+
"react",
|
|
18
|
+
"components",
|
|
19
|
+
"hooks"
|
|
20
|
+
],
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"@codemirror/lang-json": "^6.0.1",
|
|
23
|
+
"@codemirror/state": "^6.5.2",
|
|
24
|
+
"@codemirror/view": "^6.36.8",
|
|
25
|
+
"@floating-ui/dom": "^1.7.1",
|
|
26
|
+
"@floating-ui/react": "^0.27.11",
|
|
27
|
+
"@headlessui/react": "^2.2.2",
|
|
28
|
+
"@monaco-editor/react": "^4.7.0",
|
|
29
|
+
"@radix-ui/react-checkbox": "^1.3.1",
|
|
30
|
+
"@radix-ui/react-dialog": "^1.1.13",
|
|
31
|
+
"@radix-ui/react-label": "^2.1.6",
|
|
32
|
+
"@radix-ui/react-popover": "^1.1.13",
|
|
33
|
+
"@radix-ui/react-separator": "^1.1.6",
|
|
34
|
+
"@radix-ui/react-slot": "^1.2.2",
|
|
35
|
+
"@radix-ui/react-tabs": "^1.1.11",
|
|
36
|
+
"@radix-ui/react-tooltip": "^1.2.6",
|
|
37
|
+
"ajv": "^8.16.0",
|
|
38
|
+
"class-variance-authority": "^0.7.1",
|
|
39
|
+
"clsx": "^2.1.1",
|
|
40
|
+
"cmdk": "^1.1.1",
|
|
41
|
+
"codemirror": "^6.0.1",
|
|
42
|
+
"dayjs": "^1.11.13",
|
|
43
|
+
"debounce": "^2.2.0",
|
|
44
|
+
"fast-xml-parser": "^5.2.3",
|
|
45
|
+
"firebase": "^10.12.2",
|
|
46
|
+
"framer-motion": "^12.23.12",
|
|
47
|
+
"json-schema": "^0.4.0",
|
|
48
|
+
"jwt-decode": "^4.0.0",
|
|
49
|
+
"lodash-es": "^4.17.21",
|
|
50
|
+
"lucide-react": "^0.511.0",
|
|
51
|
+
"monaco-editor": "^0.52.2",
|
|
52
|
+
"motion": "^12.12.1",
|
|
53
|
+
"react": "^19.1.0",
|
|
54
|
+
"react-calendar": "^6.0.0",
|
|
55
|
+
"react-date-picker": "^11.0.0",
|
|
56
|
+
"react-dom": "^19.1.0",
|
|
57
|
+
"react-error-boundary": "^6.0.0",
|
|
58
|
+
"react-markdown": "^10.1.0",
|
|
59
|
+
"react-resizable-panels": "^3.0.6",
|
|
60
|
+
"remark-gfm": "^4.0.1",
|
|
61
|
+
"tailwind-merge": "^3.3.0",
|
|
62
|
+
"ts-md5": "^1.3.1",
|
|
63
|
+
"unist-util-visit": "^5.0.0",
|
|
64
|
+
"@vertesia/client": "0.79.2",
|
|
65
|
+
"@vertesia/common": "0.79.2",
|
|
66
|
+
"@vertesia/json": "0.79.2"
|
|
67
|
+
},
|
|
68
|
+
"devDependencies": {
|
|
69
|
+
"@eslint/js": "^9.27.0",
|
|
70
|
+
"@rollup/plugin-commonjs": "^28.0.3",
|
|
71
|
+
"@rollup/plugin-json": "^6.1.0",
|
|
72
|
+
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
73
|
+
"@types/json-schema": "^7.0.15",
|
|
74
|
+
"@types/lodash-es": "^4.17.12",
|
|
75
|
+
"@types/node": "^22.15.21",
|
|
76
|
+
"@types/react": "^19.1.0",
|
|
77
|
+
"@types/react-dom": "^19.1.1",
|
|
78
|
+
"eslint": "^9.27.0",
|
|
79
|
+
"eslint-import-resolver-typescript": "^4.4.4",
|
|
80
|
+
"eslint-plugin-import": "^2.32.0",
|
|
81
|
+
"eslint-plugin-react": "^7.37.5",
|
|
82
|
+
"eslint-plugin-react-hooks": "^5.2.0",
|
|
83
|
+
"rimraf": "^6.0.1",
|
|
84
|
+
"rollup": "^4.40.2",
|
|
85
|
+
"rollup-plugin-terser": "^7.0.2",
|
|
86
|
+
"typescript": "~5.8.3",
|
|
87
|
+
"typescript-eslint": "^8.38.0",
|
|
88
|
+
"vitest": "^3.0.9"
|
|
89
|
+
},
|
|
90
|
+
"exports": {
|
|
91
|
+
"./router": {
|
|
92
|
+
"types": "./lib/types/router/index.d.ts",
|
|
93
|
+
"default": "./lib/esm/router/index.js"
|
|
25
94
|
},
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
"@codemirror/view": "^6.36.8",
|
|
30
|
-
"@floating-ui/dom": "^1.7.1",
|
|
31
|
-
"@floating-ui/react": "^0.27.11",
|
|
32
|
-
"@headlessui/react": "^2.2.2",
|
|
33
|
-
"@monaco-editor/react": "^4.7.0",
|
|
34
|
-
"@radix-ui/react-checkbox": "^1.3.1",
|
|
35
|
-
"@radix-ui/react-dialog": "^1.1.13",
|
|
36
|
-
"@radix-ui/react-label": "^2.1.6",
|
|
37
|
-
"@radix-ui/react-popover": "^1.1.13",
|
|
38
|
-
"@radix-ui/react-separator": "^1.1.6",
|
|
39
|
-
"@radix-ui/react-slot": "^1.2.2",
|
|
40
|
-
"@radix-ui/react-tabs": "^1.1.11",
|
|
41
|
-
"@radix-ui/react-tooltip": "^1.2.6",
|
|
42
|
-
"@vertesia/client": "workspace:*",
|
|
43
|
-
"@vertesia/common": "workspace:*",
|
|
44
|
-
"@vertesia/json": "workspace:*",
|
|
45
|
-
"ajv": "^8.16.0",
|
|
46
|
-
"class-variance-authority": "^0.7.1",
|
|
47
|
-
"clsx": "^2.1.1",
|
|
48
|
-
"cmdk": "^1.1.1",
|
|
49
|
-
"codemirror": "^6.0.1",
|
|
50
|
-
"dayjs": "^1.11.13",
|
|
51
|
-
"debounce": "^2.2.0",
|
|
52
|
-
"fast-xml-parser": "^5.2.3",
|
|
53
|
-
"firebase": "^10.12.2",
|
|
54
|
-
"framer-motion": "^12.23.12",
|
|
55
|
-
"json-schema": "^0.4.0",
|
|
56
|
-
"jwt-decode": "^4.0.0",
|
|
57
|
-
"lodash-es": "^4.17.21",
|
|
58
|
-
"lucide-react": "^0.511.0",
|
|
59
|
-
"monaco-editor": "^0.52.2",
|
|
60
|
-
"motion": "^12.12.1",
|
|
61
|
-
"react": "^19.1.0",
|
|
62
|
-
"react-calendar": "^6.0.0",
|
|
63
|
-
"react-date-picker": "^11.0.0",
|
|
64
|
-
"react-dom": "^19.1.0",
|
|
65
|
-
"react-error-boundary": "^6.0.0",
|
|
66
|
-
"react-markdown": "^10.1.0",
|
|
67
|
-
"react-resizable-panels": "^3.0.6",
|
|
68
|
-
"remark-gfm": "^4.0.1",
|
|
69
|
-
"tailwind-merge": "^3.3.0",
|
|
70
|
-
"ts-md5": "^1.3.1",
|
|
71
|
-
"unist-util-visit": "^5.0.0"
|
|
95
|
+
"./env": {
|
|
96
|
+
"types": "./lib/types/env/index.d.ts",
|
|
97
|
+
"default": "./lib/esm/env/index.js"
|
|
72
98
|
},
|
|
73
|
-
"
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
"@rollup/plugin-json": "^6.1.0",
|
|
77
|
-
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
78
|
-
"@types/json-schema": "^7.0.15",
|
|
79
|
-
"@types/lodash-es": "^4.17.12",
|
|
80
|
-
"@types/node": "^22.15.21",
|
|
81
|
-
"@types/react": "^19.1.0",
|
|
82
|
-
"@types/react-dom": "^19.1.1",
|
|
83
|
-
"eslint": "^9.27.0",
|
|
84
|
-
"eslint-import-resolver-typescript": "^4.4.4",
|
|
85
|
-
"eslint-plugin-import": "^2.32.0",
|
|
86
|
-
"eslint-plugin-react": "^7.37.5",
|
|
87
|
-
"eslint-plugin-react-hooks": "^5.2.0",
|
|
88
|
-
"rimraf": "^6.0.1",
|
|
89
|
-
"rollup": "^4.40.2",
|
|
90
|
-
"rollup-plugin-terser": "^7.0.2",
|
|
91
|
-
"typescript": "~5.8.3",
|
|
92
|
-
"typescript-eslint": "^8.38.0",
|
|
93
|
-
"vitest": "^3.0.9"
|
|
99
|
+
"./session": {
|
|
100
|
+
"types": "./lib/types/session/index.d.ts",
|
|
101
|
+
"default": "./lib/esm/session/index.js"
|
|
94
102
|
},
|
|
95
|
-
"
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
"default": "./lib/esm/router/index.js"
|
|
99
|
-
},
|
|
100
|
-
"./env": {
|
|
101
|
-
"types": "./lib/types/env/index.d.ts",
|
|
102
|
-
"default": "./lib/esm/env/index.js"
|
|
103
|
-
},
|
|
104
|
-
"./session": {
|
|
105
|
-
"types": "./lib/types/session/index.d.ts",
|
|
106
|
-
"default": "./lib/esm/session/index.js"
|
|
107
|
-
},
|
|
108
|
-
"./core": {
|
|
109
|
-
"types": "./lib/types/core/index.d.ts",
|
|
110
|
-
"default": "./lib/esm/core/index.js"
|
|
111
|
-
},
|
|
112
|
-
"./widgets": {
|
|
113
|
-
"types": "./lib/types/widgets/index.d.ts",
|
|
114
|
-
"default": "./lib/esm/widgets/index.js"
|
|
115
|
-
},
|
|
116
|
-
"./code": {
|
|
117
|
-
"types": "./lib/types/code/index.d.ts",
|
|
118
|
-
"default": "./lib/esm/code/index.js"
|
|
119
|
-
},
|
|
120
|
-
"./form": {
|
|
121
|
-
"types": "./lib/types/form/index.d.ts",
|
|
122
|
-
"default": "./lib/esm/form/index.js"
|
|
123
|
-
},
|
|
124
|
-
"./layout": {
|
|
125
|
-
"types": "./lib/types/layout/index.d.ts",
|
|
126
|
-
"default": "./lib/esm/layout/index.js"
|
|
127
|
-
},
|
|
128
|
-
"./features": {
|
|
129
|
-
"types": "./lib/types/features/index.d.ts",
|
|
130
|
-
"default": "./lib/esm/features/index.js"
|
|
131
|
-
},
|
|
132
|
-
"./shell": {
|
|
133
|
-
"types": "./lib/types/shell/index.d.ts",
|
|
134
|
-
"default": "./lib/esm/shell/index.js"
|
|
135
|
-
}
|
|
103
|
+
"./core": {
|
|
104
|
+
"types": "./lib/types/core/index.d.ts",
|
|
105
|
+
"default": "./lib/esm/core/index.js"
|
|
136
106
|
},
|
|
137
|
-
"
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
107
|
+
"./widgets": {
|
|
108
|
+
"types": "./lib/types/widgets/index.d.ts",
|
|
109
|
+
"default": "./lib/esm/widgets/index.js"
|
|
110
|
+
},
|
|
111
|
+
"./code": {
|
|
112
|
+
"types": "./lib/types/code/index.d.ts",
|
|
113
|
+
"default": "./lib/esm/code/index.js"
|
|
114
|
+
},
|
|
115
|
+
"./form": {
|
|
116
|
+
"types": "./lib/types/form/index.d.ts",
|
|
117
|
+
"default": "./lib/esm/form/index.js"
|
|
118
|
+
},
|
|
119
|
+
"./layout": {
|
|
120
|
+
"types": "./lib/types/layout/index.d.ts",
|
|
121
|
+
"default": "./lib/esm/layout/index.js"
|
|
122
|
+
},
|
|
123
|
+
"./features": {
|
|
124
|
+
"types": "./lib/types/features/index.d.ts",
|
|
125
|
+
"default": "./lib/esm/features/index.js"
|
|
126
|
+
},
|
|
127
|
+
"./shell": {
|
|
128
|
+
"types": "./lib/types/shell/index.d.ts",
|
|
129
|
+
"default": "./lib/esm/shell/index.js"
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
"types": "./lib/index.d.ts",
|
|
133
|
+
"typesVersions": {
|
|
134
|
+
"*": {
|
|
135
|
+
"router": [
|
|
136
|
+
"./lib/types/router/index.d.ts"
|
|
137
|
+
],
|
|
138
|
+
"env": [
|
|
139
|
+
"./lib/types/env/index.d.ts"
|
|
140
|
+
],
|
|
141
|
+
"session": [
|
|
142
|
+
"./lib/types/session/index.d.ts"
|
|
143
|
+
],
|
|
144
|
+
"core": [
|
|
145
|
+
"./lib/types/core/index.d.ts"
|
|
146
|
+
],
|
|
147
|
+
"widgets": [
|
|
148
|
+
"./lib/types/widgets/index.d.ts"
|
|
149
|
+
],
|
|
150
|
+
"code": [
|
|
151
|
+
"./lib/types/code/index.d.ts"
|
|
152
|
+
],
|
|
153
|
+
"features": [
|
|
154
|
+
"./lib/types/features/index.d.ts"
|
|
155
|
+
],
|
|
156
|
+
"layout": [
|
|
157
|
+
"./lib/types/layout/index.d.ts"
|
|
158
|
+
],
|
|
159
|
+
"form": [
|
|
160
|
+
"./lib/types/form/index.d.ts"
|
|
161
|
+
],
|
|
162
|
+
"shell": [
|
|
163
|
+
"./lib/types/shell/index.d.ts"
|
|
164
|
+
]
|
|
171
165
|
}
|
|
172
|
-
}
|
|
166
|
+
},
|
|
167
|
+
"scripts": {
|
|
168
|
+
"build": "pnpm lint && pnpm exec rimraf ./lib && tsc -b && pnpm exec rollup -c",
|
|
169
|
+
"lint": "eslint \"src/**/*.{ts,tsx}\"",
|
|
170
|
+
"lint:fix": "eslint \"src/**/*.{ts,tsx}\" --fix"
|
|
171
|
+
}
|
|
172
|
+
}
|
package/src/env/index.ts
CHANGED
|
@@ -65,7 +65,7 @@ export class VertesiaEnvironment implements Readonly<EnvProps> {
|
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
get isStable() {
|
|
68
|
-
return this.type === "production" || this.type === "preview" || this.type === "
|
|
68
|
+
return this.type === "production" || this.type === "preview" || this.type === "disaster-recovery";
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
get isDev() {
|
|
@@ -181,9 +181,7 @@ export function useSmartFileUploadProcessing() {
|
|
|
181
181
|
queries.push(res);
|
|
182
182
|
} else {
|
|
183
183
|
const res = client.store.objects.find({
|
|
184
|
-
query:
|
|
185
|
-
match: query,
|
|
186
|
-
},
|
|
184
|
+
query: query,
|
|
187
185
|
select: "id content.name location" // Only fetch fields needed for comparison
|
|
188
186
|
});
|
|
189
187
|
queries.push(res);
|