@onereach/ui-components 13.2.4-beta.4667.0 → 14.0.1-beta.4674.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.
Files changed (39) hide show
  1. package/dist/bundled/v2/{OrInlineInput-5a27af80.js → OrInlineInput-4566725a.js} +5 -3
  2. package/dist/bundled/v2/components/OrInlineInputV3/OrInlineInput.js +1 -1
  3. package/dist/bundled/v2/components/OrInlineInputV3/OrInlineInput.vue.d.ts +3 -1
  4. package/dist/bundled/v2/components/OrInlineInputV3/index.js +1 -1
  5. package/dist/bundled/v2/components/OrInlineTextareaV3/OrInlineTextarea.js +5 -3
  6. package/dist/bundled/v2/components/OrInlineTextareaV3/OrInlineTextarea.vue.d.ts +3 -1
  7. package/dist/bundled/v2/components/index.js +1 -1
  8. package/dist/bundled/v2/index.js +1 -1
  9. package/dist/bundled/v3/components/OrInlineInputV3/OrInlineInput.js +1 -1
  10. package/dist/bundled/v3/components/OrInlineInputV3/OrInlineInput.vue.d.ts +3 -1
  11. package/dist/bundled/v3/components/OrInlineInputV3/index.js +1 -1
  12. package/dist/bundled/v3/components/OrInlineInputV3/styles.js +1 -1
  13. package/dist/bundled/v3/components/{OrInlineInputV3-0c9de727.js → OrInlineInputV3-179dc0a2.js} +3 -1
  14. package/dist/bundled/v3/components/OrInlineTextareaV3/OrInlineTextarea.js +1 -1
  15. package/dist/bundled/v3/components/OrInlineTextareaV3/OrInlineTextarea.vue.d.ts +3 -1
  16. package/dist/bundled/v3/components/OrInlineTextareaV3/index.js +1 -1
  17. package/dist/bundled/v3/components/OrInlineTextareaV3/styles.js +1 -1
  18. package/dist/bundled/v3/components/{OrInlineTextareaV3-10f5a676.js → OrInlineTextareaV3-fb32eea4.js} +3 -1
  19. package/dist/bundled/v3/components/index.js +2 -2
  20. package/dist/bundled/v3/index.js +2 -2
  21. package/dist/esm/v2/{OrInlineInput-2de1b4e3.js → OrInlineInput-aee84671.js} +5 -3
  22. package/dist/esm/v2/{OrInlineTextarea-5a967afa.js → OrInlineTextarea-deb31b89.js} +5 -3
  23. package/dist/esm/v2/components/index.js +2 -2
  24. package/dist/esm/v2/components/or-inline-input-v3/OrInlineInput.vue.d.ts +3 -1
  25. package/dist/esm/v2/components/or-inline-input-v3/index.js +1 -1
  26. package/dist/esm/v2/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +3 -1
  27. package/dist/esm/v2/components/or-inline-textarea-v3/index.js +1 -1
  28. package/dist/esm/v2/index.js +2 -2
  29. package/dist/esm/v3/{OrInlineInput-adda5350.js → OrInlineInput-12764109.js} +3 -1
  30. package/dist/esm/v3/{OrInlineTextarea-59aaf274.js → OrInlineTextarea-0bdb5785.js} +3 -1
  31. package/dist/esm/v3/components/index.js +2 -2
  32. package/dist/esm/v3/components/or-inline-input-v3/OrInlineInput.vue.d.ts +3 -1
  33. package/dist/esm/v3/components/or-inline-input-v3/index.js +1 -1
  34. package/dist/esm/v3/components/or-inline-textarea-v3/OrInlineTextarea.vue.d.ts +3 -1
  35. package/dist/esm/v3/components/or-inline-textarea-v3/index.js +1 -1
  36. package/dist/esm/v3/index.js +2 -2
  37. package/package.json +1 -1
  38. package/src/components/or-inline-input-v3/OrInlineInput.vue +4 -0
  39. package/src/components/or-inline-textarea-v3/OrInlineTextarea.vue +4 -0
@@ -60,7 +60,7 @@ var script = defineComponent({
60
60
  default: false
61
61
  }
62
62
  },
63
- emits: ['update:modelValue', 'input', 'keydown', 'keyup', 'focus', 'blur'],
63
+ emits: ['update:modelValue', 'input', 'keydown', 'keyup', 'focus', 'blur', 'apply', 'reset'],
64
64
  expose: ['root', 'apply', 'reset', 'focus', 'blur'],
65
65
  setup(props, context) {
66
66
  const attributes = reactive({
@@ -103,12 +103,14 @@ var script = defineComponent({
103
103
  model.value = draft.value;
104
104
  }
105
105
  activated.value = false;
106
+ context.emit('apply', model.value);
106
107
  }
107
108
  function reset() {
108
109
  if (draft.value !== model.value) {
109
110
  draft.value = model.value;
110
111
  }
111
112
  activated.value = false;
113
+ context.emit('reset', model.value);
112
114
  }
113
115
  function focus() {
114
116
  var _a;
@@ -140,7 +142,7 @@ var script = defineComponent({
140
142
  }
141
143
  });
142
144
 
143
- var css_248z = "input[data-v-234259c4]{min-width:0;background:0 0;outline:0}input[type=number][data-v-234259c4]::-webkit-inner-spin-button{display:none}input[type=search][data-v-234259c4]::-webkit-search-cancel-button{display:none}";
145
+ var css_248z = "input[data-v-061484dc]{min-width:0;background:0 0;outline:0}input[type=number][data-v-061484dc]::-webkit-inner-spin-button{display:none}input[type=search][data-v-061484dc]::-webkit-search-cancel-button{display:none}";
144
146
  styleInject(css_248z);
145
147
 
146
148
  /* script */
@@ -267,7 +269,7 @@ var __vue_staticRenderFns__ = [];
267
269
  /* style */
268
270
  const __vue_inject_styles__ = undefined;
269
271
  /* scoped */
270
- const __vue_scope_id__ = "data-v-234259c4";
272
+ const __vue_scope_id__ = "data-v-061484dc";
271
273
  /* module identifier */
272
274
  const __vue_module_identifier__ = undefined;
273
275
  /* functional template */
@@ -1,2 +1,2 @@
1
- export { _ as default } from '../../OrInlineInput-5a27af80.js';
1
+ export { _ as default } from '../../OrInlineInput-4566725a.js';
2
2
  import '../../normalize-component-6e8e3d80.js';
@@ -60,7 +60,7 @@ declare const _default: import("vue-demi").DefineComponent<{
60
60
  reset: () => void;
61
61
  focus: () => void;
62
62
  blur: () => void;
63
- }, unknown, {}, {}, import("vue-demi").ComponentOptionsMixin, import("vue-demi").ComponentOptionsMixin, ("update:modelValue" | "input" | "keydown" | "keyup" | "focus" | "blur")[], "update:modelValue" | "input" | "keydown" | "keyup" | "focus" | "blur", import("vue-demi").VNodeProps & import("vue-demi").AllowedComponentProps & import("vue-demi").ComponentCustomProps, Readonly<import("vue-demi").ExtractPropTypes<{
63
+ }, unknown, {}, {}, import("vue-demi").ComponentOptionsMixin, import("vue-demi").ComponentOptionsMixin, ("update:modelValue" | "input" | "keydown" | "keyup" | "focus" | "blur" | "apply" | "reset")[], "update:modelValue" | "input" | "keydown" | "keyup" | "focus" | "blur" | "apply" | "reset", import("vue-demi").VNodeProps & import("vue-demi").AllowedComponentProps & import("vue-demi").ComponentCustomProps, Readonly<import("vue-demi").ExtractPropTypes<{
64
64
  modelValue: {
65
65
  type: PropType<InlineInputModelValue>;
66
66
  default: undefined;
@@ -96,6 +96,8 @@ declare const _default: import("vue-demi").DefineComponent<{
96
96
  onKeyup?: ((...args: any[]) => any) | undefined;
97
97
  onFocus?: ((...args: any[]) => any) | undefined;
98
98
  onBlur?: ((...args: any[]) => any) | undefined;
99
+ onApply?: ((...args: any[]) => any) | undefined;
100
+ onReset?: ((...args: any[]) => any) | undefined;
99
101
  }, {
100
102
  modelValue: InlineInputModelValue;
101
103
  type: "number" | "text";
@@ -1 +1 @@
1
- export { I as InlineInputType, _ as OrInlineInputV3 } from '../../OrInlineInput-5a27af80.js';
1
+ export { I as InlineInputType, _ as OrInlineInputV3 } from '../../OrInlineInput-4566725a.js';
@@ -45,7 +45,7 @@ var script = defineComponent({
45
45
  default: false
46
46
  }
47
47
  },
48
- emits: ['update:modelValue', 'input', 'keydown', 'keyup', 'focus', 'blur'],
48
+ emits: ['update:modelValue', 'input', 'keydown', 'keyup', 'focus', 'blur', 'apply', 'reset'],
49
49
  expose: ['root', 'apply', 'reset', 'focus', 'blur'],
50
50
  setup(props, context) {
51
51
  const attributes = reactive({
@@ -88,12 +88,14 @@ var script = defineComponent({
88
88
  model.value = draft.value;
89
89
  }
90
90
  activated.value = false;
91
+ context.emit('apply', model.value);
91
92
  }
92
93
  function reset() {
93
94
  if (draft.value !== model.value) {
94
95
  draft.value = model.value;
95
96
  }
96
97
  activated.value = false;
98
+ context.emit('reset', model.value);
97
99
  }
98
100
  function focus() {
99
101
  var _a;
@@ -125,7 +127,7 @@ var script = defineComponent({
125
127
  }
126
128
  });
127
129
 
128
- var css_248z = "textarea[data-v-37ef33bd]{min-width:0;background:0 0;outline:0}";
130
+ var css_248z = "textarea[data-v-2677841e]{min-width:0;background:0 0;outline:0}";
129
131
  styleInject(css_248z);
130
132
 
131
133
  /* script */
@@ -251,7 +253,7 @@ var __vue_staticRenderFns__ = [];
251
253
  /* style */
252
254
  const __vue_inject_styles__ = undefined;
253
255
  /* scoped */
254
- const __vue_scope_id__ = "data-v-37ef33bd";
256
+ const __vue_scope_id__ = "data-v-2677841e";
255
257
  /* module identifier */
256
258
  const __vue_module_identifier__ = undefined;
257
259
  /* functional template */
@@ -51,7 +51,7 @@ declare const _default: import("vue-demi").DefineComponent<{
51
51
  reset: () => void;
52
52
  focus: () => void;
53
53
  blur: () => void;
54
- }, unknown, {}, {}, import("vue-demi").ComponentOptionsMixin, import("vue-demi").ComponentOptionsMixin, ("update:modelValue" | "input" | "keydown" | "keyup" | "focus" | "blur")[], "update:modelValue" | "input" | "keydown" | "keyup" | "focus" | "blur", import("vue-demi").VNodeProps & import("vue-demi").AllowedComponentProps & import("vue-demi").ComponentCustomProps, Readonly<import("vue-demi").ExtractPropTypes<{
54
+ }, unknown, {}, {}, import("vue-demi").ComponentOptionsMixin, import("vue-demi").ComponentOptionsMixin, ("update:modelValue" | "input" | "keydown" | "keyup" | "focus" | "blur" | "apply" | "reset")[], "update:modelValue" | "input" | "keydown" | "keyup" | "focus" | "blur" | "apply" | "reset", import("vue-demi").VNodeProps & import("vue-demi").AllowedComponentProps & import("vue-demi").ComponentCustomProps, Readonly<import("vue-demi").ExtractPropTypes<{
55
55
  modelValue: {
56
56
  type: PropType<InlineTextareaModelValue>;
57
57
  default: undefined;
@@ -79,6 +79,8 @@ declare const _default: import("vue-demi").DefineComponent<{
79
79
  onKeyup?: ((...args: any[]) => any) | undefined;
80
80
  onFocus?: ((...args: any[]) => any) | undefined;
81
81
  onBlur?: ((...args: any[]) => any) | undefined;
82
+ onApply?: ((...args: any[]) => any) | undefined;
83
+ onReset?: ((...args: any[]) => any) | undefined;
82
84
  }, {
83
85
  modelValue: InlineTextareaModelValue;
84
86
  placeholder: string;
@@ -91,7 +91,7 @@ export { default as OrIconV3 } from './OrIconV3/OrIcon.js';
91
91
  export { IconSize, IconVariant } from './OrIconV3/props.js';
92
92
  export { default as OrInlineInputBoxV3 } from './OrInlineInputBoxV3/OrInlineInputBox.js';
93
93
  export { InlineInputBoxSize } from './OrInlineInputBoxV3/props.js';
94
- export { I as InlineInputType, _ as OrInlineInputV3 } from '../OrInlineInput-5a27af80.js';
94
+ export { I as InlineInputType, _ as OrInlineInputV3 } from '../OrInlineInput-4566725a.js';
95
95
  export { default as OrInlineTextEdit } from './OrInlineTextEdit/OrInlineTextEdit.js';
96
96
  export { InlineTextEditTrimmingTypes, InlineTextEditTypes } from './OrInlineTextEdit/constants.js';
97
97
  export { default as OrInlineTextareaV3 } from './OrInlineTextareaV3/OrInlineTextarea.js';
@@ -31,7 +31,7 @@ export { default as OrEditorTabsV3 } from './components/OrEditorTabsV3/OrEditorT
31
31
  export { default as OrEmptyStateV3 } from './components/OrEmptyStateV3/OrEmptyState.js';
32
32
  export { default as OrErrorTagV3 } from './components/OrErrorTagV3/OrErrorTag.js';
33
33
  export { default as OrFabV3 } from './components/OrFabV3/OrFab.js';
34
- export { I as InlineInputType, _ as OrInlineInputV3 } from './OrInlineInput-5a27af80.js';
34
+ export { I as InlineInputType, _ as OrInlineInputV3 } from './OrInlineInput-4566725a.js';
35
35
  export { default as OrInlineTextEdit } from './components/OrInlineTextEdit/OrInlineTextEdit.js';
36
36
  export { default as OrInlineTextareaV3 } from './components/OrInlineTextareaV3/OrInlineTextarea.js';
37
37
  export { default as OrLinkV3 } from './components/OrLinkV3/OrLink.js';
@@ -1 +1 @@
1
- export { s as default } from '../OrInlineInputV3-0c9de727.js';
1
+ export { s as default } from '../OrInlineInputV3-179dc0a2.js';
@@ -60,7 +60,7 @@ declare const _default: import("vue-demi").DefineComponent<{
60
60
  reset: () => void;
61
61
  focus: () => void;
62
62
  blur: () => void;
63
- }, unknown, {}, {}, import("vue-demi").ComponentOptionsMixin, import("vue-demi").ComponentOptionsMixin, ("update:modelValue" | "input" | "keydown" | "keyup" | "focus" | "blur")[], "update:modelValue" | "input" | "keydown" | "keyup" | "focus" | "blur", import("vue-demi").VNodeProps & import("vue-demi").AllowedComponentProps & import("vue-demi").ComponentCustomProps, Readonly<import("vue-demi").ExtractPropTypes<{
63
+ }, unknown, {}, {}, import("vue-demi").ComponentOptionsMixin, import("vue-demi").ComponentOptionsMixin, ("update:modelValue" | "input" | "keydown" | "keyup" | "focus" | "blur" | "apply" | "reset")[], "update:modelValue" | "input" | "keydown" | "keyup" | "focus" | "blur" | "apply" | "reset", import("vue-demi").VNodeProps & import("vue-demi").AllowedComponentProps & import("vue-demi").ComponentCustomProps, Readonly<import("vue-demi").ExtractPropTypes<{
64
64
  modelValue: {
65
65
  type: PropType<InlineInputModelValue>;
66
66
  default: undefined;
@@ -96,6 +96,8 @@ declare const _default: import("vue-demi").DefineComponent<{
96
96
  onKeyup?: ((...args: any[]) => any) | undefined;
97
97
  onFocus?: ((...args: any[]) => any) | undefined;
98
98
  onBlur?: ((...args: any[]) => any) | undefined;
99
+ onApply?: ((...args: any[]) => any) | undefined;
100
+ onReset?: ((...args: any[]) => any) | undefined;
99
101
  }, {
100
102
  modelValue: InlineInputModelValue;
101
103
  type: "number" | "text";
@@ -1 +1 @@
1
- export { I as InlineInputType, s as OrInlineInputV3 } from '../OrInlineInputV3-0c9de727.js';
1
+ export { I as InlineInputType, s as OrInlineInputV3 } from '../OrInlineInputV3-179dc0a2.js';
@@ -1,2 +1,2 @@
1
1
  import '../OrInlineInputBoxV3-1a4d3924.js';
2
- export { a as InlineInput, c as InlineInputAction, d as InlineInputActionSizes, b as InlineInputControl } from '../OrInlineInputV3-0c9de727.js';
2
+ export { a as InlineInput, c as InlineInputAction, d as InlineInputActionSizes, b as InlineInputControl } from '../OrInlineInputV3-179dc0a2.js';
@@ -86,7 +86,7 @@ var script = defineComponent({
86
86
  default: false
87
87
  }
88
88
  },
89
- emits: ['update:modelValue', 'input', 'keydown', 'keyup', 'focus', 'blur'],
89
+ emits: ['update:modelValue', 'input', 'keydown', 'keyup', 'focus', 'blur', 'apply', 'reset'],
90
90
  expose: ['root', 'apply', 'reset', 'focus', 'blur'],
91
91
  setup(props, context) {
92
92
  const attributes = reactive({
@@ -129,12 +129,14 @@ var script = defineComponent({
129
129
  model.value = draft.value;
130
130
  }
131
131
  activated.value = false;
132
+ context.emit('apply', model.value);
132
133
  }
133
134
  function reset() {
134
135
  if (draft.value !== model.value) {
135
136
  draft.value = model.value;
136
137
  }
137
138
  activated.value = false;
139
+ context.emit('reset', model.value);
138
140
  }
139
141
  function focus() {
140
142
  var _a;
@@ -1 +1 @@
1
- export { s as default } from '../OrInlineTextareaV3-10f5a676.js';
1
+ export { s as default } from '../OrInlineTextareaV3-fb32eea4.js';
@@ -51,7 +51,7 @@ declare const _default: import("vue-demi").DefineComponent<{
51
51
  reset: () => void;
52
52
  focus: () => void;
53
53
  blur: () => void;
54
- }, unknown, {}, {}, import("vue-demi").ComponentOptionsMixin, import("vue-demi").ComponentOptionsMixin, ("update:modelValue" | "input" | "keydown" | "keyup" | "focus" | "blur")[], "update:modelValue" | "input" | "keydown" | "keyup" | "focus" | "blur", import("vue-demi").VNodeProps & import("vue-demi").AllowedComponentProps & import("vue-demi").ComponentCustomProps, Readonly<import("vue-demi").ExtractPropTypes<{
54
+ }, unknown, {}, {}, import("vue-demi").ComponentOptionsMixin, import("vue-demi").ComponentOptionsMixin, ("update:modelValue" | "input" | "keydown" | "keyup" | "focus" | "blur" | "apply" | "reset")[], "update:modelValue" | "input" | "keydown" | "keyup" | "focus" | "blur" | "apply" | "reset", import("vue-demi").VNodeProps & import("vue-demi").AllowedComponentProps & import("vue-demi").ComponentCustomProps, Readonly<import("vue-demi").ExtractPropTypes<{
55
55
  modelValue: {
56
56
  type: PropType<InlineTextareaModelValue>;
57
57
  default: undefined;
@@ -79,6 +79,8 @@ declare const _default: import("vue-demi").DefineComponent<{
79
79
  onKeyup?: ((...args: any[]) => any) | undefined;
80
80
  onFocus?: ((...args: any[]) => any) | undefined;
81
81
  onBlur?: ((...args: any[]) => any) | undefined;
82
+ onApply?: ((...args: any[]) => any) | undefined;
83
+ onReset?: ((...args: any[]) => any) | undefined;
82
84
  }, {
83
85
  modelValue: InlineTextareaModelValue;
84
86
  placeholder: string;
@@ -1 +1 @@
1
- export { s as OrInlineTextareaV3 } from '../OrInlineTextareaV3-10f5a676.js';
1
+ export { s as OrInlineTextareaV3 } from '../OrInlineTextareaV3-fb32eea4.js';
@@ -1 +1 @@
1
- export { I as InlineTextarea, b as InlineTextareaAction, a as InlineTextareaControl } from '../OrInlineTextareaV3-10f5a676.js';
1
+ export { I as InlineTextarea, b as InlineTextareaAction, a as InlineTextareaControl } from '../OrInlineTextareaV3-fb32eea4.js';
@@ -64,7 +64,7 @@ var script = defineComponent({
64
64
  default: false
65
65
  }
66
66
  },
67
- emits: ['update:modelValue', 'input', 'keydown', 'keyup', 'focus', 'blur'],
67
+ emits: ['update:modelValue', 'input', 'keydown', 'keyup', 'focus', 'blur', 'apply', 'reset'],
68
68
  expose: ['root', 'apply', 'reset', 'focus', 'blur'],
69
69
  setup(props, context) {
70
70
  const attributes = reactive({
@@ -107,12 +107,14 @@ var script = defineComponent({
107
107
  model.value = draft.value;
108
108
  }
109
109
  activated.value = false;
110
+ context.emit('apply', model.value);
110
111
  }
111
112
  function reset() {
112
113
  if (draft.value !== model.value) {
113
114
  draft.value = model.value;
114
115
  }
115
116
  activated.value = false;
117
+ context.emit('reset', model.value);
116
118
  }
117
119
  function focus() {
118
120
  var _a;
@@ -48,9 +48,9 @@ export { OrIcon, OrIconColors, OrIconType } from './OrIcon/index.js';
48
48
  export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButtonV3-5f3498f0.js';
49
49
  export { I as IconSize, a as IconVariant, s as OrIconV3 } from './OrIconV3-b5c97ea7.js';
50
50
  export { I as InlineInputBoxSize, s as OrInlineInputBoxV3 } from './OrInlineInputBoxV3-1a4d3924.js';
51
- export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInputV3-0c9de727.js';
51
+ export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInputV3-179dc0a2.js';
52
52
  export { InlineTextEditTrimmingTypes, InlineTextEditTypes, OrInlineTextEdit } from './OrInlineTextEdit/index.js';
53
- export { s as OrInlineTextareaV3 } from './OrInlineTextareaV3-10f5a676.js';
53
+ export { s as OrInlineTextareaV3 } from './OrInlineTextareaV3-fb32eea4.js';
54
54
  export { default as OrInput } from './OrInput/OrInput.js';
55
55
  export { b as InputBoxDirection, a as InputBoxSize, I as InputBoxVariant, s as OrInputBoxV3 } from './OrInputBoxV3-efe30bd8.js';
56
56
  export { I as InputType, s as OrInputV3 } from './OrInputV3-7ff68994.js';
@@ -27,9 +27,9 @@ export { E as EditorTabsOverflow, s as OrEditorTabsV3 } from './components/OrEdi
27
27
  export { E as EmptyStateSize, s as OrEmptyStateV3 } from './components/OrEmptyStateV3-af47ab45.js';
28
28
  export { s as OrErrorTagV3 } from './components/OrErrorTagV3-1b00b9d5.js';
29
29
  export { F as FabColor, s as OrFabV3 } from './components/OrFabV3-86cf1da1.js';
30
- export { I as InlineInputType, s as OrInlineInputV3 } from './components/OrInlineInputV3-0c9de727.js';
30
+ export { I as InlineInputType, s as OrInlineInputV3 } from './components/OrInlineInputV3-179dc0a2.js';
31
31
  export { InlineTextEditTrimmingTypes, InlineTextEditTypes, OrInlineTextEdit } from './components/OrInlineTextEdit/index.js';
32
- export { s as OrInlineTextareaV3 } from './components/OrInlineTextareaV3-10f5a676.js';
32
+ export { s as OrInlineTextareaV3 } from './components/OrInlineTextareaV3-fb32eea4.js';
33
33
  export { L as LinkColor, s as OrLinkV3 } from './components/OrLinkV3-56763fd9.js';
34
34
  export { default as OrListOfInputs } from './components/OrListOfInputs/OrListOfInputs.js';
35
35
  export { a as OrListItem, s as OrListV3 } from './components/OrListV3-cadfd7ac.js';
@@ -90,7 +90,7 @@ var script = defineComponent({
90
90
  default: false
91
91
  }
92
92
  },
93
- emits: ['update:modelValue', 'input', 'keydown', 'keyup', 'focus', 'blur'],
93
+ emits: ['update:modelValue', 'input', 'keydown', 'keyup', 'focus', 'blur', 'apply', 'reset'],
94
94
  expose: ['root', 'apply', 'reset', 'focus', 'blur'],
95
95
  setup(props, context) {
96
96
  const attributes = reactive({
@@ -133,12 +133,14 @@ var script = defineComponent({
133
133
  model.value = draft.value;
134
134
  }
135
135
  activated.value = false;
136
+ context.emit('apply', model.value);
136
137
  }
137
138
  function reset() {
138
139
  if (draft.value !== model.value) {
139
140
  draft.value = model.value;
140
141
  }
141
142
  activated.value = false;
143
+ context.emit('reset', model.value);
142
144
  }
143
145
  function focus() {
144
146
  var _a;
@@ -170,7 +172,7 @@ var script = defineComponent({
170
172
  }
171
173
  });
172
174
 
173
- var css_248z = "input[data-v-234259c4]{min-width:0;background:0 0;outline:0}input[type=number][data-v-234259c4]::-webkit-inner-spin-button{display:none}input[type=search][data-v-234259c4]::-webkit-search-cancel-button{display:none}";
175
+ var css_248z = "input[data-v-061484dc]{min-width:0;background:0 0;outline:0}input[type=number][data-v-061484dc]::-webkit-inner-spin-button{display:none}input[type=search][data-v-061484dc]::-webkit-search-cancel-button{display:none}";
174
176
  styleInject(css_248z);
175
177
 
176
178
  /* script */
@@ -297,7 +299,7 @@ var __vue_staticRenderFns__ = [];
297
299
  /* style */
298
300
  const __vue_inject_styles__ = undefined;
299
301
  /* scoped */
300
- const __vue_scope_id__ = "data-v-234259c4";
302
+ const __vue_scope_id__ = "data-v-061484dc";
301
303
  /* module identifier */
302
304
  const __vue_module_identifier__ = undefined;
303
305
  /* functional template */
@@ -68,7 +68,7 @@ var script = defineComponent({
68
68
  default: false
69
69
  }
70
70
  },
71
- emits: ['update:modelValue', 'input', 'keydown', 'keyup', 'focus', 'blur'],
71
+ emits: ['update:modelValue', 'input', 'keydown', 'keyup', 'focus', 'blur', 'apply', 'reset'],
72
72
  expose: ['root', 'apply', 'reset', 'focus', 'blur'],
73
73
  setup(props, context) {
74
74
  const attributes = reactive({
@@ -111,12 +111,14 @@ var script = defineComponent({
111
111
  model.value = draft.value;
112
112
  }
113
113
  activated.value = false;
114
+ context.emit('apply', model.value);
114
115
  }
115
116
  function reset() {
116
117
  if (draft.value !== model.value) {
117
118
  draft.value = model.value;
118
119
  }
119
120
  activated.value = false;
121
+ context.emit('reset', model.value);
120
122
  }
121
123
  function focus() {
122
124
  var _a;
@@ -148,7 +150,7 @@ var script = defineComponent({
148
150
  }
149
151
  });
150
152
 
151
- var css_248z = "textarea[data-v-37ef33bd]{min-width:0;background:0 0;outline:0}";
153
+ var css_248z = "textarea[data-v-2677841e]{min-width:0;background:0 0;outline:0}";
152
154
  styleInject(css_248z);
153
155
 
154
156
  /* script */
@@ -274,7 +276,7 @@ var __vue_staticRenderFns__ = [];
274
276
  /* style */
275
277
  const __vue_inject_styles__ = undefined;
276
278
  /* scoped */
277
- const __vue_scope_id__ = "data-v-37ef33bd";
279
+ const __vue_scope_id__ = "data-v-2677841e";
278
280
  /* module identifier */
279
281
  const __vue_module_identifier__ = undefined;
280
282
  /* functional template */
@@ -64,9 +64,9 @@ export { _ as OrIcon, O as OrIconColors, a as OrIconType } from '../OrIcon-9ca8a
64
64
  export { I as IconButtonColor, _ as OrIconButtonV3 } from '../OrIconButton-efaf73f5.js';
65
65
  export { a as IconSize, I as IconVariant, _ as OrIconV3 } from '../OrIcon-0a14dafc.js';
66
66
  export { I as InlineInputBoxSize, _ as OrInlineInputBoxV3 } from '../OrInlineInputBox-b4cf1583.js';
67
- export { I as InlineInputType, _ as OrInlineInputV3 } from '../OrInlineInput-2de1b4e3.js';
67
+ export { I as InlineInputType, _ as OrInlineInputV3 } from '../OrInlineInput-aee84671.js';
68
68
  export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, _ as OrInlineTextEdit } from '../OrInlineTextEdit-39be2a6b.js';
69
- export { _ as OrInlineTextareaV3 } from '../OrInlineTextarea-5a967afa.js';
69
+ export { _ as OrInlineTextareaV3 } from '../OrInlineTextarea-deb31b89.js';
70
70
  export { _ as OrInput } from '../OrInput-3999ffd3.js';
71
71
  export { _ as OrInputBoxV3 } from '../OrInputBox-49393c02.js';
72
72
  export { I as InputBoxDirection, b as InputBoxSize, a as InputBoxVariant } from '../OrInputBox.vue_rollup-plugin-vue_script-b5033d84.js';
@@ -60,7 +60,7 @@ declare const _default: import("vue-demi").DefineComponent<{
60
60
  reset: () => void;
61
61
  focus: () => void;
62
62
  blur: () => void;
63
- }, unknown, {}, {}, import("vue-demi").ComponentOptionsMixin, import("vue-demi").ComponentOptionsMixin, ("update:modelValue" | "input" | "keydown" | "keyup" | "focus" | "blur")[], "update:modelValue" | "input" | "keydown" | "keyup" | "focus" | "blur", import("vue-demi").VNodeProps & import("vue-demi").AllowedComponentProps & import("vue-demi").ComponentCustomProps, Readonly<import("vue-demi").ExtractPropTypes<{
63
+ }, unknown, {}, {}, import("vue-demi").ComponentOptionsMixin, import("vue-demi").ComponentOptionsMixin, ("update:modelValue" | "input" | "keydown" | "keyup" | "focus" | "blur" | "apply" | "reset")[], "update:modelValue" | "input" | "keydown" | "keyup" | "focus" | "blur" | "apply" | "reset", import("vue-demi").VNodeProps & import("vue-demi").AllowedComponentProps & import("vue-demi").ComponentCustomProps, Readonly<import("vue-demi").ExtractPropTypes<{
64
64
  modelValue: {
65
65
  type: PropType<InlineInputModelValue>;
66
66
  default: undefined;
@@ -96,6 +96,8 @@ declare const _default: import("vue-demi").DefineComponent<{
96
96
  onKeyup?: ((...args: any[]) => any) | undefined;
97
97
  onFocus?: ((...args: any[]) => any) | undefined;
98
98
  onBlur?: ((...args: any[]) => any) | undefined;
99
+ onApply?: ((...args: any[]) => any) | undefined;
100
+ onReset?: ((...args: any[]) => any) | undefined;
99
101
  }, {
100
102
  modelValue: InlineInputModelValue;
101
103
  type: "number" | "text";
@@ -1,4 +1,4 @@
1
- export { I as InlineInputType, _ as OrInlineInputV3 } from '../../OrInlineInput-2de1b4e3.js';
1
+ export { I as InlineInputType, _ as OrInlineInputV3 } from '../../OrInlineInput-aee84671.js';
2
2
  import 'vue-demi';
3
3
  import '../../useIdAttribute-3a339b79.js';
4
4
  import '../../TimeFormat-a7f5565b.js';
@@ -51,7 +51,7 @@ declare const _default: import("vue-demi").DefineComponent<{
51
51
  reset: () => void;
52
52
  focus: () => void;
53
53
  blur: () => void;
54
- }, unknown, {}, {}, import("vue-demi").ComponentOptionsMixin, import("vue-demi").ComponentOptionsMixin, ("update:modelValue" | "input" | "keydown" | "keyup" | "focus" | "blur")[], "update:modelValue" | "input" | "keydown" | "keyup" | "focus" | "blur", import("vue-demi").VNodeProps & import("vue-demi").AllowedComponentProps & import("vue-demi").ComponentCustomProps, Readonly<import("vue-demi").ExtractPropTypes<{
54
+ }, unknown, {}, {}, import("vue-demi").ComponentOptionsMixin, import("vue-demi").ComponentOptionsMixin, ("update:modelValue" | "input" | "keydown" | "keyup" | "focus" | "blur" | "apply" | "reset")[], "update:modelValue" | "input" | "keydown" | "keyup" | "focus" | "blur" | "apply" | "reset", import("vue-demi").VNodeProps & import("vue-demi").AllowedComponentProps & import("vue-demi").ComponentCustomProps, Readonly<import("vue-demi").ExtractPropTypes<{
55
55
  modelValue: {
56
56
  type: PropType<InlineTextareaModelValue>;
57
57
  default: undefined;
@@ -79,6 +79,8 @@ declare const _default: import("vue-demi").DefineComponent<{
79
79
  onKeyup?: ((...args: any[]) => any) | undefined;
80
80
  onFocus?: ((...args: any[]) => any) | undefined;
81
81
  onBlur?: ((...args: any[]) => any) | undefined;
82
+ onApply?: ((...args: any[]) => any) | undefined;
83
+ onReset?: ((...args: any[]) => any) | undefined;
82
84
  }, {
83
85
  modelValue: InlineTextareaModelValue;
84
86
  placeholder: string;
@@ -1,4 +1,4 @@
1
- export { _ as OrInlineTextareaV3 } from '../../OrInlineTextarea-5a967afa.js';
1
+ export { _ as OrInlineTextareaV3 } from '../../OrInlineTextarea-deb31b89.js';
2
2
  import 'vue-demi';
3
3
  import '../../useIdAttribute-3a339b79.js';
4
4
  import '../../TimeFormat-a7f5565b.js';
@@ -64,9 +64,9 @@ export { _ as OrIcon, O as OrIconColors, a as OrIconType } from './OrIcon-9ca8a3
64
64
  export { I as IconButtonColor, _ as OrIconButtonV3 } from './OrIconButton-efaf73f5.js';
65
65
  export { a as IconSize, I as IconVariant, _ as OrIconV3 } from './OrIcon-0a14dafc.js';
66
66
  export { I as InlineInputBoxSize, _ as OrInlineInputBoxV3 } from './OrInlineInputBox-b4cf1583.js';
67
- export { I as InlineInputType, _ as OrInlineInputV3 } from './OrInlineInput-2de1b4e3.js';
67
+ export { I as InlineInputType, _ as OrInlineInputV3 } from './OrInlineInput-aee84671.js';
68
68
  export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, _ as OrInlineTextEdit } from './OrInlineTextEdit-39be2a6b.js';
69
- export { _ as OrInlineTextareaV3 } from './OrInlineTextarea-5a967afa.js';
69
+ export { _ as OrInlineTextareaV3 } from './OrInlineTextarea-deb31b89.js';
70
70
  export { _ as OrInput } from './OrInput-3999ffd3.js';
71
71
  export { _ as OrInputBoxV3 } from './OrInputBox-49393c02.js';
72
72
  export { I as InputBoxDirection, b as InputBoxSize, a as InputBoxVariant } from './OrInputBox.vue_rollup-plugin-vue_script-b5033d84.js';
@@ -90,7 +90,7 @@ var script = defineComponent({
90
90
  default: false
91
91
  }
92
92
  },
93
- emits: ['update:modelValue', 'input', 'keydown', 'keyup', 'focus', 'blur'],
93
+ emits: ['update:modelValue', 'input', 'keydown', 'keyup', 'focus', 'blur', 'apply', 'reset'],
94
94
  expose: ['root', 'apply', 'reset', 'focus', 'blur'],
95
95
  setup(props, context) {
96
96
  const attributes = reactive({
@@ -133,12 +133,14 @@ var script = defineComponent({
133
133
  model.value = draft.value;
134
134
  }
135
135
  activated.value = false;
136
+ context.emit('apply', model.value);
136
137
  }
137
138
  function reset() {
138
139
  if (draft.value !== model.value) {
139
140
  draft.value = model.value;
140
141
  }
141
142
  activated.value = false;
143
+ context.emit('reset', model.value);
142
144
  }
143
145
  function focus() {
144
146
  var _a;
@@ -68,7 +68,7 @@ var script = defineComponent({
68
68
  default: false
69
69
  }
70
70
  },
71
- emits: ['update:modelValue', 'input', 'keydown', 'keyup', 'focus', 'blur'],
71
+ emits: ['update:modelValue', 'input', 'keydown', 'keyup', 'focus', 'blur', 'apply', 'reset'],
72
72
  expose: ['root', 'apply', 'reset', 'focus', 'blur'],
73
73
  setup(props, context) {
74
74
  const attributes = reactive({
@@ -111,12 +111,14 @@ var script = defineComponent({
111
111
  model.value = draft.value;
112
112
  }
113
113
  activated.value = false;
114
+ context.emit('apply', model.value);
114
115
  }
115
116
  function reset() {
116
117
  if (draft.value !== model.value) {
117
118
  draft.value = model.value;
118
119
  }
119
120
  activated.value = false;
121
+ context.emit('reset', model.value);
120
122
  }
121
123
  function focus() {
122
124
  var _a;
@@ -62,9 +62,9 @@ export { s as OrIcon, O as OrIconColors, a as OrIconType } from '../OrIcon-22d7a
62
62
  export { I as IconButtonColor, s as OrIconButtonV3 } from '../OrIconButton-5a508869.js';
63
63
  export { a as IconSize, I as IconVariant, s as OrIconV3 } from '../OrIcon-9aff520e.js';
64
64
  export { I as InlineInputBoxSize, s as OrInlineInputBoxV3 } from '../OrInlineInputBox-9d62d2b3.js';
65
- export { I as InlineInputType, s as OrInlineInputV3 } from '../OrInlineInput-adda5350.js';
65
+ export { I as InlineInputType, s as OrInlineInputV3 } from '../OrInlineInput-12764109.js';
66
66
  export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from '../OrInlineTextEdit-5c305893.js';
67
- export { s as OrInlineTextareaV3 } from '../OrInlineTextarea-59aaf274.js';
67
+ export { s as OrInlineTextareaV3 } from '../OrInlineTextarea-0bdb5785.js';
68
68
  export { s as OrInput } from '../OrInput-fb39bee1.js';
69
69
  export { I as InputBoxDirection, b as InputBoxSize, a as InputBoxVariant, s as OrInputBoxV3 } from '../OrInputBox-2f33498c.js';
70
70
  export { I as InputType, s as OrInputV3 } from '../OrInput-6b60bf4a.js';
@@ -60,7 +60,7 @@ declare const _default: import("vue-demi").DefineComponent<{
60
60
  reset: () => void;
61
61
  focus: () => void;
62
62
  blur: () => void;
63
- }, unknown, {}, {}, import("vue-demi").ComponentOptionsMixin, import("vue-demi").ComponentOptionsMixin, ("update:modelValue" | "input" | "keydown" | "keyup" | "focus" | "blur")[], "update:modelValue" | "input" | "keydown" | "keyup" | "focus" | "blur", import("vue-demi").VNodeProps & import("vue-demi").AllowedComponentProps & import("vue-demi").ComponentCustomProps, Readonly<import("vue-demi").ExtractPropTypes<{
63
+ }, unknown, {}, {}, import("vue-demi").ComponentOptionsMixin, import("vue-demi").ComponentOptionsMixin, ("update:modelValue" | "input" | "keydown" | "keyup" | "focus" | "blur" | "apply" | "reset")[], "update:modelValue" | "input" | "keydown" | "keyup" | "focus" | "blur" | "apply" | "reset", import("vue-demi").VNodeProps & import("vue-demi").AllowedComponentProps & import("vue-demi").ComponentCustomProps, Readonly<import("vue-demi").ExtractPropTypes<{
64
64
  modelValue: {
65
65
  type: PropType<InlineInputModelValue>;
66
66
  default: undefined;
@@ -96,6 +96,8 @@ declare const _default: import("vue-demi").DefineComponent<{
96
96
  onKeyup?: ((...args: any[]) => any) | undefined;
97
97
  onFocus?: ((...args: any[]) => any) | undefined;
98
98
  onBlur?: ((...args: any[]) => any) | undefined;
99
+ onApply?: ((...args: any[]) => any) | undefined;
100
+ onReset?: ((...args: any[]) => any) | undefined;
99
101
  }, {
100
102
  modelValue: InlineInputModelValue;
101
103
  type: "number" | "text";
@@ -1,4 +1,4 @@
1
- export { I as InlineInputType, s as OrInlineInputV3 } from '../../OrInlineInput-adda5350.js';
1
+ export { I as InlineInputType, s as OrInlineInputV3 } from '../../OrInlineInput-12764109.js';
2
2
  import 'vue-demi';
3
3
  import '../../useIdAttribute-3a339b79.js';
4
4
  import '../../TimeFormat-a7f5565b.js';
@@ -51,7 +51,7 @@ declare const _default: import("vue-demi").DefineComponent<{
51
51
  reset: () => void;
52
52
  focus: () => void;
53
53
  blur: () => void;
54
- }, unknown, {}, {}, import("vue-demi").ComponentOptionsMixin, import("vue-demi").ComponentOptionsMixin, ("update:modelValue" | "input" | "keydown" | "keyup" | "focus" | "blur")[], "update:modelValue" | "input" | "keydown" | "keyup" | "focus" | "blur", import("vue-demi").VNodeProps & import("vue-demi").AllowedComponentProps & import("vue-demi").ComponentCustomProps, Readonly<import("vue-demi").ExtractPropTypes<{
54
+ }, unknown, {}, {}, import("vue-demi").ComponentOptionsMixin, import("vue-demi").ComponentOptionsMixin, ("update:modelValue" | "input" | "keydown" | "keyup" | "focus" | "blur" | "apply" | "reset")[], "update:modelValue" | "input" | "keydown" | "keyup" | "focus" | "blur" | "apply" | "reset", import("vue-demi").VNodeProps & import("vue-demi").AllowedComponentProps & import("vue-demi").ComponentCustomProps, Readonly<import("vue-demi").ExtractPropTypes<{
55
55
  modelValue: {
56
56
  type: PropType<InlineTextareaModelValue>;
57
57
  default: undefined;
@@ -79,6 +79,8 @@ declare const _default: import("vue-demi").DefineComponent<{
79
79
  onKeyup?: ((...args: any[]) => any) | undefined;
80
80
  onFocus?: ((...args: any[]) => any) | undefined;
81
81
  onBlur?: ((...args: any[]) => any) | undefined;
82
+ onApply?: ((...args: any[]) => any) | undefined;
83
+ onReset?: ((...args: any[]) => any) | undefined;
82
84
  }, {
83
85
  modelValue: InlineTextareaModelValue;
84
86
  placeholder: string;
@@ -1,4 +1,4 @@
1
- export { s as OrInlineTextareaV3 } from '../../OrInlineTextarea-59aaf274.js';
1
+ export { s as OrInlineTextareaV3 } from '../../OrInlineTextarea-0bdb5785.js';
2
2
  import 'vue-demi';
3
3
  import '../../useIdAttribute-3a339b79.js';
4
4
  import '../../TimeFormat-a7f5565b.js';
@@ -62,9 +62,9 @@ export { s as OrIcon, O as OrIconColors, a as OrIconType } from './OrIcon-22d7ae
62
62
  export { I as IconButtonColor, s as OrIconButtonV3 } from './OrIconButton-5a508869.js';
63
63
  export { a as IconSize, I as IconVariant, s as OrIconV3 } from './OrIcon-9aff520e.js';
64
64
  export { I as InlineInputBoxSize, s as OrInlineInputBoxV3 } from './OrInlineInputBox-9d62d2b3.js';
65
- export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-adda5350.js';
65
+ export { I as InlineInputType, s as OrInlineInputV3 } from './OrInlineInput-12764109.js';
66
66
  export { a as InlineTextEditTrimmingTypes, I as InlineTextEditTypes, s as OrInlineTextEdit } from './OrInlineTextEdit-5c305893.js';
67
- export { s as OrInlineTextareaV3 } from './OrInlineTextarea-59aaf274.js';
67
+ export { s as OrInlineTextareaV3 } from './OrInlineTextarea-0bdb5785.js';
68
68
  export { s as OrInput } from './OrInput-fb39bee1.js';
69
69
  export { I as InputBoxDirection, b as InputBoxSize, a as InputBoxVariant, s as OrInputBoxV3 } from './OrInputBox-2f33498c.js';
70
70
  export { I as InputType, s as OrInputV3 } from './OrInput-6b60bf4a.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/ui-components",
3
- "version": "13.2.4-beta.4667.0",
3
+ "version": "14.0.1-beta.4674.0",
4
4
  "npmUnpacked": "4.15.2",
5
5
  "description": "Vue components library for v2/3",
6
6
  "sideEffects": false,
@@ -139,6 +139,8 @@ export default defineComponent({
139
139
  'keyup',
140
140
  'focus',
141
141
  'blur',
142
+ 'apply',
143
+ 'reset',
142
144
  ],
143
145
 
144
146
  expose: [
@@ -213,6 +215,7 @@ export default defineComponent({
213
215
  }
214
216
 
215
217
  activated.value = false;
218
+ context.emit('apply', model.value);
216
219
  }
217
220
 
218
221
  function reset(): void {
@@ -221,6 +224,7 @@ export default defineComponent({
221
224
  }
222
225
 
223
226
  activated.value = false;
227
+ context.emit('reset', model.value);
224
228
  }
225
229
 
226
230
  function focus(): void {
@@ -128,6 +128,8 @@ export default defineComponent({
128
128
  'keyup',
129
129
  'focus',
130
130
  'blur',
131
+ 'apply',
132
+ 'reset',
131
133
  ],
132
134
 
133
135
  expose: [
@@ -201,6 +203,7 @@ export default defineComponent({
201
203
  }
202
204
 
203
205
  activated.value = false;
206
+ context.emit('apply', model.value);
204
207
  }
205
208
 
206
209
  function reset(): void {
@@ -209,6 +212,7 @@ export default defineComponent({
209
212
  }
210
213
 
211
214
  activated.value = false;
215
+ context.emit('reset', model.value);
212
216
  }
213
217
 
214
218
  function focus(): void {