quasar-factory-lib 0.0.25 → 0.0.27

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
@@ -97,6 +97,6 @@
97
97
  "release": "standard-version"
98
98
  },
99
99
  "type": "module",
100
- "version": "0.0.25",
100
+ "version": "0.0.27",
101
101
  "author": ""
102
102
  }
@@ -17,9 +17,9 @@
17
17
  :key="col.name"
18
18
  :class="tableProps.row.rowBgColor || 'bg-main-color'"
19
19
  :props="tableProps"
20
- :style="tablePropsData.row.tdStyle"
21
20
  >
22
21
  <span
22
+ :style="tablePropsData.row.tdStyle"
23
23
  v-if="getColumnValue(col)"
24
24
  v-html="tableProps.row[col.name]"
25
25
  />
@@ -39,6 +39,7 @@
39
39
  <q-item-label
40
40
  v-if="getColumnValue(col)"
41
41
  class="itemsFontSize text-almost-black"
42
+ :style="tablePropsData.row.tdStyle"
42
43
  >
43
44
  <q-icon
44
45
  v-if="col.editable"
@@ -9,6 +9,7 @@
9
9
  v-if="selectionType == 'multiple'"
10
10
  v-model="tablePropsData.selected"
11
11
  size="sm"
12
+ class="float-left"
12
13
  />
13
14
  </q-th>
14
15
  <q-th
@@ -2,12 +2,12 @@
2
2
  <div id="taskNavBar">
3
3
  <q-toolbar class="q-toolbar-unset-height">
4
4
  <div class="row full-width">
5
- <div class="col-6">
5
+ <div class="col-8">
6
6
  <img :src="logo" class="logo">
7
7
  <span id="mobile-title">{{ title }}</span>
8
8
  </div>
9
- <div class="col-6 text-right">
10
- <q-icon v-if="showBtnBack" size="md" @click="onClickBtnBack">
9
+ <div class="col-4 text-right">
10
+ <q-icon v-if="showBtnBack" size="md" class="cursor-pointer" @click="onClickBtnBack">
11
11
  <svg class="text-h4" xmlns="http://www.w3.org/2000/svg" width="30" height="30"
12
12
  viewBox="0 0 23.648 22.836">
13
13
  <g id="Arrow_brand" data-name="Arrow brand" transform="translate(0 22.836) rotate(-90)">
@@ -17,10 +17,15 @@
17
17
  </g>
18
18
  </svg>
19
19
  </q-icon>
20
- <q-icon v-if="showBtnSearch" color="primary" name="search" size="md" class="q-ml-md" @click="onClickBtnSearch">
20
+ <q-icon
21
+ v-if="showBtnSearch"
22
+ color="primary"
23
+ :name="showIconSearch ?'search' : 'search_off'"
24
+ size="md"
25
+ class="q-ml-md cursor-pointer"
26
+ @click="onClickBtnSearch">
21
27
  </q-icon>
22
-
23
- <q-icon id="menu" size="md" @click="onClickBtnMenu" class="q-ml-md">
28
+ <q-icon id="iconMenu" size="md" @click="onClickBtnMenu" class="q-ml-md cursor-pointer">
24
29
  <svg xmlns="http://www.w3.org/2000/svg" width="30.448" height="28.247" viewBox="0 0 30.448 28.247">
25
30
  <g id="Componente_11_3" data-name="Componente 11 – 3" transform="translate(0 1)">
26
31
  <path id="Caminho_702" data-name="Caminho 702" d="M38.053,40.174H24"
@@ -53,6 +58,7 @@ export default defineComponent({
53
58
  data() {
54
59
  return {
55
60
  date,
61
+ showIconSearch: true,
56
62
  rightDrawerOpen: false
57
63
  }
58
64
  },
@@ -81,6 +87,7 @@ export default defineComponent({
81
87
  console.log('menu')
82
88
  },
83
89
  onClickBtnSearch() {
90
+ this.showIconSearch = !this.showIconSearch
84
91
  this.$emit('onClickBtnSearch')
85
92
  console.log('search')
86
93
  },
@@ -1,7 +1,7 @@
1
1
  #taskNavBar .logo {
2
2
  display: block;
3
3
  width: 125px;
4
- height: 50px;
4
+ height: auto;
5
5
  background-position: center;
6
6
  background-repeat: no-repeat;
7
7
  background-size: contain;
package/src/css/app.css CHANGED
@@ -37,4 +37,8 @@
37
37
  .q-toolbar-unset-height .q-toolbar {
38
38
  min-height: unset;
39
39
  padding: 0;
40
+ }
41
+
42
+ .text-color-positive {
43
+ color: var(--positive);
40
44
  }
@@ -23,30 +23,12 @@
23
23
  @on-update-customized-checkbox-value="onUpdateCustomizedCheckboxValue"
24
24
  @on-click-button="setItemNotFound"
25
25
  />
26
- <q-dialog v-model="showDialog" >
27
- <div>
28
- <q-btn @click="close">Close</q-btn>
29
- <Table
30
- :rows="rows"
31
- :columns="columns"
32
- :visible-columns="visibleColumns"
33
- :small-device="false"
34
- :store="store"
35
- :table-style="tableStyle"
36
- :show-skeleton="false"
37
- :selection-type="'multiple'"
38
- :filter-method="filterMethod"
39
- :filter-computed="filter"
40
- />
41
- </div>
42
- </q-dialog>
43
26
  </div>
44
27
  </q-page>
45
28
  </q-page-container>
46
29
  </template>
47
30
  <script lang="ts">
48
31
  import Table from '../components/Table/Table.vue'
49
- // import rows from '../testData.js'
50
32
  import setTableHeight from '../components/Table/utils/setTableHeight'
51
33
  import infiniteScroll from '../components/Table/utils/infiniteScroll'
52
34
  import FilterMethod from '../components/Table/utils/filterMethod'
@@ -162,6 +144,7 @@ export default {
162
144
  rows: [],
163
145
  rowsData: [
164
146
  {
147
+ tdStyle: "color: #597765 !important; font-weight: bold;",
165
148
  name: 'Frozen Yogurt',
166
149
  booleanIcon: true,
167
150
  available: true,
@@ -329,12 +312,6 @@ export default {
329
312
  },
330
313
  setItemNotFound (rows: object []) {
331
314
  console.log(rows, 'onClickButton')
332
- this.showDialog = true
333
- this.store.lastFilterValue = this.store.filterValue
334
- },
335
- close () {
336
- this.showDialog= false
337
- this.store.filterValue = this.store.lastFilterValue
338
315
  }
339
316
  }
340
317
  }