quasar-ui-danx 0.2.1 → 0.2.3
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/danx.es.js +1194 -1191
- package/dist/danx.umd.js +5 -5
- package/dist/style.css +1 -1
- package/package.json +3 -1
- package/src/components/ActionTable/ActionTable.vue +5 -1
- package/src/components/ActionTable/ActionTableColumn.vue +1 -1
- package/src/components/ActionTable/Columns/ColumnSettingsDialog.vue +1 -1
- package/src/components/ActionTable/Filters/FilterFieldList.vue +2 -1
- package/src/components/ActionTable/Form/Fields/BooleanField.vue +1 -1
- package/src/components/ActionTable/Form/Fields/ConfirmPasswordField.vue +1 -1
- package/src/components/ActionTable/Form/Fields/DateTimeField.vue +1 -1
- package/src/components/ActionTable/Form/Fields/InlineDateTimeField.vue +1 -1
- package/src/components/ActionTable/Form/Fields/IntegerField.vue +1 -1
- package/src/components/ActionTable/Form/Fields/MultiFileField.vue +1 -1
- package/src/components/ActionTable/Form/Fields/MultiKeywordField.vue +2 -1
- package/src/components/ActionTable/Form/Fields/NewPasswordField.vue +1 -1
- package/src/components/ActionTable/Form/Fields/NumberField.vue +1 -1
- package/src/components/ActionTable/Form/Fields/NumberRangeField.vue +1 -1
- package/src/components/ActionTable/Form/Fields/SelectWithChildrenField.vue +1 -1
- package/src/components/ActionTable/Form/Fields/SingleFileField.vue +1 -1
- package/src/components/ActionTable/Form/Fields/TextField.vue +2 -1
- package/src/components/ActionTable/Form/Fields/WysiwygField.vue +1 -1
- package/src/components/AuditHistory/AuditHistoryItem.vue +1 -1
- package/src/components/PanelsDrawer/PanelsDrawer.vue +2 -1
- package/src/components/Utility/Dialogs/InputDialog.vue +1 -1
- package/src/components/Utility/Tools/ActionVnode.vue +1 -1
- package/src/helpers/actions.ts +1 -1
- package/tsconfig.json +0 -1
- package/vite.config.js +3 -1
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.slide-image[data-v-ac4d9efe]{width:100%;height:100%;background:#000;display:flex;justify-content:center;align-items:center}.slide-image img[data-v-ac4d9efe]{max-height:100%;max-width:100%;object-fit:contain}.carousel[data-v-ac4d9efe] .q-carousel__navigation--bottom{position:relative;bottom:8em}.action-button[data-v-4bede0de]{position:absolute;bottom:1.5em;right:1em;z-index:1}.play-button[data-v-4bede0de]{position:absolute;top:0;left:0;display:flex;justify-content:center;align-items:center;width:100%;height:100%;pointer-events:none}.collapsable-sidebar[data-v-38458242]{@apply overflow-y-auto scroll-smooth flex-shrink-0 border-r border-neutral-plus-5 transition-all;}.dialog-title[data-v-529ed64e]{@apply bg-gray-very-light text-gray-default font-medium uppercase text-xs px-6 py-3 border-b border-neutral-plus-5 rounded-t-md;font-family:Roboto,sans-serif;letter-spacing:.05em;box-shadow:0 -4px 12px #00000040}.dialog-content[data-v-529ed64e]{box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f}body .q-tooltip.interactive-tooltip{pointer-events:auto!important;background:#fff;color:inherit;box-shadow:0 0 10px 3px #0003}[class*=list-move],[class*=list-enter-active],[class*=".list-leave-active"]{transition:all .3s cubic-bezier(.55,0,.1,1)}[class*=list-leave-active]{position:absolute!important}.list-enter-from,.list-leave-to{opacity:0;transform:translate(30px)}.fade-list-enter-from,.fade-list-leave-to{opacity:0;transform:scaleY(.01) translate(30px)}.fade-down-list-enter-from,.fade-down-list-leave-to{opacity:0;transform-origin:top;transform:translateY(30px)}.slide-enter-active,.slide-leave-active,.slide-right-enter-active,.slide-right-leave-active{transition:all .3s linear;width:100%}.slide-right-enter-active,.slide-enter-active{position:absolute!important;top:0}.slide-enter-from{right:-120%}.slide-enter-to{right:0}.slide-leave-to{left:-120%}.slide-leave-from{left:0}.slide-right-enter-from{left:-120%}.slide-right-enter-to{left:0}.slide-right-leave-to{right:-120%}.slide-right-leave-from{right:0}.list-move[data-v-6a1edcb9],.list-enter-active[data-v-6a1edcb9],.list-leave-active[data-v-6a1edcb9]{transition:all .5s ease}.list-enter-from[data-v-6a1edcb9],.list-leave-to[data-v-6a1edcb9]{opacity:0;transform:translate(2em)}.list-leave-active[data-v-6a1edcb9]{position:absolute}.category-toggle[data-v-042cd8be]{@apply text-xs font-bold rounded-lg border border-solid border-neutral-plus-5 px-2 py-1 mx-1 cursor-pointer flex items-center;}.category-toggle.has-visible-columns[data-v-042cd8be]{@apply text-white bg-blue-base;}[data-drop-zone] .resize-handle[data-v-
|
|
1
|
+
.slide-image[data-v-ac4d9efe]{width:100%;height:100%;background:#000;display:flex;justify-content:center;align-items:center}.slide-image img[data-v-ac4d9efe]{max-height:100%;max-width:100%;object-fit:contain}.carousel[data-v-ac4d9efe] .q-carousel__navigation--bottom{position:relative;bottom:8em}.action-button[data-v-4bede0de]{position:absolute;bottom:1.5em;right:1em;z-index:1}.play-button[data-v-4bede0de]{position:absolute;top:0;left:0;display:flex;justify-content:center;align-items:center;width:100%;height:100%;pointer-events:none}.collapsable-sidebar[data-v-38458242]{@apply overflow-y-auto scroll-smooth flex-shrink-0 border-r border-neutral-plus-5 transition-all;}.dialog-title[data-v-529ed64e]{@apply bg-gray-very-light text-gray-default font-medium uppercase text-xs px-6 py-3 border-b border-neutral-plus-5 rounded-t-md;font-family:Roboto,sans-serif;letter-spacing:.05em;box-shadow:0 -4px 12px #00000040}.dialog-content[data-v-529ed64e]{box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f}body .q-tooltip.interactive-tooltip{pointer-events:auto!important;background:#fff;color:inherit;box-shadow:0 0 10px 3px #0003}[class*=list-move],[class*=list-enter-active],[class*=".list-leave-active"]{transition:all .3s cubic-bezier(.55,0,.1,1)}[class*=list-leave-active]{position:absolute!important}.list-enter-from,.list-leave-to{opacity:0;transform:translate(30px)}.fade-list-enter-from,.fade-list-leave-to{opacity:0;transform:scaleY(.01) translate(30px)}.fade-down-list-enter-from,.fade-down-list-leave-to{opacity:0;transform-origin:top;transform:translateY(30px)}.slide-enter-active,.slide-leave-active,.slide-right-enter-active,.slide-right-leave-active{transition:all .3s linear;width:100%}.slide-right-enter-active,.slide-enter-active{position:absolute!important;top:0}.slide-enter-from{right:-120%}.slide-enter-to{right:0}.slide-leave-to{left:-120%}.slide-leave-from{left:0}.slide-right-enter-from{left:-120%}.slide-right-enter-to{left:0}.slide-right-leave-to{right:-120%}.slide-right-leave-from{right:0}.list-move[data-v-6a1edcb9],.list-enter-active[data-v-6a1edcb9],.list-leave-active[data-v-6a1edcb9]{transition:all .5s ease}.list-enter-from[data-v-6a1edcb9],.list-leave-to[data-v-6a1edcb9]{opacity:0;transform:translate(2em)}.list-leave-active[data-v-6a1edcb9]{position:absolute}.category-toggle[data-v-042cd8be]{@apply text-xs font-bold rounded-lg border border-solid border-neutral-plus-5 px-2 py-1 mx-1 cursor-pointer flex items-center;}.category-toggle.has-visible-columns[data-v-042cd8be]{@apply text-white bg-blue-base;}[data-drop-zone] .resize-handle[data-v-519dc3ff]{position:absolute;top:0;right:-.45em;width:.9em;opacity:0;transition:all .3s}[data-drop-zone]:hover .resize-handle[data-v-519dc3ff]{opacity:1}.panel-tabs[data-v-5d23285c] .q-tab{justify-content:start!important;padding:0;@apply text-left py-2.5 px-2 rounded-lg hover:bg-neutral-plus-6;}.panel-tabs[data-v-5d23285c] .q-tab .q-focus-helper,.panel-tabs[data-v-5d23285c] .q-tab .q-tab__indicator{display:none}.panel-tabs[data-v-5d23285c] .q-tab .q-tab__content{@apply p-0;}.panel-tabs[data-v-5d23285c] .q-tab.q-tab--active{@apply text-white bg-blue-base;}
|
package/package.json
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "quasar-ui-danx",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"author": "Dan <dan@flytedesk.com>",
|
|
5
5
|
"description": "DanX Vue / Quasar component library",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"type": "module",
|
|
8
|
+
"main": "dist/dan.es.js",
|
|
9
|
+
"module": "dist/dan.es.js",
|
|
8
10
|
"scripts": {
|
|
9
11
|
"dev": "vite",
|
|
10
12
|
"build": "vite build",
|
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
:columns="columns"
|
|
9
9
|
:loading="isLoadingList"
|
|
10
10
|
:rows="pagedItems?.data || []"
|
|
11
|
+
binary-state-sort
|
|
11
12
|
selection="multiple"
|
|
12
13
|
:rows-per-page-options="rowsPerPageOptions"
|
|
13
14
|
class="sticky-column sticky-header w-full h-full !border-0"
|
|
@@ -69,7 +70,10 @@ import { getItem, setItem } from '../../helpers';
|
|
|
69
70
|
import { DragHandleIcon as RowResizeIcon } from '../../svg';
|
|
70
71
|
import { HandleDraggable } from '../DragAndDrop';
|
|
71
72
|
import { ActionVnode, mapSortBy } from '../index';
|
|
72
|
-
import
|
|
73
|
+
import ActionTableColumn from './ActionTableColumn.vue';
|
|
74
|
+
import EmptyTableState from './EmptyTableState.vue';
|
|
75
|
+
import { registerStickyScrolling } from './listHelpers';
|
|
76
|
+
import TableSummaryRow from './TableSummaryRow.vue';
|
|
73
77
|
|
|
74
78
|
defineEmits(['update:quasar-pagination', 'update:selected-rows']);
|
|
75
79
|
const props = defineProps({
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
<script setup>
|
|
34
34
|
import { computed } from 'vue';
|
|
35
35
|
import { RenderVnode } from '../Utility';
|
|
36
|
+
import ActionMenu from './ActionMenu';
|
|
36
37
|
import { TitleColumnFormat } from './Columns';
|
|
37
|
-
import { ActionMenu } from './index';
|
|
38
38
|
|
|
39
39
|
const props = defineProps({
|
|
40
40
|
rowProps: {
|
|
@@ -40,7 +40,7 @@ import { computed } from 'vue';
|
|
|
40
40
|
import { FlashMessages, remove } from '../../../helpers';
|
|
41
41
|
import { ListItemDraggable } from '../../DragAndDrop';
|
|
42
42
|
import { InfoDialog, ListTransition } from '../../Utility';
|
|
43
|
-
import
|
|
43
|
+
import ColumnListItem from './ColumnListItem';
|
|
44
44
|
|
|
45
45
|
const emit = defineEmits(['close', 'update:hidden-column-names', 'update:title-column-names', 'update:sortable-columns']);
|
|
46
46
|
const props = defineProps({
|
|
@@ -43,7 +43,8 @@
|
|
|
43
43
|
</template>
|
|
44
44
|
<script setup>
|
|
45
45
|
import { computed } from 'vue';
|
|
46
|
-
import
|
|
46
|
+
import FilterableField from './FilterableField';
|
|
47
|
+
import FilterFieldItem from './FilterFieldItem';
|
|
47
48
|
|
|
48
49
|
const emit = defineEmits(['update:filter']);
|
|
49
50
|
const props = defineProps({
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
<script setup>
|
|
27
27
|
import { ref } from 'vue';
|
|
28
28
|
import { fLocalizedDateTime } from '../../../../helpers';
|
|
29
|
-
import
|
|
29
|
+
import DateTimePicker from './DateTimePicker';
|
|
30
30
|
|
|
31
31
|
const emit = defineEmits(['update:model-value']);
|
|
32
32
|
const props = defineProps({
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
<script setup>
|
|
26
26
|
import { PencilIcon as EditIcon } from '@heroicons/vue/solid';
|
|
27
27
|
import { fLocalizedDateTime } from '../../../../helpers';
|
|
28
|
-
import
|
|
28
|
+
import DateTimePicker from './DateTimePicker';
|
|
29
29
|
|
|
30
30
|
const emit = defineEmits(['close', 'save', 'update:model-value']);
|
|
31
31
|
defineProps({
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
import { onMounted } from 'vue';
|
|
65
65
|
import { useMultiFileUpload } from '../../../../helpers';
|
|
66
66
|
import { FilePreview } from '../../../Utility';
|
|
67
|
-
import
|
|
67
|
+
import FieldLabel from './FieldLabel';
|
|
68
68
|
|
|
69
69
|
const emit = defineEmits(['update:model-value']);
|
|
70
70
|
const props = defineProps({
|
|
@@ -24,7 +24,8 @@
|
|
|
24
24
|
|
|
25
25
|
<script setup>
|
|
26
26
|
import { computed, ref, watch } from 'vue';
|
|
27
|
-
import
|
|
27
|
+
import SelectField from './SelectField';
|
|
28
|
+
import TextField from './TextField';
|
|
28
29
|
|
|
29
30
|
const emit = defineEmits(['update:model-value']);
|
|
30
31
|
const props = defineProps({
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
import { useDebounceFn } from '@vueuse/core';
|
|
24
24
|
import { computed, nextTick, ref, watch } from 'vue';
|
|
25
25
|
import { fNumber } from '../../../../helpers';
|
|
26
|
-
import
|
|
26
|
+
import FieldLabel from './FieldLabel';
|
|
27
27
|
|
|
28
28
|
const emit = defineEmits(['update:model-value', 'update']);
|
|
29
29
|
const props = defineProps({
|
|
@@ -42,7 +42,7 @@ import { useDebounceFn } from '@vueuse/core';
|
|
|
42
42
|
import { computed, ref, watch } from 'vue';
|
|
43
43
|
import { fCurrency, fNumber, fPercent } from '../../../../helpers';
|
|
44
44
|
import { PercentIcon } from '../../../../svg';
|
|
45
|
-
import
|
|
45
|
+
import NumberField from './NumberField';
|
|
46
46
|
|
|
47
47
|
const emit = defineEmits(['update:model-value']);
|
|
48
48
|
const props = defineProps({
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
<script setup>
|
|
31
31
|
import { ref, watch } from 'vue';
|
|
32
32
|
import { remove } from '../../../../helpers';
|
|
33
|
-
import
|
|
33
|
+
import SelectField from './SelectField';
|
|
34
34
|
|
|
35
35
|
const emit = defineEmits(['update:model-value']);
|
|
36
36
|
const props = defineProps({
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
import { onMounted } from 'vue';
|
|
52
52
|
import { useSingleFileUpload } from '../../../../helpers';
|
|
53
53
|
import { FilePreview } from '../../../Utility';
|
|
54
|
-
import
|
|
54
|
+
import FieldLabel from './FieldLabel';
|
|
55
55
|
|
|
56
56
|
const emit = defineEmits(['update:model-value']);
|
|
57
57
|
const props = defineProps({
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
<script setup>
|
|
27
27
|
import { default as TinyMceEditor } from '@tinymce/tinymce-vue';
|
|
28
28
|
import { apiKey } from '../../../../vendor/tinymce-config';
|
|
29
|
-
import
|
|
29
|
+
import FieldLabel from './FieldLabel';
|
|
30
30
|
|
|
31
31
|
defineEmits(['update:model-value']);
|
|
32
32
|
defineProps({
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
<script setup>
|
|
34
34
|
import { computed } from 'vue';
|
|
35
35
|
import { fLocalizedDateTime } from '../../helpers';
|
|
36
|
-
import
|
|
36
|
+
import AuditHistoryItemValue from './AuditHistoryItemValue';
|
|
37
37
|
|
|
38
38
|
const props = defineProps({
|
|
39
39
|
item: {
|
|
@@ -41,7 +41,8 @@
|
|
|
41
41
|
import { ref, watch } from 'vue';
|
|
42
42
|
import { XIcon as CloseIcon } from '../../svg';
|
|
43
43
|
import { ContentDrawer } from '../Utility';
|
|
44
|
-
import
|
|
44
|
+
import PanelsDrawerPanels from './PanelsDrawerPanels';
|
|
45
|
+
import PanelsDrawerTabs from './PanelsDrawerTabs';
|
|
45
46
|
|
|
46
47
|
defineEmits(['update:model-value', 'close']);
|
|
47
48
|
const props = defineProps({
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<script setup>
|
|
13
13
|
import { ref } from 'vue';
|
|
14
14
|
import { activeActionVnode } from '../../../helpers';
|
|
15
|
-
import
|
|
15
|
+
import RenderVnode from './RenderVnode';
|
|
16
16
|
|
|
17
17
|
const isSaving = ref(false);
|
|
18
18
|
async function onConfirm(input) {
|
package/src/helpers/actions.ts
CHANGED
package/tsconfig.json
CHANGED
package/vite.config.js
CHANGED
|
@@ -3,9 +3,11 @@ import { resolve } from 'path';
|
|
|
3
3
|
import { defineConfig } from 'vite';
|
|
4
4
|
import svgLoader from 'vite-svg-loader';
|
|
5
5
|
|
|
6
|
-
|
|
7
6
|
export default defineConfig({
|
|
8
7
|
plugins: [vue(), svgLoader()],
|
|
8
|
+
resolve: {
|
|
9
|
+
extensions: ['.mjs', '.js', '.ts', '.mts', '.jsx', '.tsx', '.json', '.vue', '.svg']
|
|
10
|
+
},
|
|
9
11
|
build: {
|
|
10
12
|
lib: {
|
|
11
13
|
entry: resolve(__dirname, './src/index.esm.js'),
|