@mythpe/quasar-ui-qui 0.1.21 → 0.1.23

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.1.21",
3
+ "version": "0.1.23",
4
4
  "description": "MyTh Quasar UI Kit App Extension",
5
5
  "author": {
6
6
  "name": "MyTh Ahmed Faiz",
@@ -434,13 +434,13 @@ defineExpose({
434
434
  context-menu
435
435
  position="standard"
436
436
  touch-position
437
- v-bind="pluginOptions.dt?.contextmenu?.menu"
437
+ v-bind="pluginOptions.dt?.contextmenu?.menu as any"
438
438
  >
439
439
  <q-list
440
440
  v-if="dialogItem"
441
441
  :separator="!isSmall"
442
442
  style="min-width: 280px;"
443
- v-bind="pluginOptions.dt?.contextmenu?.list"
443
+ v-bind="pluginOptions.dt?.contextmenu?.list as any"
444
444
  >
445
445
  <template
446
446
  v-for="(contextmenuItem,i) in contextmenuItems"
@@ -452,7 +452,7 @@ defineExpose({
452
452
  :dense="dense === undefined ? (theme.buttons.dense !== undefined ? theme.buttons.dense : pluginOptions.datatable?.dense) : dense"
453
453
  :label="contextmenuItem.contextLabel !== undefined ? (contextmenuItem.contextLabel === null ? undefined : __(contextmenuItem.contextLabel)) : __(contextmenuItem.label || contextmenuItem.name) "
454
454
  list-item
455
- v-bind="contextmenuItem.attr"
455
+ v-bind="contextmenuItem.attr as any"
456
456
  @click="contextmenuItem.click ? contextmenuItem.click(dialogItem,dialogItemIndex) : undefined"
457
457
  />
458
458
  </template>
@@ -694,7 +694,7 @@ defineExpose({
694
694
  label="labels.search"
695
695
  name="search"
696
696
  outlined
697
- v-bind="pluginOptions.dt?.searchInput?.props"
697
+ v-bind="pluginOptions.dt?.searchInput?.props as any"
698
698
  >
699
699
  <template #prepend>
700
700
  <q-icon
@@ -723,7 +723,7 @@ defineExpose({
723
723
  dense
724
724
  flat
725
725
  round
726
- v-bind="pluginOptions.dt?.searchInput?.menuBtn"
726
+ v-bind="pluginOptions.dt?.searchInput?.menuBtn as any"
727
727
  >
728
728
  <MModalMenu
729
729
  :offset="[10,10]"
@@ -791,7 +791,7 @@ defineExpose({
791
791
  v-if="pdf && getRows.length > 0"
792
792
  icon="fa-solid fa-file-pdf"
793
793
  text-color="red"
794
- v-bind="{...defaultTopBtnProps,...pluginOptions.dt?.buttons?.filter}"
794
+ v-bind="{...defaultTopBtnProps,...pluginOptions.dt?.buttons?.filter as any}"
795
795
  @click="exportData('pdf')"
796
796
  >
797
797
  <q-tooltip class="m--dt-btn-tooltip">
@@ -804,7 +804,7 @@ defineExpose({
804
804
  v-if="excel && getRows.length > 0"
805
805
  icon="fa-solid fa-file-excel"
806
806
  text-color="green"
807
- v-bind="{...defaultTopBtnProps,...pluginOptions.dt?.buttons?.filter}"
807
+ v-bind="{...defaultTopBtnProps,...pluginOptions.dt?.buttons?.filter as any}"
808
808
  @click="exportData('excel')"
809
809
  >
810
810
  <q-tooltip class="m--dt-btn-tooltip">
@@ -819,14 +819,14 @@ defineExpose({
819
819
  icon="o_filter_alt"
820
820
  label="myth.datatable.hints.filter"
821
821
  tooltip="myth.datatable.hints.filter"
822
- v-bind="{...defaultTopBtnProps,...pluginOptions.dt?.buttons?.filter}"
822
+ v-bind="{...defaultTopBtnProps,...pluginOptions.dt?.buttons?.filter as any}"
823
823
  @click="openFilterDialog()"
824
824
  >
825
825
  <MModalMenu
826
826
  no-close-btn
827
827
  persistent
828
828
  position="top"
829
- v-bind="pluginOptions.dt?.filterDialogProps"
829
+ v-bind="pluginOptions.dt?.filterDialogProps as any"
830
830
  >
831
831
  <q-card
832
832
  :style="$q.screen.gt.sm?`width: ${Math.ceil($q.screen.width/2)}px` : undefined"
@@ -869,7 +869,7 @@ defineExpose({
869
869
  :label="__('myth.datatable.filter.cancel')"
870
870
  color="negative"
871
871
  flat
872
- v-bind="pluginOptions.dt?.dialogButtonsProps"
872
+ v-bind="pluginOptions.dt?.dialogButtonsProps as any"
873
873
  @click="closeFilterDialog"
874
874
  />
875
875
  <MBtn
@@ -877,7 +877,7 @@ defineExpose({
877
877
  :label="__('myth.datatable.filter.save')"
878
878
  color="positive"
879
879
  flat
880
- v-bind="pluginOptions.dt?.dialogButtonsProps"
880
+ v-bind="pluginOptions.dt?.dialogButtonsProps as any"
881
881
  @click="saveFilterDialog"
882
882
  />
883
883
  </MRow>
@@ -895,7 +895,7 @@ defineExpose({
895
895
  :disable="loading"
896
896
  icon="ion-ios-refresh"
897
897
  tooltip="myth.datatable.hints.refresh"
898
- v-bind="{...defaultTopBtnProps,...pluginOptions.dt?.buttons?.refresh}"
898
+ v-bind="{...defaultTopBtnProps,...pluginOptions.dt?.buttons?.refresh as any}"
899
899
  @click="refreshNoUpdate()"
900
900
  />
901
901
 
@@ -906,7 +906,7 @@ defineExpose({
906
906
  :disable="loading"
907
907
  :icon="fullscreen ? 'ion-ios-contract' : 'ion-ios-desktop'"
908
908
  :tooltip="`myth.datatable.${fullscreen ? 'exitFullscreen' : 'fullscreen'}`"
909
- v-bind="{...defaultTopBtnProps,...pluginOptions.dt?.buttons?.fullscreen}"
909
+ v-bind="{...defaultTopBtnProps,...pluginOptions.dt?.buttons?.fullscreen as any}"
910
910
  @click="fullscreen = !fullscreen"
911
911
  />
912
912
  <template v-if="hasSelectedItem">
@@ -916,7 +916,7 @@ defineExpose({
916
916
  :disable="loading"
917
917
  icon="ion-ios-create"
918
918
  update
919
- v-bind="{...defaultTopBtnProps,...pluginOptions.dt?.topSelection?.btn}"
919
+ v-bind="{...defaultTopBtnProps,...pluginOptions.dt?.topSelection?.btn as any}"
920
920
  @click="openUpdateDialogNoIndex(selected[0] as any)"
921
921
  />
922
922
  <MDtBtn
@@ -925,7 +925,7 @@ defineExpose({
925
925
  :disable="loading"
926
926
  clone
927
927
  tooltip="labels.clone"
928
- v-bind="{...defaultTopBtnProps,...pluginOptions.dt?.topSelection?.btn}"
928
+ v-bind="{...defaultTopBtnProps,...pluginOptions.dt?.topSelection?.btn as any}"
929
929
  @click="onCloneItem(selected[0] as any)"
930
930
  />
931
931
  <MDtBtn
@@ -934,7 +934,7 @@ defineExpose({
934
934
  :disable="loading"
935
935
  icon="ion-ios-eye"
936
936
  show
937
- v-bind="{...defaultTopBtnProps,...pluginOptions.dt?.topSelection?.btn}"
937
+ v-bind="{...defaultTopBtnProps,...pluginOptions.dt?.topSelection?.btn as any}"
938
938
  @click="openShowDialogNoIndex(selected[0] as any)"
939
939
  />
940
940
  <MDtBtn
@@ -944,7 +944,7 @@ defineExpose({
944
944
  color="negative"
945
945
  destroy
946
946
  icon="ion-ios-trash"
947
- v-bind="{...defaultTopBtnProps,...pluginOptions.dt?.topSelection?.btn}"
947
+ v-bind="{...defaultTopBtnProps,...pluginOptions.dt?.topSelection?.btn as any}"
948
948
  @click="deleteSelectionItem()"
949
949
  />
950
950
  <template
@@ -955,7 +955,7 @@ defineExpose({
955
955
  v-if="(typeof contextBtn.showIf === 'function' ? contextBtn.showIf(selected[0],0) : contextBtn.showIf) && ( (contextBtn.click && isSingleSelectedItem) || (contextBtn.multiClick && !isSingleSelectedItem) )"
956
956
  :tooltip="contextBtn.tooltip?__(contextBtn.tooltip):(contextBtn.label?(te(`labels.${contextBtn.label}`) ?
957
957
  __(`labels.${contextBtn.label}`) : __(contextBtn.label) ):undefined)"
958
- v-bind="{...defaultTopBtnProps,...pluginOptions.dt?.topSelection?.btn,...contextBtn,...contextBtn.attr}"
958
+ v-bind="{...defaultTopBtnProps,...pluginOptions.dt?.topSelection?.btn as any,...contextBtn as any,...contextBtn.attr as any}"
959
959
  @click="onClickTopMenu(contextBtn)"
960
960
  />
961
961
  </template>
@@ -1089,7 +1089,7 @@ defineExpose({
1089
1089
  color="primary"
1090
1090
  dense
1091
1091
  outline
1092
- v-bind="pluginOptions.dt?.controlDropdown"
1092
+ v-bind="pluginOptions.dt?.controlDropdown as any"
1093
1093
  >
1094
1094
  <q-list
1095
1095
  :dense="getProp('dense')"