[
  {
    "id": "oj-c.InputSearch",
    "name": "InputSearch",
    "memberof": "oj-c",
    "kind": "class",
    "meta": {
      "filename": "input-search.tsx",
      "path": "web/components/oj-c/input-search"
    },
    "ojcomponent": true,
    "isvcomponent": true,
    "since": "21.0.0",
    "longname": "oj-c.InputSearch",
    "pack": "oj-c",
    "classdesc": "<h3 id=\"inputSearchOverview-section\">\n  JET Input Search\n  <a class=\"bookmarkable-link\" title=\"Bookmarkable Link\" href=\"#inputSearchOverview-section\"></a>\n</h3>\n<p>Description: JET Input Search provides support for entering freeform search text.</p>\n<p>Input Search is not a full form control and is not intended to be used as a normal\nform-layout field. It does not expose label, help, validation, disabled, readonly, or\nform context features.</p>\n\n<pre class=\"prettyprint\"><code>\n&lt;oj-c-input-search>&lt;/oj-c-input-search>\n</code></pre>\n\n<h3 id=\"a11y-section\">\n  Accessibility\n  <a class=\"bookmarkable-link\" title=\"Bookmarkable Link\" href=\"#a11y-section\"></a>\n</h3>\n<p>\nCore Pack Input Search provides a localized default accessible label for the search affordance.\nApplications do not need to set <code class=\"prettyprint\">aria-label</code> or\n<code class=\"prettyprint\">aria-labelledby</code>. Use\n<code class=\"prettyprint\">aria-describedby</code> when additional descriptive content needs to\nbe associated with the search field. The component sets and maintains the appropriate ARIA\nattributes for the input and its suggestions.\n</p>\n\n<h3 id=\"touch-section\">\n  Touch End User Information\n  <a class=\"bookmarkable-link\" title=\"Bookmarkable Link\" href=\"#touch-section\"></a>\n</h3>\n<table class=\"keyboard-table\">\n  <thead>\n    <tr>\n      <th>Target</th>\n      <th>Gesture</th>\n      <th>Action</th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr>\n      <td>Non-phone input field</td>\n      <td><kbd>Tap</kbd></td>\n      <td>Opens suggestions when they are closed and suggestions are available. If suggestions are already open, leaves them open.</td>\n    </tr>\n    <tr>\n      <td>Phone search launcher</td>\n      <td><kbd>Tap</kbd></td>\n      <td>Opens the full-screen search dialog when suggestions are available.</td>\n    </tr>\n    <tr>\n      <td>Phone dialog back button</td>\n      <td><kbd>Tap</kbd></td>\n      <td>Closes the dialog without submitting new text and restores the prior field value. If the clear button was used, retains the cleared value instead.</td>\n    </tr>\n    <tr>\n      <td>Phone dialog input</td>\n      <td><kbd>Tap</kbd></td>\n      <td>Places cursor focus in the dialog input.</td>\n    </tr>\n    <tr>\n      <td>Phone dialog clear button</td>\n      <td><kbd>Tap</kbd></td>\n      <td>Clears the current search text without submitting it. The cleared value is retained if the dialog is then closed with the back button.</td>\n    </tr>\n    <tr>\n      <td>Phone dialog suggestion</td>\n      <td><kbd>Tap</kbd></td>\n      <td>Selects the suggestion, closes the dialog, and returns focus to the search launcher.</td>\n    </tr>\n  </tbody>\n</table>\n\n<h3 id=\"keyboard-section\">\n  Keyboard End User Information\n  <a class=\"bookmarkable-link\" title=\"Bookmarkable Link\" href=\"#keyboard-section\"></a>\n</h3>\n<table class=\"keyboard-table\">\n  <thead>\n    <tr>\n      <th>Target</th>\n      <th>Key</th>\n      <th>Action</th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr>\n      <td>Input field</td>\n      <td><kbd>Tab In</kbd></td>\n      <td>Sets focus to the input and initially highlights the text in the field. On desktop, suggestions do not open until the user enters text, clicks the field, or presses <kbd>UpArrow</kbd> or <kbd>DownArrow</kbd>.</td>\n    </tr>\n    <tr>\n      <td>Input field</td>\n      <td><kbd>Enter</kbd></td>\n      <td>Submits the current search text. An open suggestion list or autocomplete text does not select a suggestion by itself. If a suggestion is highlighted through keyboard navigation, <kbd>Enter</kbd> selects that suggestion and closes the suggestions.</td>\n    </tr>\n    <tr>\n      <td>Input field</td>\n      <td><kbd>UpArrow</kbd> or <kbd>DownArrow</kbd></td>\n      <td>Opens the suggestions when they are closed. When suggestions are open, moves the keyboard highlight to the previous or next suggestion while focus remains in the input. With autocomplete enabled, a prefix match can appear as an inline autocomplete preview, while a desktop partial match can appear as floating autocomplete text (for example, <code class=\"prettyprint\">D – Edge</code>). These autocomplete displays do not by themselves establish a keyboard highlight; <kbd>UpArrow</kbd> or <kbd>DownArrow</kbd> does. In collection mode on desktop, the first press opens the collection popup and the next press moves focus into the collection.</td>\n    </tr>\n    <tr>\n      <td>Input field</td>\n      <td><kbd>Esc</kbd></td>\n      <td>Closes the suggestions when they are open. If suggestions are closed, does nothing.</td>\n    </tr>\n    <tr>\n      <td>Input field with inline autocomplete preview (prefix match)</td>\n      <td><kbd>LeftArrow</kbd> or <kbd>RightArrow</kbd></td>\n      <td>Accepts the inline autocomplete preview. <kbd>LeftArrow</kbd> places the caret at the start of the suggested suffix, and <kbd>RightArrow</kbd> places the caret at the end.</td>\n    </tr>\n    <tr>\n      <td>Input field with inline autocomplete preview (prefix match)</td>\n      <td><kbd>Backspace</kbd> or <kbd>Delete</kbd></td>\n      <td>Dismisses the inline autocomplete preview and keeps the user-entered text.</td>\n    </tr>\n    <tr>\n      <td>Input field</td>\n      <td><kbd>Tab</kbd></td>\n      <td>Moves focus to the next tabbable element. If suggestions are open, closes them without submitting a new search. Tabbing can blur the field, which may update <code class=\"prettyprint\">value</code> and <code class=\"prettyprint\">rawValue</code> to the current displayed value, including an autocomplete preview, but it does not fire <code class=\"prettyprint\">ojValueAction</code>.</td>\n    </tr>\n    <tr>\n      <td>Collection</td>\n      <td><kbd>Shift</kbd> + <kbd>Tab</kbd></td>\n      <td>When focus is on the first tabbable item, closes the collection, restores the typed search text, and moves focus to the previous tabbable page element. Otherwise, follows the collection's own focus order.</td>\n    </tr>\n  </tbody>\n</table>",
    "scope": "static",
    "tagWithoutBrackets": "oj-c-input-search",
    "tagWithBrackets": "<oj-c-input-search>",
    "domInterface": "CInputSearchElement",
    "ojPageTitle": "&lt;oj-c-input-search>",
    "camelCaseName": "InputSearch",
    "ojPageTitlePrefix": "Element: ",
    "ojtsvcomponent": true,
    "tstype": {
      "target": "Type",
      "value": "interface CInputSearchElement<K extends oj-c.InputSearch.Key,D extends Data> extends JetElement<InputSearchElementSettableProperties<K,D>>"
    },
    "ojsignature": [
      {
        "target": "Type",
        "value": "interface CInputSearchElement<K extends oj-c.InputSearch.Key,D extends Data> extends JetElement<InputSearchElementSettableProperties<K,D>>"
      }
    ],
    "tsdeprecated": [
      {
        "type": "supersedes",
        "since": "21.0.0",
        "value": [
          "oj-input-search"
        ]
      }
    ],
    "extension": {
      "catalog": {
        "category": "Forms"
      },
      "oracle": {
        "icon": "oj-ux-ico-input-search",
        "uxSpecs": [
          "input-search"
        ]
      },
      "vbdt": {
        "defaultColumns": 6,
        "minColumns": 2,
        "module": "oj-c/input-search"
      }
    },
    "ojmodule": "input-search"
  },
  {
    "id": "oj-c.InputSearch#autocomplete",
    "name": "autocomplete",
    "memberof": "oj-c.InputSearch",
    "meta": {
      "filename": "input-search.tsx",
      "path": "web/components/oj-c/input-search"
    },
    "kind": "member",
    "longname": "oj-c.InputSearch#autocomplete",
    "scope": "instance",
    "type": {
      "names": [
        "\"off\"",
        "\"on\""
      ]
    },
    "optional": true,
    "ojdisplayname": "Autocomplete",
    "ojshortdesc": "Specifies whether suggestions can enable autocomplete typeahead preview. Prefix matches can preview the first suggestion inline. Desktop partial matches can also preview the first suggestion as floating text, but phones suppress floating autocomplete and keep non-prefix matches raw.",
    "description": "Specifies whether suggestions can enable autocomplete typeahead preview. Prefix matches can\npreview the first suggestion inline. Desktop partial matches can also preview the first\nsuggestion as floating text, but phones suppress floating autocomplete and keep non-prefix\nmatches raw.",
    "defaultvalue": "'on'"
  },
  {
    "id": "oj-c.InputSearch#placeholder",
    "name": "placeholder",
    "memberof": "oj-c.InputSearch",
    "meta": {
      "filename": "input-search.tsx",
      "path": "web/components/oj-c/input-search"
    },
    "kind": "member",
    "longname": "oj-c.InputSearch#placeholder",
    "scope": "instance",
    "type": {
      "names": [
        "string"
      ]
    },
    "optional": true,
    "ojdisplayname": "Placeholder",
    "ojshortdesc": "A short hint that can be displayed before user selects or enters a value.",
    "description": "The placeholder text to set on the element. The placeholder specifies a short hint that can\nbe displayed before the user selects or enters a value."
  },
  {
    "id": "oj-c.InputSearch#maxWidth",
    "name": "maxWidth",
    "memberof": "oj-c.InputSearch",
    "meta": {
      "filename": "input-search.tsx",
      "path": "web/components/oj-c/input-search"
    },
    "kind": "member",
    "longname": "oj-c.InputSearch#maxWidth",
    "scope": "instance",
    "type": {
      "names": [
        "number|string"
      ]
    },
    "optional": true,
    "ojdisplayname": "Max Width",
    "ojshortdesc": "The max width of the control.",
    "description": "Specifies the component's max width. If unset, the default max width is 100%.",
    "ojvalues": [
      {
        "name": "sm",
        "type": {
          "names": [
            "string"
          ]
        }
      },
      {
        "name": "md",
        "type": {
          "names": [
            "string"
          ]
        }
      }
    ],
    "ojvalueskeeporder": true,
    "tstype": [
      {
        "target": "Type",
        "value": "number|string|\"sm\"|\"md\"",
        "jsdocOverride": true
      }
    ]
  },
  {
    "id": "oj-c.InputSearch#suggestions",
    "name": "suggestions",
    "memberof": "oj-c.InputSearch",
    "meta": {
      "filename": "input-search.tsx",
      "path": "web/components/oj-c/input-search"
    },
    "kind": "member",
    "longname": "oj-c.InputSearch#suggestions",
    "scope": "instance",
    "type": {
      "names": [
        "Array<any>|DataProvider|null"
      ]
    },
    "optional": true,
    "ojdisplayname": "Suggestions",
    "ojshortdesc": "Data for the InputSearch suggestions.",
    "description": "Data for the InputSearch suggestions. This data is used to populate the list of suggestions\nin the dropdown or collection mode. When a user selects a suggestion from the dropdown, the ojValueAction event\nwill contain the data for that suggestion. If no suggestions data is provided, then the\ndropdown will not be shown. Note that the InputSearch only shows up to a maximum of 12 suggestions\nin the dropdown even if there are more suggestions available in the data.\n\n<p>Suggestions can be supplied as a DataProvider or as an array of suggestion objects.</p>\n\n<p>When <code class=\"prettyprint\">collectionTemplate</code> is provided, suggestions must be backed by a DataProvider.</p>\n\n<p>Note that the <code class=\"prettyprint\">suggestion-item-text</code> attribute allows for\ncustomizing the rendering of each suggestion. If it is not specified, then the component will\nattempt to render as text the 'label' field in the suggestion by default.</p>",
    "tstype": [
      {
        "target": "Type",
        "value": "Array<D>|DataProvider<K, D>|null",
        "jsdocOverride": true,
        "module": {
          "DataProvider": "ojdataprovider"
        }
      }
    ]
  },
  {
    "id": "oj-c.InputSearch#suggestionItemText",
    "name": "suggestionItemText",
    "memberof": "oj-c.InputSearch",
    "meta": {
      "filename": "input-search.tsx",
      "path": "web/components/oj-c/input-search"
    },
    "kind": "member",
    "longname": "oj-c.InputSearch#suggestionItemText",
    "scope": "instance",
    "type": {
      "names": [
        "string|number|function"
      ]
    },
    "optional": true,
    "ojdisplayname": "Suggestion Item Text",
    "ojshortdesc": "Specifies the text string to render for a suggestion.",
    "description": "Specifies the text string to render for a suggestion.\nThis property can be set to either:\n<ul>\n<li>a string that specifies the name of a top level data field whose value will be rendered as text, or</li>\n<li>a callback function that takes a context object and returns the text string to\ndisplay</li>\n</ul>\n\n<p>By default, the component will attempt to render a 'label' data field as text.</p>\n\n<p>This text will be rendered for the selected value of the component. It will also be\nrendered for each suggestion in the dropdown if no suggestionItemTemplate is provided.\nWhen rendered for the dropdown suggestions, default matching search term highlighting\nwill still be applied. Field values other than null or undefined are converted to strings.</p>",
    "tstype": [
      {
        "target": "Type",
        "value": "keyof D|(itemContext: ItemContext<K, D>) => string",
        "jsdocOverride": true,
        "module": {
          "ItemContext": "ojcommontypes"
        }
      }
    ]
  },
  {
    "id": "oj-c.InputSearch#variant",
    "name": "variant",
    "memberof": "oj-c.InputSearch",
    "meta": {
      "filename": "input-search.tsx",
      "path": "web/components/oj-c/input-search"
    },
    "kind": "member",
    "longname": "oj-c.InputSearch#variant",
    "scope": "instance",
    "type": {
      "names": [
        "\"standard\"",
        "\"hero\""
      ]
    },
    "optional": true,
    "ojdisplayname": "Variant",
    "ojshortdesc": "Specifies the visual display variant.",
    "description": "Specifies whether the field uses the standard or hero presentation.",
    "ojvalues": [
      {
        "name": "standard",
        "description": "Renders the default input search presentation.",
        "displayName": "Standard",
        "type": {
          "names": [
            "string"
          ]
        }
      },
      {
        "name": "hero",
        "description": "Renders the larger hero search presentation.",
        "displayName": "Hero",
        "type": {
          "names": [
            "string"
          ]
        }
      }
    ],
    "ojvalueskeeporder": true,
    "defaultvalue": "'standard'"
  },
  {
    "id": "oj-c.InputSearch#value",
    "name": "value",
    "memberof": "oj-c.InputSearch",
    "meta": {
      "filename": "input-search.tsx",
      "path": "web/components/oj-c/input-search"
    },
    "kind": "member",
    "longname": "oj-c.InputSearch#value",
    "scope": "instance",
    "type": {
      "names": [
        "string|null"
      ]
    },
    "optional": true,
    "ojdisplayname": "Value",
    "ojwriteback": true,
    "ojshortdesc": "The current value of the element.",
    "description": "The current value of the element. The value is updated when the user blurs the field,\npresses Enter, or selects a suggestion. However, blurring the field does not trigger an onOjValueAction.",
    "defaultvalue": null
  },
  {
    "id": "oj-c.InputSearch#width",
    "name": "width",
    "memberof": "oj-c.InputSearch",
    "meta": {
      "filename": "input-search.tsx",
      "path": "web/components/oj-c/input-search"
    },
    "kind": "member",
    "longname": "oj-c.InputSearch#width",
    "scope": "instance",
    "type": {
      "names": [
        "number|string"
      ]
    },
    "optional": true,
    "ojdisplayname": "Width",
    "ojshortdesc": "The width of the control.",
    "description": "Specifies the component's width. If unset, the default width is 100%.\nNote that by default max-width is 100%, which will override the width if the container is smaller than the width specified.",
    "ojvalues": [
      {
        "name": "sm",
        "type": {
          "names": [
            "string"
          ]
        }
      },
      {
        "name": "md",
        "type": {
          "names": [
            "string"
          ]
        }
      }
    ],
    "ojvalueskeeporder": true,
    "tstype": [
      {
        "target": "Type",
        "value": "number|string|\"sm\"|\"md\"",
        "jsdocOverride": true
      }
    ]
  },
  {
    "id": "oj-c.InputSearch#rawValue",
    "name": "rawValue",
    "memberof": "oj-c.InputSearch",
    "meta": {
      "filename": "input-search.tsx",
      "path": "web/components/oj-c/input-search"
    },
    "kind": "member",
    "longname": "oj-c.InputSearch#rawValue",
    "scope": "instance",
    "type": {
      "names": [
        "string"
      ]
    },
    "optional": true,
    "ojdisplayname": "Raw Value",
    "ojwriteback": true,
    "readonly": true,
    "ojshortdesc": "Read-only property used for retrieving the current value from the input field in string form.",
    "description": "<p>The <code class=\"prettyprint\">rawValue</code> is the read-only property for retrieving\nthe current value from the input field in string form.</p>\n<p>\nThe <code class=\"prettyprint\">rawValue</code> updates on the 'input' javascript event,\nso the <code class=\"prettyprint\">rawValue</code> changes as the value of the input is changed.\nIf the user types in '1,200' into the field, the rawValue will be '1', then '1,', then '1,2',\n..., and finally '1,200'. Then when the user blurs, presses Enter, or selects a suggestion,\nthe <code class=\"prettyprint\">value</code> property gets updated.\n</p>\n<p>This is a read-only attribute so page authors cannot set or change it directly.</p>"
  },
  {
    "id": "oj-c.InputSearch#blur",
    "name": "blur",
    "memberof": "oj-c.InputSearch",
    "meta": {
      "filename": "input-search.tsx",
      "path": "web/components/oj-c/input-search"
    },
    "kind": "function",
    "longname": "oj-c.InputSearch#blur",
    "scope": "instance",
    "returns": [
      {
        "type": {
          "names": [
            "void"
          ]
        }
      }
    ],
    "ojshortdesc": "Blurs the input search field.",
    "description": "Blurs the input search field.",
    "ojhidden": true
  },
  {
    "id": "oj-c.InputSearch#focus",
    "name": "focus",
    "memberof": "oj-c.InputSearch",
    "meta": {
      "filename": "input-search.tsx",
      "path": "web/components/oj-c/input-search"
    },
    "kind": "function",
    "longname": "oj-c.InputSearch#focus",
    "scope": "instance",
    "returns": [
      {
        "type": {
          "names": [
            "void"
          ]
        }
      }
    ],
    "ojshortdesc": "Focuses the input search field.",
    "description": "Focuses the input search field.",
    "ojhidden": true
  },
  {
    "id": "oj-c.InputSearch#setProperty",
    "name": "setProperty",
    "memberof": "oj-c.InputSearch",
    "meta": {
      "filename": "input-search.tsx",
      "path": "web/components/oj-c/input-search"
    },
    "kind": "function",
    "longname": "oj-c.InputSearch#setProperty",
    "scope": "instance",
    "returns": [
      {
        "type": {
          "names": [
            "void"
          ]
        }
      }
    ],
    "ojshortdesc": "Sets a property or a single subproperty for complex properties and notifies the component of the change, triggering a corresponding event.",
    "description": "Sets a property or a single subproperty for complex properties and notifies the component of the change, triggering a corresponding event.",
    "params": [
      {
        "name": "property",
        "description": "The property name to set. Supports dot notation for subproperty access.",
        "type": {
          "names": [
            "string"
          ]
        }
      },
      {
        "name": "value",
        "description": "The new value to set the property to.",
        "type": {
          "names": [
            "any"
          ]
        }
      }
    ]
  },
  {
    "id": "oj-c.InputSearch#getProperty",
    "name": "getProperty",
    "memberof": "oj-c.InputSearch",
    "meta": {
      "filename": "input-search.tsx",
      "path": "web/components/oj-c/input-search"
    },
    "kind": "function",
    "longname": "oj-c.InputSearch#getProperty",
    "scope": "instance",
    "returns": [
      {
        "type": {
          "names": [
            "any"
          ]
        }
      }
    ],
    "ojshortdesc": "Retrieves the value of a property or a subproperty.",
    "description": "Retrieves the value of a property or a subproperty.",
    "params": [
      {
        "name": "property",
        "description": "The property name to get. Supports dot notation for subproperty access.",
        "type": {
          "names": [
            "string"
          ]
        }
      }
    ]
  },
  {
    "id": "oj-c.InputSearch#setProperties",
    "name": "setProperties",
    "memberof": "oj-c.InputSearch",
    "meta": {
      "filename": "input-search.tsx",
      "path": "web/components/oj-c/input-search"
    },
    "kind": "function",
    "longname": "oj-c.InputSearch#setProperties",
    "scope": "instance",
    "returns": [
      {
        "type": {
          "names": [
            "void"
          ]
        }
      }
    ],
    "ojshortdesc": "Performs a batch set of properties.",
    "description": "Performs a batch set of properties.",
    "params": [
      {
        "name": "properties",
        "description": "An object containing the property and value pairs to set.",
        "type": {
          "names": [
            "object"
          ]
        }
      }
    ]
  },
  {
    "id": "oj-c.InputSearch#event:ojValueAction",
    "name": "ojValueAction",
    "kind": "event",
    "memberof": "oj-c.InputSearch",
    "meta": {
      "filename": "input-search.tsx",
      "path": "web/components/oj-c/input-search"
    },
    "longname": "oj-c.InputSearch#event:ojValueAction",
    "scope": "instance",
    "ojshortdesc": "Triggered when search text is explicitly submitted by the user.",
    "description": "<p style=\"background-color: RGB(var(--oj-palette-info-rgb-30)); border: 2px solid #ddd\"><strong>Note:</strong> The event detail contains the following properties: [oj-c.InputSearch.InputSearchValueActionDetail]{@link oj-c.InputSearch.InputSearchValueActionDetail}&lt;K, D></p>Triggered when search text is explicitly submitted by the user, even if the text has not\nchanged. Submission is triggered by the Enter key or by selecting a suggestion. Blurring the\nfield updates value but does not trigger this event."
  },
  {
    "id": "oj-c.InputSearch#suggestionItemTemplate",
    "name": "suggestionItemTemplate",
    "memberof": "oj-c.InputSearch",
    "meta": {
      "filename": "input-search.tsx",
      "path": "web/components/oj-c/input-search"
    },
    "kind": "member",
    "longname": "oj-c.InputSearch#suggestionItemTemplate",
    "scope": "instance",
    "ojdisplayname": "Suggestion Item Template",
    "description": "<p style=\"background-color: RGB(var(--oj-palette-info-rgb-30)); border: 2px solid #ddd\"><strong>Note:</strong> When the template is executed for each item, it will have access to the binding context containing the following properties: [oj-c.InputSearch.InputSearchSuggestionItemTemplateContext]{@link oj-c.InputSearch.InputSearchSuggestionItemTemplateContext}</p>The <code class=\"prettyprint\">suggestionItemTemplate</code> slot is used to specify the\ntemplate for rendering each suggestion in the dropdown.\nThe slot must be a &lt;template> element.\n<p>When the template is executed for each suggestion, it will have access to the binding\ncontext containing the following properties:</p>\n<ul>\n  <li>$current - an object that contains information for the current suggestion. (See the\n  table below for a list of properties available on $current)</li>\n  <li>alias - if the data-oj-as attribute was specified on the template, the value will be\n  used to provide an application-named alias for $current.</li>\n</ul>\n<p>If no <code class=\"prettyprint\">suggestionItemTemplate</code> is specified, the component\nwill render based on the value of the <code class=\"prettyprint\">suggestionItemText</code>\nproperty.</p>",
    "ojshortdesc": "The suggestionItemTemplate slot is used to specify the template for rendering each suggestion in the dropdown.",
    "ojslot": true,
    "ojtemplateslotprops": "oj-c.InputSearch.InputSearchSuggestionItemTemplateContext"
  },
  {
    "id": "oj-c.InputSearch#collectionTemplate",
    "name": "collectionTemplate",
    "memberof": "oj-c.InputSearch",
    "meta": {
      "filename": "input-search.tsx",
      "path": "web/components/oj-c/input-search"
    },
    "kind": "member",
    "longname": "oj-c.InputSearch#collectionTemplate",
    "scope": "instance",
    "ojdisplayname": "Collection Template",
    "description": "<p style=\"background-color: RGB(var(--oj-palette-info-rgb-30)); border: 2px solid #ddd\"><strong>Note:</strong> When the template is executed for each item, it will have access to the binding context containing the following properties: [oj-c.InputSearch.InputSearchCollectionTemplateContext]{@link oj-c.InputSearch.InputSearchCollectionTemplateContext}</p><p>The <code class=\"prettyprint\">collectionTemplate</code> slot is used to specify the template\nfor rendering suggestions in collection mode.\nThe slot must be a &lt;template> element containing a child core-pack collection element\n(e.g. &lt;oj-c-table/> or &lt;oj-c-list-view/>).</p>\n<p>When provided, <code class=\"prettyprint\">collectionTemplate</code> takes precedence over\n<code class=\"prettyprint\">suggestionItemTemplate</code>. Collection mode currently supports\nDataProvider-backed suggestions only.</p>\n<p>The collectionTemplate supports oj-c-table and oj-c-list-view.</p>",
    "ojshortdesc": "The collectionTemplate slot is used to specify the template for rendering suggestions in collection mode.",
    "ojslot": true,
    "ojtemplateslotprops": "oj-c.InputSearch.InputSearchCollectionTemplateContext"
  },
  {
    "id": "oj-c.InputSearch.touchDoc",
    "name": "touchDoc",
    "kind": "member",
    "longname": "oj-c.InputSearch.touchDoc",
    "description": "<table class=\"keyboard-table\">\n  <thead>\n    <tr>\n      <th>Target</th>\n      <th>Gesture</th>\n      <th>Action</th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr>\n      <td>Non-phone input field</td>\n      <td><kbd>Tap</kbd></td>\n      <td>Opens suggestions when they are closed and suggestions are available. If suggestions are already open, leaves them open.</td>\n    </tr>\n    <tr>\n      <td>Phone search launcher</td>\n      <td><kbd>Tap</kbd></td>\n      <td>Opens the full-screen search dialog when suggestions are available.</td>\n    </tr>\n    <tr>\n      <td>Phone dialog back button</td>\n      <td><kbd>Tap</kbd></td>\n      <td>Closes the dialog without submitting new text and restores the prior field value. If the clear button was used, retains the cleared value instead.</td>\n    </tr>\n    <tr>\n      <td>Phone dialog input</td>\n      <td><kbd>Tap</kbd></td>\n      <td>Places cursor focus in the dialog input.</td>\n    </tr>\n    <tr>\n      <td>Phone dialog clear button</td>\n      <td><kbd>Tap</kbd></td>\n      <td>Clears the current search text without submitting it. The cleared value is retained if the dialog is then closed with the back button.</td>\n    </tr>\n    <tr>\n      <td>Phone dialog suggestion</td>\n      <td><kbd>Tap</kbd></td>\n      <td>Selects the suggestion, closes the dialog, and returns focus to the search launcher.</td>\n    </tr>\n  </tbody>\n</table>",
    "memberof": "oj-c.InputSearch",
    "meta": {
      "filename": "input-search.tsx",
      "path": "web/components/oj-c/input-search"
    },
    "ojfragment": true
  },
  {
    "id": "oj-c.InputSearch.keyboardDoc",
    "name": "keyboardDoc",
    "kind": "member",
    "longname": "oj-c.InputSearch.keyboardDoc",
    "description": "<table class=\"keyboard-table\">\n  <thead>\n    <tr>\n      <th>Target</th>\n      <th>Key</th>\n      <th>Action</th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr>\n      <td>Input field</td>\n      <td><kbd>Tab In</kbd></td>\n      <td>Sets focus to the input and initially highlights the text in the field. On desktop, suggestions do not open until the user enters text, clicks the field, or presses <kbd>UpArrow</kbd> or <kbd>DownArrow</kbd>.</td>\n    </tr>\n    <tr>\n      <td>Input field</td>\n      <td><kbd>Enter</kbd></td>\n      <td>Submits the current search text. An open suggestion list or autocomplete text does not select a suggestion by itself. If a suggestion is highlighted through keyboard navigation, <kbd>Enter</kbd> selects that suggestion and closes the suggestions.</td>\n    </tr>\n    <tr>\n      <td>Input field</td>\n      <td><kbd>UpArrow</kbd> or <kbd>DownArrow</kbd></td>\n      <td>Opens the suggestions when they are closed. When suggestions are open, moves the keyboard highlight to the previous or next suggestion while focus remains in the input. With autocomplete enabled, a prefix match can appear as an inline autocomplete preview, while a desktop partial match can appear as floating autocomplete text (for example, <code class=\"prettyprint\">D – Edge</code>). These autocomplete displays do not by themselves establish a keyboard highlight; <kbd>UpArrow</kbd> or <kbd>DownArrow</kbd> does. In collection mode on desktop, the first press opens the collection popup and the next press moves focus into the collection.</td>\n    </tr>\n    <tr>\n      <td>Input field</td>\n      <td><kbd>Esc</kbd></td>\n      <td>Closes the suggestions when they are open. If suggestions are closed, does nothing.</td>\n    </tr>\n    <tr>\n      <td>Input field with inline autocomplete preview (prefix match)</td>\n      <td><kbd>LeftArrow</kbd> or <kbd>RightArrow</kbd></td>\n      <td>Accepts the inline autocomplete preview. <kbd>LeftArrow</kbd> places the caret at the start of the suggested suffix, and <kbd>RightArrow</kbd> places the caret at the end.</td>\n    </tr>\n    <tr>\n      <td>Input field with inline autocomplete preview (prefix match)</td>\n      <td><kbd>Backspace</kbd> or <kbd>Delete</kbd></td>\n      <td>Dismisses the inline autocomplete preview and keeps the user-entered text.</td>\n    </tr>\n    <tr>\n      <td>Input field</td>\n      <td><kbd>Tab</kbd></td>\n      <td>Moves focus to the next tabbable element. If suggestions are open, closes them without submitting a new search. Tabbing can blur the field, which may update <code class=\"prettyprint\">value</code> and <code class=\"prettyprint\">rawValue</code> to the current displayed value, including an autocomplete preview, but it does not fire <code class=\"prettyprint\">ojValueAction</code>.</td>\n    </tr>\n    <tr>\n      <td>Collection</td>\n      <td><kbd>Shift</kbd> + <kbd>Tab</kbd></td>\n      <td>When focus is on the first tabbable item, closes the collection, restores the typed search text, and moves focus to the previous tabbable page element. Otherwise, follows the collection's own focus order.</td>\n    </tr>\n  </tbody>\n</table>",
    "memberof": "oj-c.InputSearch",
    "meta": {
      "filename": "input-search.tsx",
      "path": "web/components/oj-c/input-search"
    },
    "ojfragment": true
  },
  {
    "id": "oj-c.InputSearch.InputSearchSuggestionItemTemplateContext",
    "name": "InputSearchSuggestionItemTemplateContext",
    "kind": "typedef",
    "memberof": "oj-c.InputSearch",
    "meta": {
      "filename": "input-search.tsx",
      "path": "web/components/oj-c/input-search"
    },
    "longname": "oj-c.InputSearch.InputSearchSuggestionItemTemplateContext",
    "type": {
      "names": [
        "Object"
      ]
    },
    "scope": "static",
    "description": "",
    "tsgenerictype": {
      "target": "Type",
      "value": "<K extends Key = Key,D extends Data = Data>",
      "for": "genericTypeParameters"
    },
    "properties": [
      {
        "name": "data",
        "description": "The data for the current suggestion.",
        "optional": false,
        "type": {
          "names": [
            "any"
          ]
        },
        "tstype": [
          {
            "target": "Type",
            "value": "D",
            "jsdocOverride": true,
            "for": "data"
          }
        ],
        "ojshortdesc": "The data for the current suggestion."
      },
      {
        "name": "index",
        "description": "The zero-based index of the current suggestion.",
        "optional": false,
        "type": {
          "names": [
            "number"
          ]
        },
        "ojshortdesc": "The zero-based index of the current suggestion."
      },
      {
        "name": "key",
        "description": "The key of the current suggestion.",
        "optional": false,
        "type": {
          "names": [
            "string|number"
          ]
        },
        "tstype": [
          {
            "target": "Type",
            "value": "K",
            "jsdocOverride": true,
            "for": "key"
          }
        ],
        "ojshortdesc": "The key of the current suggestion."
      },
      {
        "name": "metadata",
        "description": "The metadata for the current suggestion.",
        "optional": false,
        "type": {
          "names": [
            "object"
          ]
        },
        "tstype": [
          {
            "target": "Type",
            "value": "ItemMetadata<K>",
            "jsdocOverride": true,
            "for": "metadata",
            "module": {
              "ItemMetadata": "ojdataprovider"
            }
          }
        ]
      },
      {
        "name": "searchText",
        "description": "The search text entered by the user.",
        "optional": true,
        "type": {
          "names": [
            "string"
          ]
        },
        "ojshortdesc": "The search text entered by the user."
      }
    ]
  },
  {
    "id": "oj-c.InputSearch.InputSearchCollectionTemplateContext",
    "name": "InputSearchCollectionTemplateContext",
    "kind": "typedef",
    "memberof": "oj-c.InputSearch",
    "meta": {
      "filename": "input-search.tsx",
      "path": "web/components/oj-c/input-search"
    },
    "longname": "oj-c.InputSearch.InputSearchCollectionTemplateContext",
    "type": {
      "names": [
        "Object"
      ]
    },
    "scope": "static",
    "description": "Context passed to the Core Pack collectionTemplate slot.\n\nThe wrapper adapts Preact collection-mode callbacks to the row/current/selected contracts used\nby oj-c-table and oj-c-list-view.",
    "tsgenerictype": {
      "target": "Type",
      "value": "<K extends Key = Key,D extends Data = Data>",
      "for": "genericTypeParameters"
    },
    "properties": [
      {
        "name": "data",
        "description": "Data and metadata for the collection rendered by the template.",
        "optional": true,
        "type": {
          "names": [
            "DataProvider|null"
          ]
        },
        "tstype": [
          {
            "target": "Type",
            "value": "DataProvider<K, D>|null",
            "jsdocOverride": true,
            "for": "data",
            "module": {
              "DataProvider": "ojdataprovider"
            }
          }
        ]
      },
      {
        "name": "searchText",
        "description": "The text entered by the user for filtering the collection data.",
        "optional": true,
        "type": {
          "names": [
            "string"
          ]
        }
      },
      {
        "name": "currentRowOverride",
        "description": "Current focused row/item override for the rendered collection.",
        "optional": true,
        "type": {
          "names": [
            "object"
          ]
        },
        "tstype": [
          {
            "target": "Type",
            "value": "{ rowKey: K; }",
            "jsdocOverride": true,
            "for": "currentRowOverride"
          }
        ]
      },
      {
        "name": "onCurrentRowChanged",
        "description": "Callback invoked when the rendered collection changes its current row.",
        "optional": false,
        "type": {
          "names": [
            "function"
          ]
        },
        "tstype": [
          {
            "target": "Type",
            "value": "(detail: { rowKey?: K; }) => void",
            "jsdocOverride": true,
            "for": "onCurrentRowChanged"
          }
        ]
      },
      {
        "name": "selected",
        "description": "Selected row/item keys for the rendered collection.",
        "optional": false,
        "type": {
          "names": [
            "object"
          ]
        },
        "tstype": [
          {
            "target": "Type",
            "value": "ImmutableKeySet<K>",
            "jsdocOverride": true,
            "for": "selected",
            "module": {
              "ImmutableKeySet": "ojkeyset"
            }
          }
        ]
      },
      {
        "name": "onRowAction",
        "description": "Callback invoked when the user performs an action gesture on a row/item.",
        "optional": false,
        "type": {
          "names": [
            "function"
          ]
        },
        "tstype": [
          {
            "target": "Type",
            "value": "(detail: { item: Item<K, D>; }) => void",
            "jsdocOverride": true,
            "for": "onRowAction"
          }
        ]
      }
    ]
  },
  {
    "id": "oj-c.InputSearch.InputSearchValueActionDetail",
    "name": "InputSearchValueActionDetail",
    "kind": "typedef",
    "memberof": "oj-c.InputSearch",
    "meta": {
      "filename": "input-search.tsx",
      "path": "web/components/oj-c/input-search"
    },
    "longname": "oj-c.InputSearch.InputSearchValueActionDetail",
    "type": {
      "names": [
        "Object"
      ]
    },
    "scope": "static",
    "description": "",
    "tsgenerictype": {
      "target": "Type",
      "value": "<K extends Key = Key,D extends Data = Data>",
      "for": "genericTypeParameters"
    },
    "properties": [
      {
        "name": "value",
        "description": "The submitted search text.",
        "optional": false,
        "type": {
          "names": [
            "string|null"
          ]
        },
        "ojshortdesc": "The submitted search text."
      },
      {
        "name": "itemContext",
        "description": "The data provider context for the search text, if available.",
        "optional": true,
        "type": {
          "names": [
            "object"
          ]
        },
        "tstype": [
          {
            "target": "Type",
            "value": "ItemContext<K, D>",
            "jsdocOverride": true,
            "for": "itemContext",
            "module": {
              "ItemContext": "ojcommontypes"
            }
          }
        ]
      },
      {
        "name": "previousValue",
        "description": "The previous submitted search text.",
        "optional": true,
        "type": {
          "names": [
            "string|null"
          ]
        },
        "ojshortdesc": "The previous submitted search text."
      }
    ]
  },
  {
    "id": "oj-c.InputSearch.Key",
    "name": "Key",
    "kind": "typedef",
    "memberof": "oj-c.InputSearch",
    "meta": {
      "filename": "input-search.tsx",
      "path": "web/components/oj-c/input-search"
    },
    "longname": "oj-c.InputSearch.Key",
    "type": {
      "names": [
        "Object"
      ]
    },
    "scope": "static",
    "description": ""
  }
]