@bildvitta/quasar-ui-asteroid 2.14.0 → 3.0.0-alpha.1
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/api/QasBox.json +16 -0
- package/dist/api/QasBreakline.json +32 -0
- package/dist/api/QasBtn.json +15 -0
- package/dist/api/QasDebugger.json +13 -0
- package/dist/asteroid.cjs.css +1 -1
- package/dist/asteroid.cjs.js +6762 -1400
- package/dist/asteroid.cjs.min.js +2 -2
- package/dist/asteroid.esm.css +1 -1
- package/dist/asteroid.esm.js +6764 -1405
- package/dist/asteroid.esm.min.js +2 -2
- package/dist/asteroid.umd.css +1 -1
- package/dist/asteroid.umd.js +6760 -1405
- package/dist/asteroid.umd.min.js +2 -2
- package/dist/vetur/asteroid-attributes.json +16 -0
- package/dist/vetur/asteroid-tags.json +19 -0
- package/package.json +41 -56
- package/src/assets/logo-modular.svg +1 -1
- package/src/asteroid.js +1 -0
- package/src/components/actions/QasActions.vue +45 -0
- package/src/components/actions-menu/QasActionsMenu.vue +8 -19
- package/src/components/alert/QasAlert.vue +90 -0
- package/src/components/app-bar/QasAppBar.vue +16 -13
- package/src/components/app-menu/QasAppMenu.vue +10 -7
- package/src/components/avatar/QasAvatar.vue +7 -3
- package/src/components/box/QasBox.vue +12 -4
- package/src/components/box/QasBox.yml +13 -0
- package/src/components/breakline/QasBreakline.vue +37 -0
- package/src/components/breakline/QasBreakline.yml +25 -0
- package/src/components/btn/QasBtn.vue +27 -24
- package/src/components/btn/QasBtn.yml +12 -0
- package/src/components/card/QasCard.vue +29 -21
- package/src/components/checkbox-group/QasCheckboxGroup.vue +31 -17
- package/src/components/copy/QasCopy.vue +22 -11
- package/src/components/date-time-input/QasDateTimeInput.vue +16 -26
- package/src/components/debugger/QasDebugger.vue +2 -0
- package/src/components/debugger/QasDebugger.yml +10 -0
- package/src/components/delete/QasDelete.vue +28 -15
- package/src/components/dialog/QasDialog.vue +71 -67
- package/src/components/dialog-router/QasDialogRouter.vue +12 -4
- package/src/components/field/QasField.vue +16 -19
- package/src/components/filters/QasFilters.vue +31 -24
- package/src/components/form-generator/QasFormGenerator.vue +13 -15
- package/src/components/form-view/QasFormView.vue +117 -66
- package/src/components/gallery/QasGallery.vue +39 -26
- package/src/components/grid-generator/QasGridGenerator.vue +12 -6
- package/src/components/index.js +0 -0
- package/src/components/input/QasInput.vue +38 -36
- package/src/components/label/QasLabel.vue +14 -15
- package/src/components/layout/QasLayout.vue +13 -21
- package/src/components/list-items/QasListItems.vue +16 -8
- package/src/components/list-view/QasListView.vue +31 -28
- package/src/components/map/QasMap.vue +15 -25
- package/src/components/nested-fields/QasNestedFields.vue +39 -36
- package/src/components/numeric-input/QasNumericInput.vue +24 -21
- package/src/components/page-header/QasPageHeader.vue +19 -10
- package/src/components/password-input/QasPasswordInput.vue +20 -18
- package/src/components/password-strength-checker/QasPasswordStrengthChecker.vue +52 -31
- package/src/components/profile/QasProfile.vue +14 -12
- package/src/components/resizer/QasResizer.vue +1 -1
- package/src/components/search-box/QasSearchBox.vue +36 -20
- package/src/components/select/QasSelect.vue +41 -44
- package/src/components/select-list/QasSelectList.vue +64 -51
- package/src/components/signature-pad/QasSignaturePad.vue +57 -41
- package/src/components/signature-uploader/QasSignatureUploader.vue +15 -13
- package/src/components/single-view/QasSingleView.vue +31 -17
- package/src/components/sortable/QasSortable.vue +45 -27
- package/src/components/table-generator/QasTableGenerator.vue +95 -22
- package/src/components/tabs-generator/QasTabsGenerator.vue +36 -24
- package/src/components/text-truncate/QasTextTruncate.vue +25 -17
- package/src/components/transfer/QasTransfer.vue +57 -53
- package/src/components/uploader/QasUploader.vue +169 -48
- package/src/css/background.scss +1 -1
- package/src/css/border.scss +7 -6
- package/src/css/design-system.scss +0 -43
- package/src/css/fonts.scss +2 -28
- package/src/css/opacity.scss +0 -4
- package/src/css/set-brand.scss +15 -0
- package/src/css/transitions.scss +1 -1
- package/src/helpers/add-counter-suffix.js +3 -0
- package/src/helpers/{base64ToBlob.js → base-64-to-blob.js} +0 -0
- package/src/helpers/{constructObject.js → construct-object.js} +0 -0
- package/src/helpers/filter-object.js +8 -6
- package/src/helpers/filters.js +2 -3
- package/src/helpers/get-slot-children-text.js +15 -0
- package/src/helpers/{greatestCommonDivisor.js → greatest-common-divisor.js} +0 -0
- package/src/helpers/images.js +28 -0
- package/src/helpers/index.js +11 -59
- package/src/helpers/{isLocalDevelopment.js → is-local-development.js} +0 -0
- package/src/helpers/scroll-on-grap.js +61 -0
- package/src/index.cjs.js +1 -0
- package/src/index.esm.js +4 -0
- package/src/index.scss +19 -21
- package/src/index.umd.js +2 -0
- package/src/mixins/context.js +1 -1
- package/src/mixins/dialog-router.js +17 -0
- package/src/mixins/form.js +4 -12
- package/src/mixins/generator.js +14 -14
- package/src/mixins/index.js +2 -8
- package/src/mixins/password.js +73 -11
- package/src/mixins/screen.js +8 -6
- package/src/mixins/view.js +57 -20
- package/src/plugins/Dialog.js +14 -0
- package/src/plugins/NotifySuccess.js +3 -3
- package/src/plugins/index.js +4 -2
- package/src/store/history.js +43 -0
- package/src/store/index.js +1 -0
- package/src/vue-plugin.js +185 -0
- package/.babelrc +0 -12
- package/.storybook/main.js +0 -35
- package/.storybook/preview.js +0 -26
- package/debug.log +0 -1
- package/index.js +0 -4
- package/jest-setup.js +0 -1
- package/jest.config.json +0 -22
- package/postcss.config.js +0 -5
- package/src/components/Introduction.stories.mdx +0 -12
- package/src/components/actions-menu/QasActionsMenu.stories.js +0 -73
- package/src/components/app-bar/QasAppBar.stories.js +0 -84
- package/src/components/app-menu/QasAppMenu.stories.js +0 -66
- package/src/components/apps-menu/QasAppsMenu.spec.js +0 -58
- package/src/components/apps-menu/QasAppsMenu.stories.js +0 -54
- package/src/components/apps-menu/QasAppsMenu.vue +0 -48
- package/src/components/avatar/QasAvatar.spec.js +0 -14
- package/src/components/avatar/QasAvatar.stories.js +0 -52
- package/src/components/box/QasBox.spec.js +0 -18
- package/src/components/box/QasBox.stories.js +0 -35
- package/src/components/break-line/QasBreakLine.stories.js +0 -57
- package/src/components/break-line/QasBreakLine.vue +0 -52
- package/src/components/btn/QasBtn.stories.js +0 -45
- package/src/components/btn-actions/QasBtnActions.stories.js +0 -77
- package/src/components/btn-actions/QasBtnActions.vue +0 -54
- package/src/components/card/QasCard.stories.js +0 -126
- package/src/components/checkbox-group/QasCheckboxGroup.stories.js +0 -59
- package/src/components/copy/QasCopy.stories.js +0 -41
- package/src/components/date-time-input/QasDateTimeInput.stories.js +0 -67
- package/src/components/debugger/QasDebugger.stories.js +0 -33
- package/src/components/delete/QasDelete.stories.js +0 -80
- package/src/components/dialog/QasDialog.stories.js +0 -139
- package/src/components/dialog-router/QasDialogRouter.stories.js +0 -38
- package/src/components/field/QasField.stories.js +0 -181
- package/src/components/filters/QasFilters.stories.js +0 -121
- package/src/components/form-generator/QasFormGenerator.stories.js +0 -115
- package/src/components/form-view/QasFormView.stories.js +0 -236
- package/src/components/gallery/QasGallery.stories.js +0 -91
- package/src/components/grid-generator/QasGridGenerator.stories.js +0 -138
- package/src/components/input/QasInput.stories.js +0 -78
- package/src/components/label/QasLabel.stories.js +0 -60
- package/src/components/layout/QasLayout.stories.js +0 -104
- package/src/components/list-items/QasListItems.stories.js +0 -130
- package/src/components/list-view/QasListView.stories.js +0 -168
- package/src/components/map/QasMap.stories.js +0 -75
- package/src/components/nested-fields/QasNestedFields.stories.js +0 -255
- package/src/components/numeric-input/QasNumericInput.stories.js +0 -92
- package/src/components/page-header/QasPageHeader.stories.js +0 -61
- package/src/components/password-input/QasPasswordInput.stories.js +0 -76
- package/src/components/password-strength-checker/QasPasswordStrengthChecker.stories.js +0 -54
- package/src/components/profile/QasProfile.stories.js +0 -131
- package/src/components/resizer/QasResizer.stories.js +0 -43
- package/src/components/search-box/QasSearchBox.stories.js +0 -111
- package/src/components/select/QasSelect.stories.js +0 -113
- package/src/components/select-list/QasSelectList.stories.js +0 -153
- package/src/components/signature-pad/QasSignaturePad.stories.js +0 -51
- package/src/components/signature-uploader/QasSignatureUploader.stories.js +0 -69
- package/src/components/single-view/QasSingleView.stories.js +0 -130
- package/src/components/sortable/QasSortable.stories.js +0 -80
- package/src/components/table-generator/QasTableGenerator.stories.js +0 -116
- package/src/components/tabs-generator/QasTabsGenerator.stories.js +0 -145
- package/src/components/text-truncate/QasTextTruncate.stories.js +0 -55
- package/src/components/tip/QasTip.stories.js +0 -57
- package/src/components/tip/QasTip.vue +0 -68
- package/src/components/tooltip/QasTooltip.stories.js +0 -63
- package/src/components/tooltip/QasTooltip.vue +0 -81
- package/src/components/transfer/QasTransfer.stories.js +0 -118
- package/src/components/uploader/QasCustomUploader.vue +0 -121
- package/src/components/uploader/QasUploader.stories.js +0 -139
- package/src/directives/Test.js +0 -13
- package/src/helpers/historyHandler.js +0 -52
- package/src/helpers/label.js +0 -3
- package/src/index.js +0 -249
- package/src/mixins/map-markers.js +0 -26
- package/src/mixins/unsaved-changes.js +0 -24
- package/src/mixins/uploader.js +0 -30
- package/src/mocks/json/user.json +0 -27
- package/src/mocks/json/users-new.json +0 -23
- package/src/mocks/json/users.json +0 -97
- package/src/mocks/storeModule.js +0 -71
- package/src/pages/Forbidden.vue +0 -6
- package/src/pages/NotFound.vue +0 -6
package/src/index.js
DELETED
|
@@ -1,249 +0,0 @@
|
|
|
1
|
-
import { version } from '../package.json'
|
|
2
|
-
|
|
3
|
-
import QasActionsMenu from './components/actions-menu/QasActionsMenu'
|
|
4
|
-
import QasAppBar from './components/app-bar/QasAppBar'
|
|
5
|
-
import QasAppMenu from './components/app-menu/QasAppMenu'
|
|
6
|
-
import QasAppsMenu from './components/apps-menu/QasAppsMenu'
|
|
7
|
-
import QasAvatar from './components/avatar/QasAvatar'
|
|
8
|
-
import QasBox from './components/box/QasBox'
|
|
9
|
-
import QasBreakLine from './components/break-line/QasBreakLine'
|
|
10
|
-
import QasBtn from './components/btn/QasBtn'
|
|
11
|
-
import QasBtnActions from './components/btn-actions/QasBtnActions'
|
|
12
|
-
import QasCard from './components/card/QasCard'
|
|
13
|
-
import QasCheckboxGroup from './components/checkbox-group/QasCheckboxGroup'
|
|
14
|
-
import QasCopy from './components/copy/QasCopy'
|
|
15
|
-
import QasDateTimeInput from './components/date-time-input/QasDateTimeInput'
|
|
16
|
-
import QasDebugger from './components/debugger/QasDebugger'
|
|
17
|
-
import QasDelete from './components/delete/QasDelete'
|
|
18
|
-
import QasDialog from './components/dialog/QasDialog'
|
|
19
|
-
import QasDialogRouter from './components/dialog-router/QasDialogRouter'
|
|
20
|
-
import QasField from './components/field/QasField'
|
|
21
|
-
import QasFilters from './components/filters/QasFilters'
|
|
22
|
-
import QasFormGenerator from './components/form-generator/QasFormGenerator'
|
|
23
|
-
import QasFormView from './components/form-view/QasFormView'
|
|
24
|
-
import QasGallery from './components/gallery/QasGallery'
|
|
25
|
-
import QasGridGenerator from './components/grid-generator/QasGridGenerator'
|
|
26
|
-
import QasInput from './components/input/QasInput'
|
|
27
|
-
import QasLabel from './components/label/QasLabel'
|
|
28
|
-
import QasLayout from './components/layout/QasLayout'
|
|
29
|
-
import QasListItems from './components/list-items/QasListItems'
|
|
30
|
-
import QasListView from './components/list-view/QasListView'
|
|
31
|
-
import QasMap from './components/map/QasMap'
|
|
32
|
-
import QasNestedFields from './components/nested-fields/QasNestedFields'
|
|
33
|
-
import QasNumericInput from './components/numeric-input/QasNumericInput'
|
|
34
|
-
import QasPageHeader from './components/page-header/QasPageHeader'
|
|
35
|
-
import QasPasswordInput from './components/password-input/QasPasswordInput'
|
|
36
|
-
import QasPasswordStrengthChecker from './components/password-strength-checker/QasPasswordStrengthChecker'
|
|
37
|
-
import QasProfile from './components/profile/QasProfile'
|
|
38
|
-
import QasResizer from './components/resizer/QasResizer'
|
|
39
|
-
import QasSearchBox from './components/search-box/QasSearchBox'
|
|
40
|
-
import QasSelect from './components/select/QasSelect'
|
|
41
|
-
import QasSelectList from './components/select-list/QasSelectList'
|
|
42
|
-
import QasSignaturePad from './components/signature-pad/QasSignaturePad'
|
|
43
|
-
import QasSignatureUploader from './components/signature-uploader/QasSignatureUploader'
|
|
44
|
-
import QasSingleView from './components/single-view/QasSingleView'
|
|
45
|
-
import QasSortable from './components/sortable/QasSortable'
|
|
46
|
-
import QasTableGenerator from './components/table-generator/QasTableGenerator'
|
|
47
|
-
import QasTabsGenerator from './components/tabs-generator/QasTabsGenerator'
|
|
48
|
-
import QasTextTruncate from './components/text-truncate/QasTextTruncate'
|
|
49
|
-
import QasTip from './components/tip/QasTip'
|
|
50
|
-
import QasTooltip from './components/tooltip/QasTooltip'
|
|
51
|
-
import QasTransfer from './components/transfer/QasTransfer'
|
|
52
|
-
import QasUploader from './components/uploader/QasUploader'
|
|
53
|
-
|
|
54
|
-
import Test from './directives/Test'
|
|
55
|
-
|
|
56
|
-
import Quasar, { Notify } from 'quasar'
|
|
57
|
-
import Vue from 'vue'
|
|
58
|
-
|
|
59
|
-
import {
|
|
60
|
-
NotifyError,
|
|
61
|
-
NotifySuccess
|
|
62
|
-
} from './plugins'
|
|
63
|
-
|
|
64
|
-
Vue.use(Quasar, {
|
|
65
|
-
plugins: {
|
|
66
|
-
Notify
|
|
67
|
-
}
|
|
68
|
-
})
|
|
69
|
-
|
|
70
|
-
// Por que é necessário exportar duas vezes?
|
|
71
|
-
export {
|
|
72
|
-
version,
|
|
73
|
-
|
|
74
|
-
NotifyError,
|
|
75
|
-
NotifySuccess,
|
|
76
|
-
|
|
77
|
-
QasActionsMenu,
|
|
78
|
-
QasAppBar,
|
|
79
|
-
QasAppMenu,
|
|
80
|
-
QasAppsMenu,
|
|
81
|
-
QasAvatar,
|
|
82
|
-
QasBox,
|
|
83
|
-
QasBreakLine,
|
|
84
|
-
QasBtn,
|
|
85
|
-
QasBtnActions,
|
|
86
|
-
QasCard,
|
|
87
|
-
QasCheckboxGroup,
|
|
88
|
-
QasCopy,
|
|
89
|
-
QasDateTimeInput,
|
|
90
|
-
QasDebugger,
|
|
91
|
-
QasDelete,
|
|
92
|
-
QasDialog,
|
|
93
|
-
QasDialogRouter,
|
|
94
|
-
QasField,
|
|
95
|
-
QasFilters,
|
|
96
|
-
QasFormGenerator,
|
|
97
|
-
QasFormView,
|
|
98
|
-
QasGallery,
|
|
99
|
-
QasGridGenerator,
|
|
100
|
-
QasInput,
|
|
101
|
-
QasLabel,
|
|
102
|
-
QasLayout,
|
|
103
|
-
QasListItems,
|
|
104
|
-
QasListView,
|
|
105
|
-
QasMap,
|
|
106
|
-
QasNestedFields,
|
|
107
|
-
QasNumericInput,
|
|
108
|
-
QasPageHeader,
|
|
109
|
-
QasPasswordInput,
|
|
110
|
-
QasPasswordStrengthChecker,
|
|
111
|
-
QasProfile,
|
|
112
|
-
QasResizer,
|
|
113
|
-
QasSearchBox,
|
|
114
|
-
QasSelect,
|
|
115
|
-
QasSelectList,
|
|
116
|
-
QasSignaturePad,
|
|
117
|
-
QasSignatureUploader,
|
|
118
|
-
QasSingleView,
|
|
119
|
-
QasSortable,
|
|
120
|
-
QasTableGenerator,
|
|
121
|
-
QasTabsGenerator,
|
|
122
|
-
QasTextTruncate,
|
|
123
|
-
QasTip,
|
|
124
|
-
QasTooltip,
|
|
125
|
-
QasTransfer,
|
|
126
|
-
QasUploader,
|
|
127
|
-
|
|
128
|
-
Test
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
export default {
|
|
132
|
-
version,
|
|
133
|
-
|
|
134
|
-
NotifyError,
|
|
135
|
-
NotifySuccess,
|
|
136
|
-
|
|
137
|
-
QasActionsMenu,
|
|
138
|
-
QasAppBar,
|
|
139
|
-
QasAppMenu,
|
|
140
|
-
QasAppsMenu,
|
|
141
|
-
QasAvatar,
|
|
142
|
-
QasBox,
|
|
143
|
-
QasBreakLine,
|
|
144
|
-
QasBtn,
|
|
145
|
-
QasBtnActions,
|
|
146
|
-
QasCard,
|
|
147
|
-
QasCheckboxGroup,
|
|
148
|
-
QasCopy,
|
|
149
|
-
QasDateTimeInput,
|
|
150
|
-
QasDebugger,
|
|
151
|
-
QasDelete,
|
|
152
|
-
QasDialog,
|
|
153
|
-
QasDialogRouter,
|
|
154
|
-
QasField,
|
|
155
|
-
QasFilters,
|
|
156
|
-
QasFormGenerator,
|
|
157
|
-
QasFormView,
|
|
158
|
-
QasGallery,
|
|
159
|
-
QasGridGenerator,
|
|
160
|
-
QasInput,
|
|
161
|
-
QasLabel,
|
|
162
|
-
QasLayout,
|
|
163
|
-
QasListItems,
|
|
164
|
-
QasListView,
|
|
165
|
-
QasMap,
|
|
166
|
-
QasNestedFields,
|
|
167
|
-
QasNumericInput,
|
|
168
|
-
QasPageHeader,
|
|
169
|
-
QasPasswordInput,
|
|
170
|
-
QasPasswordStrengthChecker,
|
|
171
|
-
QasProfile,
|
|
172
|
-
QasResizer,
|
|
173
|
-
QasSearchBox,
|
|
174
|
-
QasSelect,
|
|
175
|
-
QasSelectList,
|
|
176
|
-
QasSignaturePad,
|
|
177
|
-
QasSignatureUploader,
|
|
178
|
-
QasSingleView,
|
|
179
|
-
QasSortable,
|
|
180
|
-
QasTableGenerator,
|
|
181
|
-
QasTabsGenerator,
|
|
182
|
-
QasTextTruncate,
|
|
183
|
-
QasTip,
|
|
184
|
-
QasTooltip,
|
|
185
|
-
QasTransfer,
|
|
186
|
-
QasUploader,
|
|
187
|
-
|
|
188
|
-
Test,
|
|
189
|
-
|
|
190
|
-
install (Vue) {
|
|
191
|
-
Vue.prototype.$qas = {
|
|
192
|
-
error: NotifyError,
|
|
193
|
-
success: NotifySuccess
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
Vue.component('QasActionsMenu', QasActionsMenu)
|
|
197
|
-
Vue.component('QasAppBar', QasAppBar)
|
|
198
|
-
Vue.component('QasAppMenu', QasAppMenu)
|
|
199
|
-
Vue.component('QasAppsMenu', QasAppsMenu)
|
|
200
|
-
Vue.component('QasAvatar', QasAvatar)
|
|
201
|
-
Vue.component('QasBox', QasBox)
|
|
202
|
-
Vue.component('QasBreakLine', QasBreakLine)
|
|
203
|
-
Vue.component('QasBtn', QasBtn)
|
|
204
|
-
Vue.component('QasBtnActions', QasBtnActions)
|
|
205
|
-
Vue.component('QasCard', QasCard)
|
|
206
|
-
Vue.component('QasCheckboxGroup', QasCheckboxGroup)
|
|
207
|
-
Vue.component('QasCopy', QasCopy)
|
|
208
|
-
Vue.component('QasDateTimeInput', QasDateTimeInput)
|
|
209
|
-
Vue.component('QasDebugger', QasDebugger)
|
|
210
|
-
Vue.component('QasDelete', QasDelete)
|
|
211
|
-
Vue.component('QasDialog', QasDialog)
|
|
212
|
-
Vue.component('QasDialogRouter', QasDialogRouter)
|
|
213
|
-
Vue.component('QasField', QasField)
|
|
214
|
-
Vue.component('QasFilters', QasFilters)
|
|
215
|
-
Vue.component('QasFormGenerator', QasFormGenerator)
|
|
216
|
-
Vue.component('QasFormView', QasFormView)
|
|
217
|
-
Vue.component('QasGallery', QasGallery)
|
|
218
|
-
Vue.component('QasGridGenerator', QasGridGenerator)
|
|
219
|
-
Vue.component('QasInput', QasInput)
|
|
220
|
-
Vue.component('QasLabel', QasLabel)
|
|
221
|
-
Vue.component('QasLayout', QasLayout)
|
|
222
|
-
Vue.component('QasListItems', QasListItems)
|
|
223
|
-
Vue.component('QasListView', QasListView)
|
|
224
|
-
Vue.component('QasMap', QasMap)
|
|
225
|
-
Vue.component('QasNestedFields', QasNestedFields)
|
|
226
|
-
Vue.component('QasNumericInput', QasNumericInput)
|
|
227
|
-
Vue.component('QasPageHeader', QasPageHeader)
|
|
228
|
-
Vue.component('QasPasswordInput', QasPasswordInput)
|
|
229
|
-
Vue.component('QasPasswordStrengthChecker', QasPasswordStrengthChecker)
|
|
230
|
-
Vue.component('QasProfile', QasProfile)
|
|
231
|
-
Vue.component('QasResizer', QasResizer)
|
|
232
|
-
Vue.component('QasSearchBox', QasSearchBox)
|
|
233
|
-
Vue.component('QasSelect', QasSelect)
|
|
234
|
-
Vue.component('QasSelectList', QasSelectList)
|
|
235
|
-
Vue.component('QasSignaturePad', QasSignaturePad)
|
|
236
|
-
Vue.component('QasSignatureUploader', QasSignatureUploader)
|
|
237
|
-
Vue.component('QasSingleView', QasSingleView)
|
|
238
|
-
Vue.component('QasSortable', QasSortable)
|
|
239
|
-
Vue.component('QasTableGenerator', QasTableGenerator)
|
|
240
|
-
Vue.component('QasTabsGenerator', QasTabsGenerator)
|
|
241
|
-
Vue.component('QasTextTruncate', QasTextTruncate)
|
|
242
|
-
Vue.component('QasTip', QasTip)
|
|
243
|
-
Vue.component('QasTooltip', QasTooltip)
|
|
244
|
-
Vue.component('QasTransfer', QasTransfer)
|
|
245
|
-
Vue.component('QasUploader', QasUploader)
|
|
246
|
-
|
|
247
|
-
Vue.directive(Test.name, Test)
|
|
248
|
-
}
|
|
249
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
methods: {
|
|
3
|
-
$_createMarkers (referencePoints) {
|
|
4
|
-
const referencePointsList = []
|
|
5
|
-
|
|
6
|
-
referencePoints.forEach((referencePoint, index) => {
|
|
7
|
-
const { latitude, longitude, city, name, icon } = referencePoint
|
|
8
|
-
const isCreateOrEdit = !!this.$_mode
|
|
9
|
-
|
|
10
|
-
referencePointsList.push({
|
|
11
|
-
position: { lat: +latitude, lng: +longitude },
|
|
12
|
-
title: name,
|
|
13
|
-
description: city,
|
|
14
|
-
draggable: !index && isCreateOrEdit,
|
|
15
|
-
icon
|
|
16
|
-
})
|
|
17
|
-
})
|
|
18
|
-
|
|
19
|
-
return referencePointsList
|
|
20
|
-
},
|
|
21
|
-
|
|
22
|
-
$_position (lat, lng) {
|
|
23
|
-
return { lat: lat || -21.17663, lng: lng || -47.820839 }
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
data () {
|
|
3
|
-
return {
|
|
4
|
-
$_fromDelete: false
|
|
5
|
-
}
|
|
6
|
-
},
|
|
7
|
-
|
|
8
|
-
beforeRouteLeave (to, from, next) {
|
|
9
|
-
if (!this.$refs.formView) {
|
|
10
|
-
throw new Error(
|
|
11
|
-
`Please provide a ref called "formView"
|
|
12
|
-
to access the method "beforeRouteLeave" inside qas-form-view`
|
|
13
|
-
)
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
this.$refs.formView.beforeRouteLeave(to, from, next, this.$_fromDelete)
|
|
17
|
-
},
|
|
18
|
-
|
|
19
|
-
methods: {
|
|
20
|
-
$_deleteSuccess () {
|
|
21
|
-
this.$_fromDelete = true
|
|
22
|
-
}
|
|
23
|
-
}
|
|
24
|
-
}
|
package/src/mixins/uploader.js
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
export default {
|
|
2
|
-
props: {
|
|
3
|
-
acceptResizeTypes: {
|
|
4
|
-
default: () => [
|
|
5
|
-
'image/jpeg',
|
|
6
|
-
'image/png',
|
|
7
|
-
'image/gif',
|
|
8
|
-
'image/bmp',
|
|
9
|
-
'image/webp',
|
|
10
|
-
'image/jpg'
|
|
11
|
-
],
|
|
12
|
-
type: Array
|
|
13
|
-
},
|
|
14
|
-
|
|
15
|
-
picaResizeOptions: {
|
|
16
|
-
default: () => ({}),
|
|
17
|
-
type: Object
|
|
18
|
-
},
|
|
19
|
-
|
|
20
|
-
sizeLimit: {
|
|
21
|
-
default: 1280,
|
|
22
|
-
type: Number
|
|
23
|
-
},
|
|
24
|
-
|
|
25
|
-
useResize: {
|
|
26
|
-
default: true,
|
|
27
|
-
type: Boolean
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
package/src/mocks/json/user.json
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"result": {
|
|
3
|
-
"uuid": "a755a6d1-fc4a-4961-a8cc-b2293fe5b81c",
|
|
4
|
-
"name": "Eligendi ipsa quia qui laudantium dicta.",
|
|
5
|
-
"email": "Gunnar.Kreiger@gmail.com",
|
|
6
|
-
"nickname": "Et odio dolor quibusdam cupiditate sed exercitationem harum mollitia explicabo."
|
|
7
|
-
},
|
|
8
|
-
|
|
9
|
-
"fields": {
|
|
10
|
-
"name": {
|
|
11
|
-
"name": "name",
|
|
12
|
-
"type": "text"
|
|
13
|
-
},
|
|
14
|
-
"email": {
|
|
15
|
-
"name": "email",
|
|
16
|
-
"type": "email"
|
|
17
|
-
},
|
|
18
|
-
"nickname": {
|
|
19
|
-
"name": "nickname",
|
|
20
|
-
"type": "text"
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
|
-
|
|
24
|
-
"status": {
|
|
25
|
-
"code": 200
|
|
26
|
-
}
|
|
27
|
-
}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"fields": {
|
|
3
|
-
"name": {
|
|
4
|
-
"name": "name",
|
|
5
|
-
"label": "Full name",
|
|
6
|
-
"type": "text"
|
|
7
|
-
},
|
|
8
|
-
"email": {
|
|
9
|
-
"name": "email",
|
|
10
|
-
"label": "E-mail",
|
|
11
|
-
"type": "email"
|
|
12
|
-
},
|
|
13
|
-
"nickname": {
|
|
14
|
-
"name": "nickname",
|
|
15
|
-
"label": "Nick name",
|
|
16
|
-
"type": "text"
|
|
17
|
-
}
|
|
18
|
-
},
|
|
19
|
-
|
|
20
|
-
"status": {
|
|
21
|
-
"code": 200
|
|
22
|
-
}
|
|
23
|
-
}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"results": [
|
|
3
|
-
{
|
|
4
|
-
"uuid": "a755a6d1-fc4a-4961-a8cc-b2293fe5b81c",
|
|
5
|
-
"name": "Eligendi ipsa quia qui laudantium dicta.",
|
|
6
|
-
"email": "Gunnar.Kreiger@gmail.com",
|
|
7
|
-
"nickname": "Et odio dolor quibusdam cupiditate sed exercitationem harum mollitia explicabo."
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
"uuid": "f2ddf32a-e065-410a-b70d-8bf5775dbaa2",
|
|
11
|
-
"name": "Et itaque ut dicta saepe sed temporibus et qui temporibus.",
|
|
12
|
-
"email": "Ransom.Dietrich5@yahoo.com",
|
|
13
|
-
"nickname": "Dolorum voluptatem expedita sapiente minima voluptatem hic accusamus."
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"uuid": "07a27517-c6d7-4723-b047-891c0faf3e0b",
|
|
17
|
-
"name": "Voluptatibus aut error nihil laborum.",
|
|
18
|
-
"email": "Louie_Kris@hotmail.com",
|
|
19
|
-
"nickname": "Id ut corporis dolores."
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"uuid": "ef3912f6-ee3d-4f4d-b078-11cbcbea13f0",
|
|
23
|
-
"name": "Numquam quos repudiandae ad illum tempore sint illum dolor fugiat.",
|
|
24
|
-
"email": "Chance84@yahoo.com",
|
|
25
|
-
"nickname": "Sit at enim odio amet est autem."
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"uuid": "cfed7b91-a901-4280-9820-6f2fd1614dc6",
|
|
29
|
-
"name": "Sunt hic at ea sed.",
|
|
30
|
-
"email": "Muhammad.Bayer56@gmail.com",
|
|
31
|
-
"nickname": "Voluptatum laboriosam placeat aut quia ex cumque nulla sapiente dolore."
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"uuid": "077efcec-0336-45a3-a22a-e774ef90c0de",
|
|
35
|
-
"name": "Et dolorem asperiores enim dolorum corrupti.",
|
|
36
|
-
"email": "Timmy_Lueilwitz@hotmail.com",
|
|
37
|
-
"nickname": "Excepturi suscipit quidem enim ratione sunt aliquid."
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
"uuid": "0cb5eb5c-7b6b-4505-b04c-d62a12980a92",
|
|
41
|
-
"name": "Est perferendis autem.",
|
|
42
|
-
"email": "Caroline_Weimann@hotmail.com",
|
|
43
|
-
"nickname": "Doloremque aut id."
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
"uuid": "789cb881-c328-40d5-a345-5e0f1e23806e",
|
|
47
|
-
"name": "Sit repellendus assumenda exercitationem qui.",
|
|
48
|
-
"email": "Paige_Beatty@gmail.com",
|
|
49
|
-
"nickname": "Aut voluptatibus eius labore perferendis eos non voluptas tempora neque."
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
"uuid": "ff0520ac-c080-4e8c-83ab-3620d1979768",
|
|
53
|
-
"name": "Et nam eaque eum dolore sint cum.",
|
|
54
|
-
"email": "Ewald_OKeefe39@yahoo.com",
|
|
55
|
-
"nickname": "Error omnis asperiores quo consectetur ea ratione."
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
"uuid": "5b7e461e-7da3-489a-b0be-2edfe4fec58d",
|
|
59
|
-
"name": "Enim eum aut odio aut libero sint esse laudantium.",
|
|
60
|
-
"email": "Ashton54@yahoo.com",
|
|
61
|
-
"nickname": "Magnam aperiam eligendi ea omnis dolores cum voluptates incidunt dolor."
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
"uuid": "44681a1e-54dd-49c0-bcb5-7a2edc5b8ce1",
|
|
65
|
-
"name": "Expedita rem eius esse voluptas aut quibusdam impedit assumenda.",
|
|
66
|
-
"email": "Kelsi.Erdman15@hotmail.com",
|
|
67
|
-
"nickname": "Modi sit et rerum aut modi ut a consequatur nisi."
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
"uuid": "76c547e2-38e9-40ed-98d2-f39c3d4cd9f7",
|
|
71
|
-
"name": "Dolorem blanditiis est aut hic ea.",
|
|
72
|
-
"email": "Virgie74@yahoo.com",
|
|
73
|
-
"nickname": "Aut dolores dolores provident eos quibusdam rerum."
|
|
74
|
-
}
|
|
75
|
-
],
|
|
76
|
-
|
|
77
|
-
"count": 25,
|
|
78
|
-
|
|
79
|
-
"fields": {
|
|
80
|
-
"name": {
|
|
81
|
-
"name": "name",
|
|
82
|
-
"type": "text"
|
|
83
|
-
},
|
|
84
|
-
"email": {
|
|
85
|
-
"name": "email",
|
|
86
|
-
"type": "email"
|
|
87
|
-
},
|
|
88
|
-
"nickname": {
|
|
89
|
-
"name": "nickname",
|
|
90
|
-
"type": "text"
|
|
91
|
-
}
|
|
92
|
-
},
|
|
93
|
-
|
|
94
|
-
"status": {
|
|
95
|
-
"code": 200
|
|
96
|
-
}
|
|
97
|
-
}
|
package/src/mocks/storeModule.js
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import user from './json/user.json'
|
|
2
|
-
import users from './json/users.json'
|
|
3
|
-
import usersNew from './json/users-new.json'
|
|
4
|
-
|
|
5
|
-
export default {
|
|
6
|
-
namespaced: true,
|
|
7
|
-
|
|
8
|
-
state: {
|
|
9
|
-
list: [],
|
|
10
|
-
filters: {}
|
|
11
|
-
},
|
|
12
|
-
|
|
13
|
-
getters: {
|
|
14
|
-
byId: state => id => state.list.find(item => item.uuid === id),
|
|
15
|
-
filters: state => state.filters,
|
|
16
|
-
list: state => state.list
|
|
17
|
-
},
|
|
18
|
-
|
|
19
|
-
mutations: {
|
|
20
|
-
setList (state, list) {
|
|
21
|
-
state.list = list
|
|
22
|
-
},
|
|
23
|
-
|
|
24
|
-
setSingle (state, single) {
|
|
25
|
-
const index = state.list.findIndex(item => item.uuid === single.uuid)
|
|
26
|
-
~index ? state.list.splice(index, 1, single) : state.list.push(single)
|
|
27
|
-
},
|
|
28
|
-
|
|
29
|
-
setFilters (state, filters) {
|
|
30
|
-
state.filters = filters
|
|
31
|
-
}
|
|
32
|
-
},
|
|
33
|
-
|
|
34
|
-
actions: {
|
|
35
|
-
create () {
|
|
36
|
-
return {
|
|
37
|
-
data: { status: 200 }
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
|
|
41
|
-
fetchList ({ commit }) {
|
|
42
|
-
const list = { data: { ...users } }
|
|
43
|
-
|
|
44
|
-
commit('setList', list.data.results)
|
|
45
|
-
return list
|
|
46
|
-
},
|
|
47
|
-
|
|
48
|
-
fetchSingle ({ commit }, { url }) {
|
|
49
|
-
if (url.endsWith('new')) {
|
|
50
|
-
return { data: { ...usersNew } }
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
const single = { data: { ...user } }
|
|
54
|
-
|
|
55
|
-
commit('setSingle', user.result)
|
|
56
|
-
return single
|
|
57
|
-
},
|
|
58
|
-
|
|
59
|
-
replace () {
|
|
60
|
-
return {
|
|
61
|
-
data: { status: 200 }
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
|
|
65
|
-
fetchFilters ({ commit }) {
|
|
66
|
-
commit('setFilters', usersNew.fields)
|
|
67
|
-
|
|
68
|
-
return usersNew
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
package/src/pages/Forbidden.vue
DELETED