@d-mok/quasar-app-extension-quasar-axe 4.1.37 → 4.1.39
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
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@d-mok/quasar-app-extension-quasar-axe",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.39",
|
|
4
4
|
"description": "A Quasar App Extension",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -18,7 +18,6 @@
|
|
|
18
18
|
"handsontable": "^15.3.0",
|
|
19
19
|
"jszip": "^3.10.1",
|
|
20
20
|
"lodash": "^4.17.23",
|
|
21
|
-
"openai": "^6.32.0",
|
|
22
21
|
"sapphire-js": "^2.1.53",
|
|
23
22
|
"sortablejs": "^1.15.7",
|
|
24
23
|
"valibot": "^1.2.0",
|
|
@@ -5,15 +5,17 @@
|
|
|
5
5
|
style="white-space: break-spaces"
|
|
6
6
|
v-if="tooltip"
|
|
7
7
|
:delay="150"
|
|
8
|
-
>{{ tooltip }}</q-tooltip
|
|
9
8
|
>
|
|
9
|
+
{{ tooltip }}
|
|
10
|
+
</q-tooltip>
|
|
10
11
|
<q-badge
|
|
11
12
|
v-if="badge !== undefined"
|
|
12
13
|
floating
|
|
13
14
|
rounded
|
|
14
15
|
:color="badgeColor ?? 'red'"
|
|
15
|
-
>{{ badge }}</q-badge
|
|
16
16
|
>
|
|
17
|
+
{{ badge }}
|
|
18
|
+
</q-badge>
|
|
17
19
|
</q-btn>
|
|
18
20
|
</template>
|
|
19
21
|
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
<q-separator />
|
|
45
45
|
<q-list separator>
|
|
46
46
|
<qx-menu-item
|
|
47
|
-
v-for="item in items.filter($ => $.
|
|
47
|
+
v-for="item in items.filter($ => $.show !== false)"
|
|
48
48
|
:key="item.title"
|
|
49
49
|
v-bind="item"
|
|
50
50
|
/>
|
|
@@ -114,14 +114,15 @@ type item = {
|
|
|
114
114
|
width?: string
|
|
115
115
|
noHeader?: boolean
|
|
116
116
|
noMenu?: boolean
|
|
117
|
+
show?: boolean
|
|
117
118
|
}
|
|
118
119
|
|
|
119
120
|
let {
|
|
120
|
-
title,
|
|
121
|
+
title = '',
|
|
121
122
|
appendix = '',
|
|
122
123
|
onClickTitle,
|
|
123
124
|
onClickAppendix,
|
|
124
|
-
items,
|
|
125
|
+
items = [],
|
|
125
126
|
width = '1200px',
|
|
126
127
|
showDrawer = false,
|
|
127
128
|
view = 'hHh LpR fFf',
|
|
@@ -132,11 +133,11 @@ let {
|
|
|
132
133
|
primaryColor,
|
|
133
134
|
positiveColor,
|
|
134
135
|
} = defineProps<{
|
|
135
|
-
title
|
|
136
|
+
title?: string
|
|
136
137
|
appendix?: string
|
|
137
138
|
onClickTitle?: () => void
|
|
138
139
|
onClickAppendix?: () => void
|
|
139
|
-
items
|
|
140
|
+
items?: item[]
|
|
140
141
|
width?: string
|
|
141
142
|
showDrawer?: boolean
|
|
142
143
|
view?: string
|
|
@@ -148,13 +149,13 @@ let {
|
|
|
148
149
|
positiveColor?: string
|
|
149
150
|
}>()
|
|
150
151
|
|
|
151
|
-
|
|
152
|
+
const open = ref(false)
|
|
152
153
|
|
|
153
154
|
const route = useRoute()
|
|
154
155
|
|
|
155
156
|
const currentRouteItem = computed(() => {
|
|
156
157
|
return items.get(
|
|
157
|
-
$ => $.link.replace('/', '') === route.path.replace('/', '')
|
|
158
|
+
$ => $.link.replace('/', '') === route.path.replace('/', ''),
|
|
158
159
|
)
|
|
159
160
|
})
|
|
160
161
|
|
|
@@ -34,10 +34,19 @@ export class SupabaseBucket extends Map<string, string> {
|
|
|
34
34
|
private async getUrls(
|
|
35
35
|
paths: string[],
|
|
36
36
|
): Promise<{ path: string | null; signedUrl: string }[]> {
|
|
37
|
-
const data =
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
37
|
+
const data: { path: string | null; signedUrl: string }[] = []
|
|
38
|
+
for (const ch of paths.chunk(500)) {
|
|
39
|
+
const res = await supabase.storage
|
|
40
|
+
.from(this.bucketName)
|
|
41
|
+
.createSignedUrls(ch, 60 * 60 * 24)
|
|
42
|
+
.then(handleError)
|
|
43
|
+
data.push(
|
|
44
|
+
...res.map($ => ({
|
|
45
|
+
path: $.path,
|
|
46
|
+
signedUrl: $.signedUrl ?? '',
|
|
47
|
+
})),
|
|
48
|
+
)
|
|
49
|
+
}
|
|
41
50
|
return data
|
|
42
51
|
}
|
|
43
52
|
|
package/tsconfig.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
/* Basic Options */
|
|
6
6
|
// "incremental": true, /* Enable incremental compilation */
|
|
7
7
|
"target": "es2022" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', 'ES2018', 'ES2019', 'ES2020', 'ES2021', or 'ESNEXT'. */,
|
|
8
|
-
"module": "
|
|
8
|
+
"module": "preserve" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', 'es2020', or 'ESNext'. */,
|
|
9
9
|
// "lib": [], /* Specify library files to be included in the compilation. */
|
|
10
10
|
// "allowJs": true, /* Allow javascript files to be compiled. */
|
|
11
11
|
// "checkJs": true, /* Report errors in .js files. */
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
// "noPropertyAccessFromIndexSignature": true, /* Require undeclared properties from index signatures to use element accesses. */
|
|
45
45
|
|
|
46
46
|
/* Module Resolution Options */
|
|
47
|
-
"moduleResolution": "
|
|
47
|
+
// "moduleResolution": "nodenext" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */,
|
|
48
48
|
// "baseUrl": "./", /* Base directory to resolve non-absolute module names. */
|
|
49
49
|
// "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
|
|
50
50
|
// "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
|