aloha-vue 1.2.89 → 1.2.90

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,7 +1,6 @@
1
1
  {
2
- "_PAGE_FILTER_LIMIT_TO_ARGUMENTS_TEXT_": "Der Eingangsstring, der beschnitten werden soll",
3
- "_PAGE_FILTER_LIMIT_TO_ARGUMENTS_LIMIT_": "Die maximale Länge des zurückgegebenen Strings",
4
- "_PAGE_FILTER_LIMIT_TO_ARGUMENTS_MAX_THREE_DOTS_": "Gibt an, ob maximal drei Punkten am Ende des Strings angezeigt werden",
5
- "_PAGE_FILTER_LIMIT_TO_ARGUMENTS_": "# Argumenti: \ntext (string): Ulazni string čija će duljina biti ograničena\n[limit=30] (cijeli broj): Maksimalna duljina povratnog stringa\n[maxThreeDots=true] (boolean): Određuje hoće li se najviše tri točke vratiti na kraju povratnog stringa\n",
2
+ "_PAGE_FILTER_LIMIT_TO_ARGUMENTS_TEXT_": "Ulazni string čija će duljina biti ograničena.",
3
+ "_PAGE_FILTER_LIMIT_TO_ARGUMENTS_LIMIT_": "Maksimalna duljina povratnog stringa",
4
+ "_PAGE_FILTER_LIMIT_TO_ARGUMENTS_MAX_THREE_DOTS_": "Određuje hoće li se najviše tri točke vratiti na kraju povratnog stringa.",
6
5
  "_PAGE_FILTER_LIMIT_TO_DESCRIPTION_": "Funkcija <strong>filterLimitTo</strong> koristi se za ograničavanje duljine ulaznog stringa na zadanu maksimalnu vrijednost, kao i za opcionalno primjenjivanje posebne logike točaka na kraju stringa."
7
6
  }
@@ -1,14 +1,13 @@
1
1
  {
2
- "_PAGE_FILTER_LIST_ARGUMENTS_ARRAY_": "Das Array für die Liste",
3
- "_PAGE_FILTER_LIST_ARGUMENTS_IS_HTML_": "Wenn true, wird eine HTML-Liste (&lt;ul&gt;&lt;li&gt;...&lt;/li&gt;&lt;/ul&gt;) erstellt. Andernfalls wird eine Textliste generiert",
4
- "_PAGE_FILTER_LIST_ARGUMENTS_IS_SIMPLE_ARRAY_": "Gibt an, ob nur ein einfaches Array ohne Objekte verwendet wird",
5
- "_PAGE_FILTER_LIST_ARGUMENTS_KEY_CHILDREN_": "Schlüssel für Kinderelemente (nur wenn <strong>isSimpleArray=false</strong>)",
6
- "_PAGE_FILTER_LIST_ARGUMENTS_KEY_LABEL_": "Schlüssel für das anzuzeigende Text (nur wenn <strong>isSimpleArray=false</strong>)",
7
- "_PAGE_FILTER_LIST_ARGUMENTS_KEY_LABEL_CALLBACK_": "Funktion zur Generierung von Labels mit zwei Parametern (<strong>item</strong>, <strong>itemIndex</strong>)",
8
- "_PAGE_FILTER_LIST_ARGUMENTS_SEPARATOR_": "Separator zwischen Elementen (nur wenn <strong>isHtml=false</strong>)",
9
- "_PAGE_FILTER_LIST_ARGUMENTS_TAG_": "HTML-Tag für die gesamte Liste",
10
- "_PAGE_FILTER_LIST_ARGUMENTS_LIST_CLASS_": "CSS-Klasse z.B.: (a_list_without_styles)",
11
- "_PAGE_FILTER_LIST_ARGUMENTS_": "# Argumenti: \narray (niz): Niz od kojeg se kreira lista\n[isHtml=true] (boolean): Za istinitu vrijednost će se kreirati lista u HTML formatu (<ul><li>...</li></ul>). U suprotnom će se kreirati lista u tekstualnom formatu (<span>...</span>)\n[isSimpleArray=false] (boolean): Određuje hoće li se koristiti jednostavan niz bez objekata\n[keyChildren=\"\"] (string): Ključ za podelemente (samo ako je isSimpleArray=false)\n[keyLabel=\"\"] (string): Ključ teksta koji će biti prikazan (samo ako je isSimpleArray=false)\n[keyLabelCallback] (funkcija): Funkcija za generiranje oznaka s dva parametra (item, itemIndex)\n[separator=\", \"] (string): separator između elemenata (samo ako je isHtml=false)\n[tag=\"ul\"] (string): HTML oznaka za cijelu listu\n[listClass=\"\"] (sString): CSS klasa (a_list_without_styles)",
2
+ "_PAGE_FILTER_LIST_ARGUMENTS_ARRAY_": "Niz od kojeg se kreira lista",
3
+ "_PAGE_FILTER_LIST_ARGUMENTS_IS_HTML_": "Za <strong>istinitu</strong> vrijednost će se kreirati lista u HTML formatu (&lt;ul&gt;&lt;li&gt;...&lt;/li&gt;&lt;/ul&gt;). U suprotnom će se kreirati lista u tekstualnom formatu.",
4
+ "_PAGE_FILTER_LIST_ARGUMENTS_IS_SIMPLE_ARRAY_": "Određuje hoće li se koristiti jednostavan niz bez objekata.",
5
+ "_PAGE_FILTER_LIST_ARGUMENTS_KEY_CHILDREN_": "Ključ za podelemente (samo ako je <strong>isSimpleArray=false</strong>)",
6
+ "_PAGE_FILTER_LIST_ARGUMENTS_KEY_LABEL_": "Ključ teksta koji će biti prikazan (samo ako je <strong>isSimpleArray=false</strong>)",
7
+ "_PAGE_FILTER_LIST_ARGUMENTS_KEY_LABEL_CALLBACK_": "Funkcija za generiranje oznaka s dva parametra (<strong>item</strong>, <strong>itemIndex</strong>).",
8
+ "_PAGE_FILTER_LIST_ARGUMENTS_SEPARATOR_": "Separator separator između elemenata (samo ako je <strong>isHtml=false</strong>)",
9
+ "_PAGE_FILTER_LIST_ARGUMENTS_TAG_": "HTML oznaka za cijelu listu",
10
+ "_PAGE_FILTER_LIST_ARGUMENTS_LIST_CLASS_": "CSS klasa (Npr. a_list_without_styles)",
12
11
  "_PAGE_FILTER_LIST_DESCRIPTION_": "Ova funkcija kreira listu od niza.",
13
12
  "_PAGE_FILTER_LIST_IS_SIMPLE_ARRAY_TREE_HEADER_": "Struktura stabla isSimpleArray=true"
14
13
  }
package/package.json CHANGED
@@ -14,7 +14,7 @@
14
14
  "Vue.js"
15
15
  ],
16
16
  "homepage": "https://github.com/ilia-brykin/aloha/#README.md",
17
- "version": "1.2.89",
17
+ "version": "1.2.90",
18
18
  "author": {
19
19
  "name": "Ilia Brykin",
20
20
  "email": "brykin.ilia@gmail.com"
@@ -5,6 +5,7 @@ import {
5
5
  export const selectPluginOptions = ref({
6
6
  propsDefault: {
7
7
  buttonClass: undefined,
8
+ caretIcon: "ChevronDown",
8
9
  countMultiselect: 4,
9
10
  dataExtra: [],
10
11
  inBody: true,
@@ -11,6 +11,7 @@
11
11
  .a_select_toggle {
12
12
  position: relative;
13
13
  min-width: var(--a_select_min_width);
14
+ min-height: calc(26px + 0.375rem * 2);
14
15
  text-align: left;
15
16
  }
16
17
  .a_select_toggle_closeable {
@@ -18,12 +19,14 @@
18
19
  }
19
20
 
20
21
  .a_caret {
21
- background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
22
- background-repeat: no-repeat;
23
- background-position: right 0.75rem center;
24
- background-size: 16px 12px;
25
- min-height: calc(26px + 0.375rem * 2);
26
- padding-right: 26px;
22
+ display: flex;
23
+ align-items: center;
24
+ justify-content: center;
25
+ position: absolute;
26
+ right: 0;
27
+ top: 0;
28
+ height: 100%;
29
+ width: 30px;
27
30
  }
28
31
 
29
32
  .a_select__search {
@@ -161,6 +164,7 @@
161
164
  overflow-x: hidden;
162
165
  text-overflow: ellipsis;
163
166
  white-space: nowrap;
167
+ padding-right: 18px;
164
168
  }
165
169
 
166
170
  .a_select__ul_closeable {
@@ -56,6 +56,11 @@ export default {
56
56
  required: false,
57
57
  default: () => selectPluginOptions.value.propsDefault.buttonClass,
58
58
  },
59
+ caretIcon: {
60
+ type: [String, Object],
61
+ required: false,
62
+ default: () => selectPluginOptions.value.propsDefault.caretIcon,
63
+ },
59
64
  change: {
60
65
  type: Function,
61
66
  required: false,
@@ -614,7 +619,7 @@ export default {
614
619
  h("div", {
615
620
  ref: "buttonRef",
616
621
  id: this.htmlIdLocal,
617
- class: ["a_form_control a_select_toggle a_caret", this.buttonClass, {
622
+ class: ["a_form_control a_select_toggle", this.buttonClass, {
618
623
  disabled: this.disabled,
619
624
  a_select_toggle_closeable: this.isMultiselect && this.isSelectionCloseable,
620
625
  a_form_control_invalid: this.isErrors,
@@ -853,6 +858,13 @@ export default {
853
858
  ]),
854
859
  ]),
855
860
  ]),
861
+ h("span", {
862
+ class: "a_caret",
863
+ }, [
864
+ h(AIcon, {
865
+ icon: this.caretIcon,
866
+ }),
867
+ ])
856
868
  ]),
857
869
  ]),
858
870
  ]),