@mixd-id/web-scaffold 0.1.230406156 → 0.1.230406158
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
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
<div v-for="color in colors">
|
|
13
13
|
<div v-if="mode === 'class'" :class="`${$style.circle} bg-${color}`"
|
|
14
14
|
@click="select(`${color}`)"></div>
|
|
15
|
+
<div v-else :class="`${$style.circle}`" :style="{ backgroundColor: color }"
|
|
16
|
+
@click="select(`${color}`)"></div>
|
|
15
17
|
</div>
|
|
16
18
|
</div>
|
|
17
19
|
<div class="grid grid-cols-2 gap-4">
|
package/src/utils/listview.js
CHANGED
|
@@ -220,20 +220,6 @@ let ListView = {
|
|
|
220
220
|
|
|
221
221
|
async _load(params){
|
|
222
222
|
|
|
223
|
-
/*const listAcl = socket.auth.user.getAclv('customer', 'list')
|
|
224
|
-
if(listAcl === false){
|
|
225
|
-
throw new Error('Insufficient privilege')
|
|
226
|
-
}
|
|
227
|
-
else if(Array.isArray(listAcl.filters) && listAcl.filters.includes('user-customers')){
|
|
228
|
-
where = {
|
|
229
|
-
...where,
|
|
230
|
-
referralType: {
|
|
231
|
-
[Op.in]: [ "App\\Models\\User", "user" ]
|
|
232
|
-
},
|
|
233
|
-
referralId: socket.auth.userId
|
|
234
|
-
}
|
|
235
|
-
}*/
|
|
236
|
-
|
|
237
223
|
const { afterItem, itemsPerPage = this.itemsPerPage ?? 24 } = params
|
|
238
224
|
|
|
239
225
|
const { preset = {} } = params
|