@onereach/ui-components 4.3.11-beta.2661.0 → 4.3.11-beta.2665.0
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/dist/bundled/v2/components/OrTextV3/OrText.js +1 -1
- package/dist/bundled/v3/{OrText.vue_vue_type_script_lang-6563b52f.js → OrText.vue_vue_type_script_lang-6ce019db.js} +1 -1
- package/dist/bundled/v3/components/OrTextV3/OrText.js +2 -2
- package/dist/bundled/v3/components/OrTextV3/index.js +1 -1
- package/dist/bundled/v3/components/index.js +1 -1
- package/dist/bundled/v3/index.js +1 -1
- package/dist/esm/v2/{OrText-912e8ba8.js → OrText-44449e7b.js} +1 -1
- package/dist/esm/v2/components/index.js +1 -1
- package/dist/esm/v2/components/or-text-v3/index.js +1 -1
- package/dist/esm/v2/index.js +1 -1
- package/dist/esm/v3/{OrText-fcff0bf7.js → OrText-d54c951d.js} +1 -1
- package/dist/esm/v3/components/index.js +1 -1
- package/dist/esm/v3/components/or-text-v3/index.js +1 -1
- package/dist/esm/v3/index.js +1 -1
- package/package.json +1 -1
- package/src/components/or-text-v3/OrText.vue +1 -1
|
@@ -49,7 +49,7 @@ var script = defineComponent({
|
|
|
49
49
|
const escapeLast = str => str && str.slice(0, -1) + '\xa0';
|
|
50
50
|
// State
|
|
51
51
|
const mainText = computed(() => {
|
|
52
|
-
if (props.sliceIndex && props.sliceIndex
|
|
52
|
+
if (props.sliceIndex && props.sliceIndex < props.text.length) {
|
|
53
53
|
let mainPart = props.text.slice(0, Math.abs(props.sliceIndex) * -1);
|
|
54
54
|
if (mainPart[mainPart.length - 1] === ' ') {
|
|
55
55
|
mainPart = escapeLast(mainPart);
|
|
@@ -48,7 +48,7 @@ var script = defineComponent({
|
|
|
48
48
|
const escapeLast = str => str && str.slice(0, -1) + '\xa0';
|
|
49
49
|
// State
|
|
50
50
|
const mainText = computed(() => {
|
|
51
|
-
if (props.sliceIndex && props.sliceIndex
|
|
51
|
+
if (props.sliceIndex && props.sliceIndex < props.text.length) {
|
|
52
52
|
let mainPart = props.text.slice(0, Math.abs(props.sliceIndex) * -1);
|
|
53
53
|
if (mainPart[mainPart.length - 1] === ' ') {
|
|
54
54
|
mainPart = escapeLast(mainPart);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { s as script } from '../../OrText.vue_vue_type_script_lang-
|
|
2
|
-
export { s as default } from '../../OrText.vue_vue_type_script_lang-
|
|
1
|
+
import { s as script } from '../../OrText.vue_vue_type_script_lang-6ce019db.js';
|
|
2
|
+
export { s as default } from '../../OrText.vue_vue_type_script_lang-6ce019db.js';
|
|
3
3
|
import { openBlock, createElementBlock, normalizeClass, createElementVNode, toDisplayString } from 'vue';
|
|
4
4
|
import 'vue-demi';
|
|
5
5
|
import './styles.js';
|
|
@@ -135,7 +135,7 @@ export { s as OrTagV3 } from '../OrTag.vue_vue_type_script_lang-8643b784.js';
|
|
|
135
135
|
export { TagColor, TagVariant } from './OrTagV3/props.js';
|
|
136
136
|
export { default as OrTeleport } from './OrTeleport/OrTeleport.js';
|
|
137
137
|
export { s as OrTeleportV3 } from '../OrTeleport.vue3.vue_vue_type_script_lang-a6ce162e.js';
|
|
138
|
-
export { s as OrTextV3 } from '../OrText.vue_vue_type_script_lang-
|
|
138
|
+
export { s as OrTextV3 } from '../OrText.vue_vue_type_script_lang-6ce019db.js';
|
|
139
139
|
export { s as OrTextarea } from '../OrTextarea.vue_vue_type_script_lang-048cb245.js';
|
|
140
140
|
export { s as OrTextareaV3 } from '../OrTextarea.vue_vue_type_script_lang-f287189f.js';
|
|
141
141
|
export { s as OrTextbox } from '../OrTextbox.vue_vue_type_script_lang-dad835c3.js';
|
package/dist/bundled/v3/index.js
CHANGED
|
@@ -110,7 +110,7 @@ export { s as OrTabsV3 } from './OrTabs.vue_vue_type_script_lang-6d47e560.js';
|
|
|
110
110
|
import './components/OrTag/OrTag.js';
|
|
111
111
|
export { s as OrTag } from './OrTag.vue_vue_type_script_lang-4e98d8a0.js';
|
|
112
112
|
import './components/OrTextV3/OrText.js';
|
|
113
|
-
export { s as OrTextV3 } from './OrText.vue_vue_type_script_lang-
|
|
113
|
+
export { s as OrTextV3 } from './OrText.vue_vue_type_script_lang-6ce019db.js';
|
|
114
114
|
import './components/OrTextarea/OrTextarea.js';
|
|
115
115
|
export { s as OrTextarea } from './OrTextarea.vue_vue_type_script_lang-048cb245.js';
|
|
116
116
|
import './components/OrTextareaV3/OrTextarea.js';
|
|
@@ -64,7 +64,7 @@ var script = defineComponent({
|
|
|
64
64
|
const escapeLast = str => str && str.slice(0, -1) + '\xa0';
|
|
65
65
|
// State
|
|
66
66
|
const mainText = computed(() => {
|
|
67
|
-
if (props.sliceIndex && props.sliceIndex
|
|
67
|
+
if (props.sliceIndex && props.sliceIndex < props.text.length) {
|
|
68
68
|
let mainPart = props.text.slice(0, Math.abs(props.sliceIndex) * -1);
|
|
69
69
|
if (mainPart[mainPart.length - 1] === ' ') {
|
|
70
70
|
mainPart = escapeLast(mainPart);
|
|
@@ -98,7 +98,7 @@ export { _ as OrTag } from '../OrTag-8ded4261.js';
|
|
|
98
98
|
export { _ as OrTagV3, a as TagColor, T as TagVariant } from '../OrTag-843ec724.js';
|
|
99
99
|
export { _ as OrTeleport } from '../OrTeleport.vue2-f0c16c71.js';
|
|
100
100
|
export { _ as OrTeleportV3 } from '../OrTeleport.vue2-424c7f33.js';
|
|
101
|
-
export { _ as OrTextV3 } from '../OrText-
|
|
101
|
+
export { _ as OrTextV3 } from '../OrText-44449e7b.js';
|
|
102
102
|
export { _ as OrTextarea } from '../OrTextarea-226ab7a2.js';
|
|
103
103
|
export { _ as OrTextareaV3 } from '../OrTextarea-800f63d4.js';
|
|
104
104
|
export { _ as OrTextbox, T as TextboxTypes } from '../OrTextbox-90badc95.js';
|
package/dist/esm/v2/index.js
CHANGED
|
@@ -98,7 +98,7 @@ export { _ as OrTag } from './OrTag-8ded4261.js';
|
|
|
98
98
|
export { _ as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-843ec724.js';
|
|
99
99
|
export { _ as OrTeleport } from './OrTeleport.vue2-f0c16c71.js';
|
|
100
100
|
export { _ as OrTeleportV3 } from './OrTeleport.vue2-424c7f33.js';
|
|
101
|
-
export { _ as OrTextV3 } from './OrText-
|
|
101
|
+
export { _ as OrTextV3 } from './OrText-44449e7b.js';
|
|
102
102
|
export { _ as OrTextarea } from './OrTextarea-226ab7a2.js';
|
|
103
103
|
export { _ as OrTextareaV3 } from './OrTextarea-800f63d4.js';
|
|
104
104
|
export { _ as OrTextbox, T as TextboxTypes } from './OrTextbox-90badc95.js';
|
|
@@ -64,7 +64,7 @@ var script = defineComponent({
|
|
|
64
64
|
const escapeLast = str => str && str.slice(0, -1) + '\xa0';
|
|
65
65
|
// State
|
|
66
66
|
const mainText = computed(() => {
|
|
67
|
-
if (props.sliceIndex && props.sliceIndex
|
|
67
|
+
if (props.sliceIndex && props.sliceIndex < props.text.length) {
|
|
68
68
|
let mainPart = props.text.slice(0, Math.abs(props.sliceIndex) * -1);
|
|
69
69
|
if (mainPart[mainPart.length - 1] === ' ') {
|
|
70
70
|
mainPart = escapeLast(mainPart);
|
|
@@ -96,7 +96,7 @@ export { s as OrTag } from '../OrTag-2d9eacf8.js';
|
|
|
96
96
|
export { s as OrTagV3, a as TagColor, T as TagVariant } from '../OrTag-6116c6e3.js';
|
|
97
97
|
export { s as OrTeleport } from '../OrTeleport.vue3-9bce0c02.js';
|
|
98
98
|
export { s as OrTeleportV3 } from '../OrTeleport.vue3-8099178c.js';
|
|
99
|
-
export { s as OrTextV3 } from '../OrText-
|
|
99
|
+
export { s as OrTextV3 } from '../OrText-d54c951d.js';
|
|
100
100
|
export { s as OrTextarea } from '../OrTextarea-f6722edc.js';
|
|
101
101
|
export { s as OrTextareaV3 } from '../OrTextarea-fa1454e3.js';
|
|
102
102
|
export { s as OrTextbox, T as TextboxTypes } from '../OrTextbox-6e585202.js';
|
package/dist/esm/v3/index.js
CHANGED
|
@@ -96,7 +96,7 @@ export { s as OrTag } from './OrTag-2d9eacf8.js';
|
|
|
96
96
|
export { s as OrTagV3, a as TagColor, T as TagVariant } from './OrTag-6116c6e3.js';
|
|
97
97
|
export { s as OrTeleport } from './OrTeleport.vue3-9bce0c02.js';
|
|
98
98
|
export { s as OrTeleportV3 } from './OrTeleport.vue3-8099178c.js';
|
|
99
|
-
export { s as OrTextV3 } from './OrText-
|
|
99
|
+
export { s as OrTextV3 } from './OrText-d54c951d.js';
|
|
100
100
|
export { s as OrTextarea } from './OrTextarea-f6722edc.js';
|
|
101
101
|
export { s as OrTextareaV3 } from './OrTextarea-fa1454e3.js';
|
|
102
102
|
export { s as OrTextbox, T as TextboxTypes } from './OrTextbox-6e585202.js';
|
package/package.json
CHANGED
|
@@ -83,7 +83,7 @@ export default defineComponent({
|
|
|
83
83
|
|
|
84
84
|
// State
|
|
85
85
|
const mainText = computed(() => {
|
|
86
|
-
if (props.sliceIndex && props.sliceIndex
|
|
86
|
+
if (props.sliceIndex && props.sliceIndex < props.text.length) {
|
|
87
87
|
let mainPart = props.text.slice(0, Math.abs(props.sliceIndex) * -1);
|
|
88
88
|
|
|
89
89
|
if (mainPart[mainPart.length - 1] === ' ') {
|