@vunk/form 1.1.36 → 1.1.38

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.
@@ -119,7 +119,7 @@ const _sfc_main = defineComponent({
119
119
  }
120
120
  }
121
121
  data = data.filter((rule) => {
122
- return isNotEmptyObject(rule);
122
+ return rule && isNotEmptyObject(rule);
123
123
  });
124
124
  data.forEach((rule) => {
125
125
  setDefaultMessage(rule);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vunk/form",
3
- "version": "1.1.36",
3
+ "version": "1.1.38",
4
4
  "description": "",
5
5
  "main": "index.esm.js",
6
6
  "scripts": {
@@ -1,4 +1,4 @@
1
1
  import { Media } from '@vunk/core';
2
2
  import { AllTemplatesSource } from '@vunk/form/shared';
3
3
  export declare const CORE_FORM_TEMPLATE_OPTIONS: Media<AllTemplatesSource['templateType']>[];
4
- export declare const CORE_FORM_TEMPLATE_REFLECT: Record<"VkfInput" | "VkfSwitch" | "VkfSelect" | "VkfDatePicker" | "VkfInputNumber" | "VkfRadio" | "VkfCheckbox" | "VkfUpload" | "ElLink" | "VkfColorPicker" | "VkfButton" | "VkfCascader" | "VkfInputLink" | "VkfSlider" | "VkfGeoinput" | "VkfEsriInputGeojson" | "Component" | "ElDivider" | "ElRow" | "ElCol" | "VkfFlex", Media<"VkfInput" | "VkfSwitch" | "VkfSelect" | "VkfDatePicker" | "VkfInputNumber" | "VkfRadio" | "VkfCheckbox" | "VkfUpload" | "ElLink" | "VkfColorPicker" | "VkfButton" | "VkfCascader" | "VkfInputLink" | "VkfSlider" | "VkfGeoinput" | "VkfEsriInputGeojson" | "Component" | "ElDivider" | "ElRow" | "ElCol" | "VkfFlex">>;
4
+ export declare const CORE_FORM_TEMPLATE_REFLECT: Record<string, Media<"VkfInput" | "VkfSwitch" | "VkfSelect" | "VkfDatePicker" | "VkfInputNumber" | "VkfRadio" | "VkfCheckbox" | "VkfUpload" | "ElLink" | "VkfColorPicker" | "VkfButton" | "VkfCascader" | "VkfInputLink" | "VkfSlider" | "VkfGeoinput" | "VkfEsriInputGeojson" | "Component" | "ElDivider" | "ElRow" | "ElCol" | "VkfFlex">>;