quasar-ui-danx 0.3.12 → 0.3.21

Sign up to get free protection for your applications and to get access to all the features.
package/dist/danx.es.js CHANGED
@@ -16155,6 +16155,7 @@ const Uw = { class: "flex items-center" }, Rw = { key: 0 }, Bw = { class: "flex-
16155
16155
  type: String,
16156
16156
  default: "Waiting for location..."
16157
16157
  },
16158
+ cameraOnly: Boolean,
16158
16159
  geolocation: Boolean
16159
16160
  },
16160
16161
  emits: [
@@ -16188,13 +16189,14 @@ const Uw = { class: "flex items-center" }, Rw = { key: 0 }, Bw = { class: "flex-
16188
16189
  k(v(Tb), { class: "w-5 mr-2" }),
16189
16190
  q(" " + P(t.text), 1)
16190
16191
  ]),
16192
+ q(" " + P("accept: " + (t.geolocation && t.cameraOnly ? "image/*;capture=camera" : void 0)) + " ", 1),
16191
16193
  A("input", {
16192
16194
  ref_key: "fileUpload",
16193
16195
  ref: o,
16194
16196
  "data-testid": "file-upload",
16195
16197
  type: "file",
16196
- accept: t.geolocation ? "image/*;capture=camera" : void 0,
16197
- capture: t.geolocation ? "environment" : void 0,
16198
+ accept: t.geolocation && t.cameraOnly ? "image/*;capture=camera" : void 0,
16199
+ capture: t.geolocation && t.cameraOnly ? "environment" : void 0,
16198
16200
  class: "hidden",
16199
16201
  multiple: "",
16200
16202
  onChange: l
@@ -19377,7 +19379,7 @@ const qS = {
19377
19379
  });
19378
19380
  };
19379
19381
  }
19380
- }, gT = "quasar-ui-danx", bT = "0.3.12", xT = "Dan <dan@flytedesk.com>", yT = "DanX Vue / Quasar component library", vT = "MIT", wT = "module", ST = "dist/danx.es.js", TT = "dist/danx.es.js", CT = {
19382
+ }, gT = "quasar-ui-danx", bT = "0.3.21", xT = "Dan <dan@flytedesk.com>", yT = "DanX Vue / Quasar component library", vT = "MIT", wT = "module", ST = "dist/danx.es.js", TT = "dist/danx.es.js", CT = {
19381
19383
  dev: "cd dev && quasar dev && cd ..",
19382
19384
  build: "vite build",
19383
19385
  preview: "vite preview",