@otwb/ui 2.0.19 → 2.0.20

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.
@@ -465,7 +465,7 @@ const DataForm = /* @__PURE__ */ defineComponent({
465
465
  props: {
466
466
  grid: {
467
467
  type: Object,
468
- default: () => ({})
468
+ default: () => ({ xGap: 12 })
469
469
  },
470
470
  ...pickProps(formProps, "disabled", "model", "labelWidth", "labelAlign", "showFeedback", "size"),
471
471
  readonly: {
@@ -577,8 +577,6 @@ const DataForm = /* @__PURE__ */ defineComponent({
577
577
  let { items: e, loading: x, validation: j, showColon: N, showAction: P, actionAlign: F, submitText: I, submitDisabled: L, resetText: R, tooltipPlacement: B, showFeedback: V, labelWidth: H = "7.2em", labelAlign: U = b.labelPlacement === "top" ? "left" : "right", grid: W, succeeded: G, successText: K = I,...q } = b, J = !b.readonly && V !== !1;
578
578
  return createVNode(NForm, mergeProps({
579
579
  class: "nformWrap",
580
- labelWidth: H,
581
- labelAlign: U,
582
580
  onReset: T,
583
581
  onSubmit: w,
584
582
  showFeedback: J
@@ -1,5 +1,5 @@
1
1
  import "./use-i18n-Dx7V4KrY.js";
2
2
  import "./directives-CRvPGywW.js";
3
3
  import "./use-style-DcT-1dj4.js";
4
- import { a as NRadios, c as DataSelection, d as useLocaleEdit, f as DataFilter, g as NCheckboxes, h as DataActions, i as renderUsers, l as DataPagination, m as DataCustom, n as DtUserDept, o as DataTable, p as DataForm, r as DtUserRender, s as useDataTableDrag, t as DtDeptRender, u as DataLocaleInput } from "./components-DEBFtkAu.js";
4
+ import { a as NRadios, c as DataSelection, d as useLocaleEdit, f as DataFilter, g as NCheckboxes, h as DataActions, i as renderUsers, l as DataPagination, m as DataCustom, n as DtUserDept, o as DataTable, p as DataForm, r as DtUserRender, s as useDataTableDrag, t as DtDeptRender, u as DataLocaleInput } from "./components-C3FvQCdL.js";
5
5
  export { DataActions, DataCustom, DataFilter, DataForm, DataLocaleInput, DataPagination, DataSelection, DataTable, DtDeptRender, DtUserDept, DtUserRender, NCheckboxes, NRadios, renderUsers, useDataTableDrag, useLocaleEdit };
package/dist/page.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import { n as useI18n } from "./use-i18n-Dx7V4KrY.js";
2
2
  import "./directives-CRvPGywW.js";
3
3
  import "./use-style-DcT-1dj4.js";
4
- import { a as NRadios, g as NCheckboxes, n as DtUserDept, p as DataForm, r as DtUserRender, t as DtDeptRender } from "./components-DEBFtkAu.js";
4
+ import { a as NRadios, g as NCheckboxes, n as DtUserDept, p as DataForm, r as DtUserRender, t as DtDeptRender } from "./components-C3FvQCdL.js";
5
5
  import { computed, createVNode, defineComponent, h, isVNode, mergeProps, nextTick, ref, shallowRef, unref } from "vue";
6
6
  import { until } from "@vueuse/core";
7
7
  import { NButton, NCheckbox, NColorPicker, NDatePicker, NDrawer, NDrawerContent, NFlex, NInput, NInputNumber, NModal, NScrollbar, NSelect, NText, NUpload, useMessage } from "ithinkdt-ui";
@@ -435,7 +435,7 @@ function createFormHelper() {
435
435
  showAction: !1,
436
436
  onSubmit: l,
437
437
  onRest: u,
438
- style: m ? "padding-right: 2rem; padding-top: 1rem" : void 0
438
+ style: m ? "padding-right: .5rem" : void 0
439
439
  }, null);
440
440
  }
441
441
  function createModalHelper() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otwb/ui",
3
- "version": "2.0.19",
3
+ "version": "2.0.20",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "description": "otwb UI",
@@ -1 +0,0 @@
1
- .nformWrap :global(.n-form-item){display:block!important}.nformWrap :global(.n-form-item) :global(.n-input){border-radius:2px!important}.nformWrap :global(.n-form-item) :global(.n-base-selection__border){border-radius:2px!important}.nformWrap :global(.n-form-item) :global(.n-base-selection__state-border){border-radius:2px!important}.nformWrap :global(.n-form-item) :global(.n-text){color:#000!important}.ngridWrap>div:last-child{align-items:end;display:flex}.submitWrap{background-color:#176bf8!important}.collapsedBtn :global(.n-button__content){color:#000!important}.collapsedBtn :global(.n-button__icon){color:#d9d9d9!important}