primereact 10.0.3 → 10.0.4

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 (215) hide show
  1. package/calendar/calendar.cjs.js +8 -6
  2. package/calendar/calendar.cjs.min.js +1 -1
  3. package/calendar/calendar.esm.js +8 -6
  4. package/calendar/calendar.esm.min.js +1 -1
  5. package/calendar/calendar.js +8 -6
  6. package/calendar/calendar.min.js +1 -1
  7. package/core/core.js +224 -4
  8. package/core/core.min.js +2 -2
  9. package/fieldset/fieldset.cjs.js +2 -2
  10. package/fieldset/fieldset.cjs.min.js +1 -1
  11. package/fieldset/fieldset.esm.js +2 -2
  12. package/fieldset/fieldset.esm.min.js +1 -1
  13. package/fieldset/fieldset.js +3 -3
  14. package/fieldset/fieldset.min.js +1 -1
  15. package/hooks/hooks.d.ts +1 -1
  16. package/icons/arrowdown/index.cjs.js +7 -0
  17. package/icons/arrowdown/index.esm.js +7 -0
  18. package/icons/arrowdown/index.js +7 -0
  19. package/icons/arrowup/index.cjs.js +7 -0
  20. package/icons/arrowup/index.esm.js +7 -0
  21. package/icons/arrowup/index.js +7 -0
  22. package/icons/ban/index.cjs.js +7 -0
  23. package/icons/ban/index.esm.js +7 -0
  24. package/icons/ban/index.js +7 -0
  25. package/icons/download/index.cjs.js +7 -0
  26. package/icons/download/index.esm.js +7 -0
  27. package/icons/download/index.js +7 -0
  28. package/icons/exclamationtriangle/index.cjs.js +7 -0
  29. package/icons/exclamationtriangle/index.esm.js +7 -0
  30. package/icons/exclamationtriangle/index.js +7 -0
  31. package/icons/eyeslash/index.cjs.js +7 -0
  32. package/icons/eyeslash/index.esm.js +7 -0
  33. package/icons/eyeslash/index.js +7 -0
  34. package/icons/filter/index.cjs.js +7 -0
  35. package/icons/filter/index.esm.js +7 -0
  36. package/icons/filter/index.js +7 -0
  37. package/icons/filterslash/index.cjs.js +7 -0
  38. package/icons/filterslash/index.esm.js +7 -0
  39. package/icons/filterslash/index.js +7 -0
  40. package/icons/infocircle/index.cjs.js +7 -0
  41. package/icons/infocircle/index.esm.js +7 -0
  42. package/icons/infocircle/index.js +7 -0
  43. package/icons/pencil/index.cjs.js +7 -0
  44. package/icons/pencil/index.esm.js +7 -0
  45. package/icons/pencil/index.js +7 -0
  46. package/icons/plus/index.cjs.js +7 -0
  47. package/icons/plus/index.esm.js +7 -0
  48. package/icons/plus/index.js +7 -0
  49. package/icons/refresh/index.cjs.js +7 -0
  50. package/icons/refresh/index.esm.js +7 -0
  51. package/icons/refresh/index.js +7 -0
  52. package/icons/search/index.cjs.js +7 -0
  53. package/icons/search/index.esm.js +7 -0
  54. package/icons/search/index.js +7 -0
  55. package/icons/searchminus/index.cjs.js +7 -0
  56. package/icons/searchminus/index.esm.js +7 -0
  57. package/icons/searchminus/index.js +7 -0
  58. package/icons/searchplus/index.cjs.js +7 -0
  59. package/icons/searchplus/index.esm.js +7 -0
  60. package/icons/searchplus/index.js +7 -0
  61. package/icons/sortalt/index.cjs.js +7 -0
  62. package/icons/sortalt/index.esm.js +7 -0
  63. package/icons/sortalt/index.js +7 -0
  64. package/icons/sortamountdown/index.cjs.js +7 -0
  65. package/icons/sortamountdown/index.esm.js +7 -0
  66. package/icons/sortamountdown/index.js +7 -0
  67. package/icons/sortamountupalt/index.cjs.js +7 -0
  68. package/icons/sortamountupalt/index.esm.js +7 -0
  69. package/icons/sortamountupalt/index.js +7 -0
  70. package/icons/spinner/index.cjs.js +7 -0
  71. package/icons/spinner/index.esm.js +7 -0
  72. package/icons/spinner/index.js +7 -0
  73. package/icons/star/index.cjs.js +7 -0
  74. package/icons/star/index.esm.js +7 -0
  75. package/icons/star/index.js +7 -0
  76. package/icons/starfill/index.cjs.js +7 -0
  77. package/icons/starfill/index.esm.js +7 -0
  78. package/icons/starfill/index.js +7 -0
  79. package/icons/thlarge/index.cjs.js +7 -0
  80. package/icons/thlarge/index.esm.js +7 -0
  81. package/icons/thlarge/index.js +7 -0
  82. package/icons/timescircle/index.cjs.js +7 -0
  83. package/icons/timescircle/index.esm.js +7 -0
  84. package/icons/timescircle/index.js +7 -0
  85. package/icons/trash/index.cjs.js +7 -0
  86. package/icons/trash/index.esm.js +7 -0
  87. package/icons/trash/index.js +7 -0
  88. package/icons/undo/index.cjs.js +7 -0
  89. package/icons/undo/index.esm.js +7 -0
  90. package/icons/undo/index.js +7 -0
  91. package/icons/upload/index.cjs.js +7 -0
  92. package/icons/upload/index.esm.js +7 -0
  93. package/icons/upload/index.js +7 -0
  94. package/icons/windowmaximize/index.cjs.js +7 -0
  95. package/icons/windowmaximize/index.esm.js +7 -0
  96. package/icons/windowmaximize/index.js +7 -0
  97. package/icons/windowminimize/index.cjs.js +7 -0
  98. package/icons/windowminimize/index.esm.js +7 -0
  99. package/icons/windowminimize/index.js +7 -0
  100. package/image/image.cjs.js +7 -0
  101. package/image/image.esm.js +7 -0
  102. package/image/image.js +7 -0
  103. package/message/message.cjs.js +1 -1
  104. package/message/message.cjs.min.js +1 -1
  105. package/message/message.esm.js +1 -1
  106. package/message/message.esm.min.js +1 -1
  107. package/message/message.js +1 -1
  108. package/message/message.min.js +1 -1
  109. package/messages/messages.cjs.js +4 -2
  110. package/messages/messages.cjs.min.js +1 -1
  111. package/messages/messages.esm.js +5 -3
  112. package/messages/messages.esm.min.js +1 -1
  113. package/messages/messages.js +4 -2
  114. package/messages/messages.min.js +1 -1
  115. package/multiselect/multiselect.cjs.js +1 -1
  116. package/multiselect/multiselect.cjs.min.js +1 -1
  117. package/multiselect/multiselect.esm.js +1 -1
  118. package/multiselect/multiselect.esm.min.js +1 -1
  119. package/multiselect/multiselect.js +1 -1
  120. package/multiselect/multiselect.min.js +1 -1
  121. package/package.json +1 -1
  122. package/panel/panel.cjs.js +2 -2
  123. package/panel/panel.cjs.min.js +1 -1
  124. package/panel/panel.esm.js +2 -2
  125. package/panel/panel.esm.min.js +1 -1
  126. package/panel/panel.js +3 -3
  127. package/panel/panel.min.js +1 -1
  128. package/passthrough/tailwind/index.cjs.js +436 -373
  129. package/passthrough/tailwind/index.cjs.min.js +1 -1
  130. package/passthrough/tailwind/index.esm.js +436 -373
  131. package/passthrough/tailwind/index.esm.min.js +1 -1
  132. package/passthrough/tailwind/index.js +436 -373
  133. package/passthrough/tailwind/index.min.js +1 -1
  134. package/primereact.all.cjs.js +57 -22
  135. package/primereact.all.cjs.min.js +1 -1
  136. package/primereact.all.esm.js +57 -22
  137. package/primereact.all.esm.min.js +1 -1
  138. package/primereact.all.js +57 -22
  139. package/primereact.all.min.js +1 -1
  140. package/resources/themes/arya-blue/theme.css +7 -0
  141. package/resources/themes/arya-green/theme.css +7 -0
  142. package/resources/themes/arya-orange/theme.css +7 -0
  143. package/resources/themes/arya-purple/theme.css +7 -0
  144. package/resources/themes/bootstrap4-dark-blue/theme.css +7 -0
  145. package/resources/themes/bootstrap4-dark-purple/theme.css +7 -0
  146. package/resources/themes/bootstrap4-light-blue/theme.css +7 -0
  147. package/resources/themes/bootstrap4-light-purple/theme.css +7 -0
  148. package/resources/themes/fluent-light/theme.css +7 -0
  149. package/resources/themes/lara-dark-blue/theme.css +7 -0
  150. package/resources/themes/lara-dark-indigo/theme.css +7 -0
  151. package/resources/themes/lara-dark-purple/theme.css +7 -0
  152. package/resources/themes/lara-dark-teal/theme.css +7 -0
  153. package/resources/themes/lara-light-blue/theme.css +7 -0
  154. package/resources/themes/lara-light-indigo/theme.css +7 -0
  155. package/resources/themes/lara-light-purple/theme.css +7 -0
  156. package/resources/themes/lara-light-teal/theme.css +7 -0
  157. package/resources/themes/luna-amber/theme.css +7 -0
  158. package/resources/themes/luna-blue/theme.css +7 -0
  159. package/resources/themes/luna-green/theme.css +7 -0
  160. package/resources/themes/luna-pink/theme.css +7 -0
  161. package/resources/themes/md-dark-deeppurple/theme.css +7 -0
  162. package/resources/themes/md-dark-indigo/theme.css +7 -0
  163. package/resources/themes/md-light-deeppurple/theme.css +7 -0
  164. package/resources/themes/md-light-indigo/theme.css +7 -0
  165. package/resources/themes/mdc-dark-deeppurple/theme.css +7 -0
  166. package/resources/themes/mdc-dark-indigo/theme.css +7 -0
  167. package/resources/themes/mdc-light-deeppurple/theme.css +7 -0
  168. package/resources/themes/mdc-light-indigo/theme.css +7 -0
  169. package/resources/themes/mira/theme.css +7 -0
  170. package/resources/themes/nano/theme.css +7 -0
  171. package/resources/themes/nova/theme.css +7 -0
  172. package/resources/themes/nova-accent/theme.css +7 -0
  173. package/resources/themes/nova-alt/theme.css +7 -0
  174. package/resources/themes/rhea/theme.css +7 -0
  175. package/resources/themes/saga-blue/theme.css +7 -0
  176. package/resources/themes/saga-green/theme.css +7 -0
  177. package/resources/themes/saga-orange/theme.css +7 -0
  178. package/resources/themes/saga-purple/theme.css +7 -0
  179. package/resources/themes/soho-dark/theme.css +7 -0
  180. package/resources/themes/soho-light/theme.css +7 -0
  181. package/resources/themes/vela-blue/theme.css +7 -0
  182. package/resources/themes/vela-green/theme.css +7 -0
  183. package/resources/themes/vela-orange/theme.css +7 -0
  184. package/resources/themes/vela-purple/theme.css +7 -0
  185. package/resources/themes/viva-dark/theme.css +7 -0
  186. package/resources/themes/viva-light/theme.css +7 -0
  187. package/selectbutton/selectbutton.cjs.js +1 -1
  188. package/selectbutton/selectbutton.cjs.min.js +1 -1
  189. package/selectbutton/selectbutton.esm.js +1 -1
  190. package/selectbutton/selectbutton.esm.min.js +1 -1
  191. package/selectbutton/selectbutton.js +1 -1
  192. package/selectbutton/selectbutton.min.js +1 -1
  193. package/slider/slider.cjs.js +3 -3
  194. package/slider/slider.cjs.min.js +1 -1
  195. package/slider/slider.esm.js +3 -3
  196. package/slider/slider.esm.min.js +1 -1
  197. package/slider/slider.js +3 -3
  198. package/slider/slider.min.js +1 -1
  199. package/toast/toast.cjs.js +7 -5
  200. package/toast/toast.cjs.min.js +1 -1
  201. package/toast/toast.esm.js +7 -5
  202. package/toast/toast.esm.min.js +1 -1
  203. package/toast/toast.js +8 -6
  204. package/toast/toast.min.js +1 -1
  205. package/tree/tree.cjs.js +24 -2
  206. package/tree/tree.cjs.min.js +1 -1
  207. package/tree/tree.esm.js +24 -2
  208. package/tree/tree.esm.min.js +1 -1
  209. package/tree/tree.js +24 -2
  210. package/tree/tree.min.js +1 -1
  211. package/treeselect/treeselect.d.ts +54 -4
  212. package/utils/utils.cjs.js +7 -0
  213. package/utils/utils.esm.js +7 -0
  214. package/utils/utils.js +7 -0
  215. package/web-types.json +2 -2
@@ -174,6 +174,13 @@ var ObjectUtils = /*#__PURE__*/function () {
174
174
  value: function equals(obj1, obj2, field) {
175
175
  if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
176
176
  }
177
+
178
+ /**
179
+ * Compares two JSON objects for deep equality recursively comparing both objects.
180
+ * @param {*} a the first JSON object
181
+ * @param {*} b the second JSON object
182
+ * @returns true if equals, false it not
183
+ */
177
184
  }, {
178
185
  key: "deepEquals",
179
186
  value: function deepEquals(a, b) {
@@ -150,6 +150,13 @@ var ObjectUtils = /*#__PURE__*/function () {
150
150
  value: function equals(obj1, obj2, field) {
151
151
  if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
152
152
  }
153
+
154
+ /**
155
+ * Compares two JSON objects for deep equality recursively comparing both objects.
156
+ * @param {*} a the first JSON object
157
+ * @param {*} b the second JSON object
158
+ * @returns true if equals, false it not
159
+ */
153
160
  }, {
154
161
  key: "deepEquals",
155
162
  value: function deepEquals(a, b) {
@@ -171,6 +171,13 @@ this.primereact.icons.sortamountdown = (function (exports, React, iconbase) {
171
171
  value: function equals(obj1, obj2, field) {
172
172
  if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
173
173
  }
174
+
175
+ /**
176
+ * Compares two JSON objects for deep equality recursively comparing both objects.
177
+ * @param {*} a the first JSON object
178
+ * @param {*} b the second JSON object
179
+ * @returns true if equals, false it not
180
+ */
174
181
  }, {
175
182
  key: "deepEquals",
176
183
  value: function deepEquals(a, b) {
@@ -174,6 +174,13 @@ var ObjectUtils = /*#__PURE__*/function () {
174
174
  value: function equals(obj1, obj2, field) {
175
175
  if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
176
176
  }
177
+
178
+ /**
179
+ * Compares two JSON objects for deep equality recursively comparing both objects.
180
+ * @param {*} a the first JSON object
181
+ * @param {*} b the second JSON object
182
+ * @returns true if equals, false it not
183
+ */
177
184
  }, {
178
185
  key: "deepEquals",
179
186
  value: function deepEquals(a, b) {
@@ -150,6 +150,13 @@ var ObjectUtils = /*#__PURE__*/function () {
150
150
  value: function equals(obj1, obj2, field) {
151
151
  if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
152
152
  }
153
+
154
+ /**
155
+ * Compares two JSON objects for deep equality recursively comparing both objects.
156
+ * @param {*} a the first JSON object
157
+ * @param {*} b the second JSON object
158
+ * @returns true if equals, false it not
159
+ */
153
160
  }, {
154
161
  key: "deepEquals",
155
162
  value: function deepEquals(a, b) {
@@ -171,6 +171,13 @@ this.primereact.icons.sortamountupalt = (function (exports, React, iconbase) {
171
171
  value: function equals(obj1, obj2, field) {
172
172
  if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
173
173
  }
174
+
175
+ /**
176
+ * Compares two JSON objects for deep equality recursively comparing both objects.
177
+ * @param {*} a the first JSON object
178
+ * @param {*} b the second JSON object
179
+ * @returns true if equals, false it not
180
+ */
174
181
  }, {
175
182
  key: "deepEquals",
176
183
  value: function deepEquals(a, b) {
@@ -174,6 +174,13 @@ var ObjectUtils = /*#__PURE__*/function () {
174
174
  value: function equals(obj1, obj2, field) {
175
175
  if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
176
176
  }
177
+
178
+ /**
179
+ * Compares two JSON objects for deep equality recursively comparing both objects.
180
+ * @param {*} a the first JSON object
181
+ * @param {*} b the second JSON object
182
+ * @returns true if equals, false it not
183
+ */
177
184
  }, {
178
185
  key: "deepEquals",
179
186
  value: function deepEquals(a, b) {
@@ -150,6 +150,13 @@ var ObjectUtils = /*#__PURE__*/function () {
150
150
  value: function equals(obj1, obj2, field) {
151
151
  if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
152
152
  }
153
+
154
+ /**
155
+ * Compares two JSON objects for deep equality recursively comparing both objects.
156
+ * @param {*} a the first JSON object
157
+ * @param {*} b the second JSON object
158
+ * @returns true if equals, false it not
159
+ */
153
160
  }, {
154
161
  key: "deepEquals",
155
162
  value: function deepEquals(a, b) {
@@ -171,6 +171,13 @@ this.primereact.icons.spinner = (function (exports, React, iconbase) {
171
171
  value: function equals(obj1, obj2, field) {
172
172
  if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
173
173
  }
174
+
175
+ /**
176
+ * Compares two JSON objects for deep equality recursively comparing both objects.
177
+ * @param {*} a the first JSON object
178
+ * @param {*} b the second JSON object
179
+ * @returns true if equals, false it not
180
+ */
174
181
  }, {
175
182
  key: "deepEquals",
176
183
  value: function deepEquals(a, b) {
@@ -174,6 +174,13 @@ var ObjectUtils = /*#__PURE__*/function () {
174
174
  value: function equals(obj1, obj2, field) {
175
175
  if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
176
176
  }
177
+
178
+ /**
179
+ * Compares two JSON objects for deep equality recursively comparing both objects.
180
+ * @param {*} a the first JSON object
181
+ * @param {*} b the second JSON object
182
+ * @returns true if equals, false it not
183
+ */
177
184
  }, {
178
185
  key: "deepEquals",
179
186
  value: function deepEquals(a, b) {
@@ -150,6 +150,13 @@ var ObjectUtils = /*#__PURE__*/function () {
150
150
  value: function equals(obj1, obj2, field) {
151
151
  if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
152
152
  }
153
+
154
+ /**
155
+ * Compares two JSON objects for deep equality recursively comparing both objects.
156
+ * @param {*} a the first JSON object
157
+ * @param {*} b the second JSON object
158
+ * @returns true if equals, false it not
159
+ */
153
160
  }, {
154
161
  key: "deepEquals",
155
162
  value: function deepEquals(a, b) {
@@ -171,6 +171,13 @@ this.primereact.icons.star = (function (exports, React, iconbase) {
171
171
  value: function equals(obj1, obj2, field) {
172
172
  if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
173
173
  }
174
+
175
+ /**
176
+ * Compares two JSON objects for deep equality recursively comparing both objects.
177
+ * @param {*} a the first JSON object
178
+ * @param {*} b the second JSON object
179
+ * @returns true if equals, false it not
180
+ */
174
181
  }, {
175
182
  key: "deepEquals",
176
183
  value: function deepEquals(a, b) {
@@ -174,6 +174,13 @@ var ObjectUtils = /*#__PURE__*/function () {
174
174
  value: function equals(obj1, obj2, field) {
175
175
  if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
176
176
  }
177
+
178
+ /**
179
+ * Compares two JSON objects for deep equality recursively comparing both objects.
180
+ * @param {*} a the first JSON object
181
+ * @param {*} b the second JSON object
182
+ * @returns true if equals, false it not
183
+ */
177
184
  }, {
178
185
  key: "deepEquals",
179
186
  value: function deepEquals(a, b) {
@@ -150,6 +150,13 @@ var ObjectUtils = /*#__PURE__*/function () {
150
150
  value: function equals(obj1, obj2, field) {
151
151
  if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
152
152
  }
153
+
154
+ /**
155
+ * Compares two JSON objects for deep equality recursively comparing both objects.
156
+ * @param {*} a the first JSON object
157
+ * @param {*} b the second JSON object
158
+ * @returns true if equals, false it not
159
+ */
153
160
  }, {
154
161
  key: "deepEquals",
155
162
  value: function deepEquals(a, b) {
@@ -171,6 +171,13 @@ this.primereact.icons.starfill = (function (exports, React, iconbase) {
171
171
  value: function equals(obj1, obj2, field) {
172
172
  if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
173
173
  }
174
+
175
+ /**
176
+ * Compares two JSON objects for deep equality recursively comparing both objects.
177
+ * @param {*} a the first JSON object
178
+ * @param {*} b the second JSON object
179
+ * @returns true if equals, false it not
180
+ */
174
181
  }, {
175
182
  key: "deepEquals",
176
183
  value: function deepEquals(a, b) {
@@ -174,6 +174,13 @@ var ObjectUtils = /*#__PURE__*/function () {
174
174
  value: function equals(obj1, obj2, field) {
175
175
  if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
176
176
  }
177
+
178
+ /**
179
+ * Compares two JSON objects for deep equality recursively comparing both objects.
180
+ * @param {*} a the first JSON object
181
+ * @param {*} b the second JSON object
182
+ * @returns true if equals, false it not
183
+ */
177
184
  }, {
178
185
  key: "deepEquals",
179
186
  value: function deepEquals(a, b) {
@@ -150,6 +150,13 @@ var ObjectUtils = /*#__PURE__*/function () {
150
150
  value: function equals(obj1, obj2, field) {
151
151
  if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
152
152
  }
153
+
154
+ /**
155
+ * Compares two JSON objects for deep equality recursively comparing both objects.
156
+ * @param {*} a the first JSON object
157
+ * @param {*} b the second JSON object
158
+ * @returns true if equals, false it not
159
+ */
153
160
  }, {
154
161
  key: "deepEquals",
155
162
  value: function deepEquals(a, b) {
@@ -171,6 +171,13 @@ this.primereact.icons.thlarge = (function (exports, React, iconbase) {
171
171
  value: function equals(obj1, obj2, field) {
172
172
  if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
173
173
  }
174
+
175
+ /**
176
+ * Compares two JSON objects for deep equality recursively comparing both objects.
177
+ * @param {*} a the first JSON object
178
+ * @param {*} b the second JSON object
179
+ * @returns true if equals, false it not
180
+ */
174
181
  }, {
175
182
  key: "deepEquals",
176
183
  value: function deepEquals(a, b) {
@@ -174,6 +174,13 @@ var ObjectUtils = /*#__PURE__*/function () {
174
174
  value: function equals(obj1, obj2, field) {
175
175
  if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
176
176
  }
177
+
178
+ /**
179
+ * Compares two JSON objects for deep equality recursively comparing both objects.
180
+ * @param {*} a the first JSON object
181
+ * @param {*} b the second JSON object
182
+ * @returns true if equals, false it not
183
+ */
177
184
  }, {
178
185
  key: "deepEquals",
179
186
  value: function deepEquals(a, b) {
@@ -150,6 +150,13 @@ var ObjectUtils = /*#__PURE__*/function () {
150
150
  value: function equals(obj1, obj2, field) {
151
151
  if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
152
152
  }
153
+
154
+ /**
155
+ * Compares two JSON objects for deep equality recursively comparing both objects.
156
+ * @param {*} a the first JSON object
157
+ * @param {*} b the second JSON object
158
+ * @returns true if equals, false it not
159
+ */
153
160
  }, {
154
161
  key: "deepEquals",
155
162
  value: function deepEquals(a, b) {
@@ -171,6 +171,13 @@ this.primereact.icons.timescircle = (function (exports, React, iconbase) {
171
171
  value: function equals(obj1, obj2, field) {
172
172
  if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
173
173
  }
174
+
175
+ /**
176
+ * Compares two JSON objects for deep equality recursively comparing both objects.
177
+ * @param {*} a the first JSON object
178
+ * @param {*} b the second JSON object
179
+ * @returns true if equals, false it not
180
+ */
174
181
  }, {
175
182
  key: "deepEquals",
176
183
  value: function deepEquals(a, b) {
@@ -174,6 +174,13 @@ var ObjectUtils = /*#__PURE__*/function () {
174
174
  value: function equals(obj1, obj2, field) {
175
175
  if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
176
176
  }
177
+
178
+ /**
179
+ * Compares two JSON objects for deep equality recursively comparing both objects.
180
+ * @param {*} a the first JSON object
181
+ * @param {*} b the second JSON object
182
+ * @returns true if equals, false it not
183
+ */
177
184
  }, {
178
185
  key: "deepEquals",
179
186
  value: function deepEquals(a, b) {
@@ -150,6 +150,13 @@ var ObjectUtils = /*#__PURE__*/function () {
150
150
  value: function equals(obj1, obj2, field) {
151
151
  if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
152
152
  }
153
+
154
+ /**
155
+ * Compares two JSON objects for deep equality recursively comparing both objects.
156
+ * @param {*} a the first JSON object
157
+ * @param {*} b the second JSON object
158
+ * @returns true if equals, false it not
159
+ */
153
160
  }, {
154
161
  key: "deepEquals",
155
162
  value: function deepEquals(a, b) {
@@ -171,6 +171,13 @@ this.primereact.icons.trash = (function (exports, React, iconbase) {
171
171
  value: function equals(obj1, obj2, field) {
172
172
  if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
173
173
  }
174
+
175
+ /**
176
+ * Compares two JSON objects for deep equality recursively comparing both objects.
177
+ * @param {*} a the first JSON object
178
+ * @param {*} b the second JSON object
179
+ * @returns true if equals, false it not
180
+ */
174
181
  }, {
175
182
  key: "deepEquals",
176
183
  value: function deepEquals(a, b) {
@@ -174,6 +174,13 @@ var ObjectUtils = /*#__PURE__*/function () {
174
174
  value: function equals(obj1, obj2, field) {
175
175
  if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
176
176
  }
177
+
178
+ /**
179
+ * Compares two JSON objects for deep equality recursively comparing both objects.
180
+ * @param {*} a the first JSON object
181
+ * @param {*} b the second JSON object
182
+ * @returns true if equals, false it not
183
+ */
177
184
  }, {
178
185
  key: "deepEquals",
179
186
  value: function deepEquals(a, b) {
@@ -150,6 +150,13 @@ var ObjectUtils = /*#__PURE__*/function () {
150
150
  value: function equals(obj1, obj2, field) {
151
151
  if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
152
152
  }
153
+
154
+ /**
155
+ * Compares two JSON objects for deep equality recursively comparing both objects.
156
+ * @param {*} a the first JSON object
157
+ * @param {*} b the second JSON object
158
+ * @returns true if equals, false it not
159
+ */
153
160
  }, {
154
161
  key: "deepEquals",
155
162
  value: function deepEquals(a, b) {
@@ -171,6 +171,13 @@ this.primereact.icons.undo = (function (exports, React, iconbase) {
171
171
  value: function equals(obj1, obj2, field) {
172
172
  if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
173
173
  }
174
+
175
+ /**
176
+ * Compares two JSON objects for deep equality recursively comparing both objects.
177
+ * @param {*} a the first JSON object
178
+ * @param {*} b the second JSON object
179
+ * @returns true if equals, false it not
180
+ */
174
181
  }, {
175
182
  key: "deepEquals",
176
183
  value: function deepEquals(a, b) {
@@ -174,6 +174,13 @@ var ObjectUtils = /*#__PURE__*/function () {
174
174
  value: function equals(obj1, obj2, field) {
175
175
  if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
176
176
  }
177
+
178
+ /**
179
+ * Compares two JSON objects for deep equality recursively comparing both objects.
180
+ * @param {*} a the first JSON object
181
+ * @param {*} b the second JSON object
182
+ * @returns true if equals, false it not
183
+ */
177
184
  }, {
178
185
  key: "deepEquals",
179
186
  value: function deepEquals(a, b) {
@@ -150,6 +150,13 @@ var ObjectUtils = /*#__PURE__*/function () {
150
150
  value: function equals(obj1, obj2, field) {
151
151
  if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
152
152
  }
153
+
154
+ /**
155
+ * Compares two JSON objects for deep equality recursively comparing both objects.
156
+ * @param {*} a the first JSON object
157
+ * @param {*} b the second JSON object
158
+ * @returns true if equals, false it not
159
+ */
153
160
  }, {
154
161
  key: "deepEquals",
155
162
  value: function deepEquals(a, b) {
@@ -171,6 +171,13 @@ this.primereact.icons.upload = (function (exports, React, iconbase) {
171
171
  value: function equals(obj1, obj2, field) {
172
172
  if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
173
173
  }
174
+
175
+ /**
176
+ * Compares two JSON objects for deep equality recursively comparing both objects.
177
+ * @param {*} a the first JSON object
178
+ * @param {*} b the second JSON object
179
+ * @returns true if equals, false it not
180
+ */
174
181
  }, {
175
182
  key: "deepEquals",
176
183
  value: function deepEquals(a, b) {
@@ -174,6 +174,13 @@ var ObjectUtils = /*#__PURE__*/function () {
174
174
  value: function equals(obj1, obj2, field) {
175
175
  if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
176
176
  }
177
+
178
+ /**
179
+ * Compares two JSON objects for deep equality recursively comparing both objects.
180
+ * @param {*} a the first JSON object
181
+ * @param {*} b the second JSON object
182
+ * @returns true if equals, false it not
183
+ */
177
184
  }, {
178
185
  key: "deepEquals",
179
186
  value: function deepEquals(a, b) {
@@ -150,6 +150,13 @@ var ObjectUtils = /*#__PURE__*/function () {
150
150
  value: function equals(obj1, obj2, field) {
151
151
  if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
152
152
  }
153
+
154
+ /**
155
+ * Compares two JSON objects for deep equality recursively comparing both objects.
156
+ * @param {*} a the first JSON object
157
+ * @param {*} b the second JSON object
158
+ * @returns true if equals, false it not
159
+ */
153
160
  }, {
154
161
  key: "deepEquals",
155
162
  value: function deepEquals(a, b) {
@@ -171,6 +171,13 @@ this.primereact.icons.windowmaximize = (function (exports, React, iconbase) {
171
171
  value: function equals(obj1, obj2, field) {
172
172
  if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
173
173
  }
174
+
175
+ /**
176
+ * Compares two JSON objects for deep equality recursively comparing both objects.
177
+ * @param {*} a the first JSON object
178
+ * @param {*} b the second JSON object
179
+ * @returns true if equals, false it not
180
+ */
174
181
  }, {
175
182
  key: "deepEquals",
176
183
  value: function deepEquals(a, b) {
@@ -174,6 +174,13 @@ var ObjectUtils = /*#__PURE__*/function () {
174
174
  value: function equals(obj1, obj2, field) {
175
175
  if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
176
176
  }
177
+
178
+ /**
179
+ * Compares two JSON objects for deep equality recursively comparing both objects.
180
+ * @param {*} a the first JSON object
181
+ * @param {*} b the second JSON object
182
+ * @returns true if equals, false it not
183
+ */
177
184
  }, {
178
185
  key: "deepEquals",
179
186
  value: function deepEquals(a, b) {
@@ -150,6 +150,13 @@ var ObjectUtils = /*#__PURE__*/function () {
150
150
  value: function equals(obj1, obj2, field) {
151
151
  if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
152
152
  }
153
+
154
+ /**
155
+ * Compares two JSON objects for deep equality recursively comparing both objects.
156
+ * @param {*} a the first JSON object
157
+ * @param {*} b the second JSON object
158
+ * @returns true if equals, false it not
159
+ */
153
160
  }, {
154
161
  key: "deepEquals",
155
162
  value: function deepEquals(a, b) {
@@ -171,6 +171,13 @@ this.primereact.icons.windowminimize = (function (exports, React, iconbase) {
171
171
  value: function equals(obj1, obj2, field) {
172
172
  if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
173
173
  }
174
+
175
+ /**
176
+ * Compares two JSON objects for deep equality recursively comparing both objects.
177
+ * @param {*} a the first JSON object
178
+ * @param {*} b the second JSON object
179
+ * @returns true if equals, false it not
180
+ */
174
181
  }, {
175
182
  key: "deepEquals",
176
183
  value: function deepEquals(a, b) {
@@ -304,6 +304,13 @@ var ObjectUtils = /*#__PURE__*/function () {
304
304
  value: function equals(obj1, obj2, field) {
305
305
  if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
306
306
  }
307
+
308
+ /**
309
+ * Compares two JSON objects for deep equality recursively comparing both objects.
310
+ * @param {*} a the first JSON object
311
+ * @param {*} b the second JSON object
312
+ * @returns true if equals, false it not
313
+ */
307
314
  }, {
308
315
  key: "deepEquals",
309
316
  value: function deepEquals(a, b) {
@@ -277,6 +277,13 @@ var ObjectUtils = /*#__PURE__*/function () {
277
277
  value: function equals(obj1, obj2, field) {
278
278
  if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
279
279
  }
280
+
281
+ /**
282
+ * Compares two JSON objects for deep equality recursively comparing both objects.
283
+ * @param {*} a the first JSON object
284
+ * @param {*} b the second JSON object
285
+ * @returns true if equals, false it not
286
+ */
280
287
  }, {
281
288
  key: "deepEquals",
282
289
  value: function deepEquals(a, b) {
package/image/image.js CHANGED
@@ -288,6 +288,13 @@ this.primereact.image = (function (exports, React, utils, PrimeReact, componentb
288
288
  value: function equals(obj1, obj2, field) {
289
289
  if (field && obj1 && _typeof(obj1) === 'object' && obj2 && _typeof(obj2) === 'object') return this.resolveFieldData(obj1, field) === this.resolveFieldData(obj2, field);else return this.deepEquals(obj1, obj2);
290
290
  }
291
+
292
+ /**
293
+ * Compares two JSON objects for deep equality recursively comparing both objects.
294
+ * @param {*} a the first JSON object
295
+ * @param {*} b the second JSON object
296
+ * @returns true if equals, false it not
297
+ */
291
298
  }, {
292
299
  key: "deepEquals",
293
300
  value: function deepEquals(a, b) {
@@ -115,7 +115,7 @@ var MessageBase = componentbase.ComponentBase.extend({
115
115
  icon: 'p-inline-message-icon',
116
116
  text: 'p-inline-message-text'
117
117
  },
118
- styles: "\n @layer primereact {\n .p-inline-message {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n vertical-align: top;\n }\n \n .p-inline-message-icon-only .p-inline-message-text {\n visibility: hidden;\n width: 0;\n }\n \n .p-fluid .p-inline-message {\n display: flex;\n } \n }\n "
118
+ styles: "\n @layer primereact {\n .p-inline-message {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n vertical-align: top;\n }\n\n .p-inline-message-icon {\n flex-shrink: 0;\n }\n \n .p-inline-message-icon-only .p-inline-message-text {\n visibility: hidden;\n width: 0;\n }\n \n .p-fluid .p-inline-message {\n display: flex;\n } \n }\n "
119
119
  }
120
120
  });
121
121
 
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("primereact/api"),r=require("primereact/componentbase"),n=require("primereact/icons/check"),i=require("primereact/icons/exclamationtriangle"),s=require("primereact/icons/infocircle"),o=require("primereact/icons/timescircle"),c=require("primereact/utils");function a(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var l=a(e);function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},u.apply(this,arguments)}function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function m(e,t){if("object"!==p(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==p(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function f(e){var t=m(e,"string");return"symbol"===p(t)?t:String(t)}var y=r.ComponentBase.extend({defaultProps:{__TYPE:"Message",id:null,className:null,style:null,text:null,icon:null,severity:"info",content:null,children:void 0},css:{classes:{root:function(e){var t=e.props;return c.classNames("p-inline-message p-component",{"p-inline-message-info":"info"===t.severity,"p-inline-message-warn":"warn"===t.severity,"p-inline-message-error":"error"===t.severity,"p-inline-message-success":"success"===t.severity,"p-inline-message-icon-only":!t.text})},icon:"p-inline-message-icon",text:"p-inline-message-text"},styles:"\n @layer primereact {\n .p-inline-message {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n vertical-align: top;\n }\n \n .p-inline-message-icon-only .p-inline-message-text {\n visibility: hidden;\n width: 0;\n }\n \n .p-fluid .p-inline-message {\n display: flex;\n } \n }\n "}});function b(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function g(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?b(Object(r),!0).forEach((function(t){var n,i,s;n=e,s=r[t],(i=f(i=t))in n?Object.defineProperty(n,i,{value:s,enumerable:!0,configurable:!0,writable:!0}):n[i]=s})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):b(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var v=l.memo(l.forwardRef((function(e,a){var p=l.useContext(t.PrimeReactContext),m=y.getProps(e,p),f=l.useRef(null),b=y.setMetaData({props:m}),v=b.ptm,O=b.cx;r.useHandleStyle(y.css.styles,b.isUnstyled,{name:"message"});l.useImperativeHandle(a,(function(){return{props:m,getElement:function(){return f.current}}}));var d=function(){if(m.content)return c.ObjectUtils.getJSXElement(m.content,m);var e=c.ObjectUtils.getJSXElement(m.text,m),t=c.mergeProps({className:O("icon")},v("icon")),r=m.icon;if(!r)switch(m.severity){case"info":r=l.createElement(s.InfoCircleIcon,t);break;case"warn":r=l.createElement(i.ExclamationTriangleIcon,t);break;case"error":r=l.createElement(o.TimesCircleIcon,t);break;case"success":r=l.createElement(n.CheckIcon,t)}var a=c.IconUtils.getJSXIcon(r,g({},t),{props:m}),u=c.mergeProps({className:O("text")},v("text"));return l.createElement(l.Fragment,null,a,l.createElement("span",u,e))}(),j=c.mergeProps({className:c.classNames(m.className,O("root")),style:m.style,role:"alert","aria-live":"polite"},y.getOtherProps(m),v("root"));return l.createElement("div",u({id:m.id,ref:f},j),d)})));v.displayName="Message",exports.Message=v;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react"),t=require("primereact/api"),r=require("primereact/componentbase"),n=require("primereact/icons/check"),i=require("primereact/icons/exclamationtriangle"),s=require("primereact/icons/infocircle"),o=require("primereact/icons/timescircle"),c=require("primereact/utils");function a(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach((function(r){if("default"!==r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})}})),t.default=e,Object.freeze(t)}var l=a(e);function u(){return u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},u.apply(this,arguments)}function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function m(e,t){if("object"!==p(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==p(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function f(e){var t=m(e,"string");return"symbol"===p(t)?t:String(t)}var y=r.ComponentBase.extend({defaultProps:{__TYPE:"Message",id:null,className:null,style:null,text:null,icon:null,severity:"info",content:null,children:void 0},css:{classes:{root:function(e){var t=e.props;return c.classNames("p-inline-message p-component",{"p-inline-message-info":"info"===t.severity,"p-inline-message-warn":"warn"===t.severity,"p-inline-message-error":"error"===t.severity,"p-inline-message-success":"success"===t.severity,"p-inline-message-icon-only":!t.text})},icon:"p-inline-message-icon",text:"p-inline-message-text"},styles:"\n @layer primereact {\n .p-inline-message {\n display: inline-flex;\n align-items: center;\n justify-content: center;\n vertical-align: top;\n }\n\n .p-inline-message-icon {\n flex-shrink: 0;\n }\n \n .p-inline-message-icon-only .p-inline-message-text {\n visibility: hidden;\n width: 0;\n }\n \n .p-fluid .p-inline-message {\n display: flex;\n } \n }\n "}});function g(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?g(Object(r),!0).forEach((function(t){var n,i,s;n=e,s=r[t],(i=f(i=t))in n?Object.defineProperty(n,i,{value:s,enumerable:!0,configurable:!0,writable:!0}):n[i]=s})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):g(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var v=l.memo(l.forwardRef((function(e,a){var p=l.useContext(t.PrimeReactContext),m=y.getProps(e,p),f=l.useRef(null),g=y.setMetaData({props:m}),v=g.ptm,O=g.cx;r.useHandleStyle(y.css.styles,g.isUnstyled,{name:"message"});l.useImperativeHandle(a,(function(){return{props:m,getElement:function(){return f.current}}}));var d=function(){if(m.content)return c.ObjectUtils.getJSXElement(m.content,m);var e=c.ObjectUtils.getJSXElement(m.text,m),t=c.mergeProps({className:O("icon")},v("icon")),r=m.icon;if(!r)switch(m.severity){case"info":r=l.createElement(s.InfoCircleIcon,t);break;case"warn":r=l.createElement(i.ExclamationTriangleIcon,t);break;case"error":r=l.createElement(o.TimesCircleIcon,t);break;case"success":r=l.createElement(n.CheckIcon,t)}var a=c.IconUtils.getJSXIcon(r,b({},t),{props:m}),u=c.mergeProps({className:O("text")},v("text"));return l.createElement(l.Fragment,null,a,l.createElement("span",u,e))}(),j=c.mergeProps({className:c.classNames(m.className,O("root")),style:m.style,role:"alert","aria-live":"polite"},y.getOtherProps(m),v("root"));return l.createElement("div",u({id:m.id,ref:f},j),d)})));v.displayName="Message",exports.Message=v;