@sankhyalabs/sankhyablocks 1.3.31-beta.4 → 1.3.31

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 (71) hide show
  1. package/dist/cjs/{index-ebe8245e.js → index-1133bc2a.js} +9 -453
  2. package/dist/cjs/loader.cjs.js +2 -2
  3. package/dist/cjs/sankhyablocks.cjs.js +2 -2
  4. package/dist/cjs/snk-application.cjs.entry.js +95 -118
  5. package/dist/cjs/snk-pesquisa.cjs.entry.js +2 -2
  6. package/dist/cjs/teste-pesquisa.cjs.entry.js +1 -1
  7. package/dist/collection/collection-manifest.json +0 -4
  8. package/dist/collection/components/snk-application/snk-application.js +20 -61
  9. package/dist/collection/components/snk-pesquisa/snk-pesquisa.css +2 -2
  10. package/dist/collection/lib/http/data-fetcher/fetchers/dataunit-fetcher.js +21 -36
  11. package/dist/collection/lib/http/data-fetcher/fetchers/grid-config-fetcher.js +3 -4
  12. package/dist/collection/lib/http/data-fetcher/fetchers/pesquisa-fetcher.js +1 -0
  13. package/dist/components/snk-application2.js +94 -118
  14. package/dist/components/snk-pesquisa2.js +1 -1
  15. package/dist/esm/{index-7565ae23.js → index-ffda6382.js} +10 -453
  16. package/dist/esm/loader.js +2 -2
  17. package/dist/esm/sankhyablocks.js +2 -2
  18. package/dist/esm/snk-application.entry.js +95 -118
  19. package/dist/esm/snk-pesquisa.entry.js +2 -2
  20. package/dist/esm/teste-pesquisa.entry.js +1 -1
  21. package/dist/sankhyablocks/{p-bb31ea2a.entry.js → p-2a7b4cb3.entry.js} +1 -1
  22. package/dist/sankhyablocks/{p-6d82d7fd.entry.js → p-49fdec1f.entry.js} +1 -1
  23. package/dist/sankhyablocks/p-9bc9abe0.entry.js +69 -0
  24. package/dist/sankhyablocks/p-edcb9d8e.js +2 -0
  25. package/dist/sankhyablocks/sankhyablocks.esm.js +1 -1
  26. package/dist/types/components/snk-application/snk-application.d.ts +5 -6
  27. package/dist/types/components.d.ts +1 -119
  28. package/dist/types/lib/http/data-fetcher/fetchers/grid-config-fetcher.d.ts +1 -1
  29. package/package.json +5 -5
  30. package/react/components.d.ts +0 -4
  31. package/react/components.js +0 -4
  32. package/react/components.js.map +1 -1
  33. package/dist/cjs/snk-data-unit.cjs.entry.js +0 -174
  34. package/dist/cjs/snk-form.cjs.entry.js +0 -95
  35. package/dist/cjs/snk-grid.cjs.entry.js +0 -64
  36. package/dist/cjs/snk-taskbar.cjs.entry.js +0 -159
  37. package/dist/cjs/taskbar-elements-589a3744.js +0 -68
  38. package/dist/collection/components/snk-data-unit/snk-data-unit.css +0 -6
  39. package/dist/collection/components/snk-data-unit/snk-data-unit.js +0 -429
  40. package/dist/collection/components/snk-form/snk-form.css +0 -3
  41. package/dist/collection/components/snk-form/snk-form.js +0 -194
  42. package/dist/collection/components/snk-grid/snk-grid.css +0 -5
  43. package/dist/collection/components/snk-grid/snk-grid.js +0 -128
  44. package/dist/collection/components/snk-taskbar/component/snk-popup-button.js +0 -7
  45. package/dist/collection/components/snk-taskbar/elements/taskbar-elements.js +0 -63
  46. package/dist/collection/components/snk-taskbar/snk-taskbar.css +0 -3
  47. package/dist/collection/components/snk-taskbar/snk-taskbar.js +0 -268
  48. package/dist/components/snk-data-unit.d.ts +0 -11
  49. package/dist/components/snk-data-unit.js +0 -198
  50. package/dist/components/snk-form.d.ts +0 -11
  51. package/dist/components/snk-form.js +0 -121
  52. package/dist/components/snk-grid.d.ts +0 -11
  53. package/dist/components/snk-grid.js +0 -88
  54. package/dist/components/snk-taskbar.d.ts +0 -11
  55. package/dist/components/snk-taskbar.js +0 -6
  56. package/dist/components/snk-taskbar2.js +0 -239
  57. package/dist/esm/snk-data-unit.entry.js +0 -170
  58. package/dist/esm/snk-form.entry.js +0 -91
  59. package/dist/esm/snk-grid.entry.js +0 -60
  60. package/dist/esm/snk-taskbar.entry.js +0 -155
  61. package/dist/esm/taskbar-elements-b6822601.js +0 -66
  62. package/dist/sankhyablocks/p-306224bf.entry.js +0 -1
  63. package/dist/sankhyablocks/p-4ee1e12b.js +0 -1
  64. package/dist/sankhyablocks/p-88278b85.entry.js +0 -1
  65. package/dist/sankhyablocks/p-90b832f7.js +0 -2
  66. package/dist/sankhyablocks/p-a4b2fa10.entry.js +0 -69
  67. package/dist/sankhyablocks/p-bb8d8fe7.entry.js +0 -1
  68. package/dist/sankhyablocks/p-e7ade160.entry.js +0 -1
  69. package/dist/types/components/snk-taskbar/component/snk-popup-button.d.ts +0 -12
  70. package/dist/types/components/snk-taskbar/elements/taskbar-elements.d.ts +0 -24
  71. package/dist/types/components/snk-taskbar/snk-taskbar.d.ts +0 -28
@@ -1,9 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import type { JSX } from '@sankhyalabs/sankhyablocks';
3
3
  export declare const SnkApplication: import("react").ForwardRefExoticComponent<JSX.SnkApplication & Pick<import("react").HTMLAttributes<HTMLSnkApplicationElement>, "dir" | "slot" | "title" | "children" | "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLSnkApplicationElement>>;
4
- export declare const SnkDataUnit: import("react").ForwardRefExoticComponent<JSX.SnkDataUnit & Pick<import("react").HTMLAttributes<HTMLSnkDataUnitElement>, "dir" | "slot" | "title" | "children" | "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLSnkDataUnitElement>>;
5
- export declare const SnkForm: import("react").ForwardRefExoticComponent<JSX.SnkForm & Pick<import("react").HTMLAttributes<HTMLSnkFormElement>, "dir" | "slot" | "title" | "children" | "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLSnkFormElement>>;
6
- export declare const SnkGrid: import("react").ForwardRefExoticComponent<JSX.SnkGrid & Pick<import("react").HTMLAttributes<HTMLSnkGridElement>, "dir" | "slot" | "title" | "children" | "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLSnkGridElement>>;
7
4
  export declare const SnkPesquisa: import("react").ForwardRefExoticComponent<JSX.SnkPesquisa & Pick<import("react").HTMLAttributes<HTMLSnkPesquisaElement>, "dir" | "slot" | "title" | "children" | "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLSnkPesquisaElement>>;
8
- export declare const SnkTaskbar: import("react").ForwardRefExoticComponent<JSX.SnkTaskbar & Pick<import("react").HTMLAttributes<HTMLSnkTaskbarElement>, "dir" | "slot" | "title" | "children" | "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLSnkTaskbarElement>>;
9
5
  export declare const TestePesquisa: import("react").ForwardRefExoticComponent<JSX.TestePesquisa & Pick<import("react").HTMLAttributes<HTMLTestePesquisaElement>, "dir" | "slot" | "title" | "children" | "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "inputMode" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("./react-component-lib/interfaces").StyleReactProps & import("react").RefAttributes<HTMLTestePesquisaElement>>;
@@ -3,10 +3,6 @@
3
3
  /* auto-generated react proxies */
4
4
  import { createReactComponent } from './react-component-lib';
5
5
  export const SnkApplication = /*@__PURE__*/ createReactComponent('snk-application');
6
- export const SnkDataUnit = /*@__PURE__*/ createReactComponent('snk-data-unit');
7
- export const SnkForm = /*@__PURE__*/ createReactComponent('snk-form');
8
- export const SnkGrid = /*@__PURE__*/ createReactComponent('snk-grid');
9
6
  export const SnkPesquisa = /*@__PURE__*/ createReactComponent('snk-pesquisa');
10
- export const SnkTaskbar = /*@__PURE__*/ createReactComponent('snk-taskbar');
11
7
  export const TestePesquisa = /*@__PURE__*/ createReactComponent('teste-pesquisa');
12
8
  //# sourceMappingURL=components.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"components.js","sourceRoot":"","sources":["../src/components.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,kCAAkC;AAClC,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAM7D,MAAM,CAAC,MAAM,cAAc,GAAG,aAAa,CAAA,oBAAoB,CAAgD,iBAAiB,CAAC,CAAC;AAClI,MAAM,CAAC,MAAM,WAAW,GAAG,aAAa,CAAA,oBAAoB,CAA0C,eAAe,CAAC,CAAC;AACvH,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAA,oBAAoB,CAAkC,UAAU,CAAC,CAAC;AACtG,MAAM,CAAC,MAAM,OAAO,GAAG,aAAa,CAAA,oBAAoB,CAAkC,UAAU,CAAC,CAAC;AACtG,MAAM,CAAC,MAAM,WAAW,GAAG,aAAa,CAAA,oBAAoB,CAA0C,cAAc,CAAC,CAAC;AACtH,MAAM,CAAC,MAAM,UAAU,GAAG,aAAa,CAAA,oBAAoB,CAAwC,aAAa,CAAC,CAAC;AAClH,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAA,oBAAoB,CAA8C,gBAAgB,CAAC,CAAC"}
1
+ {"version":3,"file":"components.js","sourceRoot":"","sources":["../src/components.ts"],"names":[],"mappings":"AAAA,oBAAoB;AACpB,oBAAoB;AACpB,kCAAkC;AAClC,OAAO,EAAE,oBAAoB,EAAE,MAAM,uBAAuB,CAAC;AAM7D,MAAM,CAAC,MAAM,cAAc,GAAG,aAAa,CAAA,oBAAoB,CAAgD,iBAAiB,CAAC,CAAC;AAClI,MAAM,CAAC,MAAM,WAAW,GAAG,aAAa,CAAA,oBAAoB,CAA0C,cAAc,CAAC,CAAC;AACtH,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAA,oBAAoB,CAA8C,gBAAgB,CAAC,CAAC"}
@@ -1,174 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-ebe8245e.js');
6
- const core = require('@sankhyalabs/core');
7
- const utils = require('@sankhyalabs/ezui/dist/collection/utils');
8
-
9
- const snkDataUnitCss = ".sc-snk-data-unit-h{display:flex;flex-direction:column;height:100%}";
10
-
11
- const SnkDataUnit = class {
12
- constructor(hostRef) {
13
- index.registerInstance(this, hostRef);
14
- this.insertionMode = index.createEvent(this, "insertionMode", 7);
15
- this.dataStateChange = index.createEvent(this, "dataStateChange", 7);
16
- this.dataUnitReady = index.createEvent(this, "dataUnitReady", 7);
17
- this._onDataUnitResolve = [];
18
- this._dataUnitObserver = (action) => {
19
- let msg = this.getActionInfo(action.type);
20
- if (msg) {
21
- utils.ApplicationUtils.info(msg);
22
- }
23
- if (action.type === core.Action.RECORDS_ADDED || action.type === core.Action.RECORDS_COPIED) {
24
- this.insertionMode.emit();
25
- }
26
- const duState = {
27
- insertionMode: false,
28
- hasNext: this.dataUnit.hasNext(),
29
- hasPrevious: this.dataUnit.hasPrevious(),
30
- copyMode: false,
31
- isDirty: this.dataUnit.isDirty(),
32
- selectedRecords: this.dataUnit.getSelectedRecords()
33
- };
34
- this.dataUnit.records.forEach(r => {
35
- if (r.__record__id__.startsWith('NEW_')) {
36
- duState.insertionMode = true;
37
- duState.copyMode || (duState.copyMode = r['__record__source__id__'] != undefined);
38
- }
39
- });
40
- this.dataState = duState;
41
- };
42
- }
43
- async getDataUnit() {
44
- return new Promise((resolve) => {
45
- if (this.dataUnit) {
46
- resolve(this.dataUnit);
47
- }
48
- else {
49
- this._onDataUnitResolve.push(resolve);
50
- }
51
- });
52
- }
53
- async interceptAction(action) {
54
- return new Promise(resolve => {
55
- switch (action.type) {
56
- case core.Action.SAVING_DATA:
57
- if (this.beforeSave) {
58
- const continueAction = this.beforeSave(this.dataUnit);
59
- if (continueAction instanceof Promise) {
60
- continueAction.then(result => resolve(result ? action : undefined));
61
- }
62
- else {
63
- resolve(continueAction ? action : undefined);
64
- }
65
- }
66
- else {
67
- resolve(action);
68
- }
69
- break;
70
- case core.Action.DATA_SAVED:
71
- if (this.afterSave) {
72
- this.afterSave(this.dataUnit);
73
- }
74
- else {
75
- resolve(action);
76
- }
77
- break;
78
- case core.Action.EDITION_CANCELED:
79
- utils.ApplicationUtils.confirm(this.i18n("components.warning"), this.i18n("components.confirmCancelEdition"))
80
- .then((result) => resolve(result ? action : undefined));
81
- break;
82
- case core.Action.REMOVING_RECORDS:
83
- utils.ApplicationUtils.confirm(this.i18n("components.delete"), this.i18n("components.confirmRemoveRecord"), "delete", true, { btnConfirmDanger: true })
84
- .then((result) => resolve(result ? action : undefined));
85
- break;
86
- default:
87
- resolve(action);
88
- }
89
- });
90
- }
91
- getActionInfo(action) {
92
- if (this.messageBuilder) {
93
- return this.messageBuilder(action, this.dataState, this.dataUnit);
94
- }
95
- else {
96
- if (action === core.Action.EDITION_CANCELED) {
97
- return this.i18n("components.editionCanceled");
98
- }
99
- }
100
- }
101
- observePageSize() {
102
- if (this.dataUnit) {
103
- this.dataUnit.pageSize = this.pageSize;
104
- }
105
- }
106
- observeDataUnitName(newValue, oldValue) {
107
- if (oldValue != newValue) {
108
- this.dataUnit = undefined;
109
- this.dataUnitName = newValue;
110
- this.loadDataUnit();
111
- }
112
- }
113
- observeEntityName(newValue, oldValue) {
114
- if (oldValue != newValue) {
115
- this.dataUnit = undefined;
116
- this.entityName = newValue;
117
- this.loadDataUnit();
118
- }
119
- }
120
- observeDataState(newValue, oldValue) {
121
- if (oldValue != newValue) {
122
- this.dataStateChange.emit(newValue);
123
- }
124
- }
125
- observeDataUnit() {
126
- this.dataUnitReady.emit(this.dataUnit);
127
- }
128
- async loadDataUnit() {
129
- if (!this.dataUnit) {
130
- const app = core.ApplicationContext.getContextValue("__SNK__APPLICATION__");
131
- if (app && this.entityName) {
132
- this.dataUnit = await app.getOrCreateDataUnit(this.entityName, this.dataUnitName);
133
- this.dataUnit.pageSize = this.pageSize;
134
- this.dataUnit.unsubscribe(this._dataUnitObserver);
135
- this.dataUnit.addInterceptor(this);
136
- this.dataUnit.subscribe(this._dataUnitObserver);
137
- let resolver;
138
- while (resolver = this._onDataUnitResolve.pop()) {
139
- resolver(this.dataUnit);
140
- }
141
- if (this.autoLoad) {
142
- this.dataUnit.loadData();
143
- }
144
- }
145
- }
146
- }
147
- i18n(key) {
148
- const pt_br = {
149
- "components.warning": "Aviso",
150
- "components.delete": "Excluir",
151
- "components.confirmRemoveRecord": "Deseja realmente excluir o registro atual?",
152
- "components.confirmCancelEdition": "As alterações realizadas serão descartadas<br/><br/><b>Você realmente gostaria de sair?</b>",
153
- "components.editionCanceled": "Todas as alterações foram descartadas.",
154
- };
155
- return pt_br[key];
156
- }
157
- componentDidRender() {
158
- this.loadDataUnit();
159
- }
160
- render() {
161
- return (index.h(index.Host, null));
162
- }
163
- get element() { return index.getElement(this); }
164
- static get watchers() { return {
165
- "pageSize": ["observePageSize"],
166
- "dataUnitName": ["observeDataUnitName"],
167
- "entityName": ["observeEntityName"],
168
- "dataState": ["observeDataState"],
169
- "dataUnit": ["observeDataUnit"]
170
- }; }
171
- };
172
- SnkDataUnit.style = snkDataUnitCss;
173
-
174
- exports.snk_data_unit = SnkDataUnit;
@@ -1,95 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-ebe8245e.js');
6
- const core = require('@sankhyalabs/core');
7
-
8
- const snkFormCss = ".sc-snk-form-h{display:block}";
9
-
10
- const SnkForm = class {
11
- constructor(hostRef) {
12
- index.registerInstance(this, hostRef);
13
- this.exit = index.createEvent(this, "exit", 7);
14
- this.actionClick = index.createEvent(this, "actionClick", 7);
15
- }
16
- getFormConfig() {
17
- return (this._dataState && this._dataState.insertionMode ? this._insertionFormConfig : this._editionFormConfig);
18
- }
19
- getInsertionHiddenFields(formConfig) {
20
- const hiddenFields = [];
21
- formConfig === null || formConfig === void 0 ? void 0 : formConfig.forEach(cfg => {
22
- const def = this._dataUnit.getField(cfg.name);
23
- if (def === null || def === void 0 ? void 0 : def.readOnly) {
24
- hiddenFields.push(cfg.name);
25
- }
26
- });
27
- return hiddenFields;
28
- }
29
- exitForm() {
30
- if (this._dataUnit.isDirty()) {
31
- this._dataUnit.cancelEdition({ after: () => this.exit.emit() });
32
- }
33
- else {
34
- this.exit.emit();
35
- }
36
- }
37
- getDisabledButtons() {
38
- const disabled = [];
39
- if (!this._dataState.hasPrevious) {
40
- disabled.push("PREVIOUS");
41
- }
42
- if (!this._dataState.hasNext) {
43
- disabled.push("NEXT");
44
- }
45
- return disabled;
46
- }
47
- componentWillLoad() {
48
- let parent = this._element.parentElement;
49
- while (parent) {
50
- if (parent.tagName.toUpperCase() === "SNK-DATA-UNIT") {
51
- this._snkDataUnit = parent;
52
- this._dataUnit = this._snkDataUnit.dataUnit;
53
- this._dataState = this._snkDataUnit.dataState;
54
- if (!this._dataUnit) {
55
- this._snkDataUnit.addEventListener("dataUnitReady", (evt) => {
56
- this._dataUnit = evt.detail;
57
- });
58
- }
59
- this._snkDataUnit.addEventListener("dataStateChange", (evt) => {
60
- this._dataState = evt.detail;
61
- });
62
- break;
63
- }
64
- parent = parent.parentElement;
65
- }
66
- }
67
- componentWillRender() {
68
- if (this._dataUnit && !this._configLoaded) {
69
- const snkApplication = core.ApplicationContext.getContextValue("__SNK__APPLICATION__");
70
- if (snkApplication) {
71
- snkApplication.loadFormConfig(this.configName).then(cfg => {
72
- this._configLoaded = true;
73
- this._editionFormConfig = cfg;
74
- this._insertionFormConfig = cfg.filter(fieldCfg => {
75
- const def = this._dataUnit.getField(fieldCfg.name);
76
- if (def === null || def === void 0 ? void 0 : def.readOnly) {
77
- return false;
78
- }
79
- return true;
80
- });
81
- });
82
- }
83
- }
84
- }
85
- render() {
86
- if (!this._configLoaded || !this._dataUnit || !this._dataState) {
87
- return undefined;
88
- }
89
- return (index.h("section", { class: "ez-padding--large" }, index.h("div", { class: "ez-row ez-padding-bottom--medium" }, index.h("div", { class: "ez-col ez-col--sd-6 ez-col--tb-6", key: "formHeader" }, index.h("ez-button", { mode: "icon", iconName: "arrow_back", class: "ez-padding-right--medium", size: "small", onClick: () => this.exitForm() }), index.h("h1", { class: "ez-title ez-title--primary ez-title--xlarge ez-align--middle" }, this.formTitle)), index.h("div", { class: "ez-col ez-col--sd-6 ez-col--tb-6 ez-align--right" }, index.h("snk-taskbar", { key: "formTaskbar", buttons: this._dataState.isDirty ? "CANCEL,SAVE" : "PREVIOUS,NEXT,DIVIDER,CLONE,REMOVE,MORE_OPTIONS,DIVIDER,GRID_MODE,INSERT", primaryButton: this._dataState.isDirty ? "SAVE" : "INSERT", disabledButtons: this.getDisabledButtons(), actionsList: this.actionsList, dataUnit: this._dataUnit }))), index.h("div", { class: "ez-padding--small" }), index.h("section", null, index.h("div", { class: "ez-row" }, index.h("div", { class: "ez-col ez-col--sd-12" }, index.h("ez-form", { key: "ezForm" + this._snkDataUnit.entityName, dataUnit: this._dataUnit, config: this.getFormConfig() }))))));
90
- }
91
- get _element() { return index.getElement(this); }
92
- };
93
- SnkForm.style = snkFormCss;
94
-
95
- exports.snk_form = SnkForm;
@@ -1,64 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-ebe8245e.js');
6
- const core = require('@sankhyalabs/core');
7
- const taskbarElements = require('./taskbar-elements-589a3744.js');
8
-
9
- const snkGridCss = ".sc-snk-grid-h{display:flex;height:100%;width:100%}";
10
-
11
- const SnkGrid = class {
12
- constructor(hostRef) {
13
- index.registerInstance(this, hostRef);
14
- this.actionClick = index.createEvent(this, "actionClick", 7);
15
- }
16
- getHeaderButtons() {
17
- return this._dataState && this._dataState.selectedRecords.length > 0 ? "UPDATE,CLONE,REMOVE,MORE_OPTIONS,DIVIDER,REFRESH" : "REFRESH";
18
- }
19
- actionClickHandler(evt) {
20
- if (evt.detail === taskbarElements.TaskbarElement.CONFIG_GRID && this._grid) {
21
- this._grid.openGridConfig();
22
- }
23
- }
24
- componentWillLoad() {
25
- let parent = this._element.parentElement;
26
- while (parent) {
27
- if (parent.tagName.toUpperCase() === "SNK-DATA-UNIT") {
28
- this._snkDataUnit = parent;
29
- this._dataUnit = this._snkDataUnit.dataUnit;
30
- if (!this._dataUnit) {
31
- this._snkDataUnit.addEventListener("dataUnitReady", (evt) => {
32
- this._dataUnit = evt.detail;
33
- });
34
- }
35
- this._snkDataUnit.addEventListener("dataStateChange", (evt) => {
36
- this._dataState = evt.detail;
37
- });
38
- break;
39
- }
40
- parent = parent.parentElement;
41
- }
42
- }
43
- componentWillRender() {
44
- if (this._dataUnit && !this._configLoaded) {
45
- const snkApplication = core.ApplicationContext.getContextValue("__SNK__APPLICATION__");
46
- if (snkApplication) {
47
- snkApplication.loadGridConfig(this.configName).then(cfg => {
48
- this._gridConfig = cfg;
49
- this._configLoaded = true;
50
- });
51
- }
52
- }
53
- }
54
- render() {
55
- if (!this._configLoaded || !this._dataUnit) {
56
- return undefined;
57
- }
58
- return (index.h("div", { class: "ez-flex ez-flex--column ez-flex-item--auto ez-padding--large" }, index.h("div", { class: "ez-row ez-padding-bottom--medium ez-margin-bottom--medium" }, index.h("div", { class: "ez-col ez-col--sd-9 ez-col--tb-9 ez-align--bottom" }, index.h("slot", null)), index.h("div", { class: "ez-col ez-col--sd-3 ez-col--tb-3 ez-align--right" }, index.h("snk-taskbar", { onActionClick: evt => this.actionClickHandler(evt), key: "topTaskbar", dataUnit: this._dataUnit, buttons: "FORM_MODE,CONFIG_GRID,INSERT", primaryButton: "INSERT" }))), index.h("ez-grid", { ref: ref => this._grid = ref, dataUnit: this._dataUnit, key: "grid-" + this._snkDataUnit.entityName, config: this._gridConfig }, index.h("snk-taskbar", { dataUnit: this._dataUnit, buttons: this.getHeaderButtons(), slot: "leftButtons", actionsList: this.actionsList }))));
59
- }
60
- get _element() { return index.getElement(this); }
61
- };
62
- SnkGrid.style = snkGridCss;
63
-
64
- exports.snk_grid = SnkGrid;
@@ -1,159 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- const index = require('./index-ebe8245e.js');
6
- const core = require('@sankhyalabs/core');
7
- const taskbarElements = require('./taskbar-elements-589a3744.js');
8
-
9
- const SnkPopupButton = ({ className, title, source, opened, setOpened, actionClick }) => {
10
- return (index.h("div", { class: "ez-flex " + className },
11
- index.h("ez-button", { id: "moreOptionsButton", title: title, mode: "icon", iconName: "dots-vertical", size: "small", onClick: () => setOpened(true) }),
12
- index.h("ez-popover", { opened: opened, autoClose: true, innerElement: ["moreOptionsButton", "moreOptionsDiv"], onEzVisibilityChange: (event) => setOpened(event.detail) },
13
- index.h("div", { id: "moreOptionsDiv", class: "ez-padding--small" }, source.map((option, index$1) => index.h("ez-button", { className: "btn-options", size: "small", label: option.label, key: index$1, onClick: () => actionClick(option) }))))));
14
- };
15
-
16
- const snkTaskbarCss = ".sc-snk-taskbar-h{display:flex}";
17
-
18
- const SnkTaskbar = class {
19
- constructor(hostRef) {
20
- index.registerInstance(this, hostRef);
21
- this.actionClick = index.createEvent(this, "actionClick", 7);
22
- this._moreOptionsOpened = false;
23
- }
24
- observeButtons() {
25
- this._definitions = undefined;
26
- }
27
- // Internal methods
28
- elementsFromString(strButtons) {
29
- const elements = [];
30
- if (strButtons) {
31
- strButtons.split(",").forEach(buttonName => {
32
- buttonName = buttonName.trim();
33
- if (this.isAllowed(buttonName)) {
34
- elements.push(buttonName.trim());
35
- }
36
- });
37
- }
38
- return elements;
39
- }
40
- isAllowed(buttonName) {
41
- if (taskbarElements.AuthorizationElements[buttonName]) {
42
- return this._permissions ? this._permissions.isSup || this._permissions[buttonName] : false;
43
- }
44
- return true;
45
- }
46
- getTitle(element) {
47
- const pt_br = {
48
- [taskbarElements.TaskbarElement.UPDATE]: "Editar",
49
- [taskbarElements.TaskbarElement.PREVIOUS]: "Anterior",
50
- [taskbarElements.TaskbarElement.NEXT]: "Próximo",
51
- [taskbarElements.TaskbarElement.REFRESH]: "Atualizar",
52
- [taskbarElements.TaskbarElement.CLONE]: "Duplicar",
53
- [taskbarElements.TaskbarElement.REMOVE]: "Excluir",
54
- [taskbarElements.TaskbarElement.MORE_OPTIONS]: "Mais Opções",
55
- [taskbarElements.TaskbarElement.INSERT]: "Cadastrar",
56
- [taskbarElements.TaskbarElement.CANCEL]: "Cancelar",
57
- [taskbarElements.TaskbarElement.SAVE]: "Salvar",
58
- [taskbarElements.TaskbarElement.GRID_MODE]: "Modo Grade",
59
- [taskbarElements.TaskbarElement.CONFIG_GRID]: "Configuração da grade",
60
- [taskbarElements.TaskbarElement.FORM_MODE]: "Modo Formulário"
61
- };
62
- return pt_br[element] ? pt_br[element] : "";
63
- }
64
- elementClick(elem) {
65
- if (this.dataUnit) {
66
- switch (elem) {
67
- case taskbarElements.TaskbarElement.PREVIOUS:
68
- this.dataUnit.previousRecord();
69
- break;
70
- case taskbarElements.TaskbarElement.NEXT:
71
- this.dataUnit.nextRecord();
72
- break;
73
- case taskbarElements.TaskbarElement.REFRESH:
74
- this.dataUnit.loadData();
75
- break;
76
- case taskbarElements.TaskbarElement.CLONE:
77
- this.dataUnit.copySelected();
78
- break;
79
- case taskbarElements.TaskbarElement.REMOVE:
80
- this.dataUnit.removeSelectedRecords();
81
- break;
82
- case taskbarElements.TaskbarElement.INSERT:
83
- this.dataUnit.addRecord();
84
- break;
85
- case taskbarElements.TaskbarElement.CANCEL:
86
- this.dataUnit.cancelEdition();
87
- break;
88
- case taskbarElements.TaskbarElement.SAVE:
89
- this.dataUnit.saveData();
90
- break;
91
- }
92
- }
93
- this.actionClick.emit(elem);
94
- }
95
- actionClickHandler(act) {
96
- this._moreOptionsOpened = false;
97
- this.actionClick.emit(act.key);
98
- }
99
- isEnabled(elem) {
100
- return !(this.disabledButtons && this.disabledButtons.includes(elem));
101
- }
102
- getElement(index$1, def) {
103
- let element;
104
- let className = def === this.primaryButton ? "ez-button--primary " : "";
105
- if (index$1 > 1) {
106
- className += "ez-padding-left--medium";
107
- }
108
- if (def === taskbarElements.TaskbarElement.MORE_OPTIONS) {
109
- element = this.actionsList ? index.h(SnkPopupButton, { className: className, title: this.getTitle(def), source: this.actionsList, opened: this._moreOptionsOpened, setOpened: opened => this._moreOptionsOpened = opened, actionClick: act => this.actionClickHandler(act) }) : undefined;
110
- }
111
- else {
112
- element = taskbarElements.buildElem(def, className, elem => this.getTitle(elem), elem => this.elementClick(elem), elem => this.isEnabled(elem));
113
- }
114
- return element;
115
- }
116
- // Lifecycle
117
- componentWillRender() {
118
- if (this._permissions === undefined) {
119
- const snkApplication = core.ApplicationContext.getContextValue("__SNK__APPLICATION__");
120
- if (snkApplication) {
121
- snkApplication.getAllAccess().then(access => this._permissions = access);
122
- }
123
- else {
124
- this._permissions = {};
125
- }
126
- }
127
- else {
128
- if (this._definitions == undefined) {
129
- this._definitions = this.elementsFromString(this.buttons);
130
- }
131
- }
132
- }
133
- render() {
134
- if (this._definitions === undefined) {
135
- return undefined;
136
- }
137
- let index$1 = 0;
138
- return (index.h(index.Host, null, this._definitions.map((btn) => {
139
- if (btn === taskbarElements.TaskbarElement.DIVIDER) {
140
- index$1 = 0;
141
- }
142
- else {
143
- index$1++;
144
- }
145
- if (taskbarElements.TaskbarElement[btn]) {
146
- return this.getElement(index$1, taskbarElements.TaskbarElement[btn]);
147
- }
148
- else {
149
- return index.h("slot", { name: btn });
150
- }
151
- })));
152
- }
153
- static get watchers() { return {
154
- "buttons": ["observeButtons"]
155
- }; }
156
- };
157
- SnkTaskbar.style = snkTaskbarCss;
158
-
159
- exports.snk_taskbar = SnkTaskbar;