@mythpe/quasar-ui-qui 0.4.10 → 0.4.12

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.10",
3
+ "version": "0.4.12",
4
4
  "description": "MyTh Quasar UI Kit App Extension",
5
5
  "author": {
6
6
  "name": "MyTh Ahmed Faiz",
@@ -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"
@@ -155,7 +159,10 @@ defineOptions({
155
159
  v-on="listeners"
156
160
  >
157
161
  <template #default>
158
- <slot v-bind="scopes">
162
+ <slot
163
+ name="label"
164
+ v-bind="scopes"
165
+ >
159
166
  <MRow
160
167
  v-if="!!getLabel || !help"
161
168
  class="items-center"
@@ -176,7 +183,12 @@ defineOptions({
176
183
  </slot>
177
184
  </template>
178
185
  </q-checkbox>
186
+ <slot
187
+ name="after-input"
188
+ v-bind="scopes"
189
+ />
179
190
  </q-field>
191
+ <slot v-bind="scopes" />
180
192
  </MCol>
181
193
  <slot
182
194
  name="after"
@@ -30,4 +30,16 @@ export type MCheckboxSlots = Omit<BaseInputsSlots & 'top-label'> & {
30
30
  * VNode after field main content.
31
31
  */
32
32
  after: () => VNode[];
33
+ /**
34
+ * Field label.
35
+ */
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[];
33
45
  }