pixel-react 1.14.40 → 1.14.41

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 (66) hide show
  1. package/lib/_virtual/index4.js +3 -5
  2. package/lib/_virtual/index4.js.map +1 -1
  3. package/lib/_virtual/index5.js +5 -3
  4. package/lib/_virtual/index5.js.map +1 -1
  5. package/lib/assets/icons/windows.svg.js +1 -1
  6. package/lib/assets/icons/windows.svg.js.map +1 -1
  7. package/lib/components/Comments/Comments.js +1 -1
  8. package/lib/components/Comments/Comments.js.map +1 -1
  9. package/lib/components/Excel/Data.d.ts +127 -0
  10. package/lib/components/Excel/Data.js +646 -0
  11. package/lib/components/Excel/Data.js.map +1 -0
  12. package/lib/components/Excel/Data2.d.ts +133 -0
  13. package/lib/components/Excel/Data2.js +698 -0
  14. package/lib/components/Excel/Data2.js.map +1 -0
  15. package/lib/components/Excel/ExcelContextMenu/ExcelContextMenu.d.ts +0 -1
  16. package/lib/components/Excel/ExcelContextMenu/ExcelContextMenu.js +3 -6
  17. package/lib/components/Excel/ExcelContextMenu/ExcelContextMenu.js.map +1 -1
  18. package/lib/components/Excel/ExcelFile/ExcelFile.d.ts +8 -20
  19. package/lib/components/Excel/ExcelFile/ExcelFile.js +37 -31
  20. package/lib/components/Excel/ExcelFile/ExcelFile.js.map +1 -1
  21. package/lib/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.d.ts +1 -12
  22. package/lib/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.js +1 -0
  23. package/lib/components/Excel/ExcelFile/ExcelFileComponents/ActiveCell.js.map +1 -1
  24. package/lib/components/Excel/ExcelFile/ExcelFileComponents/ColumnIndicator.js +13 -9
  25. package/lib/components/Excel/ExcelFile/ExcelFileComponents/ColumnIndicator.js.map +1 -1
  26. package/lib/components/Excel/ExcelFile/ExcelFileComponents/RowIndicator.js +14 -10
  27. package/lib/components/Excel/ExcelFile/ExcelFileComponents/RowIndicator.js.map +1 -1
  28. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.d.ts +3 -12
  29. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.js +17 -5
  30. package/lib/components/Excel/ExcelFile/ExcelFileComponents/Spreadsheet.js.map +1 -1
  31. package/lib/components/Excel/ExcelFile/ExcelFileComponents/actions.d.ts +19 -12
  32. package/lib/components/Excel/ExcelFile/ExcelFileComponents/actions.js +18 -12
  33. package/lib/components/Excel/ExcelFile/ExcelFileComponents/actions.js.map +1 -1
  34. package/lib/components/Excel/ExcelFile/ExcelFileComponents/reducer.js +39 -21
  35. package/lib/components/Excel/ExcelFile/ExcelFileComponents/reducer.js.map +1 -1
  36. package/lib/components/Excel/ExcelFile/ExcelFileComponents/types.d.ts +11 -6
  37. package/lib/components/Excel/Types.d.ts +1 -0
  38. package/lib/components/MultiSelect/MultiSelect.js +1 -1
  39. package/lib/components/MultiSelect/MultiSelect.js.map +1 -1
  40. package/lib/components/Table/Table.js +1 -1
  41. package/lib/components/Table/Table.js.map +1 -1
  42. package/lib/index.cjs +146 -98
  43. package/lib/index.cjs.map +1 -1
  44. package/lib/index.d.ts +29 -27
  45. package/lib/node_modules/input-format/modules/react/Input.js +1 -1
  46. package/lib/node_modules/js-beautify/js/src/css/beautifier.js +1 -1
  47. package/lib/node_modules/js-beautify/js/src/css/options.js +1 -1
  48. package/lib/node_modules/js-beautify/js/src/html/beautifier.js +1 -1
  49. package/lib/node_modules/js-beautify/js/src/html/options.js +1 -1
  50. package/lib/node_modules/js-beautify/js/src/javascript/beautifier.js +1 -1
  51. package/lib/node_modules/js-beautify/js/src/javascript/options.js +1 -1
  52. package/lib/node_modules/react-google-recaptcha/lib/esm/recaptcha.js +1 -1
  53. package/lib/node_modules/react-phone-number-input/modules/CountryIcon.js +1 -1
  54. package/lib/node_modules/react-phone-number-input/modules/CountrySelect.js +1 -1
  55. package/lib/node_modules/react-phone-number-input/modules/Flag.js +1 -1
  56. package/lib/node_modules/react-phone-number-input/modules/InputBasic.js +1 -1
  57. package/lib/node_modules/react-phone-number-input/modules/InputSmart.js +1 -1
  58. package/lib/node_modules/react-phone-number-input/modules/InternationalIcon.js +1 -1
  59. package/lib/node_modules/react-phone-number-input/modules/PhoneInputWithCountry.js +1 -1
  60. package/lib/node_modules/react-phone-number-input/modules/PhoneInputWithCountryDefault.js +1 -1
  61. package/lib/node_modules/react-phone-number-input/modules/PropTypes.js +1 -1
  62. package/lib/node_modules/use-context-selector/dist/index.js +1 -1
  63. package/lib/styles.css +1 -1
  64. package/lib/styles.css.map +1 -1
  65. package/lib/tsconfig.tsbuildinfo +1 -1
  66. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -2655,7 +2655,7 @@ interface VariableInputProps {
2655
2655
 
2656
2656
  declare const VariableInput: ({ type, name, label, disabled, required, placeholder, value, error, className, onChange, onKeyDown, onBlur, onFocus, list, ...props }: VariableInputProps) => react_jsx_runtime.JSX.Element;
2657
2657
 
2658
- interface optionsType {
2658
+ interface optionsType$1 {
2659
2659
  label: string;
2660
2660
  value: string;
2661
2661
  iconName: string;
@@ -2663,10 +2663,10 @@ interface optionsType {
2663
2663
  appType?: string;
2664
2664
  }
2665
2665
  interface AllProjectsDropdownProps {
2666
- options: optionsType[];
2666
+ options: optionsType$1[];
2667
2667
  onMenuClick?: () => void;
2668
- onClick: (option: optionsType) => void;
2669
- selectedOption: optionsType;
2668
+ onClick: (option: optionsType$1) => void;
2669
+ selectedOption: optionsType$1;
2670
2670
  selected?: boolean;
2671
2671
  placeholder?: string;
2672
2672
  disabled?: boolean;
@@ -2693,13 +2693,13 @@ interface AppHeaderProps {
2693
2693
  logoIconName: string;
2694
2694
  leftContent?: ReactNode;
2695
2695
  rightContent?: ReactNode;
2696
- projectsList?: optionsType[];
2696
+ projectsList?: optionsType$1[];
2697
2697
  appHeaderMenuItems: appHeaderMenuItemProps[];
2698
2698
  appHeaderHiddenMenuItems?: appHeaderMenuItemProps[];
2699
2699
  selectedMenu: string;
2700
2700
  selectedSubMenu?: string;
2701
2701
  selectedQuickMenu?: string;
2702
- selectedProject?: optionsType;
2702
+ selectedProject?: optionsType$1;
2703
2703
  onMenuClick?: (text: any) => void;
2704
2704
  onSubMenuClick?: (text: any) => void;
2705
2705
  onQuickMenuClick?: (text: any) => void;
@@ -3251,6 +3251,21 @@ interface LabelEditTextFieldTypes {
3251
3251
 
3252
3252
  declare const EditTextField: FC<LabelEditTextFieldTypes>;
3253
3253
 
3254
+ type ContextMenuState = {
3255
+ open: boolean;
3256
+ contextType: 'sheet' | 'column' | 'row' | 'cell' | null;
3257
+ options: optionsType[];
3258
+ };
3259
+ type optionsType = {
3260
+ label: string;
3261
+ value: string;
3262
+ iconName: string;
3263
+ action: () => void;
3264
+ disableTooltip: string;
3265
+ visible: boolean;
3266
+ disable: boolean;
3267
+ };
3268
+
3254
3269
  interface ExcelFileProps {
3255
3270
  /**
3256
3271
  * The Excel data containing all the sheets and their respective content.
@@ -3263,27 +3278,14 @@ interface ExcelFileProps {
3263
3278
  /**
3264
3279
  * Optional configuration for the context menu (usually shown on right-click).
3265
3280
  * This allows customization of the context menu options with a label, value, icon, and action to be performed.
3266
- */
3267
- contextOption?: {
3268
- /**
3269
- * Whether the context menu should be enabled (open or not).
3270
- * If set to true, the context menu will be shown, otherwise, it will be disabled.
3271
- */
3272
- open: boolean;
3273
- /**
3274
- * Array of options available in the context menu. Each option contains a label (display name),
3275
- * value (identifier), iconName (icon to display), and action (function to be executed on click).
3276
- */
3277
- options: {
3278
- label: string;
3279
- value: string;
3280
- iconName: string;
3281
- action: () => void;
3282
- disableTooltip: string;
3283
- visible: boolean;
3284
- disable: boolean;
3285
- }[];
3286
- };
3281
+ * open: boolean;
3282
+ * Whether the context menu should be enabled (open or not).
3283
+ * If set to true, the context menu will be shown, otherwise, it will be disabled.
3284
+ * options: optionsType[];
3285
+ * Array of options available in the context menu. Each option contains a label (display name),
3286
+ * value (identifier), iconName (icon to display), and action (function to be executed on click).
3287
+ */
3288
+ contextOption?: ContextMenuState;
3287
3289
  /**
3288
3290
  * Controls whether the toolbar is shown or hidden.
3289
3291
  * Possible values:
@@ -1,5 +1,5 @@
1
1
  import React__default from 'react';
2
- import PropTypes from '../../../../_virtual/index4.js';
2
+ import PropTypes from '../../../../_virtual/index5.js';
3
3
  import useInput from './useInput.js';
4
4
 
5
5
  var _excluded = ["inputComponent", "parse", "format", "value", "defaultValue", "onChange", "controlled", "onKeyDown", "type"];
@@ -1,4 +1,4 @@
1
- import { __exports as beautifier } from '../../../../../_virtual/beautifier3.js';
1
+ import { __exports as beautifier } from '../../../../../_virtual/beautifier.js';
2
2
  import { __require as requireOptions } from './options.js';
3
3
  import { __require as requireOutput } from '../core/output.js';
4
4
  import { __require as requireInputscanner } from '../core/inputscanner.js';
@@ -1,4 +1,4 @@
1
- import { __exports as options } from '../../../../../_virtual/options3.js';
1
+ import { __exports as options } from '../../../../../_virtual/options.js';
2
2
  import { __require as requireOptions$1 } from '../core/options.js';
3
3
 
4
4
  /*jshint node:true */
@@ -1,4 +1,4 @@
1
- import { __exports as beautifier } from '../../../../../_virtual/beautifier.js';
1
+ import { __exports as beautifier } from '../../../../../_virtual/beautifier2.js';
2
2
  import { __require as requireOptions } from './options.js';
3
3
  import { __require as requireOutput } from '../core/output.js';
4
4
  import { __require as requireTokenizer } from './tokenizer.js';
@@ -1,4 +1,4 @@
1
- import { __exports as options } from '../../../../../_virtual/options.js';
1
+ import { __exports as options } from '../../../../../_virtual/options2.js';
2
2
  import { __require as requireOptions$1 } from '../core/options.js';
3
3
 
4
4
  /*jshint node:true */
@@ -1,4 +1,4 @@
1
- import { __exports as beautifier } from '../../../../../_virtual/beautifier2.js';
1
+ import { __exports as beautifier } from '../../../../../_virtual/beautifier3.js';
2
2
  import { __require as requireOutput } from '../core/output.js';
3
3
  import { __require as requireToken } from '../core/token.js';
4
4
  import { __require as requireAcorn } from './acorn.js';
@@ -1,4 +1,4 @@
1
- import { __exports as options } from '../../../../../_virtual/options2.js';
1
+ import { __exports as options } from '../../../../../_virtual/options3.js';
2
2
  import { __require as requireOptions$1 } from '../core/options.js';
3
3
 
4
4
  /*jshint node:true */
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import PropTypes from '../../../../_virtual/index4.js';
2
+ import PropTypes from '../../../../_virtual/index5.js';
3
3
 
4
4
  var _excluded = ["sitekey", "onChange", "theme", "type", "tabindex", "onExpired", "onErrored", "size", "stoken", "grecaptcha", "badge", "hl", "isolated"];
5
5
  function _extends() {
@@ -1,5 +1,5 @@
1
1
  import React__default from 'react';
2
- import PropTypes from '../../../_virtual/index4.js';
2
+ import PropTypes from '../../../_virtual/index5.js';
3
3
  import classNames from '../../../_virtual/index.js';
4
4
  import InternationalIcon from './InternationalIcon.js';
5
5
  import FlagComponent from './Flag.js';
@@ -1,5 +1,5 @@
1
1
  import React__default, { useMemo, useCallback } from 'react';
2
- import PropTypes from '../../../_virtual/index4.js';
2
+ import PropTypes from '../../../_virtual/index5.js';
3
3
  import classNames from '../../../_virtual/index.js';
4
4
  import getCountryFlag from '../../country-flag-icons/modules/unicode.js';
5
5
 
@@ -1,5 +1,5 @@
1
1
  import React__default from 'react';
2
- import PropTypes from '../../../_virtual/index4.js';
2
+ import PropTypes from '../../../_virtual/index5.js';
3
3
  import '../../../_virtual/index.js';
4
4
 
5
5
  var _excluded = ["country", "countryName", "flags", "flagUrl"];
@@ -1,5 +1,5 @@
1
1
  import React__default, { useCallback } from 'react';
2
- import PropTypes from '../../../_virtual/index4.js';
2
+ import PropTypes from '../../../_virtual/index5.js';
3
3
  import { getPrefixForFormattingValueAsPhoneNumber, removePrefixFromFormattedPhoneNumber } from './helpers/inputValuePrefix.js';
4
4
  import useInputKeyDownHandler from './useInputKeyDownHandler.js';
5
5
  import parseIncompletePhoneNumber from '../../libphonenumber-js/es6/parseIncompletePhoneNumber.js';
@@ -1,5 +1,5 @@
1
1
  import React__default, { useCallback } from 'react';
2
- import PropTypes from '../../../_virtual/index4.js';
2
+ import PropTypes from '../../../_virtual/index5.js';
3
3
  import { getPrefixForFormattingValueAsPhoneNumber, removePrefixFromFormattedPhoneNumber } from './helpers/inputValuePrefix.js';
4
4
  import parsePhoneNumberCharacter_ from './helpers/parsePhoneNumberCharacter.js';
5
5
  import useInputKeyDownHandler from './useInputKeyDownHandler.js';
@@ -1,5 +1,5 @@
1
1
  import React__default from 'react';
2
- import PropTypes from '../../../_virtual/index4.js';
2
+ import PropTypes from '../../../_virtual/index5.js';
3
3
 
4
4
  var _excluded = ["aspectRatio"],
5
5
  _excluded2 = ["title"],
@@ -1,5 +1,5 @@
1
1
  import React__default from 'react';
2
- import PropTypes from '../../../_virtual/index4.js';
2
+ import PropTypes from '../../../_virtual/index5.js';
3
3
  import classNames from '../../../_virtual/index.js';
4
4
  import InputSmart from './InputSmart.js';
5
5
  import InputBasic from './InputBasic.js';
@@ -1,5 +1,5 @@
1
1
  import React__default from 'react';
2
- import '../../../_virtual/index4.js';
2
+ import '../../../_virtual/index5.js';
3
3
  import defaultLabels from '../locale/en.json.js';
4
4
  import { labels, metadata } from './PropTypes.js';
5
5
  import PhoneNumberInput from './PhoneInputWithCountry.js';
@@ -1,4 +1,4 @@
1
- import PropTypes from '../../../_virtual/index4.js';
1
+ import PropTypes from '../../../_virtual/index5.js';
2
2
 
3
3
  var metadata = PropTypes.shape({
4
4
  country_calling_codes: PropTypes.object.isRequired,
@@ -1,5 +1,5 @@
1
1
  import { createContext as createContext$1, useRef, useState, useEffect, useLayoutEffect, createElement, useContext, useReducer } from 'react';
2
- import { s as schedulerExports } from '../../../_virtual/index5.js';
2
+ import { s as schedulerExports } from '../../../_virtual/index4.js';
3
3
 
4
4
  const CONTEXT_VALUE = Symbol();
5
5
  const ORIGINAL_PROVIDER = Symbol();