quasar-factory-lib 0.1.7 → 0.1.8
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/components/SkeletonAreas/SkeletonAreas.vue.d.ts +2 -0
- package/dist/components/SkeletonAreas/index.d.ts +7 -0
- package/dist/components/Table/Table.vue.d.ts +7 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/plugins.d.ts +2 -1
- package/dist/index.d.ts +1 -1
- package/dist/layouts/PdaLayout.vue.d.ts +47 -1
- package/dist/pages/TablePage.vue.d.ts +7 -1
- package/dist/quasar-factory-lib.js +1464 -1433
- package/dist/quasar-factory-lib.umd.cjs +12 -12
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/src/components/SkeletonAreas/SkeletonAreas.vue +27 -0
- package/src/components/SkeletonAreas/index.ts +16 -0
- package/src/components/Table/Table.vue +8 -1
- package/src/components/index.ts +2 -1
- package/src/components/plugins.ts +2 -1
- package/src/index.ts +3 -2
- package/src/layouts/PdaLayout.vue +9 -2
package/package.json
CHANGED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<q-card class="cardSkeleton">
|
|
3
|
+
<q-card-section>
|
|
4
|
+
<q-skeleton type="QAvatar" />
|
|
5
|
+
<q-skeleton
|
|
6
|
+
type="text"
|
|
7
|
+
style="margin-top: 100px"
|
|
8
|
+
/>
|
|
9
|
+
</q-card-section>
|
|
10
|
+
</q-card>
|
|
11
|
+
</template>
|
|
12
|
+
<script lang="ts">
|
|
13
|
+
export default {
|
|
14
|
+
name: 'SkeletonAreas',
|
|
15
|
+
}
|
|
16
|
+
</script>
|
|
17
|
+
<style scoped>
|
|
18
|
+
.cardSkeleton {
|
|
19
|
+
width: 200px;
|
|
20
|
+
height: 200px;
|
|
21
|
+
}
|
|
22
|
+
@media only screen and (max-width: 600px) {
|
|
23
|
+
.cardSkeleton {
|
|
24
|
+
width: 100%;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
</style>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { App, Plugin } from 'vue'
|
|
2
|
+
|
|
3
|
+
import SkeletonAreas from './SkeletonAreas.vue'
|
|
4
|
+
|
|
5
|
+
import { registerComponent } from '@/utils/plugins'
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
/** export SkeletonAreas plugin */
|
|
9
|
+
export default {
|
|
10
|
+
install (app: App) {
|
|
11
|
+
registerComponent(app, 'SkeletonAreas', SkeletonAreas)
|
|
12
|
+
}
|
|
13
|
+
} as Plugin
|
|
14
|
+
|
|
15
|
+
/** export SkeletonAreas components */
|
|
16
|
+
export { SkeletonAreas as SkeletonAreas }
|
|
@@ -241,7 +241,14 @@ export default defineComponent({
|
|
|
241
241
|
'onDragUpdate',
|
|
242
242
|
'onDragEnd',
|
|
243
243
|
'modifyPriorityOrder',
|
|
244
|
-
'onClickRowBtnPrintOP'
|
|
244
|
+
'onClickRowBtnPrintOP',
|
|
245
|
+
'getPOFromWorkCenter',
|
|
246
|
+
'getProductionTimesMachineCenter',
|
|
247
|
+
'operatorMachineAssignmentAssignMachine',
|
|
248
|
+
'operatorMachineAssignmentSetDate',
|
|
249
|
+
'operatorMachineAssignmentSetPartialMachineCenter',
|
|
250
|
+
'operatorMachineAssignmentSeeDetail'
|
|
251
|
+
|
|
245
252
|
],
|
|
246
253
|
data () {
|
|
247
254
|
return {
|
package/src/components/index.ts
CHANGED
|
@@ -7,5 +7,6 @@ import TableRowsCounter from './TableRowsCounter'
|
|
|
7
7
|
import NavBarSkeleton from './NavBarSkeleton'
|
|
8
8
|
import AlertLabelsWithError from './AlertLabelsWithError'
|
|
9
9
|
import FormSkeleton from './FormSkeleton'
|
|
10
|
-
|
|
10
|
+
import SkeletonAreas from './SkeletonAreas'
|
|
11
|
+
export { MyTable, AlertDialog, ConfirmDialog, TaskNavBar, ConfirmedTask, TableRowsCounter, NavBarSkeleton, AlertLabelsWithError, FormSkeleton, SkeletonAreas }
|
|
11
12
|
|
package/src/index.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import '@quasar/extras/material-icons/material-icons.css'
|
|
2
2
|
import { Quasar } from 'quasar'
|
|
3
3
|
import { App, Plugin } from 'vue'
|
|
4
|
-
import { MyTable, AlertDialog, ConfirmDialog, TaskNavBar, ConfirmedTask, TableRowsCounter, NavBarSkeleton, AlertLabelsWithError, FormSkeleton} from './components/plugins.ts'
|
|
4
|
+
import { MyTable, AlertDialog, ConfirmDialog, TaskNavBar, ConfirmedTask, TableRowsCounter, NavBarSkeleton, AlertLabelsWithError, FormSkeleton, SkeletonAreas} from './components/plugins.ts'
|
|
5
5
|
import { registerPlugin, setVueInstance } from './utils/plugins.ts'
|
|
6
6
|
import TranslateKeys from './i18n/translateKeys.ts'
|
|
7
7
|
import { createPinia } from 'pinia'
|
|
8
|
-
export { MyTable, AlertDialog, ConfirmDialog, TaskNavBar, ConfirmedTask, TableRowsCounter, NavBarSkeleton, AlertLabelsWithError, FormSkeleton } from './components/index.ts'
|
|
8
|
+
export { MyTable, AlertDialog, ConfirmDialog, TaskNavBar, ConfirmedTask, TableRowsCounter, NavBarSkeleton, AlertLabelsWithError, FormSkeleton, SkeletonAreas } from './components/index.ts'
|
|
9
9
|
|
|
10
10
|
export type { TranslateKeys }
|
|
11
11
|
// import plugins from "./components/plugins";
|
|
@@ -30,6 +30,7 @@ const plugin: Plugin = {
|
|
|
30
30
|
registerPlugin(app, NavBarSkeleton)
|
|
31
31
|
registerPlugin(app, AlertLabelsWithError)
|
|
32
32
|
registerPlugin(app, FormSkeleton)
|
|
33
|
+
registerPlugin(app, SkeletonAreas)
|
|
33
34
|
app.use(i18n)
|
|
34
35
|
app.use(pinia)
|
|
35
36
|
i18n.global.locale = 'en'
|
|
@@ -59,6 +59,9 @@
|
|
|
59
59
|
@on-drag-end="(args) => {
|
|
60
60
|
console.log(args, 'end')
|
|
61
61
|
}"
|
|
62
|
+
@onUpdateSelected="(details) => {
|
|
63
|
+
console.log(details, 'details')
|
|
64
|
+
}"
|
|
62
65
|
/>
|
|
63
66
|
<q-page-sticky
|
|
64
67
|
v-if="smallDevice"
|
|
@@ -141,8 +144,12 @@ export default {
|
|
|
141
144
|
label: 'Boolean Icon',
|
|
142
145
|
align: 'left',
|
|
143
146
|
sortable: true,
|
|
144
|
-
showCustomizedIcon: true,
|
|
145
|
-
type: 'boolean'
|
|
147
|
+
showCustomizedIcon: true,
|
|
148
|
+
type: 'boolean',
|
|
149
|
+
customizedIconNameCaseTrue: 'warning',
|
|
150
|
+
customizedIconNameCaseFalse: 'edit',
|
|
151
|
+
customizedIconColorCaseTrue: 'negative',
|
|
152
|
+
customizedIconColorCaseFalse: 'positive',
|
|
146
153
|
},
|
|
147
154
|
{
|
|
148
155
|
name: 'calories',
|