quasar-ui-danx 0.4.84 → 0.4.86

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": "quasar-ui-danx",
3
- "version": "0.4.84",
3
+ "version": "0.4.86",
4
4
  "author": "Dan <dan@flytedesk.com>",
5
5
  "description": "DanX Vue / Quasar component library",
6
6
  "license": "MIT",
@@ -65,6 +65,7 @@ import {
65
65
  FaSolidClock as ClockIcon,
66
66
  FaSolidCodeMerge as MergeIcon,
67
67
  FaSolidCopy as CopyIcon,
68
+ FaSolidEye as ViewIcon,
68
69
  FaSolidFileExport as ExportIcon,
69
70
  FaSolidFileImport as ImportIcon,
70
71
  FaSolidFloppyDisk as SaveIcon,
@@ -81,7 +82,7 @@ import { computed, ref } from "vue";
81
82
  import { ActionTarget, ResourceAction } from "../../../types";
82
83
 
83
84
  export interface ActionButtonProps {
84
- type?: "save" | "trash" | "back" | "create" | "edit" | "copy" | "folder" | "play" | "stop" | "pause" | "refresh" | "restart" | "confirm" | "cancel" | "export" | "import" | "minus" | "merge" | "check" | "clock";
85
+ type?: "save" | "trash" | "back" | "create" | "edit" | "copy" | "folder" | "play" | "stop" | "pause" | "refresh" | "restart" | "confirm" | "cancel" | "export" | "import" | "minus" | "merge" | "check" | "clock" | "view";
85
86
  color?: "red" | "blue" | "blue-invert" | "sky" | "sky-invert" | "green" | "green-invert" | "lime" | "white" | "gray" | "slate" | "slate-invert" | "yellow" | "orange";
86
87
  size?: "xxs" | "xs" | "sm" | "md" | "lg";
87
88
  icon?: object | string;
@@ -227,6 +228,8 @@ const typeOptions = computed(() => {
227
228
  return { icon: MergeIcon };
228
229
  case "check":
229
230
  return { icon: CheckIcon };
231
+ case "view":
232
+ return { icon: ViewIcon };
230
233
  default:
231
234
  return { icon: EditIcon };
232
235
  }