@gisce/react-ooui 1.2.0-rc.36 → 1.2.0-rc.38

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.
@@ -1,5 +1,8 @@
1
1
  import React from "react";
2
- import * as AntIcons from "@ant-design/icons";
3
- declare const _default: (key: string) => React.ForwardRefExoticComponent<Pick<import("@ant-design/icons/lib/components/AntdIcon").AntdIconProps, "readOnly" | "id" | "children" | "lang" | "type" | "onClick" | "disabled" | "label" | "default" | "max" | "required" | "data" | "high" | "low" | "key" | "media" | "height" | "width" | "start" | "open" | "name" | "color" | "content" | "rotate" | "translate" | "value" | "hidden" | "cite" | "dir" | "form" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "acceptCharset" | "action" | "method" | "noValidate" | "target" | "accessKey" | "draggable" | "className" | "prefix" | "contentEditable" | "inputMode" | "nonce" | "tabIndex" | "async" | "multiple" | "size" | "manifest" | "wrap" | "src" | "accept" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "marginHeight" | "marginWidth" | "maxLength" | "mediaGroup" | "min" | "minLength" | "muted" | "optimum" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "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" | "playsInline" | "poster" | "preload" | "rel" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "srcDoc" | "srcLang" | "srcSet" | "step" | "useMap" | "wmode" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "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" | "onAuxClick" | "onAuxClickCapture" | "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" | "spin" | "twoToneColor"> & React.RefAttributes<HTMLSpanElement>> | React.ForwardRefExoticComponent<Pick<import("@ant-design/icons/lib/components/Icon").IconComponentProps, "readOnly" | "id" | "children" | "lang" | "type" | "onClick" | "disabled" | "label" | "default" | "max" | "required" | "data" | "high" | "low" | "key" | "media" | "height" | "width" | "start" | "open" | "name" | "color" | "content" | "rotate" | "translate" | "value" | "hidden" | "cite" | "dir" | "form" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "acceptCharset" | "action" | "method" | "noValidate" | "target" | "accessKey" | "draggable" | "className" | "prefix" | "contentEditable" | "inputMode" | "nonce" | "tabIndex" | "async" | "multiple" | "size" | "manifest" | "wrap" | "src" | "accept" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "marginHeight" | "marginWidth" | "maxLength" | "mediaGroup" | "min" | "minLength" | "muted" | "optimum" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "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" | "playsInline" | "poster" | "preload" | "rel" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "srcDoc" | "srcLang" | "srcSet" | "step" | "useMap" | "wmode" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "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" | "onAuxClick" | "onAuxClickCapture" | "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" | "spin" | "component" | "ariaLabel" | "viewBox"> & React.RefAttributes<HTMLSpanElement>> | typeof AntIcons.createFromIconfontCN | React.Provider<import("@ant-design/icons/lib/components/Context").IconContextProps> | typeof AntIcons.setTwoToneColor | undefined;
2
+ declare const _default: (key: string, className?: any) => (() => React.CElement<{
3
+ className: any;
4
+ }, React.Component<{
5
+ className: any;
6
+ }, any, any>>) | (() => React.FunctionComponentElement<Pick<import("@ant-design/icons/lib/components/Icon").IconComponentProps, "readOnly" | "id" | "children" | "lang" | "type" | "onClick" | "disabled" | "label" | "default" | "max" | "required" | "data" | "high" | "low" | "key" | "media" | "height" | "width" | "start" | "open" | "name" | "color" | "content" | "rotate" | "translate" | "value" | "hidden" | "cite" | "dir" | "form" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "acceptCharset" | "action" | "method" | "noValidate" | "target" | "accessKey" | "draggable" | "className" | "prefix" | "contentEditable" | "inputMode" | "nonce" | "tabIndex" | "async" | "multiple" | "size" | "manifest" | "wrap" | "src" | "accept" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "marginHeight" | "marginWidth" | "maxLength" | "mediaGroup" | "min" | "minLength" | "muted" | "optimum" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "placeholder" | "spellCheck" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "is" | "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" | "playsInline" | "poster" | "preload" | "rel" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "srcDoc" | "srcLang" | "srcSet" | "step" | "useMap" | "wmode" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "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" | "onAuxClick" | "onAuxClickCapture" | "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" | "spin" | "component" | "ariaLabel" | "viewBox"> & React.RefAttributes<HTMLSpanElement>>) | undefined;
4
7
  export default _default;
5
8
  //# sourceMappingURL=iconMapper.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"iconMapper.d.ts","sourceRoot":"","sources":["iconMapper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,QAAQ,MAAM,mBAAmB,CAAC;8BAqGzB,MAAM;AAA3B,wBAWE"}
1
+ {"version":3,"file":"iconMapper.d.ts","sourceRoot":"","sources":["iconMapper.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;8BAsGL,MAAM,cAAc,GAAG;;;;;AAA5C,wBAWE"}
package/dist/index.d.ts CHANGED
@@ -34,6 +34,7 @@ import { Image } from './widgets/base/Image';
34
34
  import showConfirmDialog from './ui/ConfirmDialog';
35
35
  import Dashboard from './widgets/views/Dashboard/Dashboard';
36
36
  import { Tags } from './widgets/custom/Tags';
37
+ import { Tag } from './widgets/custom/Tag';
37
38
  import { MultiCheckbox } from "./widgets/custom/MultiCheckbox";
38
39
  import { Radio } from './widgets/custom/Radio';
39
40
  import { Switch } from './widgets/custom/Switch';
@@ -48,5 +49,5 @@ import TabSelector from "./views/TabSelector";
48
49
  import CurrentTabContent from "./views/CurrentTabContent";
49
50
  import ContentRootProvider from "./context/ContentRootContext";
50
51
  import FavouriteButton from "./ui/FavouriteButton";
51
- export { Button, ButtonGroup, Char, Selection, Boolean, Many2one, Tree, Group, SearchFilter, Form, Notebook, Float, FloatTime, Integer, Label, Text, TreeView, FormView, SearchFields, Separator, SearchTree, SearchRequest, SearchResponse, CreateObjectRequest, UpdateObjectRequest, ConnectionProvider, ConnectionProviderType, ViewData, Views, ExecuteRequest, ReadObjectsRequest, ReadEvalUiObjectsRequest, DeleteObjectsRequest, FormModal, SearchModal, One2many, One2manyItem, One2manyValue, Date, DateTime, Reference, Binary, iconMapper, CreateReportRequest, GetReportRequest, ExecuteOnChangeRequest, ActionBar, GetViewRequest, GetFieldsRequest, DefaultGetRequest, RootView, TabSelector, CurrentTabContent, Url, Email, Image, ContentRootProvider, showConfirmDialog, NameSearchRequest, ProgressBar, FavouriteButton, Dashboard, GraphIndicator, DashboardGridItem, DashboardGrid, Tags, MultiCheckbox, Radio, Switch, Steps, CodeEditor, ExportModal, };
52
+ export { Button, ButtonGroup, Char, Selection, Boolean, Many2one, Tree, Group, SearchFilter, Form, Notebook, Float, FloatTime, Integer, Label, Text, TreeView, FormView, SearchFields, Separator, SearchTree, SearchRequest, SearchResponse, CreateObjectRequest, UpdateObjectRequest, ConnectionProvider, ConnectionProviderType, ViewData, Views, ExecuteRequest, ReadObjectsRequest, ReadEvalUiObjectsRequest, DeleteObjectsRequest, FormModal, SearchModal, One2many, One2manyItem, One2manyValue, Date, DateTime, Reference, Binary, iconMapper, CreateReportRequest, GetReportRequest, ExecuteOnChangeRequest, ActionBar, GetViewRequest, GetFieldsRequest, DefaultGetRequest, RootView, TabSelector, CurrentTabContent, Url, Email, Image, ContentRootProvider, showConfirmDialog, NameSearchRequest, ProgressBar, FavouriteButton, Dashboard, GraphIndicator, DashboardGridItem, DashboardGrid, Tags, Tag, MultiCheckbox, Radio, Switch, Steps, CodeEditor, ExportModal, };
52
53
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRo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AAQ,MAAM,kBAAkB,CAAC;AACxC,OAAO,WAAW,MAAM,qBAAqB,CAAC;AAC9C,OAAO,iBAAiB,MAAM,2BAA2B,CAAC;AAC1D,OAAO,mBAAmB,MAAM,8BAA8B,CAAC;AAC/D,OAAO,eAAe,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EACL,MAAM,EACN,WAAW,EACX,IAAI,EACJ,SAAS,EACT,OAAO,EACP,QAAQ,EACR,IAAI,EACJ,KAAK,EACL,YAAY,EACZ,IAAI,EACJ,QAAQ,EACR,KAAK,EACL,SAAS,EACT,OAAO,EACP,KAAK,EACL,IAAI,EACJ,QAAQ,EACR,QAAQ,EACR,YAAY,EACZ,SAAS,EACT,UAAU,EACV,aAAa,EACb,cAAc,EACd,mBAAmB,EACnB,mBAAmB,EACnB,kBAAkB,EAClB,sBAAsB,EACtB,QAAQ,EACR,KAAK,EACL,cAAc,EACd,kBAAkB,EAClB,wBAAwB,EACxB,oBAAoB,EACpB,SAAS,EACT,WAAW,EACX,QAAQ,EACR,YAAY,EACZ,aAAa,EACb,IAAI,EACJ,QAAQ,EACR,SAAS,EACT,MAAM,EACN,UAAU,EACV,mBAAmB,EACnB,gBAAgB,EAChB,sBAAsB,EACtB,SAAS,EACT,cAAc,EACd,gBAAgB,EAChB,iBAAiB,EACjB,QAAQ,EACR,WAAW,EACX,iBAAiB,EACjB,GAAG,EACH,KAAK,EACL,KAAK,EACL,mBAAmB,EACnB,iBAAiB,EACjB,iBAAiB,EACjB,WAAW,EACX,eAAe,EACf,SAAS,EACT,cAAc,EACd,iBAAiB,EACjB,aAAa,EACb,IAAI,EACJ,aAAa,EACb,KAAK,EACL,MAAM,EACN,KAAK,EACL,UAAU,EACV,WAAW,GACZ,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAC;AAC/C,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA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,OAAO,iBAAiB,MAAM,2BAA2B,CAAC;AAC1D,OAAO,mBAAmB,MAAM,8BAA8B,CAAC;AAC/D,OAAO,eAAe,MAAM,sBAAsB,CAAC;AAEnD,OAAO,EACL,MAAM,EACN,WAAW,EACX,IAAI,EACJ,SAAS,EACT,OAAO,EACP,QAAQ,EACR,IAAI,EACJ,KAAK,EACL,YAAY,EACZ,IAAI,EACJ,QAAQ,EACR,KAAK,EACL,SAAS,EACT,OAAO,EACP,KAAK,EACL,IAAI,EACJ,QAAQ,EACR,QAAQ,EACR,YAAY,EACZ,SAAS,EACT,UAAU,EACV,aAAa,EACb,cAAc,EACd,mBAAmB,EACnB,mBAAmB,EACnB,kBAAkB,EAClB,sBAAsB,EACtB,QAAQ,EACR,KAAK,EACL,cAAc,EACd,kBAAkB,EAClB,wBAAwB,EACxB,oBAAoB,EACpB,SAAS,EACT,WAAW,EACX,QAAQ,EACR,YAAY,EACZ,aAAa,EACb,IAAI,EACJ,QAAQ,EACR,SAAS,EACT,MAAM,EACN,UAAU,EACV,mBAAmB,EACnB,gBAAgB,EAChB,sBAAsB,EACtB,SAAS,EACT,cAAc,EACd,gBAAgB,EAChB,iBAAiB,EACjB,QAAQ,EACR,WAAW,EACX,iBAAiB,EACjB,GAAG,EACH,KAAK,EACL,KAAK,EACL,mBAAmB,EACnB,iBAAiB,EACjB,iBAAiB,EACjB,WAAW,EACX,eAAe,EACf,SAAS,EACT,cAAc,EACd,iBAAiB,EACjB,aAAa,EACb,IAAI,EACJ,GAAG,EACH,aAAa,EACb,KAAK,EACL,MAAM,EACN,KAAK,EACL,UAAU,EACV,WAAW,GACZ,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import * as React$n from "react";
2
2
  import React__default, { useContext, useState as useState$1, useEffect, createElement, useMemo as useMemo$2, useRef, useLayoutEffect as useLayoutEffect$3, Component, cloneElement as cloneElement$1, forwardRef, useImperativeHandle, useCallback, createContext } from "react";
3
- import { Tooltip as Tooltip$2, Typography as Typography$1, Form as Form$3, Row, Col, Modal, Button as Button$1, Dropdown, Menu, Spin, Divider, Space, Input as Input$2, Select, Checkbox, Alert, Timeline as Timeline$1, Statistic, Card, Tag, message as message$1, DatePicker as DatePicker$1, TimePicker, InputNumber, Progress, Pagination, Radio as Radio$1, Tree as Tree$2, Tabs, Popover, Switch as Switch$1, Steps as Steps$1, Layout } from "antd";
3
+ import { Tooltip as Tooltip$2, Typography as Typography$1, Form as Form$3, Row, Col, Modal, Button as Button$1, Dropdown, Menu, Spin, Divider, Space, Input as Input$2, Select, Checkbox, Alert, Timeline as Timeline$1, Statistic, Card, Tag as Tag$1, message as message$1, DatePicker as DatePicker$1, TimePicker, InputNumber, Progress, Pagination, Radio as Radio$1, Tree as Tree$2, Tabs, Popover, Switch as Switch$1, Steps as Steps$1, Layout } from "antd";
4
4
  import { Label as Label$1, Field as Field$2, Container as Container$1, Tree as Tree$1, Reference as Reference$1, Selection as Selection$1, Many2one as Many2one$1, Boolean as Boolean$2, parseContext, Form as Form$4, Integer as Integer$1, SearchFilter as SearchFilter$1, transformDomainForChildWidget, graphProcessor, parseGraph, graphFieldUtils } from "@gisce/ooui";
5
5
  import * as AntIcons from "@ant-design/icons";
6
6
  import AntIcons__default, { QuestionCircleOutlined, ExclamationCircleOutlined as ExclamationCircleOutlined$4, LoadingOutlined as LoadingOutlined$4, DownOutlined, WarningOutlined, CloseOutlined as CloseOutlined$4, CheckOutlined as CheckOutlined$4, TranslationOutlined, FolderOpenOutlined, DownloadOutlined, ClearOutlined, StarFilled, StarOutlined, UpOutlined, SearchOutlined, RightCircleOutlined, ThunderboltOutlined, PrinterOutlined, EnterOutlined as EnterOutlined$4, PlusSquareOutlined, MinusSquareOutlined, FileAddOutlined, AlignLeftOutlined, ApiOutlined, DeleteOutlined, LeftOutlined, RightOutlined, EyeOutlined, FormOutlined, TableOutlined, AreaChartOutlined, CalendarOutlined, LinkOutlined, SaveOutlined, CopyOutlined as CopyOutlined$4, InfoCircleOutlined as InfoCircleOutlined$4, ReloadOutlined, EditOutlined as EditOutlined$4, FilterOutlined, CloseCircleFilled as CloseCircleFilled$4, BorderOuterOutlined, SettingOutlined, ExportOutlined } from "@ant-design/icons";
@@ -542,7 +542,7 @@ const {
542
542
  STOCK_CLEAR: "CloseSquare",
543
543
  STOCK_UNINDENT: "AlignLeft",
544
544
  STOCK_PREFERENCES: "Setting"
545
- }, iconMapper = (e) => (e.indexOf("gtk-") !== -1 && (e = `STOCK_${e.replace("gtk-", "").replace(/\-/g, "_").toUpperCase()}`), iconMapping.hasOwnProperty(e) ? getIconForKey(iconMapping[e]) : getIconForKey(e));
545
+ }, iconMapper = (e, r) => (e.indexOf("gtk-") !== -1 && (e = `STOCK_${e.replace("gtk-", "").replace(/\-/g, "_").toUpperCase()}`), iconMapping.hasOwnProperty(e) ? getIconForKey(iconMapping[e], r) : getIconForKey(e, r));
546
546
  function toCamelCase(e) {
547
547
  return `${e.split("-").map(
548
548
  (r) => r.replace(
@@ -551,21 +551,24 @@ function toCamelCase(e) {
551
551
  )
552
552
  ).join("")}`;
553
553
  }
554
- function getIconForKey(e) {
555
- let r = e.charAt(0).toUpperCase() + e.slice(1);
556
- r.indexOf("-") !== -1 && (r = toCamelCase(r));
557
- const a = `${r}Outlined`;
558
- if (AntIcons[a])
559
- return AntIcons[a];
560
- const o = `Icon${r}`;
561
- if (TablerIcons[o]) {
562
- const s = () => React__default.createElement(TablerIcons[o], {
554
+ function getIconForKey(e, r) {
555
+ let a = e.charAt(0).toUpperCase() + e.slice(1);
556
+ a.indexOf("-") !== -1 && (a = toCamelCase(a));
557
+ const o = `${a}Outlined`;
558
+ if (AntIcons[o])
559
+ return () => React__default.createElement(AntIcons[o], {
560
+ className: r
561
+ });
562
+ const s = `Icon${a}`;
563
+ if (TablerIcons[s]) {
564
+ const l = () => React__default.createElement(TablerIcons[s], {
563
565
  fill: "transparent",
564
566
  height: 17,
565
567
  width: 17
566
568
  });
567
569
  return () => React__default.createElement(AntIcons__default, {
568
- component: s
570
+ component: l,
571
+ className: r
569
572
  });
570
573
  }
571
574
  }
@@ -13958,7 +13961,7 @@ const transformPlainMany2Ones = ({
13958
13961
  } = O, L = (W) => {
13959
13962
  W.preventDefault(), W.stopPropagation();
13960
13963
  };
13961
- return /* @__PURE__ */ jsx(Tag, {
13964
+ return /* @__PURE__ */ jsx(Tag$1, {
13962
13965
  color: colorFromString(G),
13963
13966
  onMouseDown: L,
13964
13967
  style: {
@@ -14051,6 +14054,8 @@ const transformPlainMany2Ones = ({
14051
14054
  return Indicator;
14052
14055
  case "tags":
14053
14056
  return Tags;
14057
+ case "tag":
14058
+ return Tag;
14054
14059
  case "multicheckbox":
14055
14060
  return MultiCheckbox;
14056
14061
  case "radio":
@@ -14279,7 +14284,7 @@ const transformPlainMany2Ones = ({
14279
14284
  }, getTableColumns = (e, r, a) => e.columns.map((s) => {
14280
14285
  const l = s.type, u = s.id, c = r == null ? void 0 : r[l];
14281
14286
  let d;
14282
- return c && (d = (f) => c(f, u, e.fields[u], a)), {
14287
+ return c && (d = (f) => c(f, u, s, a)), {
14283
14288
  key: u,
14284
14289
  dataIndex: u,
14285
14290
  title: s.label,
@@ -14297,17 +14302,11 @@ const transformPlainMany2Ones = ({
14297
14302
  s[l] = o[l];
14298
14303
  else {
14299
14304
  const u = e.findById(l);
14300
- if (u instanceof Reference$1)
14301
- s[l] = o[l];
14302
- else if (u instanceof Selection$1) {
14303
- const c = u;
14304
- s[l] = c.selectionValues.get(o[l]);
14305
- } else
14306
- u instanceof Many2one$1 ? s[l] = o[l] && Array.isArray(o[l]) && o[l].length === 2 && {
14307
- model: u.relation,
14308
- id: o[l][0],
14309
- value: o[l][1]
14310
- } : u instanceof Boolean$2 ? s[l] = o[l] : u ? s[l] = o[l] === !1 ? "" : o[l] : s[l] = o[l];
14305
+ u instanceof Reference$1 || u instanceof Selection$1 ? s[l] = o[l] : u instanceof Many2one$1 ? s[l] = o[l] && Array.isArray(o[l]) && o[l].length === 2 && {
14306
+ model: u.relation,
14307
+ id: o[l][0],
14308
+ value: o[l][1]
14309
+ } : u instanceof Boolean$2 ? s[l] = o[l] : u ? s[l] = o[l] === !1 ? "" : o[l] : s[l] = o[l];
14311
14310
  }
14312
14311
  }), s;
14313
14312
  });
@@ -16476,10 +16475,17 @@ const ProgressBar = (e) => /* @__PURE__ */ jsx(Field$1, {
16476
16475
  maxWidth: "50px",
16477
16476
  padding: "5px"
16478
16477
  }
16478
+ }), TagComponent = (e, r, a, o) => /* @__PURE__ */ jsx(Fragment, {
16479
+ children: e ? /* @__PURE__ */ jsx(Tag$1, {
16480
+ color: a.colors[e],
16481
+ children: a.selectionValues.get(e)
16482
+ }) : null
16483
+ }), SelectionComponent = (e, r, a, o) => /* @__PURE__ */ jsx(Fragment, {
16484
+ children: a.selectionValues.get(e)
16479
16485
  }), referenceComponent = (e, r, a, o) => /* @__PURE__ */ jsx(Fragment, {
16480
16486
  children: /* @__PURE__ */ jsx(ReferenceTree, {
16481
16487
  value: e,
16482
- selectionValues: new Map(a == null ? void 0 : a.selection),
16488
+ selectionValues: a.selectionValues,
16483
16489
  context: o
16484
16490
  })
16485
16491
  });
@@ -16522,7 +16528,9 @@ function Tree(e) {
16522
16528
  image: imageComponent,
16523
16529
  integer: numberComponent,
16524
16530
  float: numberComponent,
16525
- reference: referenceComponent
16531
+ reference: referenceComponent,
16532
+ tag: TagComponent,
16533
+ selection: SelectionComponent
16526
16534
  }, x);
16527
16535
  O(Q), P.current.string && B !== P.current.string && (N == null || N(P.current.string));
16528
16536
  }, [s]), useEffect(() => {
@@ -28341,7 +28349,24 @@ function Dashboard(e, r) {
28341
28349
  })
28342
28350
  });
28343
28351
  }
28344
- const Dashboard$1 = forwardRef(Dashboard), MultiCheckbox = (e) => {
28352
+ const Dashboard$1 = forwardRef(Dashboard), Tag = (e) => /* @__PURE__ */ jsx(Field$1, {
28353
+ ...e,
28354
+ children: /* @__PURE__ */ jsx(TagInput, {
28355
+ ...e
28356
+ })
28357
+ }), TagInput = (e) => {
28358
+ const {
28359
+ ooui: r,
28360
+ value: a
28361
+ } = e;
28362
+ if (!a)
28363
+ return null;
28364
+ const o = r.colors === "auto" ? colorFromString(a) : r.colors[a];
28365
+ return /* @__PURE__ */ jsx(Tag$1, {
28366
+ color: o,
28367
+ children: r.selectionValues.get(a)
28368
+ });
28369
+ }, MultiCheckbox = (e) => {
28345
28370
  const {
28346
28371
  ooui: r
28347
28372
  } = e;
@@ -29332,6 +29357,7 @@ export {
29332
29357
  Steps,
29333
29358
  Switch,
29334
29359
  TabSelector,
29360
+ Tag,
29335
29361
  Tags,
29336
29362
  Text$2 as Text,
29337
29363
  Tree,