@scvzerng/element-plus-search-vue2 0.1.0 → 0.1.1

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.
@@ -1,4 +1,4 @@
1
- import type { Searchable } from '@element-plus-search/shared';
1
+ import type { Searchable } from '../../shared/src';
2
2
  type __VLS_Props = {
3
3
  searches: Searchable[];
4
4
  id: string;
@@ -21,14 +21,14 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
21
21
  required?: boolean | undefined;
22
22
  index: number;
23
23
  visible: boolean;
24
- disabled: boolean | import("@element-plus-search/shared").PredicateCallback;
24
+ disabled: boolean | import('../../shared/src').PredicateCallback;
25
25
  span: number;
26
26
  initValue?: any;
27
- enable: boolean | import("@element-plus-search/shared").PredicateCallback;
27
+ enable: boolean | import('../../shared/src').PredicateCallback;
28
28
  pinned: boolean;
29
29
  tagFilter?: ((value: any) => boolean) | undefined;
30
- render: import("@element-plus-search/shared").SearchItemRender;
31
- transform?: import("@element-plus-search/shared").TransformCallback<any> | undefined;
30
+ render: import('../../shared/src').SearchItemRender;
31
+ transform?: import('../../shared/src').TransformCallback<any> | undefined;
32
32
  onChange?: ((value: any, api: import("../../shared/src/types/SearchBarState.js").SearchBarStateLike) => void) | undefined;
33
33
  clean: () => void;
34
34
  reset: () => void;
@@ -1,4 +1,4 @@
1
- import type { SearchItem } from '@element-plus-search/shared';
1
+ import type { SearchItem } from '../../shared/src';
2
2
  type __VLS_Props = {
3
3
  item: SearchItem;
4
4
  };
@@ -1,5 +1,5 @@
1
- import { SearchBarState as BaseSearchBarState, type ConfigStorage, SearchItem, SearchConfig, SearchItemLayout, SearchTag } from '@element-plus-search/shared';
2
- import type { Searchable } from '@element-plus-search/shared';
1
+ import { SearchBarState as BaseSearchBarState, type ConfigStorage, SearchItem, SearchConfig, SearchItemLayout, SearchTag } from '../../shared/src';
2
+ import type { Searchable } from '../../shared/src';
3
3
  export { SearchItem, SearchConfig, SearchItemLayout, SearchTag };
4
4
  export declare class SearchBarState extends BaseSearchBarState {
5
5
  constructor(id: string, searches: Searchable[], onSearch: (params: any) => Promise<void>, storage?: ConfigStorage);
@@ -1,4 +1,4 @@
1
- import type { SearchItem } from '@element-plus-search/shared';
1
+ import type { SearchItem } from '../../shared/src';
2
2
  import { PropType } from 'vue';
3
3
  import type { SearchBarState } from './SearchBarState';
4
4
  declare const _default: {
@@ -1,3 +1,3 @@
1
- import type { ComponentTextGetter } from '@element-plus-search/shared';
1
+ import type { ComponentTextGetter } from '../../shared/src';
2
2
  export declare const VUE2_COMPONENT_TEXT_GETTERS: ComponentTextGetter[];
3
3
  //# sourceMappingURL=componentTextGetters.d.ts.map
@@ -1,4 +1,4 @@
1
- import type { SearchValueLike } from '@element-plus-search/shared';
1
+ import type { SearchValueLike } from '../../../shared/src';
2
2
  /**
3
3
  * vue2 翻译jsx片段时在非组件上下文中会生成this.$set 尝试设置属性导致报错 此时使用此方法绕过生成
4
4
  *
@@ -1,8 +1,8 @@
1
1
  export * from './helper/vModel';
2
2
  export { default as SearchBar } from './SearchBar.vue';
3
- export * from '@element-plus-search/shared';
3
+ export * from '../../shared/src';
4
4
  import type { Ref } from 'vue';
5
- import type { SearchValueLike } from '@element-plus-search/shared';
5
+ import type { SearchValueLike } from '../../shared/src';
6
6
  export interface RefreshInstance<SEARCH_OBJECT> {
7
7
  refresh: (searchObject?: SEARCH_OBJECT) => void | Promise<void>;
8
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scvzerng/element-plus-search-vue2",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "scripts": {