@mythpe/quasar-ui-qui 0.5.64 → 0.5.65
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.common.cjs +1 -1
- package/dist/index.d.ts +59 -76
- package/dist/index.js +1 -1
- package/dist/index.umd.js +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -89,7 +89,6 @@ import { QDialogOptions } from 'quasar';
|
|
|
89
89
|
import { QDialogProps } from 'quasar';
|
|
90
90
|
import { QEditorProps } from 'quasar';
|
|
91
91
|
import { QEditorSlots } from 'quasar';
|
|
92
|
-
import { QFieldProps } from 'quasar';
|
|
93
92
|
import { QFieldSlots } from 'quasar';
|
|
94
93
|
import { QFileProps } from 'quasar';
|
|
95
94
|
import { QFileSlots } from 'quasar';
|
|
@@ -109,7 +108,6 @@ import { QSelectProps } from 'quasar';
|
|
|
109
108
|
import { QSelectSlots } from 'quasar';
|
|
110
109
|
import { QSsrContext } from '@quasar/app-vite';
|
|
111
110
|
import { QTableProps } from 'quasar';
|
|
112
|
-
import { QTimeProps } from 'quasar';
|
|
113
111
|
import { QToggleProps } from 'quasar';
|
|
114
112
|
import { QTooltipProps } from 'quasar';
|
|
115
113
|
import { QUploaderProps } from 'quasar';
|
|
@@ -411,6 +409,15 @@ export declare interface BaseMTransitionProps {
|
|
|
411
409
|
noCss?: boolean;
|
|
412
410
|
}
|
|
413
411
|
|
|
412
|
+
export declare interface BaseThemePickerStyle {
|
|
413
|
+
color?: NamedColor | undefined;
|
|
414
|
+
textColor?: NamedColor | undefined;
|
|
415
|
+
square?: boolean | undefined;
|
|
416
|
+
flat?: boolean | undefined;
|
|
417
|
+
bordered?: boolean | undefined;
|
|
418
|
+
landscape?: boolean | undefined;
|
|
419
|
+
}
|
|
420
|
+
|
|
414
421
|
export declare const calculateAspectRatio: (width: number | string, height: number | string) => [number, string];
|
|
415
422
|
|
|
416
423
|
export { camelCase }
|
|
@@ -808,11 +815,11 @@ export declare type GenericMDtBtn = Record<string, any> & {
|
|
|
808
815
|
multiClick?: <V extends E = E>(items: V[]) => void;
|
|
809
816
|
showIf?: boolean | ((item: UnwrapRef<MDatatableDialogsOptions['item']>, index: UnwrapRef<MDatatableDialogsOptions['index']>) => boolean);
|
|
810
817
|
order?: number;
|
|
811
|
-
attr?: Partial<MDtBtnProps> &
|
|
818
|
+
attr?: Partial<MDtBtnProps> & {
|
|
812
819
|
icon?: string;
|
|
813
|
-
textColor?: NamedColor | undefined;
|
|
814
|
-
color?: NamedColor | undefined;
|
|
815
|
-
}
|
|
820
|
+
textColor?: NamedColor | string | undefined;
|
|
821
|
+
color?: NamedColor | string | undefined;
|
|
822
|
+
};
|
|
816
823
|
};
|
|
817
824
|
|
|
818
825
|
export declare interface GlobalMythConfig {
|
|
@@ -2971,8 +2978,8 @@ export declare const setCss: typeof setCssVar;
|
|
|
2971
2978
|
*/
|
|
2972
2979
|
export declare interface SharedThemeConfiguration {
|
|
2973
2980
|
dense?: ThemeDense | undefined;
|
|
2974
|
-
color?: string | undefined;
|
|
2975
|
-
textColor?: string | undefined;
|
|
2981
|
+
color?: NamedColor | string | undefined;
|
|
2982
|
+
textColor?: NamedColor | string | undefined;
|
|
2976
2983
|
size?: ThemeSize | undefined;
|
|
2977
2984
|
ripple?: boolean | undefined;
|
|
2978
2985
|
rounded?: ThemeRounded | undefined;
|
|
@@ -2983,28 +2990,12 @@ export declare interface SharedThemeConfiguration {
|
|
|
2983
2990
|
hideBottomSpace?: boolean | undefined;
|
|
2984
2991
|
stackLabel?: boolean | undefined;
|
|
2985
2992
|
hideHint?: boolean | undefined;
|
|
2986
|
-
clearable?: boolean | undefined;
|
|
2987
|
-
/**
|
|
2988
|
-
* Custom icon to use for the clear button when using along with 'clearable' prop
|
|
2989
|
-
*/
|
|
2990
2993
|
clearIcon?: string | undefined;
|
|
2991
2994
|
bottomSlots?: boolean | undefined;
|
|
2992
2995
|
counter?: boolean | undefined;
|
|
2993
|
-
/**
|
|
2994
|
-
* The icon to be used when selected (instead of the default design)
|
|
2995
|
-
*/
|
|
2996
2996
|
checkedIcon?: string | undefined;
|
|
2997
|
-
/**
|
|
2998
|
-
* The icon to be used when un-selected (instead of the default design)
|
|
2999
|
-
*/
|
|
3000
2997
|
uncheckedIcon?: string | undefined;
|
|
3001
|
-
/**
|
|
3002
|
-
* The icon to be used when the model is indeterminate (instead of the default design)
|
|
3003
|
-
*/
|
|
3004
2998
|
indeterminateIcon?: string | undefined;
|
|
3005
|
-
/**
|
|
3006
|
-
* Should the color (if specified any) be kept when checkbox is unticked?
|
|
3007
|
-
*/
|
|
3008
2999
|
keepColor?: boolean | undefined;
|
|
3009
3000
|
}
|
|
3010
3001
|
|
|
@@ -3111,12 +3102,6 @@ export declare interface ThemeBtnStyle extends Pick<QBtnProps, 'size' | 'outline
|
|
|
3111
3102
|
export declare interface ThemeBtnToggleStyle extends Pick<QBtnToggleProps, 'color' | 'textColor' | 'toggleColor' | 'toggleTextColor' | 'outline' | 'flat' | 'unelevated' | 'rounded' | 'push' | 'glossy' | 'size' | 'padding' | 'ripple' | 'dense' | 'spread' | 'noCaps' | 'noWrap' | 'stack' | 'stretch'> {
|
|
3112
3103
|
}
|
|
3113
3104
|
|
|
3114
|
-
/**
|
|
3115
|
-
* Configuration schema for custom or preset Quasar Checkbox toggles properties.
|
|
3116
|
-
*/
|
|
3117
|
-
export declare interface ThemeCheckboxStyle extends ThemeRadioStyle, Pick<QCheckboxProps, 'indeterminateIcon' | 'toggleOrder'> {
|
|
3118
|
-
}
|
|
3119
|
-
|
|
3120
3105
|
/**
|
|
3121
3106
|
* Global application design tokens and active theme component style definitions matrix sheet.
|
|
3122
3107
|
*/
|
|
@@ -3130,15 +3115,11 @@ export declare interface ThemeConfiguration extends SharedThemeConfiguration {
|
|
|
3130
3115
|
gutterSize?: ThemeGutterSize;
|
|
3131
3116
|
loadingOptions?: LoadingOptions;
|
|
3132
3117
|
btn?: ThemeBtnStyle;
|
|
3118
|
+
btnToggle?: ThemeBtnToggleStyle;
|
|
3133
3119
|
input?: ThemeInputStyle;
|
|
3134
|
-
file?: ThemeFileStyle;
|
|
3135
|
-
field?: ThemeFieldStyle;
|
|
3136
|
-
select?: ThemeSelectStyle;
|
|
3137
3120
|
radio?: ThemeRadioStyle;
|
|
3138
|
-
checkbox?: ThemeCheckboxStyle;
|
|
3139
|
-
toggle?: ThemeToggleStyle;
|
|
3140
|
-
btnToggle?: ThemeBtnToggleStyle;
|
|
3141
3121
|
optionGroup?: ThemeOptionGroupStyle;
|
|
3122
|
+
picker?: ThemePickerStyle;
|
|
3142
3123
|
time?: ThemeTimeStyle;
|
|
3143
3124
|
date?: ThemeDateStyle;
|
|
3144
3125
|
table?: ThemeTableStyle;
|
|
@@ -3146,10 +3127,28 @@ export declare interface ThemeConfiguration extends SharedThemeConfiguration {
|
|
|
3146
3127
|
uploader?: ThemeUploaderStyle;
|
|
3147
3128
|
}
|
|
3148
3129
|
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3152
|
-
|
|
3130
|
+
export declare interface ThemeDateStyle {
|
|
3131
|
+
/**
|
|
3132
|
+
* Sets the day of the week that is considered the first day (0 - Sunday, 1 - Monday, ...); This day will show in the left-most column of the calendar
|
|
3133
|
+
* Default value: # based on configured Quasar lang language
|
|
3134
|
+
*/
|
|
3135
|
+
firstDayOfWeek?: string | number | undefined;
|
|
3136
|
+
/**
|
|
3137
|
+
* Emit model when user browses month and year too; ONLY for single selection (non-multiple, non-range)
|
|
3138
|
+
*/
|
|
3139
|
+
emitImmediately?: boolean | undefined;
|
|
3140
|
+
/**
|
|
3141
|
+
* Display a button that selects the current day
|
|
3142
|
+
*/
|
|
3143
|
+
todayBtn?: boolean | undefined;
|
|
3144
|
+
/**
|
|
3145
|
+
* Don’t display the header
|
|
3146
|
+
*/
|
|
3147
|
+
minimal?: boolean | undefined;
|
|
3148
|
+
/**
|
|
3149
|
+
* Show the years selector in months view
|
|
3150
|
+
*/
|
|
3151
|
+
yearsInMonthView?: boolean | undefined;
|
|
3153
3152
|
}
|
|
3154
3153
|
|
|
3155
3154
|
export declare type ThemeDense = boolean;
|
|
@@ -3178,18 +3177,6 @@ export declare type ThemeDesignVariant<T extends ThemeDesignName> = T extends 'f
|
|
|
3178
3177
|
borderless: true;
|
|
3179
3178
|
} : never;
|
|
3180
3179
|
|
|
3181
|
-
/**
|
|
3182
|
-
* Configuration schema for Quasar structural components, extending standard field styles.
|
|
3183
|
-
*/
|
|
3184
|
-
export declare interface ThemeFieldStyle extends ThemeInputStyle, Pick<QFieldProps, 'tag'> {
|
|
3185
|
-
}
|
|
3186
|
-
|
|
3187
|
-
/**
|
|
3188
|
-
* Configuration schema for Quasar File upload fields, extending basic form input styles.
|
|
3189
|
-
*/
|
|
3190
|
-
export declare interface ThemeFileStyle extends ThemeInputStyle, Pick<QFileProps, 'useChips'> {
|
|
3191
|
-
}
|
|
3192
|
-
|
|
3193
3180
|
export declare type ThemeFluid = boolean;
|
|
3194
3181
|
|
|
3195
3182
|
export declare interface ThemeGlobalContainer {
|
|
@@ -3209,7 +3196,8 @@ export declare type ThemeGutterType = 'col' | 'gutter';
|
|
|
3209
3196
|
* Configuration schema for custom or preset Quasar Input styling properties,
|
|
3210
3197
|
* enriched with custom native input class and style wrappers.
|
|
3211
3198
|
*/
|
|
3212
|
-
export declare interface ThemeInputStyle extends InputStyles, Pick<QInputProps, 'labelColor' | 'color' | 'bgColor' | 'filled' | 'outlined' | 'borderless' | 'standout' | 'hideBottomSpace' | 'rounded' | 'square' | 'dense' | 'itemAligned' | 'stackLabel' | 'hideHint' | 'clearIcon' | 'bottomSlots' | 'counter'> {
|
|
3199
|
+
export declare interface ThemeInputStyle extends InputStyles, PopupStyles, Pick<QInputProps, 'labelColor' | 'color' | 'bgColor' | 'filled' | 'outlined' | 'borderless' | 'standout' | 'hideBottomSpace' | 'rounded' | 'square' | 'dense' | 'itemAligned' | 'stackLabel' | 'hideHint' | 'clearIcon' | 'bottomSlots' | 'counter'> {
|
|
3200
|
+
useChips?: boolean | undefined;
|
|
3213
3201
|
}
|
|
3214
3202
|
|
|
3215
3203
|
/**
|
|
@@ -3218,20 +3206,17 @@ export declare interface ThemeInputStyle extends InputStyles, Pick<QInputProps,
|
|
|
3218
3206
|
export declare interface ThemeOptionGroupStyle extends Pick<QOptionGroupProps, 'size' | 'color' | 'dense' | 'inline' | 'keepColor'> {
|
|
3219
3207
|
}
|
|
3220
3208
|
|
|
3209
|
+
export declare interface ThemePickerStyle extends BaseThemePickerStyle, ThemeTimeStyle, ThemeDateStyle {
|
|
3210
|
+
}
|
|
3211
|
+
|
|
3221
3212
|
/**
|
|
3222
3213
|
* Configuration schema for custom or preset Quasar Radio options properties.
|
|
3223
3214
|
*/
|
|
3224
|
-
export declare interface ThemeRadioStyle extends Pick<QRadioProps, 'size' | 'color' | 'dense' | 'checkedIcon' | 'uncheckedIcon' | 'keepColor'> {
|
|
3215
|
+
export declare interface ThemeRadioStyle extends Pick<QRadioProps, 'size' | 'color' | 'dense' | 'checkedIcon' | 'uncheckedIcon' | 'keepColor'>, Pick<QCheckboxProps, 'indeterminateIcon' | 'toggleOrder'>, Pick<QToggleProps, 'iconColor'> {
|
|
3225
3216
|
}
|
|
3226
3217
|
|
|
3227
3218
|
export declare type ThemeRounded = boolean;
|
|
3228
3219
|
|
|
3229
|
-
/**
|
|
3230
|
-
* Configuration schema for Quasar Select dropdown wrappers, extending basic inputs with popup features.
|
|
3231
|
-
*/
|
|
3232
|
-
export declare interface ThemeSelectStyle extends ThemeInputStyle, PopupStyles {
|
|
3233
|
-
}
|
|
3234
|
-
|
|
3235
3220
|
export declare type ThemeShadow = string | number | 'transition' | 'none' | undefined;
|
|
3236
3221
|
|
|
3237
3222
|
export declare type ThemeSize = ThemeBreakpoint | CSSUnitStyle | undefined;
|
|
@@ -3242,16 +3227,20 @@ export declare type ThemeSize = ThemeBreakpoint | CSSUnitStyle | undefined;
|
|
|
3242
3227
|
export declare interface ThemeTableStyle extends Pick<QTableProps, 'color' | 'dense' | 'flat' | 'bordered' | 'square' | 'iconFirstPage' | 'iconPrevPage' | 'iconNextPage' | 'iconLastPage' | 'gridHeader' | 'wrapCells'> {
|
|
3243
3228
|
}
|
|
3244
3229
|
|
|
3245
|
-
|
|
3246
|
-
|
|
3247
|
-
|
|
3248
|
-
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
/**
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
|
|
3230
|
+
export declare interface ThemeTimeStyle {
|
|
3231
|
+
/**
|
|
3232
|
+
* Forces 24 hour time display instead of AM/PM system; If prop is not set, then the default is based on Quasar lang language being used
|
|
3233
|
+
* Default value: null
|
|
3234
|
+
*/
|
|
3235
|
+
format24h?: boolean | null | undefined;
|
|
3236
|
+
/**
|
|
3237
|
+
* Allow the time to be set with seconds
|
|
3238
|
+
*/
|
|
3239
|
+
withSeconds?: boolean | undefined;
|
|
3240
|
+
/**
|
|
3241
|
+
* Display a button that selects the current time
|
|
3242
|
+
*/
|
|
3243
|
+
nowBtn?: boolean | undefined;
|
|
3255
3244
|
}
|
|
3256
3245
|
|
|
3257
3246
|
/**
|
|
@@ -3340,10 +3329,6 @@ export declare const useComponent: <P extends Generic>(name: MaybeRefOrGetter<Co
|
|
|
3340
3329
|
getPlaceholder: ComputedRef<string | undefined>;
|
|
3341
3330
|
getAutocompleteAttribute: ComputedRef<string | undefined>;
|
|
3342
3331
|
getProp: <R = any>(propName: MaybeRefOrGetter<string>, defValue?: R) => R;
|
|
3343
|
-
attrs: ComputedRef<{
|
|
3344
|
-
[x: string]: any;
|
|
3345
|
-
}>;
|
|
3346
|
-
theme: Ref<Record<string, any>, Record<string, any>>;
|
|
3347
3332
|
};
|
|
3348
3333
|
|
|
3349
3334
|
declare interface UseComponentOptions<P extends Generic> {
|
|
@@ -6936,8 +6921,6 @@ export declare const useError: (name: MaybeRefOrGetter<string>) => {
|
|
|
6936
6921
|
|
|
6937
6922
|
export declare const useMyth: () => GlobalMythInstance & {
|
|
6938
6923
|
ckeditorKey: ComputedRef<string | undefined>;
|
|
6939
|
-
btnStyle: ComputedRef< ThemeBtnStyle | undefined>;
|
|
6940
|
-
inputStyle: ComputedRef< ThemeInputStyle | undefined>;
|
|
6941
6924
|
confirmMessage: (message?: string, title?: string, opts?: Partial<QDialogOptions> & Partial<QDialogProps> & Record<string, any>) => Vue3MConfirmMessage;
|
|
6942
6925
|
alertMessage: (opts: Vue3MAlertMessageOptions) => Vue3MAlertMessage;
|
|
6943
6926
|
alertSuccess: (message: string) => Vue3MAlertMessage;
|