powell-react 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (38) hide show
  1. package/dist/cjs/index.js +312 -12
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/types/api/primereact.d.ts +86 -85
  4. package/dist/cjs/types/components/CascadeSelect/index.d.ts +1 -1
  5. package/dist/cjs/types/components/Chips/Chips.d.ts +4 -5
  6. package/dist/cjs/types/components/Editor/index.d.ts +1 -1
  7. package/dist/cjs/types/components/InputPassword/InputPassword.d.ts +1 -2
  8. package/dist/cjs/types/components/Knob/Knob.d.ts +1 -2
  9. package/dist/cjs/types/components/ListBox/ListBox.d.ts +1 -2
  10. package/dist/cjs/types/components/ListBox/index.d.ts +1 -1
  11. package/dist/cjs/types/components/MultiStateCheckbox/MultiStateCheckbox.d.ts +1 -2
  12. package/dist/cjs/types/index.d.ts +1 -0
  13. package/dist/cjs/types/models/forms.d.ts +4 -4
  14. package/dist/esm/index.js +312 -13
  15. package/dist/esm/index.js.map +1 -1
  16. package/dist/esm/types/api/primereact.d.ts +86 -85
  17. package/dist/esm/types/components/CascadeSelect/index.d.ts +1 -1
  18. package/dist/esm/types/components/Chips/Chips.d.ts +4 -5
  19. package/dist/esm/types/components/Editor/index.d.ts +1 -1
  20. package/dist/esm/types/components/InputPassword/InputPassword.d.ts +1 -2
  21. package/dist/esm/types/components/Knob/Knob.d.ts +1 -2
  22. package/dist/esm/types/components/ListBox/ListBox.d.ts +1 -2
  23. package/dist/esm/types/components/ListBox/index.d.ts +1 -1
  24. package/dist/esm/types/components/MultiStateCheckbox/MultiStateCheckbox.d.ts +1 -2
  25. package/dist/esm/types/index.d.ts +1 -0
  26. package/dist/esm/types/models/forms.d.ts +4 -4
  27. package/dist/index.d.ts +7 -3
  28. package/package.json +2 -1
  29. package/dist/cjs/types/components22/Button/Button.d.ts +0 -7
  30. package/dist/cjs/types/components22/Button/index.d.ts +0 -2
  31. package/dist/cjs/types/components22/Input/Input.d.ts +0 -2
  32. package/dist/cjs/types/components22/Input/index.d.ts +0 -2
  33. package/dist/cjs/types/components22/index.d.ts +0 -2
  34. package/dist/esm/types/components22/Button/Button.d.ts +0 -7
  35. package/dist/esm/types/components22/Button/index.d.ts +0 -2
  36. package/dist/esm/types/components22/Input/Input.d.ts +0 -2
  37. package/dist/esm/types/components22/Input/index.d.ts +0 -2
  38. package/dist/esm/types/components22/index.d.ts +0 -2
package/dist/cjs/index.js CHANGED
@@ -4170,6 +4170,64 @@ if (process.env.NODE_ENV === 'production') {
4170
4170
 
4171
4171
  var jsxRuntimeExports = jsxRuntime.exports;
4172
4172
 
4173
+ const useIsomorphicLayoutEffect = typeof window !== "undefined" || typeof document !== "undefined"
4174
+ ? reactExports.useLayoutEffect
4175
+ : reactExports.useEffect;
4176
+ const equ = (a, b) => a === b;
4177
+ const FR = {};
4178
+ function useComparator(v, c = equ) {
4179
+ const f = reactExports.useRef(FR);
4180
+ let nv = f.current;
4181
+ useIsomorphicLayoutEffect(() => {
4182
+ f.current = nv;
4183
+ });
4184
+ if (f.current === FR || !c(v, f.current)) {
4185
+ nv = v;
4186
+ }
4187
+ return nv;
4188
+ }
4189
+ function globalState(initialValue, options) {
4190
+ let sb = [];
4191
+ let v = initialValue;
4192
+ function set(newValue, callback) {
4193
+ const pv = v;
4194
+ v = newValue instanceof Function ? newValue(v) : newValue;
4195
+ setTimeout(() => {
4196
+ sb.forEach((c) => c(v, pv));
4197
+ callback?.(v, pv);
4198
+ });
4199
+ }
4200
+ function subscribe(subscriber) {
4201
+ sb.push(subscriber);
4202
+ return () => {
4203
+ sb = sb.filter((f) => f !== subscriber);
4204
+ };
4205
+ }
4206
+ function useSubscription(subscriber) {
4207
+ useIsomorphicLayoutEffect(() => subscribe(subscriber), [subscriber]);
4208
+ }
4209
+ function use() {
4210
+ const [l, s] = reactExports.useState(v);
4211
+ useSubscription(s);
4212
+ return [l, set];
4213
+ }
4214
+ function useSelector(selector, comparator = equ) {
4215
+ const [rv] = use();
4216
+ return useComparator(selector(rv), comparator);
4217
+ }
4218
+ return {
4219
+ use,
4220
+ useSelector,
4221
+ useValue: () => use()[0],
4222
+ get: () => v,
4223
+ set,
4224
+ reset: () => set(initialValue),
4225
+ subscribe,
4226
+ };
4227
+ }
4228
+
4229
+ const configService = globalState({});
4230
+
4173
4231
  /**
4174
4232
  * Based on Kendo UI Core expression code <https://github.com/telerik/kendo-ui-core#license-information>
4175
4233
  */
@@ -5630,11 +5688,49 @@ class DateSchema extends Schema {
5630
5688
  }
5631
5689
  DateSchema.INVALID_DATE = invalidDate;
5632
5690
 
5633
- function _arrayWithHoles$4(arr) {
5691
+ const powellDefaults = {
5692
+ theme: 'lara-light-cyan',
5693
+ rtl: false,
5694
+ showRequiredStar: true,
5695
+ ripple: true,
5696
+ inputSize: 'md',
5697
+ labelPosition: 'fix-top',
5698
+ fixLabelPosition: 'fix-side'
5699
+ };
5700
+
5701
+ const createThemeLink = () => {
5702
+ const headEl = document.head;
5703
+ const linkEl = document.createElement("link");
5704
+ linkEl.rel = "stylesheet";
5705
+ linkEl.type = "text/css";
5706
+ linkEl.id = "powell-theme-link";
5707
+ headEl.appendChild(linkEl);
5708
+ return linkEl;
5709
+ };
5710
+ const applyTheme = (theme) => {
5711
+ let themeEl = document.getElementById('powell-theme-link');
5712
+ if (!themeEl) {
5713
+ themeEl = createThemeLink();
5714
+ }
5715
+ const themeLink = `/src/powell/themes/${theme}.css`;
5716
+ themeEl.setAttribute('href', themeLink);
5717
+ };
5718
+ const PowellProvider = (props) => {
5719
+ const { children, config } = props;
5720
+ const defaultConfig = {
5721
+ ...powellDefaults,
5722
+ ...config
5723
+ };
5724
+ configService.set(defaultConfig);
5725
+ applyTheme(defaultConfig.theme);
5726
+ return (jsxRuntimeExports.jsx(PrimeReactProvider, { value: defaultConfig, children: children }));
5727
+ };
5728
+
5729
+ function _arrayWithHoles$5(arr) {
5634
5730
  if (Array.isArray(arr)) return arr;
5635
5731
  }
5636
5732
 
5637
- function _iterableToArrayLimit$4(r, l) {
5733
+ function _iterableToArrayLimit$5(r, l) {
5638
5734
  var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
5639
5735
  if (null != t) {
5640
5736
  var e,
@@ -5674,12 +5770,12 @@ function _unsupportedIterableToArray$2$1(o, minLen) {
5674
5770
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$2$1(o, minLen);
5675
5771
  }
5676
5772
 
5677
- function _nonIterableRest$4() {
5773
+ function _nonIterableRest$5() {
5678
5774
  throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
5679
5775
  }
5680
5776
 
5681
- function _slicedToArray$4(arr, i) {
5682
- return _arrayWithHoles$4(arr) || _iterableToArrayLimit$4(arr, i) || _unsupportedIterableToArray$2$1(arr, i) || _nonIterableRest$4();
5777
+ function _slicedToArray$5(arr, i) {
5778
+ return _arrayWithHoles$5(arr) || _iterableToArrayLimit$5(arr, i) || _unsupportedIterableToArray$2$1(arr, i) || _nonIterableRest$5();
5683
5779
  }
5684
5780
 
5685
5781
  function _typeof$5(o) {
@@ -5708,7 +5804,7 @@ function classNames() {
5708
5804
  classes.push(className);
5709
5805
  } else if (type === 'object') {
5710
5806
  var _classes = Array.isArray(className) ? className : Object.entries(className).map(function (_ref) {
5711
- var _ref2 = _slicedToArray$4(_ref, 2),
5807
+ var _ref2 = _slicedToArray$5(_ref, 2),
5712
5808
  key = _ref2[0],
5713
5809
  value = _ref2[1];
5714
5810
  return value ? key : null;
@@ -6010,7 +6106,7 @@ var DomHandler = /*#__PURE__*/function () {
6010
6106
  var styles = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
6011
6107
  if (element) {
6012
6108
  Object.entries(styles).forEach(function (_ref) {
6013
- var _ref2 = _slicedToArray$4(_ref, 2),
6109
+ var _ref2 = _slicedToArray$5(_ref, 2),
6014
6110
  key = _ref2[0],
6015
6111
  value = _ref2[1];
6016
6112
  return element.style[key] = value;
@@ -6046,7 +6142,7 @@ var DomHandler = /*#__PURE__*/function () {
6046
6142
  cv.push(v);
6047
6143
  } else if (type === 'object') {
6048
6144
  var _cv = Array.isArray(v) ? _computedStyles(rule, v) : Object.entries(v).map(function (_ref3) {
6049
- var _ref4 = _slicedToArray$4(_ref3, 2),
6145
+ var _ref4 = _slicedToArray$5(_ref3, 2),
6050
6146
  _k = _ref4[0],
6051
6147
  _v = _ref4[1];
6052
6148
  return rule === 'style' && (!!_v || _v === 0) ? "".concat(_k.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase(), ":").concat(_v) : _v ? _k : undefined;
@@ -6060,7 +6156,7 @@ var DomHandler = /*#__PURE__*/function () {
6060
6156
  }, styles);
6061
6157
  };
6062
6158
  Object.entries(attributes).forEach(function (_ref5) {
6063
- var _ref6 = _slicedToArray$4(_ref5, 2),
6159
+ var _ref6 = _slicedToArray$5(_ref5, 2),
6064
6160
  key = _ref6[0],
6065
6161
  value = _ref6[1];
6066
6162
  if (value !== undefined && value !== null) {
@@ -7055,9 +7151,9 @@ function _extends$4() {
7055
7151
  return _extends$4.apply(this, arguments);
7056
7152
  }
7057
7153
 
7058
- function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray$5(o)) || allowArrayLike) { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
7059
- function _unsupportedIterableToArray$5(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray$5(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$5(o, minLen); }
7060
- function _arrayLikeToArray$5(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
7154
+ function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray$6(o)) || allowArrayLike) { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it["return"] != null) it["return"](); } finally { if (didErr) throw err; } } }; }
7155
+ function _unsupportedIterableToArray$6(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray$6(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$6(o, minLen); }
7156
+ function _arrayLikeToArray$6(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
7061
7157
  var ObjectUtils = /*#__PURE__*/function () {
7062
7158
  function ObjectUtils() {
7063
7159
  _classCallCheck$1(this, ObjectUtils);
@@ -7848,7 +7944,210 @@ _defineProperty$4(PrimeReact$1, "changeTheme", function (currentTheme, newTheme,
7848
7944
  (_linkElement$parentNo = linkElement.parentNode) === null || _linkElement$parentNo === void 0 || _linkElement$parentNo.replaceChild(newLinkElement, linkElement);
7849
7945
  });
7850
7946
 
7947
+ function _arrayWithHoles$4(arr) {
7948
+ if (Array.isArray(arr)) return arr;
7949
+ }
7950
+
7951
+ function _iterableToArrayLimit$4(r, l) {
7952
+ var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
7953
+ if (null != t) {
7954
+ var e,
7955
+ n,
7956
+ i,
7957
+ u,
7958
+ a = [],
7959
+ f = !0,
7960
+ o = !1;
7961
+ try {
7962
+ if (i = (t = t.call(r)).next, 0 === l) ; else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0);
7963
+ } catch (r) {
7964
+ o = !0, n = r;
7965
+ } finally {
7966
+ try {
7967
+ if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return;
7968
+ } finally {
7969
+ if (o) throw n;
7970
+ }
7971
+ }
7972
+ return a;
7973
+ }
7974
+ }
7975
+
7976
+ function _arrayLikeToArray$5(arr, len) {
7977
+ if (len == null || len > arr.length) len = arr.length;
7978
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
7979
+ return arr2;
7980
+ }
7981
+
7982
+ function _unsupportedIterableToArray$5(o, minLen) {
7983
+ if (!o) return;
7984
+ if (typeof o === "string") return _arrayLikeToArray$5(o, minLen);
7985
+ var n = Object.prototype.toString.call(o).slice(8, -1);
7986
+ if (n === "Object" && o.constructor) n = o.constructor.name;
7987
+ if (n === "Map" || n === "Set") return Array.from(o);
7988
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray$5(o, minLen);
7989
+ }
7990
+
7991
+ function _nonIterableRest$4() {
7992
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
7993
+ }
7994
+
7995
+ function _slicedToArray$4(arr, i) {
7996
+ return _arrayWithHoles$4(arr) || _iterableToArrayLimit$4(arr, i) || _unsupportedIterableToArray$5(arr, i) || _nonIterableRest$4();
7997
+ }
7998
+
7851
7999
  var PrimeReactContext = /*#__PURE__*/React__default.createContext();
8000
+ var PrimeReactProvider = function PrimeReactProvider(props) {
8001
+ var propsValue = props.value || {};
8002
+ var _useState = reactExports.useState(propsValue.ripple || false),
8003
+ _useState2 = _slicedToArray$4(_useState, 2),
8004
+ ripple = _useState2[0],
8005
+ setRipple = _useState2[1];
8006
+ var _useState3 = reactExports.useState(propsValue.inputStyle || 'outlined'),
8007
+ _useState4 = _slicedToArray$4(_useState3, 2),
8008
+ inputStyle = _useState4[0],
8009
+ setInputStyle = _useState4[1];
8010
+ var _useState5 = reactExports.useState(propsValue.locale || 'en'),
8011
+ _useState6 = _slicedToArray$4(_useState5, 2),
8012
+ locale = _useState6[0],
8013
+ setLocale = _useState6[1];
8014
+ var _useState7 = reactExports.useState(propsValue.appendTo || null),
8015
+ _useState8 = _slicedToArray$4(_useState7, 2),
8016
+ appendTo = _useState8[0],
8017
+ setAppendTo = _useState8[1];
8018
+ var _useState9 = reactExports.useState(propsValue.styleContainer || null),
8019
+ _useState10 = _slicedToArray$4(_useState9, 2),
8020
+ styleContainer = _useState10[0],
8021
+ setStyleContainer = _useState10[1];
8022
+ var _useState11 = reactExports.useState(propsValue.cssTransition || true),
8023
+ _useState12 = _slicedToArray$4(_useState11, 2),
8024
+ cssTransition = _useState12[0],
8025
+ setCssTransition = _useState12[1];
8026
+ var _useState13 = reactExports.useState(propsValue.autoZIndex || true),
8027
+ _useState14 = _slicedToArray$4(_useState13, 2),
8028
+ autoZIndex = _useState14[0],
8029
+ setAutoZIndex = _useState14[1];
8030
+ var _useState15 = reactExports.useState(propsValue.hideOverlaysOnDocumentScrolling || false),
8031
+ _useState16 = _slicedToArray$4(_useState15, 2),
8032
+ hideOverlaysOnDocumentScrolling = _useState16[0],
8033
+ setHideOverlaysOnDocumentScrolling = _useState16[1];
8034
+ var _useState17 = reactExports.useState(propsValue.nonce || null),
8035
+ _useState18 = _slicedToArray$4(_useState17, 2),
8036
+ nonce = _useState18[0],
8037
+ setNonce = _useState18[1];
8038
+ var _useState19 = reactExports.useState(propsValue.nullSortOrder || 1),
8039
+ _useState20 = _slicedToArray$4(_useState19, 2),
8040
+ nullSortOrder = _useState20[0],
8041
+ setNullSortOrder = _useState20[1];
8042
+ var _useState21 = reactExports.useState(propsValue.zIndex || {
8043
+ modal: 1100,
8044
+ overlay: 1000,
8045
+ menu: 1000,
8046
+ tooltip: 1100,
8047
+ toast: 1200
8048
+ }),
8049
+ _useState22 = _slicedToArray$4(_useState21, 2),
8050
+ zIndex = _useState22[0],
8051
+ setZIndex = _useState22[1];
8052
+ var _useState23 = reactExports.useState(propsValue.ptOptions || {
8053
+ mergeSections: true,
8054
+ mergeProps: true
8055
+ }),
8056
+ _useState24 = _slicedToArray$4(_useState23, 2),
8057
+ ptOptions = _useState24[0],
8058
+ setPtOptions = _useState24[1];
8059
+ var _useState25 = reactExports.useState(propsValue.pt || undefined),
8060
+ _useState26 = _slicedToArray$4(_useState25, 2),
8061
+ pt = _useState26[0],
8062
+ setPt = _useState26[1];
8063
+ var _useState27 = reactExports.useState(propsValue.unstyled || false),
8064
+ _useState28 = _slicedToArray$4(_useState27, 2),
8065
+ unstyled = _useState28[0],
8066
+ setUnstyled = _useState28[1];
8067
+ var _useState29 = reactExports.useState(propsValue.filterMatchModeOptions || {
8068
+ text: [FilterMatchMode.STARTS_WITH, FilterMatchMode.CONTAINS, FilterMatchMode.NOT_CONTAINS, FilterMatchMode.ENDS_WITH, FilterMatchMode.EQUALS, FilterMatchMode.NOT_EQUALS],
8069
+ numeric: [FilterMatchMode.EQUALS, FilterMatchMode.NOT_EQUALS, FilterMatchMode.LESS_THAN, FilterMatchMode.LESS_THAN_OR_EQUAL_TO, FilterMatchMode.GREATER_THAN, FilterMatchMode.GREATER_THAN_OR_EQUAL_TO],
8070
+ date: [FilterMatchMode.DATE_IS, FilterMatchMode.DATE_IS_NOT, FilterMatchMode.DATE_BEFORE, FilterMatchMode.DATE_AFTER]
8071
+ }),
8072
+ _useState30 = _slicedToArray$4(_useState29, 2),
8073
+ filterMatchModeOptions = _useState30[0],
8074
+ setFilterMatchModeOptions = _useState30[1];
8075
+ var changeTheme = function changeTheme(currentTheme, newTheme, linkElementId, callback) {
8076
+ var _linkElement$parentNo;
8077
+ var linkElement = document.getElementById(linkElementId);
8078
+ if (!linkElement) {
8079
+ throw Error("Element with id ".concat(linkElementId, " not found."));
8080
+ }
8081
+ var newThemeUrl = linkElement.getAttribute('href').replace(currentTheme, newTheme);
8082
+ var newLinkElement = document.createElement('link');
8083
+ newLinkElement.setAttribute('rel', 'stylesheet');
8084
+ newLinkElement.setAttribute('id', linkElementId);
8085
+ newLinkElement.setAttribute('href', newThemeUrl);
8086
+ newLinkElement.addEventListener('load', function () {
8087
+ if (callback) {
8088
+ callback();
8089
+ }
8090
+ });
8091
+ (_linkElement$parentNo = linkElement.parentNode) === null || _linkElement$parentNo === void 0 || _linkElement$parentNo.replaceChild(newLinkElement, linkElement);
8092
+ };
8093
+
8094
+ /**
8095
+ * @deprecated
8096
+ */
8097
+ React__default.useEffect(function () {
8098
+ PrimeReact$1.ripple = ripple;
8099
+ }, [ripple]);
8100
+
8101
+ /**
8102
+ * @deprecated
8103
+ */
8104
+ React__default.useEffect(function () {
8105
+ PrimeReact$1.inputStyle = inputStyle;
8106
+ }, [inputStyle]);
8107
+
8108
+ /**
8109
+ * @deprecated
8110
+ */
8111
+ React__default.useEffect(function () {
8112
+ PrimeReact$1.locale = locale;
8113
+ }, [locale]);
8114
+ var value = {
8115
+ changeTheme: changeTheme,
8116
+ ripple: ripple,
8117
+ setRipple: setRipple,
8118
+ inputStyle: inputStyle,
8119
+ setInputStyle: setInputStyle,
8120
+ locale: locale,
8121
+ setLocale: setLocale,
8122
+ appendTo: appendTo,
8123
+ setAppendTo: setAppendTo,
8124
+ styleContainer: styleContainer,
8125
+ setStyleContainer: setStyleContainer,
8126
+ cssTransition: cssTransition,
8127
+ setCssTransition: setCssTransition,
8128
+ autoZIndex: autoZIndex,
8129
+ setAutoZIndex: setAutoZIndex,
8130
+ hideOverlaysOnDocumentScrolling: hideOverlaysOnDocumentScrolling,
8131
+ setHideOverlaysOnDocumentScrolling: setHideOverlaysOnDocumentScrolling,
8132
+ nonce: nonce,
8133
+ setNonce: setNonce,
8134
+ nullSortOrder: nullSortOrder,
8135
+ setNullSortOrder: setNullSortOrder,
8136
+ zIndex: zIndex,
8137
+ setZIndex: setZIndex,
8138
+ ptOptions: ptOptions,
8139
+ setPtOptions: setPtOptions,
8140
+ pt: pt,
8141
+ setPt: setPt,
8142
+ filterMatchModeOptions: filterMatchModeOptions,
8143
+ setFilterMatchModeOptions: setFilterMatchModeOptions,
8144
+ unstyled: unstyled,
8145
+ setUnstyled: setUnstyled
8146
+ };
8147
+ return /*#__PURE__*/React__default.createElement(PrimeReactContext.Provider, {
8148
+ value: value
8149
+ }, props.children);
8150
+ };
7852
8151
 
7853
8152
  var PrimeReact = PrimeReact$1;
7854
8153
 
@@ -41064,4 +41363,5 @@ const Button = reactExports.memo((props) => {
41064
41363
  });
41065
41364
 
41066
41365
  exports.Button = Button;
41366
+ exports.PowellProvider = PowellProvider;
41067
41367
  //# sourceMappingURL=index.js.map