"use strict";(self.webpackChunkangular_storybook_project=self.webpackChunkangular_storybook_project||[]).push([[3795],{"./src/common/shared/models-mdx/Tab.mdx"(__unused_webpack_module,__webpack_exports__,__webpack_require__){__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,{default:()=>MDXContent});var react=__webpack_require__("./node_modules/react/index.js"),jsx_runtime=__webpack_require__("./node_modules/react/jsx-runtime.js"),lib=__webpack_require__("./node_modules/@mdx-js/react/lib/index.js"),dist=__webpack_require__("./node_modules/@storybook/blocks/dist/index.mjs");const TabReader=()=>react.createElement("div",{className:"panel-content"},react.createElement(dist.oz,null,'# Tab\n\nDocumentazione dettagliata dell\' oggetto custom  **Tab**, usato nei componenti di Internet Webkit v17. \n**Tab** si usa per creare tab nei componenti <a href="?path=/story/components-tabs-tabs--tabs">Tabs</a>.\n\n## Implementazione\n<div class="table-responsive">`import { Tab, WebkitModule } from \'@inail/internet-webkit\'`</div>\n<br />\n\n***Struttura:***\n`class Tab extends BaseModel {\n\tprivate _id: number;\n\tprivate _title: string;\n\tprivate _hasError: boolean | undefined;\n\tprivate _disable: boolean | undefined;\n\tprivate _templateNo: any;\n}`\n\n***Esempio d\'uso:***\n<div class="table-responsive">`new Tab(2, \'TITLE.TAB_2\', false, false, 2)`</div>\n\n## API\n<div class="table-responsive">\n  <table class="table">\n  <thead>\n    <tr>\n      <th><strong>Campo</strong></th>\n      <th><strong>Descrizione</strong></th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr>\n      <td><code>id</code></td>\n      <td>\n        Campo numerico che imposta un ID al tab.\n      </td>\n    </tr>\n    <tr>\n      <td><code>title</code></td>\n      <td>\n        Campo `string` che imposta il titolo del tab creato.\n      </td>\n    </tr>\n    <tr>\n      <td><code>hasError</code></td>\n      <td>\n        Booleano che, se impostato a `true`, mostra un\'icona di errore nel tab.\n      </td>\n    </tr>\n    <tr>\n      <td><code>disable</code></td>\n      <td>\n        Booleano che, se impostato a `true`, disabilita il tab.\n      </td>\n    </tr>\n    <tr>\n      <td><code>templateNo</code></td>\n      <td>\n        Campo che imposta l\'index (partendo da 1) del template che viene visualizzato nel tab corrente. I template sono in un array di `TemplateRef` che contiene riferimenti a degli `<ng-template #id>`, dove `#id` serve come riferimento per l\'input `[templates]="[id]"`.\n      </td>\n    </tr>\n  </tbody>\n</table>\n</div>\n\n## Casi d\'utilizzo\n<br />\n<a href="?path=/story/components-tabs-tabs--tabs">Tabs</a>\n'));function _createMdxContent(props){return(0,jsx_runtime.jsxs)(jsx_runtime.Fragment,{children:[(0,jsx_runtime.jsx)(dist.W8,{title:"Resources/Models/Tab"}),"\n",(0,jsx_runtime.jsx)(TabReader,{})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={...(0,lib.R)(),...props.components};return MDXLayout?(0,jsx_runtime.jsx)(MDXLayout,{...props,children:(0,jsx_runtime.jsx)(_createMdxContent,{...props})}):_createMdxContent()}}}]);