@mythpe/quasar-ui-qui 0.3.91 → 0.3.93

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mythpe/quasar-ui-qui",
3
- "version": "0.3.91",
3
+ "version": "0.3.93",
4
4
  "description": "MyTh Quasar UI Kit App Extension",
5
5
  "author": {
6
6
  "name": "MyTh Ahmed Faiz",
@@ -1562,15 +1562,10 @@ defineExpose({
1562
1562
  <!--Import Dialog-->
1563
1563
  <MDialog
1564
1564
  v-model="importDialogModel"
1565
- allow-focus-outside
1566
- full-width
1567
- no-backdrop-dismiss
1568
- no-esc-dismiss
1569
- no-shake
1570
1565
  position="top"
1571
1566
  transition-hide="slide-up"
1572
1567
  transition-show="slide-down"
1573
- v-bind="pluginOptions.dt?.formDialogProps"
1568
+ v-bind="pluginOptions.dt?.importDialogProps"
1574
1569
  >
1575
1570
  <q-card class="q-dialog-plugin">
1576
1571
  <q-card-section>
@@ -1627,12 +1622,19 @@ defineExpose({
1627
1622
  v-bind="pluginOptions.dt?.formDialogProps"
1628
1623
  >
1629
1624
  <q-card class="q-dialog-plugin">
1630
- <div class="m-form__container full-height no-wrap">
1625
+ <MContainer
1626
+ dense
1627
+ fluid
1628
+ >
1631
1629
  <form
1632
1630
  class="m-form column full-height justify-between no-wrap"
1633
1631
  @submit="defaultSubmitItem"
1634
1632
  >
1635
- <q-card class="m-dialog-card">
1633
+ <q-card
1634
+ class="m-dialog-card"
1635
+ flat
1636
+ square
1637
+ >
1636
1638
  <q-card-section ref="formTitle">
1637
1639
  <q-toolbar :class="['m-container__fluid', {'q-pa-none': isSmall}]">
1638
1640
  <slot
@@ -1747,7 +1749,7 @@ defineExpose({
1747
1749
  </q-card-actions>
1748
1750
  </q-card>
1749
1751
  </form>
1750
- </div>
1752
+ </MContainer>
1751
1753
  </q-card>
1752
1754
  </MDialog>
1753
1755
 
@@ -1756,49 +1758,48 @@ defineExpose({
1756
1758
  v-model="showDialogModel"
1757
1759
  v-bind="pluginOptions.dt?.showDialogProps"
1758
1760
  >
1759
- <q-card class="m-dialog-card">
1760
- <q-card-section ref="showTitleRef">
1761
- <q-toolbar>
1762
- <q-toolbar-title>
1763
- <q-btn
1764
- :icon="`ion-ios-arrow-${$q.lang.rtl ? 'forward' : 'back'}`"
1765
- fab-mini
1766
- flat
1767
- @click="closeShowDialog()"
1768
- >
1769
- <q-tooltip class="m-dt-btn-tooltip">
1770
- {{ __('myth.titles.back') }}
1771
- </q-tooltip>
1772
- </q-btn>
1773
- {{ getShowTitle }}
1774
- </q-toolbar-title>
1775
- </q-toolbar>
1776
- </q-card-section>
1777
- <q-separator />
1778
- <q-card-section
1779
- :style="`height: ${($q.screen.height || 100) - 3 - (($refs.showActionsRef as any)?.$el?.offsetHeight || 60) - (($refs.showTitleRef as any)?.$el?.offsetHeight || 80)}px`"
1780
- class="scroll m-datatable__dialog-show-container"
1781
- >
1782
- <slot
1783
- :dt="datatableItemsScope"
1784
- :form="useFormContext"
1785
- :index="dialogItemIndex"
1786
- :item="dialogItem"
1787
- name="show"
1788
- />
1789
- </q-card-section>
1790
- <q-separator />
1791
- <q-card-actions
1792
- ref="showActionsRef"
1793
- align="left"
1794
- class="print-hide"
1761
+ <q-card
1762
+ class="m-dialog-card q-dialog-plugin"
1763
+ flat
1764
+ >
1765
+ <MContainer
1766
+ dense
1767
+ fluid
1795
1768
  >
1796
- <MBtn
1797
- label="myth.titles.close"
1798
- v-bind="pluginOptions.dt?.dialogButtonsProps"
1799
- @click="closeShowDialog"
1800
- />
1801
- </q-card-actions>
1769
+ <q-card flat>
1770
+ <q-card-section ref="showTitleRef">
1771
+ <q-toolbar>
1772
+ <q-toolbar-title>
1773
+ {{ getShowTitle }}
1774
+ </q-toolbar-title>
1775
+ <q-btn
1776
+ flat
1777
+ icon="close"
1778
+ padding="3px"
1779
+ text-color="body"
1780
+ @click="closeShowDialog"
1781
+ >
1782
+ <q-tooltip class="m-dt-btn-tooltip">
1783
+ {{ __('myth.titles.close') }}
1784
+ </q-tooltip>
1785
+ </q-btn>
1786
+ </q-toolbar>
1787
+ </q-card-section>
1788
+ <q-separator />
1789
+ <q-card-section
1790
+ :style="`height: ${($q.screen.height || 100) - 84 }px`"
1791
+ class="scroll m-datatable__dialog-show-container"
1792
+ >
1793
+ <slot
1794
+ :dt="datatableItemsScope"
1795
+ :form="useFormContext"
1796
+ :index="dialogItemIndex"
1797
+ :item="dialogItem"
1798
+ name="show"
1799
+ />
1800
+ </q-card-section>
1801
+ </q-card>
1802
+ </MContainer>
1802
1803
  </q-card>
1803
1804
  </MDialog>
1804
1805
 
@@ -220,6 +220,7 @@ export interface MythComponentsProps {
220
220
  filterDialogProps?: Partial<QDialogProps> & Partial<QMenuProps> & Partial<QPopupProxyProps>;
221
221
  showDialogProps?: Partial<QDialogProps>;
222
222
  formDialogProps?: Partial<QDialogProps>;
223
+ importDialogProps?: Partial<QDialogProps>;
223
224
  fabBtn?: {
224
225
  pageStickyProps?: Partial<QPageStickyProps>;
225
226
  offset?: QPageStickyProps['offset'];