@inriver/inri 1.41.0 → 1.44.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.
@@ -0,0 +1,5 @@
1
+ ---
2
+ "@inriver/inri": minor
3
+ ---
4
+
5
+ Added slot for checkbox label in CSelect
@@ -0,0 +1,5 @@
1
+ ---
2
+ "@inriver/inri": patch
3
+ ---
4
+
5
+ Remove automatic toast notifications from the global error handler to reduce notification noise for unhandled errors.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,96 @@
1
1
  # @inriver/inri
2
2
 
3
+ ## 1.44.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Add notBlank validator
8
+ - Added support for supplying a string function to determine option label name in CSelect
9
+ - Update documentation
10
+ - Added slot for checkbox label in CSelect
11
+ - updated ConfirmDialogProps interface and parse html string for confirm dialog
12
+ - Add correct class to the c-btn component
13
+ - Wallop font is now included in the package
14
+ - Add slot for hint in CSelect
15
+ - Add back button slot
16
+ - Updating README and exporting tailwing config
17
+ - Add option to opt-out of the global error handler when using initInriFramework
18
+ - Add support for placing CDialog action buttons to the right
19
+
20
+ ### Patch Changes
21
+
22
+ - Provide global app configs
23
+ - Fix CSelect placeholder color. Modularize Sass imports. Include inri typings when bundling
24
+ - Fix Sass warnings and errors by removing usage of @apply and updating Quasar + sass dependencies
25
+ - Add support for showing tooltips when hovering over CSelect and options. Add disable support and styling. Fix required validation to work with empty arrays.
26
+ - Fix broken imports due to faulty declaration file
27
+ - Add support for hiding the sidebars in CLayoutWithSidebars. Add support for entering a custom title in CLayoutWithSidebars
28
+ - Remove automatic toast notifications from the global error handler to reduce notification noise for unhandled errors.
29
+ - Add support for showing placeholder ()in CSelect eoutside of use-input mode
30
+ - Fix faulty import path in globalAppConfig
31
+ - Add error slot in CSelect
32
+ - Fix error when CSelect is passed object options with falsy values
33
+
34
+ ## 1.43.0
35
+
36
+ ### Minor Changes
37
+
38
+ - Add notBlank validator
39
+ - Added support for supplying a string function to determine option label name in CSelect
40
+ - Update documentation
41
+ - Added slot for checkbox label in CSelect
42
+ - updated ConfirmDialogProps interface and parse html string for confirm dialog
43
+ - Add correct class to the c-btn component
44
+ - Wallop font is now included in the package
45
+ - Add slot for hint in CSelect
46
+ - Add back button slot
47
+ - Updating README and exporting tailwing config
48
+ - Add option to opt-out of the global error handler when using initInriFramework
49
+ - Add support for placing CDialog action buttons to the right
50
+
51
+ ### Patch Changes
52
+
53
+ - Provide global app configs
54
+ - Fix CSelect placeholder color. Modularize Sass imports. Include inri typings when bundling
55
+ - Fix Sass warnings and errors by removing usage of @apply and updating Quasar + sass dependencies
56
+ - Add support for showing tooltips when hovering over CSelect and options. Add disable support and styling. Fix required validation to work with empty arrays.
57
+ - Fix broken imports due to faulty declaration file
58
+ - Add support for hiding the sidebars in CLayoutWithSidebars. Add support for entering a custom title in CLayoutWithSidebars
59
+ - Add support for showing placeholder ()in CSelect eoutside of use-input mode
60
+ - Fix faulty import path in globalAppConfig
61
+ - Add error slot in CSelect
62
+ - Fix error when CSelect is passed object options with falsy values
63
+
64
+ ## 1.42.0
65
+
66
+ ### Minor Changes
67
+
68
+ - Add notBlank validator
69
+ - Added support for supplying a string function to determine option label name in CSelect
70
+ - Update documentation
71
+ - Added slot for checkbox label in CSelect
72
+ - updated ConfirmDialogProps interface and parse html string for confirm dialog
73
+ - Add correct class to the c-btn component
74
+ - Wallop font is now included in the package
75
+ - Add slot for hint in CSelect
76
+ - Add back button slot
77
+ - Updating README and exporting tailwing config
78
+ - Add option to opt-out of the global error handler when using initInriFramework
79
+ - Add support for placing CDialog action buttons to the right
80
+
81
+ ### Patch Changes
82
+
83
+ - Provide global app configs
84
+ - Fix CSelect placeholder color. Modularize Sass imports. Include inri typings when bundling
85
+ - Fix Sass warnings and errors by removing usage of @apply and updating Quasar + sass dependencies
86
+ - Add support for showing tooltips when hovering over CSelect and options. Add disable support and styling. Fix required validation to work with empty arrays.
87
+ - Fix broken imports due to faulty declaration file
88
+ - Add support for hiding the sidebars in CLayoutWithSidebars. Add support for entering a custom title in CLayoutWithSidebars
89
+ - Add support for showing placeholder ()in CSelect eoutside of use-input mode
90
+ - Fix faulty import path in globalAppConfig
91
+ - Add error slot in CSelect
92
+ - Fix error when CSelect is passed object options with falsy values
93
+
3
94
  ## 1.41.0
4
95
 
5
96
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inriver/inri",
3
- "version": "1.41.0",
3
+ "version": "1.44.0",
4
4
  "main": "index.ts",
5
5
  "peerDependencies": {
6
6
  "quasar": "2.14.2",
@@ -77,10 +77,12 @@
77
77
  <q-checkbox
78
78
  :model-value="selected"
79
79
  v-bind="$inri.checkbox"
80
- :label="getOptionLabel(opt)"
80
+ :label="$slots['checkbox-label'] ? undefined : getOptionLabel(opt)"
81
81
  tabindex="-1"
82
82
  @click="toggleOption(opt)"
83
- />
83
+ >
84
+ <slot name="checkbox-label" :opt="opt" />
85
+ </q-checkbox>
84
86
  </q-item-section>
85
87
 
86
88
  <c-tooltip v-if="opt?.tooltip">
@@ -1,7 +1,6 @@
1
1
  import { Exception } from './Exception'
2
2
  import { ErrorFactory } from './ErrorFactories'
3
3
  import logger from './logger'
4
- import notify from '../notify'
5
4
  import dialog from '../dialog'
6
5
 
7
6
  export default function handleError (errInfoObj, vueInfoObj?) {
@@ -21,9 +20,6 @@ export default function handleError (errInfoObj, vueInfoObj?) {
21
20
  errInfoObj.handledBy = 'handleError'
22
21
  logger.logTrace(errInfoObj, vueInfoObj)
23
22
  } else if (err) {
24
- const parsedError = ErrorFactory.createHelpfulError({ err })
25
- notify.error(parsedError.msg)
26
-
27
23
  if (err.type === 'unhandledrejection') {
28
24
  errInfoObj.handledBy = '-'
29
25
  logger.logTrace(errInfoObj, vueInfoObj)