quasar-factory-lib 0.1.7 → 0.1.9

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/package.json CHANGED
@@ -98,6 +98,6 @@
98
98
  "release": "standard-version"
99
99
  },
100
100
  "type": "module",
101
- "version": "0.1.7",
101
+ "version": "0.1.9",
102
102
  "author": ""
103
103
  }
@@ -0,0 +1,19 @@
1
+ <template>
2
+ <q-card class="skeleton-areas">
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
+ @import url();
19
+ </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 }
@@ -0,0 +1,9 @@
1
+ .skeleton-areas {
2
+ width: 200px;
3
+ height: 200px;
4
+ }
5
+ @media only screen and (max-width: 600px) {
6
+ .skeleton-areas {
7
+ width: 100%;
8
+ }
9
+ }
@@ -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 {
@@ -6,4 +6,5 @@ export * from './ConfirmedTask'
6
6
  export * from './TableRowsCounter'
7
7
  export * from './NavBarSkeleton'
8
8
  export * from './AlertLabelsWithError'
9
- export * from './FormSkeleton'
9
+ export * from './FormSkeleton'
10
+ export * from './SkeletonAreas'
@@ -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
- export { MyTable, AlertDialog, ConfirmDialog, TaskNavBar, ConfirmedTask, TableRowsCounter, NavBarSkeleton, AlertLabelsWithError, FormSkeleton }
10
+ import SkeletonAreas from './SkeletonAreas'
11
+ export { MyTable, AlertDialog, ConfirmDialog, TaskNavBar, ConfirmedTask, TableRowsCounter, NavBarSkeleton, AlertLabelsWithError, FormSkeleton, SkeletonAreas }
11
12
 
package/src/css/app.css CHANGED
@@ -1,6 +1,7 @@
1
1
  @import url('../components/Table/css/table.css');
2
2
  @import url('../components/TaskNavBar/css/taskNavBar.css');
3
3
  @import url('../components/ConfirmedTask/style.css');
4
+ @import url('../components/SkeletonAreas/style.css');
4
5
  @import url('./fonts.css');
5
6
  :root {
6
7
  --main-color: #FFF8F2;
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"
@@ -92,7 +95,7 @@ export default {
92
95
  Table,
93
96
  TableRowsCounter,
94
97
  AlertLabelsWithError,
95
- NavBarSkeleton
98
+ NavBarSkeleton,
96
99
  },
97
100
  data () {
98
101
  return {
@@ -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',