tiddy 2.8.1 → 2.8.2

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/dist/index.css CHANGED
@@ -6,7 +6,7 @@
6
6
  white-space: nowrap;
7
7
  }
8
8
  .el-form-item .el-form-item[data-v-2fcd0e45] {
9
- margin-bottom: 18px;
9
+ margin-bottom: var(--nest-form-item-margin-bottom, 18px);
10
10
  }
11
11
  .el-form-item:not(.layout-form-item) .el-form-item[data-v-2fcd0e45] {
12
12
  margin-bottom: 0;
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import * as vue47 from "vue";
1
+ import * as vue32 from "vue";
2
2
  import { AllowedComponentProps, CSSProperties, Component, ComputedRef, DefineComponent, Directive, ExtractPublicPropTypes, HTMLAttributes, PropType, Raw, Ref, Slot } from "vue";
3
3
  import * as element_plus0 from "element-plus";
4
4
  import { DialogInstance, DialogProps, FormInstance, FormItemProp, FormItemProps, FormItemRule, FormProps, SelectInstance, TableColumnInstance, TableInstance } from "element-plus";
@@ -291,7 +291,7 @@ declare function isValidateError(prop: string): boolean;
291
291
  declare const expose$1: {
292
292
  reValidateErrorFields: typeof reValidateErrorFields;
293
293
  isValidateError: typeof isValidateError;
294
- model: vue47.ComputedRef<unknown>;
294
+ model: vue32.ComputedRef<unknown>;
295
295
  };
296
296
  type __TdFormExpose = typeof expose$1 & FormInstance;
297
297
  declare var __VLS_11$2: {}, __VLS_13$1: {}, __VLS_19$1: {};
@@ -302,24 +302,24 @@ type __VLS_Slots$4 = {} & {
302
302
  } & {
303
303
  suffix?: (props: typeof __VLS_19$1) => any;
304
304
  };
305
- declare const __VLS_base$4: vue47.DefineComponent<vue47.ExtractPropTypes<{
305
+ declare const __VLS_base$4: vue32.DefineComponent<vue32.ExtractPropTypes<{
306
306
  fields: {
307
- type: vue47.PropType<TdFormFieldProps[]>;
307
+ type: vue32.PropType<TdFormFieldProps[]>;
308
308
  default: () => never[];
309
309
  };
310
310
  item: {
311
- type: vue47.PropType<element_plus0.FormItemProps>;
311
+ type: vue32.PropType<element_plus0.FormItemProps>;
312
312
  default: () => {};
313
313
  };
314
- }>, __TdFormExpose, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {
314
+ }>, __TdFormExpose, {}, {}, {}, vue32.ComponentOptionsMixin, vue32.ComponentOptionsMixin, {
315
315
  submit: (data: any) => any;
316
- }, string, vue47.PublicProps, Readonly<vue47.ExtractPropTypes<{
316
+ }, string, vue32.PublicProps, Readonly<vue32.ExtractPropTypes<{
317
317
  fields: {
318
- type: vue47.PropType<TdFormFieldProps[]>;
318
+ type: vue32.PropType<TdFormFieldProps[]>;
319
319
  default: () => never[];
320
320
  };
321
321
  item: {
322
- type: vue47.PropType<element_plus0.FormItemProps>;
322
+ type: vue32.PropType<element_plus0.FormItemProps>;
323
323
  default: () => {};
324
324
  };
325
325
  }>> & Readonly<{
@@ -327,7 +327,7 @@ declare const __VLS_base$4: vue47.DefineComponent<vue47.ExtractPropTypes<{
327
327
  }>, {
328
328
  fields: TdFormFieldProps[];
329
329
  item: element_plus0.FormItemProps;
330
- }, {}, {}, {}, string, vue47.ComponentProvideOptions, true, {}, any>;
330
+ }, {}, {}, {}, string, vue32.ComponentProvideOptions, true, {}, any>;
331
331
  declare const __VLS_export$6: __VLS_WithSlots$4<typeof __VLS_base$4, __VLS_Slots$4>;
332
332
  declare const _default$3: typeof __VLS_export$6;
333
333
  type __VLS_WithSlots$4<T, S> = T & {
@@ -339,38 +339,38 @@ type __VLS_WithSlots$4<T, S> = T & {
339
339
  //#region src/form/form-item.vue.d.ts
340
340
  declare var __VLS_10$1: string | number, __VLS_11$1: any;
341
341
  type __VLS_Slots$3 = {} & { [K in NonNullable<typeof __VLS_10$1>]?: (props: typeof __VLS_11$1) => any };
342
- declare const __VLS_base$3: vue47.DefineComponent<vue47.ExtractPropTypes<{
342
+ declare const __VLS_base$3: vue32.DefineComponent<vue32.ExtractPropTypes<{
343
343
  messageLabel: {
344
- type: vue47.PropType<OrRef<string>>;
344
+ type: vue32.PropType<OrRef<string>>;
345
345
  default: string;
346
346
  };
347
347
  formatMessage: {
348
- type: vue47.PropType<AnyFunction>;
348
+ type: vue32.PropType<AnyFunction>;
349
349
  default: null;
350
350
  };
351
351
  hideRequiredAsterisk: {
352
- type: vue47.PropType<boolean>;
352
+ type: vue32.PropType<boolean>;
353
353
  default: boolean;
354
354
  };
355
355
  errorLayout: {
356
- type: vue47.PropType<"nowrap" | "wrap" | "expand">;
356
+ type: vue32.PropType<"nowrap" | "wrap" | "expand">;
357
357
  default: string;
358
358
  };
359
- }>, {}, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<vue47.ExtractPropTypes<{
359
+ }>, {}, {}, {}, {}, vue32.ComponentOptionsMixin, vue32.ComponentOptionsMixin, {}, string, vue32.PublicProps, Readonly<vue32.ExtractPropTypes<{
360
360
  messageLabel: {
361
- type: vue47.PropType<OrRef<string>>;
361
+ type: vue32.PropType<OrRef<string>>;
362
362
  default: string;
363
363
  };
364
364
  formatMessage: {
365
- type: vue47.PropType<AnyFunction>;
365
+ type: vue32.PropType<AnyFunction>;
366
366
  default: null;
367
367
  };
368
368
  hideRequiredAsterisk: {
369
- type: vue47.PropType<boolean>;
369
+ type: vue32.PropType<boolean>;
370
370
  default: boolean;
371
371
  };
372
372
  errorLayout: {
373
- type: vue47.PropType<"nowrap" | "wrap" | "expand">;
373
+ type: vue32.PropType<"nowrap" | "wrap" | "expand">;
374
374
  default: string;
375
375
  };
376
376
  }>> & Readonly<{}>, {
@@ -378,7 +378,7 @@ declare const __VLS_base$3: vue47.DefineComponent<vue47.ExtractPropTypes<{
378
378
  messageLabel: OrRef<string>;
379
379
  formatMessage: AnyFunction;
380
380
  errorLayout: "wrap" | "nowrap" | "expand";
381
- }, {}, {}, {}, string, vue47.ComponentProvideOptions, true, {}, any>;
381
+ }, {}, {}, {}, string, vue32.ComponentProvideOptions, true, {}, any>;
382
382
  declare const __VLS_export$5: __VLS_WithSlots$3<typeof __VLS_base$3, __VLS_Slots$3>;
383
383
  declare const _default$5: typeof __VLS_export$5;
384
384
  type __VLS_WithSlots$3<T, S> = T & {
@@ -388,7 +388,7 @@ type __VLS_WithSlots$3<T, S> = T & {
388
388
  };
389
389
  //#endregion
390
390
  //#region src/form/form-field.vue.d.ts
391
- declare const __VLS_export$4: vue47.DefineComponent<{}, {}, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue47.ComponentProvideOptions, true, {}, any>;
391
+ declare const __VLS_export$4: vue32.DefineComponent<{}, {}, {}, {}, {}, vue32.ComponentOptionsMixin, vue32.ComponentOptionsMixin, {}, string, vue32.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue32.ComponentProvideOptions, true, {}, any>;
392
392
  declare const _default$4: typeof __VLS_export$4;
393
393
  //#endregion
394
394
  //#region src/form/index.d.ts
@@ -436,19 +436,19 @@ type __VLS_Slots$2 = {} & { [K in NonNullable<typeof __VLS_16>]?: (props: typeof
436
436
  } & {
437
437
  after?: (props: typeof __VLS_19) => any;
438
438
  };
439
- declare const __VLS_base$2: vue47.DefineComponent<vue47.ExtractPropTypes<{
439
+ declare const __VLS_base$2: vue32.DefineComponent<vue32.ExtractPropTypes<{
440
440
  columns: {
441
- type: vue47.PropType<TdTableColumnProps[]>;
441
+ type: vue32.PropType<TdTableColumnProps[]>;
442
442
  default: () => never[];
443
443
  };
444
- }>, TableInstance, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<vue47.ExtractPropTypes<{
444
+ }>, TableInstance, {}, {}, {}, vue32.ComponentOptionsMixin, vue32.ComponentOptionsMixin, {}, string, vue32.PublicProps, Readonly<vue32.ExtractPropTypes<{
445
445
  columns: {
446
- type: vue47.PropType<TdTableColumnProps[]>;
446
+ type: vue32.PropType<TdTableColumnProps[]>;
447
447
  default: () => never[];
448
448
  };
449
449
  }>> & Readonly<{}>, {
450
450
  columns: TdTableColumnProps[];
451
- }, {}, {}, {}, string, vue47.ComponentProvideOptions, true, {}, any>;
451
+ }, {}, {}, {}, string, vue32.ComponentProvideOptions, true, {}, any>;
452
452
  declare const __VLS_export$3: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
453
453
  declare const _default$6: typeof __VLS_export$3;
454
454
  type __VLS_WithSlots$2<T, S> = T & {
@@ -458,55 +458,55 @@ type __VLS_WithSlots$2<T, S> = T & {
458
458
  };
459
459
  //#endregion
460
460
  //#region src/table/table-col.vue.d.ts
461
- declare const __VLS_export$2: vue47.DefineComponent<vue47.ExtractPropTypes<{
461
+ declare const __VLS_export$2: vue32.DefineComponent<vue32.ExtractPropTypes<{
462
462
  slots: {
463
- type: vue47.PropType<OrArray<SlotDef>>;
463
+ type: vue32.PropType<OrArray<SlotDef>>;
464
464
  default: null;
465
465
  };
466
466
  columns: {
467
- type: vue47.PropType<TdTableColumnProps[]>;
467
+ type: vue32.PropType<TdTableColumnProps[]>;
468
468
  default: () => never[];
469
469
  };
470
470
  transform: {
471
- type: vue47.PropType<AnyFunction[]>;
471
+ type: vue32.PropType<AnyFunction[]>;
472
472
  default: () => never[];
473
473
  };
474
474
  hide: {
475
- type: vue47.PropType<boolean | vue47.Ref<boolean>>;
475
+ type: vue32.PropType<boolean | vue32.Ref<boolean>>;
476
476
  default: false;
477
477
  };
478
478
  dangerouslyUseHTMLString: {
479
- type: vue47.PropType<boolean | vue47.Ref<boolean>>;
479
+ type: vue32.PropType<boolean | vue32.Ref<boolean>>;
480
480
  default: false;
481
481
  };
482
- }>, {}, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<vue47.ExtractPropTypes<{
482
+ }>, {}, {}, {}, {}, vue32.ComponentOptionsMixin, vue32.ComponentOptionsMixin, {}, string, vue32.PublicProps, Readonly<vue32.ExtractPropTypes<{
483
483
  slots: {
484
- type: vue47.PropType<OrArray<SlotDef>>;
484
+ type: vue32.PropType<OrArray<SlotDef>>;
485
485
  default: null;
486
486
  };
487
487
  columns: {
488
- type: vue47.PropType<TdTableColumnProps[]>;
488
+ type: vue32.PropType<TdTableColumnProps[]>;
489
489
  default: () => never[];
490
490
  };
491
491
  transform: {
492
- type: vue47.PropType<AnyFunction[]>;
492
+ type: vue32.PropType<AnyFunction[]>;
493
493
  default: () => never[];
494
494
  };
495
495
  hide: {
496
- type: vue47.PropType<boolean | vue47.Ref<boolean>>;
496
+ type: vue32.PropType<boolean | vue32.Ref<boolean>>;
497
497
  default: false;
498
498
  };
499
499
  dangerouslyUseHTMLString: {
500
- type: vue47.PropType<boolean | vue47.Ref<boolean>>;
500
+ type: vue32.PropType<boolean | vue32.Ref<boolean>>;
501
501
  default: false;
502
502
  };
503
503
  }>> & Readonly<{}>, {
504
504
  slots: OrArray<SlotDef>;
505
- hide: boolean | vue47.Ref<boolean, boolean>;
505
+ hide: boolean | vue32.Ref<boolean, boolean>;
506
506
  columns: TdTableColumnProps[];
507
507
  transform: AnyFunction[];
508
- dangerouslyUseHTMLString: boolean | vue47.Ref<boolean, boolean>;
509
- }, {}, {}, {}, string, vue47.ComponentProvideOptions, true, {}, any>;
508
+ dangerouslyUseHTMLString: boolean | vue32.Ref<boolean, boolean>;
509
+ }, {}, {}, {}, string, vue32.ComponentProvideOptions, true, {}, any>;
510
510
  declare const _default$7: typeof __VLS_export$2;
511
511
  //#endregion
512
512
  //#region src/table/index.d.ts
@@ -539,7 +539,7 @@ declare var __VLS_13: "default" | "footer" | "header" | "title", __VLS_14: {
539
539
  titleClass?: string | undefined;
540
540
  };
541
541
  type __VLS_Slots$1 = {} & { [K in NonNullable<typeof __VLS_13>]?: (props: typeof __VLS_14) => any };
542
- declare const __VLS_base$1: vue47.DefineComponent<{}, __TdDialogExpose, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue47.ComponentProvideOptions, true, {}, any>;
542
+ declare const __VLS_base$1: vue32.DefineComponent<{}, __TdDialogExpose, {}, {}, {}, vue32.ComponentOptionsMixin, vue32.ComponentOptionsMixin, {}, string, vue32.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue32.ComponentProvideOptions, true, {}, any>;
543
543
  declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
544
544
  declare const _default: typeof __VLS_export$1;
545
545
  type __VLS_WithSlots$1<T, S> = T & {
@@ -578,7 +578,7 @@ type __VLS_Props = {
578
578
  };
579
579
  declare var __VLS_10: string | number, __VLS_11: any;
580
580
  type __VLS_Slots = {} & { [K in NonNullable<typeof __VLS_10>]?: (props: typeof __VLS_11) => any };
581
- declare const __VLS_base: vue47.DefineComponent<__VLS_Props, SelectInstance, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, vue47.ComponentProvideOptions, false, {}, any>;
581
+ declare const __VLS_base: vue32.DefineComponent<__VLS_Props, SelectInstance, {}, {}, {}, vue32.ComponentOptionsMixin, vue32.ComponentOptionsMixin, {}, string, vue32.PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, vue32.ComponentProvideOptions, false, {}, any>;
582
582
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
583
583
  declare const _default$2: typeof __VLS_export;
584
584
  type __VLS_WithSlots<T, S> = T & {
@@ -598,7 +598,7 @@ interface DirectiveConfig {
598
598
  modifiers?: Record<string, boolean>;
599
599
  enable?: boolean;
600
600
  }
601
- declare const _default$1: vue47.DefineComponent<vue47.ExtractPropTypes<{
601
+ declare const _default$1: vue32.DefineComponent<vue32.ExtractPropTypes<{
602
602
  directives: {
603
603
  type: () => DirectiveConfig[];
604
604
  default: () => never[];
@@ -611,11 +611,11 @@ declare const _default$1: vue47.DefineComponent<vue47.ExtractPropTypes<{
611
611
  type: StringConstructor;
612
612
  default: string;
613
613
  };
614
- }>, () => vue47.VNode<vue47.RendererNode, vue47.RendererElement, {
614
+ }>, () => vue32.VNode<vue32.RendererNode, vue32.RendererElement, {
615
615
  [key: string]: any;
616
- }> | vue47.VNode<vue47.RendererNode, vue47.RendererElement, {
616
+ }> | vue32.VNode<vue32.RendererNode, vue32.RendererElement, {
617
617
  [key: string]: any;
618
- }>[], {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<vue47.ExtractPropTypes<{
618
+ }>[], {}, {}, {}, vue32.ComponentOptionsMixin, vue32.ComponentOptionsMixin, {}, string, vue32.PublicProps, Readonly<vue32.ExtractPropTypes<{
619
619
  directives: {
620
620
  type: () => DirectiveConfig[];
621
621
  default: () => never[];
@@ -632,13 +632,13 @@ declare const _default$1: vue47.DefineComponent<vue47.ExtractPropTypes<{
632
632
  directives: DirectiveConfig[];
633
633
  wrap: boolean;
634
634
  tag: string;
635
- }, {}, {}, {}, string, vue47.ComponentProvideOptions, true, {}, any>;
635
+ }, {}, {}, {}, string, vue32.ComponentProvideOptions, true, {}, any>;
636
636
  //#endregion
637
637
  //#region src/hooks/use-reuse.d.ts
638
- declare function useReuse(): (vue47.DefineComponent<{}, () => null, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue47.ComponentProvideOptions, true, {}, any> | vue47.DefineComponent<{}, () => vue47.VNode<vue47.RendererNode, vue47.RendererElement, {
638
+ declare function useReuse(): (vue32.DefineComponent<{}, () => null, {}, {}, {}, vue32.ComponentOptionsMixin, vue32.ComponentOptionsMixin, {}, string, vue32.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue32.ComponentProvideOptions, true, {}, any> | vue32.DefineComponent<{}, () => vue32.VNode<vue32.RendererNode, vue32.RendererElement, {
639
639
  [key: string]: any;
640
- }>[] | undefined, {}, {}, {}, vue47.ComponentOptionsMixin, vue47.ComponentOptionsMixin, {}, string, vue47.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue47.ComponentProvideOptions, true, {}, any> | vue47.ComputedRef<Readonly<{
641
- [name: string]: vue47.Slot<any> | undefined;
640
+ }>[] | undefined, {}, {}, {}, vue32.ComponentOptionsMixin, vue32.ComponentOptionsMixin, {}, string, vue32.PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, vue32.ComponentProvideOptions, true, {}, any> | vue32.ComputedRef<Readonly<{
641
+ [name: string]: vue32.Slot<any> | undefined;
642
642
  }>>)[];
643
643
  //#endregion
644
644
  //#region src/utils/index.d.ts
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Fragment, Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, h, inject, isRef, isVNode, markRaw, mergeProps, normalizeClass, normalizeProps, normalizeStyle, onMounted, onUnmounted, openBlock, provide, reactive, ref, renderList, renderSlot, resolveComponent, resolveDynamicComponent, shallowRef, toDisplayString, toHandlers, toRaw, toRef, unref, useAttrs, useSlots, useTemplateRef, withCtx, withDirectives, withModifiers } from "vue";
2
2
  import { ElDialog, ElForm, ElFormItem, ElSelect, ElTable, ElTableColumn, useNamespace } from "element-plus";
3
- import { cut, ensureArray, getDeepValue, groupBy, isFunction, isNullOrUndef, isObject, isString, pick, setDeepValue, toCamelCase, toKebabCase, uid } from "yatter";
3
+ import { cut, ensureArray, getDeepValue, groupBy, isFunction, isNullOrUndef, isObject, isString, pick, setDeepValue, toCamelCase, toCssVars, toKebabCase, uid } from "yatter";
4
4
 
5
5
  //#region src/utils/index.ts
6
6
  function getSlotsFactory(slots) {
@@ -372,6 +372,8 @@ var form_item_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defi
372
372
  }
373
373
  }));
374
374
  let lastErrorHeight = 0;
375
+ const initMarginBottom = ref(18);
376
+ const cssVars = computed(() => toCssVars({ nestFormItemMarginBottom: `${initMarginBottom.value}px` }));
375
377
  const observer = new ResizeObserver((entries) => {
376
378
  for (const entry of entries) if (lastErrorHeight !== entry.contentRect.height) {
377
379
  lastErrorHeight = entry.contentRect.height;
@@ -379,7 +381,7 @@ var form_item_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defi
379
381
  }
380
382
  });
381
383
  function setFormItemMarginBottom(el, height) {
382
- const marginBottom = `${Math.max(height + 6, 18)}px`;
384
+ const marginBottom = `${Math.max(height + 6, initMarginBottom.value)}px`;
383
385
  el.closest(".td-form-item").style.marginBottom = marginBottom;
384
386
  }
385
387
  const vErrorLayout = {
@@ -399,11 +401,14 @@ var form_item_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defi
399
401
  onUnmounted(() => {
400
402
  observer.disconnect();
401
403
  });
404
+ onMounted(() => {
405
+ initMarginBottom.value = formItemRef.value.$el.classList.contains("el-form-item--large") ? 22 : 18;
406
+ });
402
407
  return (_ctx, _cache) => {
403
408
  return openBlock(), createBlock(unref(ElFormItem), mergeProps({
404
409
  ref: "formItem",
405
410
  class: [{ "hide-asterisk": _ctx.hideRequiredAsterisk }, "td-form-item"]
406
- }, itemAttr.value), createSlots({
411
+ }, itemAttr.value, { style: cssVars.value }), createSlots({
407
412
  error: withCtx((scope) => [createVNode(unref(dynamic_directive_default), { directives: directives.value }, {
408
413
  default: withCtx(() => [createElementVNode("div", { class: normalizeClass([unref(validateClass), { "td-form-item__error-oneline": _ctx.errorLayout === "nowrap" }]) }, toDisplayString(innerFormatMessage(scope.error)), 3)]),
409
414
  _: 2
@@ -414,7 +419,7 @@ var form_item_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defi
414
419
  name: k,
415
420
  fn: withCtx((scope) => [renderSlot(_ctx.$slots, k, normalizeProps(guardReactiveProps(scope)), void 0, true)])
416
421
  };
417
- })]), 1040, ["class"]);
422
+ })]), 1040, ["class", "style"]);
418
423
  };
419
424
  }
420
425
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tiddy",
3
- "version": "2.8.1",
3
+ "version": "2.8.2",
4
4
  "packageManager": "pnpm@10.11.0",
5
5
  "description": "A set of Vue 3 components based on element-plus",
6
6
  "type": "module",