glib-web 4.35.0 → 4.35.2

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.
@@ -3,7 +3,7 @@
3
3
  <!-- Set `menu-props` so the menu will never be wider than the select field.
4
4
  See https://github.com/vuetifyjs/vuetify/issues/17751 -->
5
5
  <component :is="compName" :color="gcolor" v-model="fieldModel" :label="label" :items="normalizedOptions"
6
- :chips="spec.multiple" :disabled="inputDisabled" :multiple="spec.multiple" :readonly="spec.readOnly"
6
+ :chips="useChips" :disabled="inputDisabled" :multiple="spec.multiple" :readonly="spec.readOnly"
7
7
  :clearable="spec.clearable" :placeholder="spec.placeholder" :rules="$validation()" persistent-hint
8
8
  :append-icon="append.icon" validate-on="blur" item-title='text' :variant="variant" :closable-chips="spec.multiple"
9
9
  :density="density" persistent-placeholder @update:modelValue="onChange" @focus="focused = true"
@@ -58,6 +58,8 @@ import inputVariant from '../mixins/inputVariant';
58
58
  import { determineDensity } from "../../utils/constant";
59
59
  import { triggerOnChange, triggerOnInput, useGlibInput } from "../composable/form";
60
60
  import Hash from '../../utils/hash';
61
+ import { isBoolean } from '../../utils/type';
62
+
61
63
  import { useGlibSelectable, watchNoneOfAbove } from '../composable/selectable';
62
64
  import { ref } from 'vue';
63
65
  import SelectItemDefault from "./_selectItemDefault.vue";
@@ -94,6 +96,12 @@ export default {
94
96
  };
95
97
  },
96
98
  computed: {
99
+ useChips() {
100
+ if (isBoolean(this.spec.useChips)) {
101
+ return this.spec.useChips;
102
+ }
103
+ return this.spec.multiple;
104
+ },
97
105
  compName() {
98
106
  return this.spec.searchable ? 'v-autocomplete' : 'v-select';
99
107
  },
package/nav/appBar.vue CHANGED
@@ -176,7 +176,7 @@ export default {
176
176
  -->
177
177
 
178
178
  <!-- Overridable -->
179
- <style lang="scss" scoped>
179
+ <style lang="scss">
180
180
  .views-appBar {
181
181
  // box-shadow: none !important;
182
182
  // .v-app-bar-nav-icon {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "glib-web",
3
- "version": "4.35.0",
3
+ "version": "4.35.2",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {