quasar-ui-danx 0.0.35 → 0.0.36

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quasar-ui-danx",
3
- "version": "0.0.35",
3
+ "version": "0.0.36",
4
4
  "author": "Dan <dan@flytedesk.com>",
5
5
  "description": "DanX Vue / Quasar component library",
6
6
  "license": "MIT",
@@ -252,10 +252,10 @@ export function useListActions(name: string, {
252
252
  return result;
253
253
  }
254
254
 
255
- // The active ad for viewing / editing in the Ad Form
255
+ // The active ad for viewing / editing
256
256
  const activeItem = ref(null);
257
- // Controls the tab on the Ad Form
258
- const formTab = ref("general");
257
+ // Controls the active panel (ie: tab) if rendering a panels drawer or similar
258
+ const activePanel = ref(null);
259
259
 
260
260
  /**
261
261
  * Gets the additional details for the currently active item.
@@ -293,7 +293,7 @@ export function useListActions(name: string, {
293
293
  */
294
294
  function openItemForm(item, tab) {
295
295
  activeItem.value = item;
296
- formTab.value = tab;
296
+ activePanel.value = tab;
297
297
  }
298
298
 
299
299
  /**
@@ -357,7 +357,7 @@ export function useListActions(name: string, {
357
357
  quasarPagination,
358
358
  isApplyingActionToItem,
359
359
  activeItem,
360
- formTab,
360
+ activePanel,
361
361
 
362
362
  // Actions
363
363
  initialize,