quasar-ui-danx 0.3.10 → 0.3.12
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/danx.es.js +599 -593
- package/dist/danx.es.js.map +1 -1
- package/dist/danx.umd.js +5 -5
- package/dist/danx.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/ActionTable/ActionMenu.vue +7 -7
- package/src/components/ActionTable/ActionTable.vue +33 -29
- package/src/components/ActionTable/ActionTableColumn.vue +37 -15
- package/src/components/ActionTable/ActionTableHeaderColumn.vue +9 -9
- package/src/components/ActionTable/Columns/ColumnListItem.vue +33 -10
- package/src/components/ActionTable/Columns/ColumnSettingsDialog.vue +23 -19
- package/src/components/ActionTable/Columns/TitleColumnFormat.vue +5 -3
- package/src/components/ActionTable/Columns/VisibleColumnsToggleButtons.vue +24 -22
- package/src/components/ActionTable/EmptyTableState.vue +4 -2
- package/src/components/ActionTable/Filters/CollapsableFiltersSidebar.vue +9 -9
- package/src/components/ActionTable/Filters/FilterFieldItem.vue +7 -5
- package/src/components/ActionTable/Filters/FilterFieldList.vue +21 -21
- package/src/components/ActionTable/Filters/FilterListToggle.vue +13 -10
- package/src/components/ActionTable/Filters/FilterToolbarLayout.vue +14 -7
- package/src/components/ActionTable/Filters/FilterableField.vue +75 -70
- package/src/components/ActionTable/Form/Fields/BooleanField.vue +9 -9
- package/src/components/ActionTable/Form/Fields/ConfirmPasswordField.vue +7 -7
- package/src/components/ActionTable/Form/Fields/DateField.vue +4 -4
- package/src/components/ActionTable/Form/Fields/DateRangeField.vue +9 -9
- package/src/components/ActionTable/Form/Fields/DateTimeField.vue +13 -10
- package/src/components/ActionTable/Form/Fields/DateTimePicker.vue +36 -14
- package/src/components/ActionTable/Form/Fields/EditableDiv.vue +3 -3
- package/src/components/ActionTable/Form/Fields/FieldLabel.vue +2 -2
- package/src/components/ActionTable/Form/Fields/FileUploadButton.vue +23 -20
- package/src/components/ActionTable/Form/Fields/InlineDateTimeField.vue +10 -10
- package/src/components/ActionTable/Form/Fields/IntegerField.vue +6 -6
- package/src/components/ActionTable/Form/Fields/LabeledInput.vue +20 -17
- package/src/components/ActionTable/Form/Fields/MultiFileField.vue +35 -35
- package/src/components/ActionTable/Form/Fields/MultiKeywordField.vue +15 -15
- package/src/components/ActionTable/Form/Fields/NewPasswordField.vue +4 -4
- package/src/components/ActionTable/Form/Fields/NumberField.vue +11 -11
- package/src/components/ActionTable/Form/Fields/NumberRangeField.vue +11 -11
- package/src/components/ActionTable/Form/Fields/SelectDrawer.vue +38 -33
- package/src/components/ActionTable/Form/Fields/SelectField.vue +37 -35
- package/src/components/ActionTable/Form/Fields/SelectWithChildrenField.vue +19 -15
- package/src/components/ActionTable/Form/Fields/SingleFileField.vue +29 -28
- package/src/components/ActionTable/Form/Fields/TextField.vue +22 -22
- package/src/components/ActionTable/Form/Fields/WysiwygField.vue +13 -13
- package/src/components/ActionTable/Form/RenderedForm.vue +5 -1
- package/src/components/ActionTable/TableSummaryRow.vue +15 -15
- package/src/components/AuditHistory/AuditHistoryItem.vue +12 -6
- package/src/components/AuditHistory/AuditHistoryItemValue.vue +6 -6
- package/src/components/DragAndDrop/HandleDraggable.vue +21 -21
- package/src/components/DragAndDrop/ListItemDraggable.vue +19 -15
- package/src/components/PanelsDrawer/PanelsDrawer.vue +18 -11
- package/src/components/PanelsDrawer/PanelsDrawerPanels.vue +9 -5
- package/src/components/PanelsDrawer/PanelsDrawerTabs.vue +18 -13
- package/src/components/Utility/Buttons/ExportButton.vue +5 -1
- package/src/components/Utility/Buttons/RefreshButton.vue +2 -2
- package/src/components/Utility/Controls/PreviousNextControls.vue +8 -8
- package/src/components/Utility/Dialogs/ConfirmDialog.vue +32 -29
- package/src/components/Utility/Dialogs/FullScreenDialog.vue +12 -9
- package/src/components/Utility/Dialogs/FullscreenCarouselDialog.vue +30 -26
- package/src/components/Utility/Dialogs/InfoDialog.vue +25 -22
- package/src/components/Utility/Dialogs/InputDialog.vue +7 -7
- package/src/components/Utility/Files/FilePreview.vue +64 -47
- package/src/components/Utility/Files/SvgImg.vue +7 -4
- package/src/components/Utility/Formats/GpsCoordinatesFormat.vue +11 -3
- package/src/components/Utility/Layouts/CollapsableSidebar.vue +15 -15
- package/src/components/Utility/Layouts/ContentDrawer.vue +8 -8
- package/src/components/Utility/Popovers/InteractiveTooltip.vue +7 -7
- package/src/components/Utility/Popovers/PopoverMenu.vue +21 -21
- package/src/components/Utility/Tabs/BadgeTab.vue +9 -7
- package/src/components/Utility/Tools/ActionVnode.vue +5 -5
- package/src/components/Utility/Tools/RenderComponent.vue +11 -9
- package/src/components/Utility/Transitions/StaggeredListTransition.vue +7 -7
- package/src/config/index.ts +7 -4
- package/src/helpers/FileUpload.ts +1 -1
- package/src/helpers/FlashMessages.ts +5 -5
- package/src/vendor/tinymce-config.ts +0 -1
@@ -1,12 +1,12 @@
|
|
1
1
|
<template>
|
2
2
|
<TransitionGroup
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
3
|
+
ref="list"
|
4
|
+
tag="div"
|
5
|
+
appear
|
6
|
+
:css="false"
|
7
|
+
@before-enter="onBeforeEnter"
|
8
|
+
@enter="onEnter"
|
9
|
+
@leave="onLeave"
|
10
10
|
>
|
11
11
|
<slot />
|
12
12
|
</TransitionGroup>
|
package/src/config/index.ts
CHANGED
@@ -1,7 +1,9 @@
|
|
1
1
|
import { QNotifyCreateOptions } from "quasar";
|
2
|
+
import { Ref, shallowRef } from "vue";
|
2
3
|
import { FileUploadOptions } from "../helpers";
|
3
4
|
|
4
5
|
export interface DanxOptions {
|
6
|
+
tinyMceApiKey: string;
|
5
7
|
fileUpload: FileUploadOptions;
|
6
8
|
flashMessages: {
|
7
9
|
default: QNotifyCreateOptions;
|
@@ -11,7 +13,8 @@ export interface DanxOptions {
|
|
11
13
|
};
|
12
14
|
}
|
13
15
|
|
14
|
-
export
|
16
|
+
export const danxOptions: Ref<DanxOptions> = shallowRef({
|
17
|
+
tinyMceApiKey: "set-api-key-in-danx-options",
|
15
18
|
fileUpload: {
|
16
19
|
directory: "file-upload",
|
17
20
|
presignedUploadUrl: null,
|
@@ -23,11 +26,11 @@ export let danxOptions: DanxOptions = {
|
|
23
26
|
warning: {},
|
24
27
|
error: {}
|
25
28
|
}
|
26
|
-
};
|
29
|
+
});
|
27
30
|
|
28
31
|
export function configure(options: DanxOptions) {
|
29
|
-
danxOptions = {
|
30
|
-
...danxOptions,
|
32
|
+
danxOptions.value = {
|
33
|
+
...danxOptions.value,
|
31
34
|
...options
|
32
35
|
};
|
33
36
|
}
|
@@ -37,7 +37,7 @@ export class FlashMessages {
|
|
37
37
|
classes: "bg-gray-500 text-white",
|
38
38
|
position: "top",
|
39
39
|
closeBtn: "X",
|
40
|
-
...danxOptions.flashMessages.default,
|
40
|
+
...danxOptions.value.flashMessages.default,
|
41
41
|
...options
|
42
42
|
});
|
43
43
|
}
|
@@ -48,7 +48,7 @@ export class FlashMessages {
|
|
48
48
|
classes: "bg-green-300 !text-green-900",
|
49
49
|
icon: "check",
|
50
50
|
...options,
|
51
|
-
...danxOptions.flashMessages.success
|
51
|
+
...danxOptions.value.flashMessages.success
|
52
52
|
});
|
53
53
|
}
|
54
54
|
|
@@ -57,7 +57,7 @@ export class FlashMessages {
|
|
57
57
|
classes: "bg-red-300 !text-red-900",
|
58
58
|
icon: "error",
|
59
59
|
...options,
|
60
|
-
...danxOptions.flashMessages.error
|
60
|
+
...danxOptions.value.flashMessages.error
|
61
61
|
});
|
62
62
|
}
|
63
63
|
|
@@ -66,12 +66,12 @@ export class FlashMessages {
|
|
66
66
|
classes: "bg-yellow-300 !text-yellow-900",
|
67
67
|
icon: "warning",
|
68
68
|
...options,
|
69
|
-
...danxOptions.flashMessages.warning
|
69
|
+
...danxOptions.value.flashMessages.warning
|
70
70
|
});
|
71
71
|
}
|
72
72
|
|
73
73
|
static combine(type: string, messages: string[] | { message: string, Message: string }[], options = {}) {
|
74
|
-
// @ts-
|
74
|
+
// @ts-expect-error - type is a string
|
75
75
|
const messageType = FlashMessages[type];
|
76
76
|
|
77
77
|
if (typeof messageType !== "function") {
|
@@ -1 +0,0 @@
|
|
1
|
-
export const apiKey = "YOUR_API_KEY";
|