@neatui/vue 1.2.4 → 1.2.6

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": "@neatui/vue",
3
- "version": "1.2.4",
3
+ "version": "1.2.6",
4
4
  "description": "basic component ui",
5
5
  "main": "./src/index.ts",
6
6
  "license": "MIT",
@@ -4,13 +4,13 @@
4
4
  <template v-for="(col, idx) in state.form" :key="idx">
5
5
  <div v-if="!col.clear" :id="col._fid" :ui-col="col.media" :ui-flex="`${vertical ? 'col xm' : 'row lt'}`">
6
6
  <template v-if="col.label">
7
- <h5 v-if="vertical" :style="`${col.rules?.some((validator: any) => validator.required) ? 'text-indent: -1em' : ''}`" class="o-ls">
7
+ <h6 v-if="vertical" :style="`${col.rules?.some((validator: any) => validator.required) ? 'text-indent: -1em' : ''}`" class="o-ls">
8
8
  <template v-if="col.label == '*'"></template>
9
9
  <template v-else>
10
10
  <b v-if="col.rules?.some((validator: any) => validator.required)" class="co-risk pr" style="left: 0.1em">﹡</b>
11
11
  <span>{{ col.label ? col.label + ':' : '' }}</span>
12
12
  </template>
13
- </h5>
13
+ </h6>
14
14
  <p v-else :class="`${clh({ ...(col.model[1] || {}) })}`" :style="`width:${state._lw + 'em'}; max-width:50%;`" class="ar nr-sm flex-fixed o-ls">
15
15
  <template v-if="col.label == '*'"></template>
16
16
  <template v-else>
@@ -141,7 +141,7 @@
141
141
  id?: string;
142
142
  modelValue: ModelValueProps;
143
143
  data: DataProps;
144
- defined: DefinedProps;
144
+ defined?: DefinedProps;
145
145
  }
146
146
 
147
147
  const route: any = useRoute();