@anzusystems/common-admin 1.10.0 → 1.11.0
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/common-admin.es.d.ts +361 -1
- package/dist/common-admin.es.js +149 -147
- package/dist/lib-3b6b9c84.js +12293 -0
- package/dist/lib-3b6b9c84.js.map +1 -0
- package/dist/{shortcut-buttons-flatpickr-ad25b220.js → shortcut-buttons-flatpickr-7d03d614.js} +2 -2
- package/dist/{shortcut-buttons-flatpickr-ad25b220.js.map → shortcut-buttons-flatpickr-7d03d614.js.map} +1 -1
- package/dist/style.css +1 -1
- package/dist/{webfontloader-6ef8b632.js → webfontloader-71785248.js} +2 -2
- package/dist/{webfontloader-6ef8b632.js.map → webfontloader-71785248.js.map} +1 -1
- package/package.json +14 -12
- package/dist/lib-7ed6c0e6.js +0 -10014
- package/dist/lib-7ed6c0e6.js.map +0 -1
|
@@ -51,6 +51,18 @@ declare type __VLS_WithTemplateSlots_12<T, S> = T & {
|
|
|
51
51
|
};
|
|
52
52
|
};
|
|
53
53
|
|
|
54
|
+
declare type __VLS_WithTemplateSlots_13<T, S> = T & {
|
|
55
|
+
new (): {
|
|
56
|
+
$slots: S;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
declare type __VLS_WithTemplateSlots_14<T, S> = T & {
|
|
61
|
+
new (): {
|
|
62
|
+
$slots: S;
|
|
63
|
+
};
|
|
64
|
+
};
|
|
65
|
+
|
|
54
66
|
declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
55
67
|
new (): {
|
|
56
68
|
$slots: S;
|
|
@@ -670,7 +682,7 @@ export declare const AAnzuUserAvatar: DefineComponent<{
|
|
|
670
682
|
containerClass: string;
|
|
671
683
|
}, {}>;
|
|
672
684
|
|
|
673
|
-
export declare const AAssetSelect:
|
|
685
|
+
export declare const AAssetSelect: __VLS_WithTemplateSlots_14<DefineComponent<{
|
|
674
686
|
modelValue: {
|
|
675
687
|
type: PropType<boolean>;
|
|
676
688
|
default: undefined;
|
|
@@ -3146,6 +3158,289 @@ export declare const arraysHaveSameElements: <T>(array1: T[], array2: T[]) => bo
|
|
|
3146
3158
|
|
|
3147
3159
|
export declare const arrayToString: (values: Array<string | number>, separator?: string) => string;
|
|
3148
3160
|
|
|
3161
|
+
export declare const ASortable: __VLS_WithTemplateSlots_12<DefineComponent<{
|
|
3162
|
+
modelValue: {
|
|
3163
|
+
type: PropType<any>;
|
|
3164
|
+
required: true;
|
|
3165
|
+
};
|
|
3166
|
+
dirty: {
|
|
3167
|
+
type: PropType<Set<string | number>>;
|
|
3168
|
+
default: () => Set<string | number>;
|
|
3169
|
+
};
|
|
3170
|
+
keyField: {
|
|
3171
|
+
type: PropType<string>;
|
|
3172
|
+
default: string;
|
|
3173
|
+
};
|
|
3174
|
+
disableDraggable: {
|
|
3175
|
+
type: PropType<boolean>;
|
|
3176
|
+
default: boolean;
|
|
3177
|
+
};
|
|
3178
|
+
rootClassName: {
|
|
3179
|
+
type: PropType<string>;
|
|
3180
|
+
default: string;
|
|
3181
|
+
};
|
|
3182
|
+
widgetIdentifierId: {
|
|
3183
|
+
type: PropType<string>;
|
|
3184
|
+
default: undefined;
|
|
3185
|
+
};
|
|
3186
|
+
disableDefaultSort: {
|
|
3187
|
+
type: PropType<boolean>;
|
|
3188
|
+
default: boolean;
|
|
3189
|
+
};
|
|
3190
|
+
updatePosition: {
|
|
3191
|
+
type: PropType<boolean>;
|
|
3192
|
+
default: boolean;
|
|
3193
|
+
};
|
|
3194
|
+
positionField: {
|
|
3195
|
+
type: PropType<string>;
|
|
3196
|
+
default: string;
|
|
3197
|
+
};
|
|
3198
|
+
showAddAfterButton: {
|
|
3199
|
+
type: PropType<boolean>;
|
|
3200
|
+
default: boolean;
|
|
3201
|
+
};
|
|
3202
|
+
showAddLastButton: {
|
|
3203
|
+
type: PropType<boolean>;
|
|
3204
|
+
default: boolean;
|
|
3205
|
+
};
|
|
3206
|
+
showDeleteButton: {
|
|
3207
|
+
type: PropType<boolean>;
|
|
3208
|
+
default: boolean;
|
|
3209
|
+
};
|
|
3210
|
+
showEditButton: {
|
|
3211
|
+
type: PropType<boolean>;
|
|
3212
|
+
default: boolean;
|
|
3213
|
+
};
|
|
3214
|
+
}, {
|
|
3215
|
+
refresh: () => void;
|
|
3216
|
+
addAfterId: (targetId: string | number | null, data: any) => SortableItemNewPositions;
|
|
3217
|
+
addAfterIndex: (targetIndex: number | null, data: any) => SortableItemNewPositions;
|
|
3218
|
+
removeById: (id: string | number) => SortableItemNewPositions;
|
|
3219
|
+
removeByIndex: (index: number) => SortableItemNewPositions;
|
|
3220
|
+
updateData: (id: string | number, data: any, position: number | null, dirty?: boolean | null | undefined) => void;
|
|
3221
|
+
updateDataAtIndex: (index: number, data: any, position: number | null, dirty?: boolean | null | undefined) => void;
|
|
3222
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
3223
|
+
"update:modelValue": (data: any[]) => void;
|
|
3224
|
+
"update:dirty": (data: (string | number)[]) => void;
|
|
3225
|
+
onEnd: (data: SortableItemNewPositions) => void;
|
|
3226
|
+
onAddAfter: (data: SortableItem<any>) => void;
|
|
3227
|
+
onAddLast: (data: SortableItem<any> | null) => void;
|
|
3228
|
+
onEdit: (data: SortableItem<any>) => void;
|
|
3229
|
+
onDelete: (data: SortableItem<any>) => void;
|
|
3230
|
+
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
3231
|
+
modelValue: {
|
|
3232
|
+
type: PropType<any>;
|
|
3233
|
+
required: true;
|
|
3234
|
+
};
|
|
3235
|
+
dirty: {
|
|
3236
|
+
type: PropType<Set<string | number>>;
|
|
3237
|
+
default: () => Set<string | number>;
|
|
3238
|
+
};
|
|
3239
|
+
keyField: {
|
|
3240
|
+
type: PropType<string>;
|
|
3241
|
+
default: string;
|
|
3242
|
+
};
|
|
3243
|
+
disableDraggable: {
|
|
3244
|
+
type: PropType<boolean>;
|
|
3245
|
+
default: boolean;
|
|
3246
|
+
};
|
|
3247
|
+
rootClassName: {
|
|
3248
|
+
type: PropType<string>;
|
|
3249
|
+
default: string;
|
|
3250
|
+
};
|
|
3251
|
+
widgetIdentifierId: {
|
|
3252
|
+
type: PropType<string>;
|
|
3253
|
+
default: undefined;
|
|
3254
|
+
};
|
|
3255
|
+
disableDefaultSort: {
|
|
3256
|
+
type: PropType<boolean>;
|
|
3257
|
+
default: boolean;
|
|
3258
|
+
};
|
|
3259
|
+
updatePosition: {
|
|
3260
|
+
type: PropType<boolean>;
|
|
3261
|
+
default: boolean;
|
|
3262
|
+
};
|
|
3263
|
+
positionField: {
|
|
3264
|
+
type: PropType<string>;
|
|
3265
|
+
default: string;
|
|
3266
|
+
};
|
|
3267
|
+
showAddAfterButton: {
|
|
3268
|
+
type: PropType<boolean>;
|
|
3269
|
+
default: boolean;
|
|
3270
|
+
};
|
|
3271
|
+
showAddLastButton: {
|
|
3272
|
+
type: PropType<boolean>;
|
|
3273
|
+
default: boolean;
|
|
3274
|
+
};
|
|
3275
|
+
showDeleteButton: {
|
|
3276
|
+
type: PropType<boolean>;
|
|
3277
|
+
default: boolean;
|
|
3278
|
+
};
|
|
3279
|
+
showEditButton: {
|
|
3280
|
+
type: PropType<boolean>;
|
|
3281
|
+
default: boolean;
|
|
3282
|
+
};
|
|
3283
|
+
}>> & {
|
|
3284
|
+
"onUpdate:modelValue"?: ((data: any[]) => any) | undefined;
|
|
3285
|
+
"onUpdate:dirty"?: ((data: (string | number)[]) => any) | undefined;
|
|
3286
|
+
onOnEnd?: ((data: SortableItemNewPositions) => any) | undefined;
|
|
3287
|
+
onOnAddAfter?: ((data: SortableItem<any>) => any) | undefined;
|
|
3288
|
+
onOnAddLast?: ((data: SortableItem<any> | null) => any) | undefined;
|
|
3289
|
+
onOnEdit?: ((data: SortableItem<any>) => any) | undefined;
|
|
3290
|
+
onOnDelete?: ((data: SortableItem<any>) => any) | undefined;
|
|
3291
|
+
}, {
|
|
3292
|
+
dirty: Set<string | number>;
|
|
3293
|
+
keyField: string;
|
|
3294
|
+
disableDraggable: boolean;
|
|
3295
|
+
rootClassName: string;
|
|
3296
|
+
widgetIdentifierId: string;
|
|
3297
|
+
disableDefaultSort: boolean;
|
|
3298
|
+
updatePosition: boolean;
|
|
3299
|
+
positionField: string;
|
|
3300
|
+
showAddAfterButton: boolean;
|
|
3301
|
+
showAddLastButton: boolean;
|
|
3302
|
+
showDeleteButton: boolean;
|
|
3303
|
+
showEditButton: boolean;
|
|
3304
|
+
}, {}>, {
|
|
3305
|
+
item?(_: {
|
|
3306
|
+
item: SortableItem<any>;
|
|
3307
|
+
}): any;
|
|
3308
|
+
buttons?(_: {
|
|
3309
|
+
item: SortableItem<any>;
|
|
3310
|
+
}): any;
|
|
3311
|
+
}>;
|
|
3312
|
+
|
|
3313
|
+
export declare const ASortableNested: __VLS_WithTemplateSlots_13<DefineComponent<{
|
|
3314
|
+
modelValue: {
|
|
3315
|
+
type: PropType<SortableNested<any>>;
|
|
3316
|
+
required: true;
|
|
3317
|
+
};
|
|
3318
|
+
disableDraggable: {
|
|
3319
|
+
type: PropType<boolean>;
|
|
3320
|
+
default: boolean;
|
|
3321
|
+
};
|
|
3322
|
+
rootClassName: {
|
|
3323
|
+
type: PropType<string>;
|
|
3324
|
+
default: string;
|
|
3325
|
+
};
|
|
3326
|
+
widgetIdentifierId: {
|
|
3327
|
+
type: PropType<string>;
|
|
3328
|
+
default: undefined;
|
|
3329
|
+
};
|
|
3330
|
+
disableDefaultSort: {
|
|
3331
|
+
type: PropType<boolean>;
|
|
3332
|
+
default: boolean;
|
|
3333
|
+
};
|
|
3334
|
+
showAddAfterButton: {
|
|
3335
|
+
type: PropType<boolean>;
|
|
3336
|
+
default: boolean;
|
|
3337
|
+
};
|
|
3338
|
+
showAddLastButton: {
|
|
3339
|
+
type: PropType<boolean>;
|
|
3340
|
+
default: boolean;
|
|
3341
|
+
};
|
|
3342
|
+
showDeleteButton: {
|
|
3343
|
+
type: PropType<boolean>;
|
|
3344
|
+
default: boolean;
|
|
3345
|
+
};
|
|
3346
|
+
showEditButton: {
|
|
3347
|
+
type: PropType<boolean>;
|
|
3348
|
+
default: boolean;
|
|
3349
|
+
};
|
|
3350
|
+
maxDepth: {
|
|
3351
|
+
type: PropType<number>;
|
|
3352
|
+
required: true;
|
|
3353
|
+
};
|
|
3354
|
+
showAddChildButton: {
|
|
3355
|
+
type: PropType<boolean>;
|
|
3356
|
+
default: boolean;
|
|
3357
|
+
};
|
|
3358
|
+
}, {
|
|
3359
|
+
refresh: () => void;
|
|
3360
|
+
addAfterId: (targetId: string | number | null, data: any, childrenAllowed: boolean) => SortableItemNewPositions;
|
|
3361
|
+
addChildToId: (targetId: string | number, data: any, childrenAllowed: boolean) => void;
|
|
3362
|
+
removeById: (id: string | number) => SortableItemNewPositions;
|
|
3363
|
+
updateData: (id: string | number, data: any, children: SortableNestedItem<any>[] | null | undefined, position: number | null, dirty?: boolean | null | undefined, parent?: string | number | null | undefined) => void;
|
|
3364
|
+
}, unknown, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
3365
|
+
"update:modelValue": (data: SortableNested<any>) => void;
|
|
3366
|
+
onEnd: (data: SortableItemNewPositions) => void;
|
|
3367
|
+
onAddAfter: (data: SortableNestedItem<any>) => void;
|
|
3368
|
+
onAddChild: (data: SortableNestedItem<any>) => void;
|
|
3369
|
+
onAddLast: (data: SortableNestedItem<any> | null) => void;
|
|
3370
|
+
onEdit: (data: SortableNestedItem<any>) => void;
|
|
3371
|
+
onDelete: (data: SortableNestedItem<any>) => void;
|
|
3372
|
+
}, string, VNodeProps & AllowedComponentProps & ComponentCustomProps, Readonly<ExtractPropTypes<{
|
|
3373
|
+
modelValue: {
|
|
3374
|
+
type: PropType<SortableNested<any>>;
|
|
3375
|
+
required: true;
|
|
3376
|
+
};
|
|
3377
|
+
disableDraggable: {
|
|
3378
|
+
type: PropType<boolean>;
|
|
3379
|
+
default: boolean;
|
|
3380
|
+
};
|
|
3381
|
+
rootClassName: {
|
|
3382
|
+
type: PropType<string>;
|
|
3383
|
+
default: string;
|
|
3384
|
+
};
|
|
3385
|
+
widgetIdentifierId: {
|
|
3386
|
+
type: PropType<string>;
|
|
3387
|
+
default: undefined;
|
|
3388
|
+
};
|
|
3389
|
+
disableDefaultSort: {
|
|
3390
|
+
type: PropType<boolean>;
|
|
3391
|
+
default: boolean;
|
|
3392
|
+
};
|
|
3393
|
+
showAddAfterButton: {
|
|
3394
|
+
type: PropType<boolean>;
|
|
3395
|
+
default: boolean;
|
|
3396
|
+
};
|
|
3397
|
+
showAddLastButton: {
|
|
3398
|
+
type: PropType<boolean>;
|
|
3399
|
+
default: boolean;
|
|
3400
|
+
};
|
|
3401
|
+
showDeleteButton: {
|
|
3402
|
+
type: PropType<boolean>;
|
|
3403
|
+
default: boolean;
|
|
3404
|
+
};
|
|
3405
|
+
showEditButton: {
|
|
3406
|
+
type: PropType<boolean>;
|
|
3407
|
+
default: boolean;
|
|
3408
|
+
};
|
|
3409
|
+
maxDepth: {
|
|
3410
|
+
type: PropType<number>;
|
|
3411
|
+
required: true;
|
|
3412
|
+
};
|
|
3413
|
+
showAddChildButton: {
|
|
3414
|
+
type: PropType<boolean>;
|
|
3415
|
+
default: boolean;
|
|
3416
|
+
};
|
|
3417
|
+
}>> & {
|
|
3418
|
+
"onUpdate:modelValue"?: ((data: SortableNested<any>) => any) | undefined;
|
|
3419
|
+
onOnEnd?: ((data: SortableItemNewPositions) => any) | undefined;
|
|
3420
|
+
onOnAddAfter?: ((data: SortableNestedItem<any>) => any) | undefined;
|
|
3421
|
+
onOnAddLast?: ((data: SortableNestedItem<any> | null) => any) | undefined;
|
|
3422
|
+
onOnEdit?: ((data: SortableNestedItem<any>) => any) | undefined;
|
|
3423
|
+
onOnDelete?: ((data: SortableNestedItem<any>) => any) | undefined;
|
|
3424
|
+
onOnAddChild?: ((data: SortableNestedItem<any>) => any) | undefined;
|
|
3425
|
+
}, {
|
|
3426
|
+
disableDraggable: boolean;
|
|
3427
|
+
rootClassName: string;
|
|
3428
|
+
widgetIdentifierId: string;
|
|
3429
|
+
disableDefaultSort: boolean;
|
|
3430
|
+
showAddAfterButton: boolean;
|
|
3431
|
+
showAddLastButton: boolean;
|
|
3432
|
+
showDeleteButton: boolean;
|
|
3433
|
+
showEditButton: boolean;
|
|
3434
|
+
showAddChildButton: boolean;
|
|
3435
|
+
}, {}>, {
|
|
3436
|
+
item?(_: {
|
|
3437
|
+
item: any;
|
|
3438
|
+
}): any;
|
|
3439
|
+
buttons?(_: {
|
|
3440
|
+
item: any;
|
|
3441
|
+
}): any;
|
|
3442
|
+
}>;
|
|
3443
|
+
|
|
3149
3444
|
declare type AssetFile = ImageFile | AudioFile | VideoFile | DocumentFile;
|
|
3150
3445
|
|
|
3151
3446
|
declare enum AssetFileFailReason {
|
|
@@ -4336,6 +4631,18 @@ export declare const messagesEn: {
|
|
|
4336
4631
|
remainingDays: string;
|
|
4337
4632
|
};
|
|
4338
4633
|
};
|
|
4634
|
+
sortable: {
|
|
4635
|
+
addNewAtEnd: string;
|
|
4636
|
+
edit: string;
|
|
4637
|
+
remove: string;
|
|
4638
|
+
addAfter: string;
|
|
4639
|
+
addChild: string;
|
|
4640
|
+
more: string;
|
|
4641
|
+
error: {
|
|
4642
|
+
maxDeepExceed: string;
|
|
4643
|
+
unableToAdd: string;
|
|
4644
|
+
};
|
|
4645
|
+
};
|
|
4339
4646
|
};
|
|
4340
4647
|
$vuetify: {
|
|
4341
4648
|
badge: string;
|
|
@@ -4766,6 +5073,18 @@ export declare const messagesSk: {
|
|
|
4766
5073
|
remainingDays: string;
|
|
4767
5074
|
};
|
|
4768
5075
|
};
|
|
5076
|
+
sortable: {
|
|
5077
|
+
addNewAtEnd: string;
|
|
5078
|
+
edit: string;
|
|
5079
|
+
remove: string;
|
|
5080
|
+
addAfter: string;
|
|
5081
|
+
addChild: string;
|
|
5082
|
+
more: string;
|
|
5083
|
+
error: {
|
|
5084
|
+
maxDeepExceed: string;
|
|
5085
|
+
unableToAdd: string;
|
|
5086
|
+
};
|
|
5087
|
+
};
|
|
4769
5088
|
};
|
|
4770
5089
|
$vuetify: {
|
|
4771
5090
|
badge: string;
|
|
@@ -5001,6 +5320,47 @@ export declare interface ResourceNameSystemAware {
|
|
|
5001
5320
|
|
|
5002
5321
|
export declare const ROLE_SUPER_ADMIN = "ROLE_ADMIN";
|
|
5003
5322
|
|
|
5323
|
+
export declare interface SortableItem<TItem = any> {
|
|
5324
|
+
key: DocId | IntegerId;
|
|
5325
|
+
index: number;
|
|
5326
|
+
raw: SortablePropItem<TItem>;
|
|
5327
|
+
}
|
|
5328
|
+
|
|
5329
|
+
export declare interface SortableItemDataAware {
|
|
5330
|
+
position: number;
|
|
5331
|
+
id: DocId | IntegerId;
|
|
5332
|
+
}
|
|
5333
|
+
|
|
5334
|
+
declare interface SortableItemNewPosition {
|
|
5335
|
+
id: DocId | IntegerId;
|
|
5336
|
+
position: number;
|
|
5337
|
+
}
|
|
5338
|
+
|
|
5339
|
+
declare type SortableItemNewPositions = Array<SortableItemNewPosition>;
|
|
5340
|
+
|
|
5341
|
+
export declare interface SortableItemWithParentDataAware {
|
|
5342
|
+
position: number;
|
|
5343
|
+
id: DocId | IntegerId;
|
|
5344
|
+
parent: DocId | IntegerId | null;
|
|
5345
|
+
}
|
|
5346
|
+
|
|
5347
|
+
export declare interface SortableNested<TData extends SortableItemWithParentDataAware = any> {
|
|
5348
|
+
children: Array<SortableNestedItem<TData>>;
|
|
5349
|
+
meta: {
|
|
5350
|
+
dirty: boolean;
|
|
5351
|
+
};
|
|
5352
|
+
}
|
|
5353
|
+
|
|
5354
|
+
export declare interface SortableNestedItem<TData extends SortableItemWithParentDataAware = any> {
|
|
5355
|
+
data: TData;
|
|
5356
|
+
children?: Array<SortableNestedItem> | undefined;
|
|
5357
|
+
meta: {
|
|
5358
|
+
dirty: boolean;
|
|
5359
|
+
};
|
|
5360
|
+
}
|
|
5361
|
+
|
|
5362
|
+
export declare type SortablePropItem<TItem = any> = SortableItemDataAware & TItem;
|
|
5363
|
+
|
|
5004
5364
|
/**
|
|
5005
5365
|
* Slot names with dots are not valid, Vue takes dots as modifiers, so we must replace dots with dash.
|
|
5006
5366
|
*/
|