@bagelink/vue 0.0.1184 → 0.0.1188
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.
|
@@ -21,6 +21,8 @@ declare const _default: <T extends {
|
|
|
21
21
|
attrs: any;
|
|
22
22
|
slots: {
|
|
23
23
|
default?(_: {}): any;
|
|
24
|
+
success?(_: {}): any;
|
|
25
|
+
error?(_: {}): any;
|
|
24
26
|
submit?(_: {
|
|
25
27
|
submit: () => void;
|
|
26
28
|
isDirty: import('@vue-macros/reactivity-transform/macros.js').ComputedVariable<false> | import('@vue-macros/reactivity-transform/macros.js').ComputedVariable<true>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BagelForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/form/BagelForm.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BagelForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/form/BagelForm.vue"],"names":[],"mappings":"AAmHA,OAAO,KAAK,EAAE,gBAAgB,EAAS,MAAM,eAAe,CAAA;AAK5D,MAAM,WAAW,cAAc,CAAC,CAAC,SAAS;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAE;IAC/D,UAAU,CAAC,EAAE,CAAC,CAAA;IACd,MAAM,CAAC,EAAE,gBAAgB,CAAC,CAAC,CAAC,CAAA;IAC5B,GAAG,CAAC,EAAE,MAAM,GAAG,UAAU,CAAA;CACzB;yBAEgB,CAAC,SAAS;IAAC,CAAC,GAAG,EAAC,MAAM,GAAE,GAAG,CAAA;CAAC,eAC/B,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,OAAO,CAAC,cAClD,mBAAmB,CAAC,IAAI,CAAC,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBAC5F,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WAyL1D,mBAAmB,CAAC;;;0LAAkE,CAAC,4BAA2B;oBACzG,OAAO,KAAK,EAAE,gBAAgB;;;;MAAsB,GAAG,IAAI;WACpE,GAAG;;yBAvCkB,GAAG;yBACH,GAAG;uBACL,GAAG;;;;;YACF,GAAG;;;YA7I1B,mBAAmB,SAAS,CAAC,GAAG,IAAI;YACpC,QAAQ,SAAS,CAAC,GAAG,IAAI;;OAqLlB,OAAO,KAAK,EAAE,KAAK,GAAG;IAAE,KAAK,CAAC,EAAE,OAAO,CAAC,OAAO,WAAW,CAAC,CAAA;CAAE;AAnMzE,wBAmM4E;AAC5E,KAAK,mBAAmB,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC"}
|
package/dist/index.cjs
CHANGED
|
@@ -11654,6 +11654,8 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
|
|
|
11654
11654
|
key: field.id
|
|
11655
11655
|
});
|
|
11656
11656
|
}), 128)) : vue.renderSlot(_ctx.$slots, "default", { key: 1 }),
|
|
11657
|
+
vue.renderSlot(_ctx.$slots, "success"),
|
|
11658
|
+
vue.renderSlot(_ctx.$slots, "error"),
|
|
11657
11659
|
vue.renderSlot(_ctx.$slots, "submit", {
|
|
11658
11660
|
submit: handleSubmit,
|
|
11659
11661
|
isDirty: isDirty.value,
|
package/dist/index.mjs
CHANGED
|
@@ -11652,6 +11652,8 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
|
|
|
11652
11652
|
key: field.id
|
|
11653
11653
|
});
|
|
11654
11654
|
}), 128)) : renderSlot(_ctx.$slots, "default", { key: 1 }),
|
|
11655
|
+
renderSlot(_ctx.$slots, "success"),
|
|
11656
|
+
renderSlot(_ctx.$slots, "error"),
|
|
11655
11657
|
renderSlot(_ctx.$slots, "submit", {
|
|
11656
11658
|
submit: handleSubmit,
|
|
11657
11659
|
isDirty: isDirty.value,
|
package/package.json
CHANGED
|
@@ -101,6 +101,8 @@ defineExpose({ form, isDirty, validateForm })
|
|
|
101
101
|
</template>
|
|
102
102
|
</template>
|
|
103
103
|
<slot v-else />
|
|
104
|
+
<slot name="success" />
|
|
105
|
+
<slot name="error" />
|
|
104
106
|
<slot name="submit" :submit="handleSubmit" :isDirty="isDirty" :validateForm="validateForm" />
|
|
105
107
|
</form>
|
|
106
108
|
<template v-else>
|