@aeria-ui/ui 0.0.35 → 0.0.36

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.
@@ -2,7 +2,7 @@ import { defineComponent as C, withAsyncContext as k, ref as $, unref as c, open
2
2
  import { useStore as y } from "@aeria-ui/state-management";
3
3
  import { unsafe as x } from "@aeriajs/common";
4
4
  import { useRouter as S } from "vue-router";
5
- import { A, _ as I, a as v } from "./index-75991f90.js";
5
+ import { A, _ as I, a as v } from "./index-0ff80523.js";
6
6
  import "@aeria-ui/i18n";
7
7
  import "@aeria-ui/core";
8
8
  const R = {
@@ -1,5 +1,5 @@
1
- import { CollectionStore } from '@aeria-ui/core';
2
1
  import { FiltersPreset } from '@aeriajs/types';
2
+ import { CollectionStore } from '@aeria-ui/core';
3
3
 
4
4
  export declare const togglePreset: (preset: FiltersPreset<any> | null, store: CollectionStore | undefined) => void;
5
5
  export declare const watchStore: (store: CollectionStore | undefined, options?: {
@@ -3,21 +3,7 @@ import { ActionEvent } from '@aeria-ui/core';
3
3
  export declare const isInsertVisible: import('vue').Ref<string | boolean>;
4
4
  export declare const isInsertReadonly: import('vue').Ref<boolean>;
5
5
  export declare const isFilterVisible: import('vue').Ref<boolean>;
6
- export declare const call: import('vue').Ref<(actionProps: Omit<Readonly<{
7
- name: string;
8
- icon?: import('@aeriajs/types').Icon | undefined;
9
- ask?: boolean | undefined;
10
- selection?: boolean | undefined;
11
- effect?: string | undefined;
12
- button?: boolean | undefined;
13
- translate?: boolean | undefined;
14
- setItem?: boolean | undefined;
15
- fetchItem?: boolean | undefined;
16
- clearItem?: boolean | undefined;
17
- params?: Record<string, any> | undefined;
18
- query?: Record<string, any> | undefined;
19
- requires?: readonly import('@aeriajs/types').PropertiesWithId<any>[] | undefined;
20
- }>, "name"> & {
6
+ export declare const call: import('vue').Ref<(actionProps: Omit<import('@aeriajs/types').CollectionAction<any>, "label"> & {
21
7
  action: string;
22
8
  }) => (filters?: {
23
9
  _id: string | string[];
@@ -1,6 +1,6 @@
1
- import { Ref } from 'vue';
2
- import { Layout } from '@aeriajs/types';
3
1
  import { ActionEvent, CollectionStore, useAction } from '@aeria-ui/core';
2
+ import { Layout } from '@aeriajs/types';
3
+ import { Ref } from 'vue';
4
4
 
5
5
  type Props = {
6
6
  collection: string;
@@ -1,5 +1,5 @@
1
- import { Ref } from 'vue';
2
1
  import { Property, CollectionAction } from '@aeriajs/types';
2
+ import { Ref } from 'vue';
3
3
 
4
4
  type Props = {
5
5
  columns?: Record<string, Property>;
@@ -1,5 +1,5 @@
1
- import { FormFieldProps } from '../types';
2
1
  import { ArrayProperty, EnumProperty, BooleanProperty, Property } from '@aeriajs/types';
2
+ import { FormFieldProps } from '../types';
3
3
 
4
4
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<FormFieldProps<any, (EnumProperty & import('@aeriajs/types').PropertyBase & import('@aeriajs/types').RefProperty) | (EnumProperty & import('@aeriajs/types').PropertyBase & Omit<import('@aeriajs/types').RefProperty, "$ref"> & {
5
5
  $ref: "file";
@@ -1,5 +1,5 @@
1
- import { FormFieldProps } from '../types';
2
1
  import { Property, FileProperty } from '@aeriajs/types';
2
+ import { FormFieldProps } from '../types';
3
3
 
4
4
  type Props = FormFieldProps<any, Property & FileProperty> & {
5
5
  meta?: Record<string, any>;
@@ -1,6 +1,6 @@
1
- import { Ref } from 'vue';
2
- import { FormFieldProps } from '../types';
3
1
  import { Property, Condition } from '@aeriajs/types';
2
+ import { FormFieldProps } from '../types';
3
+ import { Ref } from 'vue';
4
4
 
5
5
  type LayoutConfig = {
6
6
  span?: string;
@@ -1,5 +1,5 @@
1
- import { FormFieldProps } from '../types';
2
1
  import { Property, NumberProperty, StringProperty } from '@aeriajs/types';
2
+ import { FormFieldProps } from '../types';
3
3
 
4
4
  type InputType = string | number | Date | null | undefined;
5
5
  type InputVariant = 'normal' | 'bold' | 'light';
@@ -1,5 +1,5 @@
1
- import { FormFieldProps } from '../types';
2
1
  import { ArrayProperty, EnumProperty } from '@aeriajs/types';
2
+ import { FormFieldProps } from '../types';
3
3
 
4
4
  declare const _default: import('vue').DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<Omit<FormFieldProps<any>, "property"> & {
5
5
  property: EnumProperty | (ArrayProperty & {
@@ -1,5 +1,5 @@
1
- import { FormFieldProps } from '../types';
2
1
  import { Property, EnumProperty, BooleanProperty } from '@aeriajs/types';
2
+ import { FormFieldProps } from '../types';
3
3
 
4
4
  type Props = FormFieldProps<any, Property & (EnumProperty | BooleanProperty)> & {
5
5
  booleanRef?: boolean;
@@ -1,5 +1,5 @@
1
- import { FormFieldProps } from '../types';
2
1
  import { BooleanProperty } from '@aeriajs/types';
2
+ import { FormFieldProps } from '../types';
3
3
 
4
4
  declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<__VLS_TypePropsToRuntimeProps<FormFieldProps<any, (import('@aeriajs/types').PropertyBase & BooleanProperty) | (import('@aeriajs/types').PropertyBase & import('@aeriajs/types').RefProperty & BooleanProperty) | (import('@aeriajs/types').PropertyBase & Omit<import('@aeriajs/types').RefProperty, "$ref"> & {
5
5
  $ref: "file";
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as e, openBlock as t, createBlock as r, createSlots as c, withCtx as i, renderSlot as l, createCommentVNode as n } from "vue";
2
- import { d as m } from "./index-75991f90.js";
2
+ import { d as m } from "./index-0ff80523.js";
3
3
  import "@aeria-ui/i18n";
4
4
  import "@aeria-ui/core";
5
5
  import "@aeria-ui/state-management";