3h1-ui 1.3.0 → 1.4.0

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.
Files changed (3) hide show
  1. package/es/index.js +16 -16
  2. package/lib/index.js +16 -16
  3. package/package.json +1 -1
package/es/index.js CHANGED
@@ -8004,9 +8004,9 @@ const _sfc_main$H = defineComponent({
8004
8004
  }
8005
8005
  });
8006
8006
  function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
8007
- const _component_BasicButton = resolveComponent("BasicButton");
8008
8007
  const _component_SearchOutlined = resolveComponent("SearchOutlined");
8009
8008
  const _component_Button = resolveComponent("Button");
8009
+ const _component_BasicButton = resolveComponent("BasicButton");
8010
8010
  const _component_FormItem = resolveComponent("FormItem");
8011
8011
  return _ctx.showActionButtonGroup ? (openBlock(), createElementBlock("div", {
8012
8012
  key: 0,
@@ -8014,23 +8014,9 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
8014
8014
  }, [
8015
8015
  createVNode(_component_FormItem, { class: "shy-form-action" }, {
8016
8016
  default: withCtx(() => [
8017
- renderSlot(_ctx.$slots, "resetBefore"),
8018
- _ctx.showResetButton ? (openBlock(), createBlock(_component_BasicButton, mergeProps({
8019
- key: 0,
8020
- type: "default",
8021
- class: "mr-2"
8022
- }, _ctx.getResetBtnOptions, {
8023
- onClick: _ctx.resetAction,
8024
- preIcon: "ant-design:sync-outlined"
8025
- }), {
8026
- default: withCtx(() => [
8027
- createTextVNode(toDisplayString(_ctx.getResetBtnOptions.text), 1)
8028
- ]),
8029
- _: 1
8030
- }, 16, ["onClick"])) : createCommentVNode("", true),
8031
8017
  renderSlot(_ctx.$slots, "submitBefore"),
8032
8018
  _ctx.showSubmitButton ? (openBlock(), createBlock(_component_Button, mergeProps({
8033
- key: 1,
8019
+ key: 0,
8034
8020
  type: "primary",
8035
8021
  class: "mr-2"
8036
8022
  }, { ..._ctx.getSubmitBtnOptions }, { onClick: _ctx.submitAction }), {
@@ -8042,6 +8028,20 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
8042
8028
  ]),
8043
8029
  _: 1
8044
8030
  }, 16, ["onClick"])) : createCommentVNode("", true),
8031
+ renderSlot(_ctx.$slots, "resetBefore"),
8032
+ _ctx.showResetButton ? (openBlock(), createBlock(_component_BasicButton, mergeProps({
8033
+ key: 1,
8034
+ type: "default",
8035
+ class: "mr-2"
8036
+ }, _ctx.getResetBtnOptions, {
8037
+ onClick: _ctx.resetAction,
8038
+ preIcon: "ant-design:sync-outlined"
8039
+ }), {
8040
+ default: withCtx(() => [
8041
+ createTextVNode(toDisplayString(_ctx.getResetBtnOptions.text), 1)
8042
+ ]),
8043
+ _: 1
8044
+ }, 16, ["onClick"])) : createCommentVNode("", true),
8045
8045
  renderSlot(_ctx.$slots, "advanceBefore"),
8046
8046
  renderSlot(_ctx.$slots, "advanceAfter")
8047
8047
  ]),
package/lib/index.js CHANGED
@@ -8006,9 +8006,9 @@ const _sfc_main$H = vue.defineComponent({
8006
8006
  }
8007
8007
  });
8008
8008
  function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
8009
- const _component_BasicButton = vue.resolveComponent("BasicButton");
8010
8009
  const _component_SearchOutlined = vue.resolveComponent("SearchOutlined");
8011
8010
  const _component_Button = vue.resolveComponent("Button");
8011
+ const _component_BasicButton = vue.resolveComponent("BasicButton");
8012
8012
  const _component_FormItem = vue.resolveComponent("FormItem");
8013
8013
  return _ctx.showActionButtonGroup ? (vue.openBlock(), vue.createElementBlock("div", {
8014
8014
  key: 0,
@@ -8016,23 +8016,9 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
8016
8016
  }, [
8017
8017
  vue.createVNode(_component_FormItem, { class: "shy-form-action" }, {
8018
8018
  default: vue.withCtx(() => [
8019
- vue.renderSlot(_ctx.$slots, "resetBefore"),
8020
- _ctx.showResetButton ? (vue.openBlock(), vue.createBlock(_component_BasicButton, vue.mergeProps({
8021
- key: 0,
8022
- type: "default",
8023
- class: "mr-2"
8024
- }, _ctx.getResetBtnOptions, {
8025
- onClick: _ctx.resetAction,
8026
- preIcon: "ant-design:sync-outlined"
8027
- }), {
8028
- default: vue.withCtx(() => [
8029
- vue.createTextVNode(vue.toDisplayString(_ctx.getResetBtnOptions.text), 1)
8030
- ]),
8031
- _: 1
8032
- }, 16, ["onClick"])) : vue.createCommentVNode("", true),
8033
8019
  vue.renderSlot(_ctx.$slots, "submitBefore"),
8034
8020
  _ctx.showSubmitButton ? (vue.openBlock(), vue.createBlock(_component_Button, vue.mergeProps({
8035
- key: 1,
8021
+ key: 0,
8036
8022
  type: "primary",
8037
8023
  class: "mr-2"
8038
8024
  }, { ..._ctx.getSubmitBtnOptions }, { onClick: _ctx.submitAction }), {
@@ -8044,6 +8030,20 @@ function _sfc_render$u(_ctx, _cache, $props, $setup, $data, $options) {
8044
8030
  ]),
8045
8031
  _: 1
8046
8032
  }, 16, ["onClick"])) : vue.createCommentVNode("", true),
8033
+ vue.renderSlot(_ctx.$slots, "resetBefore"),
8034
+ _ctx.showResetButton ? (vue.openBlock(), vue.createBlock(_component_BasicButton, vue.mergeProps({
8035
+ key: 1,
8036
+ type: "default",
8037
+ class: "mr-2"
8038
+ }, _ctx.getResetBtnOptions, {
8039
+ onClick: _ctx.resetAction,
8040
+ preIcon: "ant-design:sync-outlined"
8041
+ }), {
8042
+ default: vue.withCtx(() => [
8043
+ vue.createTextVNode(vue.toDisplayString(_ctx.getResetBtnOptions.text), 1)
8044
+ ]),
8045
+ _: 1
8046
+ }, 16, ["onClick"])) : vue.createCommentVNode("", true),
8047
8047
  vue.renderSlot(_ctx.$slots, "advanceBefore"),
8048
8048
  vue.renderSlot(_ctx.$slots, "advanceAfter")
8049
8049
  ]),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "3h1-ui",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",