@saooti/octopus-sdk 33.2.12 → 33.2.13

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@saooti/octopus-sdk",
3
- "version": "33.2.12",
3
+ "version": "33.2.13",
4
4
  "private": false,
5
5
  "description": "Javascript SDK for using octopus",
6
6
  "author": "Saooti",
@@ -11,6 +11,11 @@
11
11
  height: 2rem;
12
12
  padding-right: 40px;
13
13
  }
14
+ input[type="checkbox"] {
15
+ accent-color: $octopus-primary-color;
16
+ cursor: pointer;
17
+ margin-right: 5px;
18
+ }
14
19
  .form-input {
15
20
  appearance: none;
16
21
  background: #fff;
@@ -7,9 +7,9 @@
7
7
  <label for="rows-per-page-select">{{ $t('Items per page :') }}</label>
8
8
  <select
9
9
  id="rows-per-page-select"
10
- :model-value="rowsPerPage"
10
+ :value="rowsPerPage"
11
11
  class="c-hand p-1 mx-2"
12
- @update:modelValue="$emit('update:rowsPerPage',$event)"
12
+ @input="$emit('update:rowsPerPage',$event.target.value)"
13
13
  >
14
14
  <option
15
15
  v-for="option in optionsRowsPerPage"
@@ -5,12 +5,12 @@
5
5
  >
6
6
  <input
7
7
  :id="idCheckbox"
8
- :model-value="textInit"
8
+ :value="textInit"
9
9
  type="checkbox"
10
10
  :disabled="isDisabled"
11
11
  :title="displayLabel?'':label"
12
12
  :data-selenium="selenium"
13
- @update:modelValue="$emit('update:textInit',$event)"
13
+ @input="$emit('update:textInit',!textInit)"
14
14
  @click="emitClickAction"
15
15
  >
16
16
  <span
@@ -53,11 +53,6 @@ export default defineComponent({
53
53
  <style lang="scss">
54
54
  @import '@scss/_variables.scss';
55
55
  .octopus-app{
56
- input[type="checkbox"] {
57
- accent-color: $octopus-primary-color;
58
- cursor: pointer;
59
- margin-right: 5px;
60
- }
61
56
  .octopus-form-switch{
62
57
  position: relative;
63
58
  display: inline-block;
@@ -11,12 +11,12 @@
11
11
  >
12
12
  <input
13
13
  :id="idRadio + option.value"
14
- :model-value="textInit"
14
+ :checked="textInit===option.value"
15
15
  type="radio"
16
16
  :name="idRadio"
17
17
  :value="option.value"
18
18
  :disabled="isDisabled"
19
- @update:modelValue="$emit('update:textInit',$event)"
19
+ @input="$emit('update:textInit',$event.target.value)"
20
20
  >
21
21
  <label
22
22
  class="c-hand"
@@ -3,12 +3,12 @@
3
3
  <input
4
4
  :id="idSearch"
5
5
  ref="search"
6
- :model-value="textInit"
6
+ :value="textInit"
7
7
  type="text"
8
8
  class="search-input w-100 p-2 "
9
9
  :placeholder="label"
10
10
  :autofocus="autofocus"
11
- @update:modelValue="$emit('update:textInit',$event)"
11
+ @input="$emit('update:textInit',$event.target.value)"
12
12
  >
13
13
  <label
14
14
  :for="idSearch"
@@ -7,12 +7,12 @@
7
7
  >{{ label }}</label>
8
8
  <select
9
9
  :id="idSelect"
10
- :model-value="textInit"
10
+ :value="textInit"
11
11
  :disabled="isDisabled"
12
12
  class="c-hand w-100"
13
13
  :class="transparent?'transparent':''"
14
14
  :style="getFontFamily"
15
- @update:modelValue="$emit('update:textInit',$event)"
15
+ @input="$emit('update:textInit',$event.target.value)"
16
16
  >
17
17
  <option
18
18
  v-for="option in options"