edvoyui-component-library-test-flight 0.0.219 → 0.0.221

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.
@@ -27,6 +27,10 @@ declare const __VLS_component: import('../../../node_modules/vue').DefineCompone
27
27
  type: BooleanConstructor;
28
28
  default: boolean;
29
29
  };
30
+ filterable: {
31
+ type: BooleanConstructor;
32
+ default: boolean;
33
+ };
30
34
  isUseCustomSelect: {
31
35
  type: BooleanConstructor;
32
36
  required: false;
@@ -184,6 +188,10 @@ declare const __VLS_component: import('../../../node_modules/vue').DefineCompone
184
188
  type: BooleanConstructor;
185
189
  default: boolean;
186
190
  };
191
+ filterable: {
192
+ type: BooleanConstructor;
193
+ default: boolean;
194
+ };
187
195
  isUseCustomSelect: {
188
196
  type: BooleanConstructor;
189
197
  required: false;
@@ -350,6 +358,7 @@ declare const __VLS_component: import('../../../node_modules/vue').DefineCompone
350
358
  className: string[];
351
359
  value: string | unknown[] | Record<string, any>;
352
360
  clearable: boolean;
361
+ filterable: boolean;
353
362
  isUseCustomSelect: boolean;
354
363
  customWidth: string;
355
364
  customHeight: string;
@@ -12,6 +12,7 @@
12
12
  <vSelect
13
13
  v-model="selected"
14
14
  :filter="isFussySeach ? fuseSearch : undefined"
15
+ :filterable="filterable"
15
16
  :options="items"
16
17
  :label="searchLabel"
17
18
  :name="name"
@@ -315,6 +316,10 @@ const props = defineProps({
315
316
  type: Boolean,
316
317
  default: true,
317
318
  },
319
+ filterable: {
320
+ type: Boolean,
321
+ default: true,
322
+ },
318
323
  isUseCustomSelect: {
319
324
  type: Boolean,
320
325
  required: false,
@@ -748,7 +753,10 @@ const searchMargin = computed(() =>
748
753
  );
749
754
 
750
755
  const selectRequited = computed(() =>
751
- props.required
756
+ // Only redden the placeholder tail when it actually carries the "*"
757
+ // (no label). With a label the "*" lives on the label, so keep it all gray
758
+ // and don't tint the last real letter of the placeholder text.
759
+ props.required && !props.label
752
760
  ? "-webkit-linear-gradient(left, #374151 0%, #374151 92%,red 8%,red 100%)"
753
761
  : "-webkit-linear-gradient(left, #374151 50%, #374151 50%)",
754
762
  );