@mythpe/quasar-ui-qui 0.4.11 → 0.4.13

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.4.11",
3
+ "version": "0.4.13",
4
4
  "description": "MyTh Quasar UI Kit App Extension",
5
5
  "author": {
6
6
  "name": "MyTh Ahmed Faiz",
@@ -43,7 +43,7 @@ defineOptions({
43
43
  :width="width"
44
44
  class="cursor-pointer"
45
45
  fit="contain"
46
- @click="openWindow(Boolean(href) ? href: src)"
46
+ @click="openWindow(href || src || '')"
47
47
  />
48
48
  </q-avatar>
49
49
  </template>
@@ -137,6 +137,10 @@ defineOptions({
137
137
  standout: undefined
138
138
  }"
139
139
  >
140
+ <slot
141
+ name="before-input"
142
+ v-bind="scopes"
143
+ />
140
144
  <q-checkbox
141
145
  ref="input"
142
146
  :model-value="value"
@@ -179,6 +183,10 @@ defineOptions({
179
183
  </slot>
180
184
  </template>
181
185
  </q-checkbox>
186
+ <slot
187
+ name="after-input"
188
+ v-bind="scopes"
189
+ />
182
190
  </q-field>
183
191
  <slot v-bind="scopes" />
184
192
  </MCol>
@@ -34,4 +34,12 @@ export type MCheckboxSlots = Omit<BaseInputsSlots & 'top-label'> & {
34
34
  * Field label.
35
35
  */
36
36
  label: () => VNode[];
37
+ /**
38
+ * VNode before checkbox main content.
39
+ */
40
+ 'before-input': () => VNode[];
41
+ /**
42
+ * VNode after checkbox main content.
43
+ */
44
+ 'after-input': () => VNode[];
37
45
  }