@simsustech/quasar-components 0.10.2 → 0.10.4

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @simsustech/quasar-components
2
2
 
3
+ ## 0.10.4
4
+
5
+ ### Patch Changes
6
+
7
+ - c88c7bc: feat(EmailInput): add link to toolbar
8
+
9
+ ## 0.10.3
10
+
11
+ ### Patch Changes
12
+
13
+ - 78e60c4: fix(QSubmitButton): set loading prop default to undefined
14
+
3
15
  ## 0.10.2
4
16
 
5
17
  ### Patch Changes
@@ -46,7 +46,7 @@ const __default__ = {
46
46
  const _sfc_main = /* @__PURE__ */ defineComponent({
47
47
  ...__default__,
48
48
  props: {
49
- loading: { type: Boolean },
49
+ loading: { type: Boolean, default: void 0 },
50
50
  useForm: { type: Boolean },
51
51
  type: { default: "submit" },
52
52
  isNextButton: { type: Boolean },
@@ -1,6 +1,6 @@
1
1
  import { useQuasar, QForm, QInput, QStep, QStepperNavigation, QStepper, QIcon, QBtn, QSlider, QItemSection, QItem, QList, QMenu, QTable, QTh, QTr, QSelect, QTd, QItemLabel } from "quasar";
2
2
  import { ref, defineComponent, watch, computed, openBlock, createBlock, unref, mergeProps, withCtx, createVNode, renderSlot, toRef, createCommentVNode, createElementBlock, Fragment, renderList, createTextVNode, toDisplayString, toRefs, createElementVNode } from "vue";
3
- import { _ as _sfc_main$d } from "./QSubmitButton.vue_vue_type_script_setup_true_lang-Dh9w-oNX.js";
3
+ import { _ as _sfc_main$d } from "./QSubmitButton.vue_vue_type_script_setup_true_lang-DWleuHVF.js";
4
4
  const lang$1 = {
5
5
  isoName: "en-US",
6
6
  myAccount: "Account",
package/dist/form.js CHANGED
@@ -701,6 +701,12 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
701
701
  }, null, 8, ["placeholder", "model-value"]),
702
702
  createVNode(unref(QEditor), {
703
703
  "model-value": _ctx.body,
704
+ toolbar: [
705
+ ["left", "center", "right", "justify"],
706
+ ["bold", "italic", "underline", "strike"],
707
+ ["undo", "redo"],
708
+ ["link"]
709
+ ],
704
710
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => emit("update:body", $event))
705
711
  }, null, 8, ["model-value"])
706
712
  ], 64);
package/dist/general.js CHANGED
@@ -1,4 +1,4 @@
1
- import { l as loadLang, u as useLang, _ as _sfc_main$5 } from "./QSubmitButton.vue_vue_type_script_setup_true_lang-Dh9w-oNX.js";
1
+ import { l as loadLang, u as useLang, _ as _sfc_main$5 } from "./QSubmitButton.vue_vue_type_script_setup_true_lang-DWleuHVF.js";
2
2
  import { useQuasar, QCard, QCardSection, QCardActions, QDialog, QBtn, QToolbarTitle, QToolbar, QHeader, QPage, QPageContainer, QLayout, QPageSticky, QSelect, QItemSection, QItemLabel, QItem, QList } from "quasar";
3
3
  import { defineComponent, watch, ref, openBlock, createBlock, unref, withCtx, renderSlot, createVNode, createElementVNode, normalizeProps, guardReactiveProps, normalizeClass, createCommentVNode, toRefs, useAttrs, computed, mergeProps, createTextVNode, toDisplayString } from "vue";
4
4
  import { e as enUs, n as nl } from "./en-US-BEeILC7o.js";
@@ -8,6 +8,7 @@ export interface Props {
8
8
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
9
9
  type: string;
10
10
  color: string;
11
+ loading: undefined;
11
12
  }>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
12
13
  submit: (args_0: {
13
14
  value?: string | undefined;
@@ -16,6 +17,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
16
17
  }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
17
18
  type: string;
18
19
  color: string;
20
+ loading: undefined;
19
21
  }>>> & {
20
22
  onSubmit?: ((args_0: {
21
23
  value?: string | undefined;
@@ -24,6 +26,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
24
26
  }, {
25
27
  type: "submit" | "next" | "send";
26
28
  color: string;
29
+ loading: boolean;
27
30
  }, {}>, {
28
31
  default?(_: {}): any;
29
32
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simsustech/quasar-components",
3
- "version": "0.10.2",
3
+ "version": "0.10.4",
4
4
  "author": "Stefan van Herwijnen",
5
5
  "description": "High level components for Quasar Framework",
6
6
  "license": "MIT",
@@ -8,6 +8,12 @@
8
8
  />
9
9
  <q-editor
10
10
  :model-value="body"
11
+ :toolbar="[
12
+ ['left', 'center', 'right', 'justify'],
13
+ ['bold', 'italic', 'underline', 'strike'],
14
+ ['undo', 'redo'],
15
+ ['link']
16
+ ]"
11
17
  @update:model-value="($event) => emit('update:body', $event)"
12
18
  />
13
19
  </template>
@@ -32,7 +32,8 @@ export interface Props {
32
32
  }
33
33
  const props = withDefaults(defineProps<Props>(), {
34
34
  type: 'submit',
35
- color: 'primary'
35
+ color: 'primary',
36
+ loading: undefined
36
37
  })
37
38
 
38
39
  const { type, isNextButton } = toRefs(props)