plugin-ui-for-kzt 0.0.60 → 0.0.61

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.
@@ -36,7 +36,7 @@ export declare const useModalStore: import("pinia").StoreDefinition<"modal", {
36
36
  template?: string | object | undefined;
37
37
  render?: Function | undefined;
38
38
  components?: Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions, {}, any>> | undefined;
39
- directives?: Record<string, import("vue").Directive<any, any, string, string>> | undefined;
39
+ directives?: Record<string, import("vue").Directive<any, any, string, any>> | undefined;
40
40
  inheritAttrs?: boolean | undefined;
41
41
  emits?: any;
42
42
  slots?: {} | undefined;
@@ -113,18 +113,18 @@ export declare const useModalStore: import("pinia").StoreDefinition<"modal", {
113
113
  filters?: Record<string, Function> | undefined;
114
114
  mixins?: any[] | undefined;
115
115
  extends?: any;
116
- beforeCreate?: (() => void) | undefined;
117
- created?: (() => void) | undefined;
118
- beforeMount?: (() => void) | undefined;
119
- mounted?: (() => void) | undefined;
120
- beforeUpdate?: (() => void) | undefined;
121
- updated?: (() => void) | undefined;
122
- activated?: (() => void) | undefined;
123
- deactivated?: (() => void) | undefined;
124
- beforeDestroy?: (() => void) | undefined;
125
- beforeUnmount?: (() => void) | undefined;
126
- destroyed?: (() => void) | undefined;
127
- unmounted?: (() => void) | undefined;
116
+ beforeCreate?: (() => any) | undefined;
117
+ created?: (() => any) | undefined;
118
+ beforeMount?: (() => any) | undefined;
119
+ mounted?: (() => any) | undefined;
120
+ beforeUpdate?: (() => any) | undefined;
121
+ updated?: (() => any) | undefined;
122
+ activated?: (() => any) | undefined;
123
+ deactivated?: (() => any) | undefined;
124
+ beforeDestroy?: (() => any) | undefined;
125
+ beforeUnmount?: (() => any) | undefined;
126
+ destroyed?: (() => any) | undefined;
127
+ unmounted?: (() => any) | undefined;
128
128
  renderTracked?: ((e: import("vue").DebuggerEvent) => void) | undefined;
129
129
  renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | undefined;
130
130
  errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "plugin-ui-for-kzt",
3
- "version": "0.0.60",
3
+ "version": "0.0.61",
4
4
  "description": "plugin-ui for kazaktelekom",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -71,7 +71,20 @@
71
71
  @input="handleInputChange"
72
72
  >
73
73
  <template #left-icon>
74
+ <div
75
+ v-if="actualOption?.icon && $slots.iconItem"
76
+ class="base-select__header_prefix_icon"
77
+ >
78
+ <slot name="iconItem" :item="actualOption"/>
79
+ </div>
80
+ <div
81
+ v-else-if="$slots.headerIcon"
82
+ class="base-select__header_prefix_icon"
83
+ >
84
+ <slot name="headerIcon"/>
85
+ </div>
74
86
  <base-icon
87
+ v-else
75
88
  name="search"
76
89
  :size="size"
77
90
  />
@@ -565,4 +578,4 @@ defineSlots<{
565
578
  }
566
579
  }
567
580
  }
568
- </style>
581
+ </style>
@@ -1,7 +0,0 @@
1
- {
2
- "permissions": {
3
- "allow": [
4
- "Bash(npm run build:*)"
5
- ]
6
- }
7
- }