-
Notifications
You must be signed in to change notification settings - Fork 0
/
component---src-pages-simple-create-wo-priority-lookup-mdx-bcf0c7f9d0efaff379c0.js.map
1 lines (1 loc) · 20.7 KB
/
component---src-pages-simple-create-wo-priority-lookup-mdx-bcf0c7f9d0efaff379c0.js.map
1
{"version":3,"file":"component---src-pages-simple-create-wo-priority-lookup-mdx-bcf0c7f9d0efaff379c0.js","mappings":"gOAEA,ECGmB,SAAC,GAAD,MAAGA,EAAH,EAAGA,MAAOC,EAAV,EAAUA,MAAV,IAAiBC,KAAAA,OAAjB,MAAwB,GAAxB,SACjB,uBACEC,UAAWC,ICHS,yCDGP,OCDK,uCDEGF,EAAKG,OADb,ECJK,uCDMa,SAAVJ,EAFR,KAIb,uBAAKE,UAAU,YACb,uBAAKA,UAAU,WACb,uBAAKA,UAAU,iBACb,sBAAIG,GAAG,aAAaH,UCTZ,kCDULH,MAVM,EEHnB,ECIiB,SAAC,GAAsD,IAApDO,EAAmD,EAAnDA,iBAA8BC,EAAqB,EAAjCC,WAGhBA,GAEhBC,EAAAA,EAAAA,gBAAe,cAHjBC,KACEC,aAAgBH,WAgBpB,EAA0CD,GAAkBC,EAApDI,EAAR,EAAQA,QAASC,EAAjB,EAAiBA,aAEXC,EAAUF,EAAN,SAFV,EAA+BG,OAEUF,EAA/B,aAAwDP,EAElE,OAAOM,EACL,uBAAKV,UAAS,uCACZ,uBAAKA,UAAU,WACb,qBAAGA,UC7BO,+BD6BUY,KAAMA,GAA1B,8BAKF,IACL,E,oBExBoBE,EAAAA,SAAAA,GAAAA,SAAAA,IAAAA,OAAAA,EAAAA,MAAAA,KAAAA,YAAAA,IAAAA,CAkClB,OAlCkBA,EAAAA,EAAAA,GAAAA,EAAAA,GAAAA,EAAAA,UACnBC,OAAA,WACE,MAA8BC,KAAKC,MAA3BpB,EAAR,EAAQA,MAAOE,EAAf,EAAeA,KAAMmB,EAArB,EAAqBA,KACfC,EAAaD,EAAKE,MAAM,KAAKC,OAAOC,SAASC,OAAO,GA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KAAQ,IACR,gBAAmB,42BACnB,eAAkB,QAClB,QAAW,WAnBjB,QAsBA,eAAKA,WAAW,OACZ,UAAa,0BACb,IAAO,mBACP,MAAS,mBACT,IAAO,4GACP,OAAU,CAAC,iHAAkH,kHAC7H,MAAS,kCACT,MAAS,CACP,MAAS,OACT,OAAU,OACV,OAAU,IACV,cAAiB,SACjB,SAAY,WACZ,IAAO,IACP,KAAQ,KAEV,QAAW,OACX,SAAY,UAvChB,WA0CA,6MACA,oBAAK,gBAAMA,WAAW,MAClB,UAAa,gBADZ,ulBAaL,6QACA,2BACE,aAAGA,WAAW,cAAd,oGAEF,oBAAK,gBAAMA,WAAW,MAClB,UAAa,gBADZ,wNAML,qXACA,oBAAK,gBAAMA,WAAW,MAClB,UAAa,gBADZ,iwBAQR,CAEDH,EAAWI,gBAAiB,C","sources":["webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/PageHeader/index.js","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/PageHeader/PageHeader.js","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/PageHeader/PageHeader.module.scss","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/EditLink/index.js","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/EditLink/EditLink.js","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/EditLink/EditLink.module.scss","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/PageTabs/PageTabs.js","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/PageTabs/PageTabs.module.scss","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/PageTabs/index.js","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/LastModifiedDate/index.js","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/LastModifiedDate/LastModifiedDate.js","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/components/LastModifiedDate/last-modified-date.module.scss","webpack://mas-playbook/./node_modules/gatsby-theme-carbon/src/templates/Default.js","webpack://mas-playbook/./src/pages/simple/create-wo-priority-lookup.mdx"],"sourcesContent":["import PageHeader from './PageHeader';\n\nexport default PageHeader;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport cx from 'classnames';\nimport * as styles from './PageHeader.module.scss';\n\nconst PageHeader = ({ title, theme, tabs = [] }) => (\n <div\n className={cx(styles.pageHeader, {\n [styles.withTabs]: tabs.length,\n [styles.darkMode]: theme === 'dark',\n })}>\n <div className=\"bx--grid\">\n <div className=\"bx--row\">\n <div className=\"bx--col-lg-12\">\n <h1 id=\"page-title\" className={styles.text}>\n {title}\n </h1>\n </div>\n </div>\n </div>\n </div>\n);\n\nPageHeader.propTypes = {\n /**\n * Specify the title for the page\n */\n title: PropTypes.node,\n};\n\nexport default PageHeader;\n","// extracted by mini-css-extract-plugin\nexport var bxTextTruncateEnd = \"PageHeader-module--bx--text-truncate--end--b8JtW\";\nexport var bxTextTruncateFront = \"PageHeader-module--bx--text-truncate--front--WwZFh\";\nexport var darkMode = \"PageHeader-module--dark-mode--WCeH8\";\nexport var pageHeader = \"PageHeader-module--page-header--NqfPe\";\nexport var text = \"PageHeader-module--text--Er2EO\";\nexport var withTabs = \"PageHeader-module--with-tabs--vbQ-W\";","import EditLink from './EditLink';\n\nexport default EditLink;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { graphql, useStaticQuery } from 'gatsby';\n\nimport { link, row } from './EditLink.module.scss';\n\nconst EditLink = ({ relativePagePath, repository: repositoryProp }) => {\n const {\n site: {\n siteMetadata: { repository },\n },\n } = useStaticQuery(graphql`\n query REPOSITORY_QUERY {\n site {\n siteMetadata {\n repository {\n baseUrl\n subDirectory\n branch\n }\n }\n }\n }\n `);\n\n const { baseUrl, subDirectory, branch } = repositoryProp || repository;\n\n const href = `${baseUrl}/edit/${branch}${subDirectory}/src/pages${relativePagePath}`;\n\n return baseUrl ? (\n <div className={`bx--row ${row}`}>\n <div className=\"bx--col\">\n <a className={link} href={href}>\n Edit this page on GitHub\n </a>\n </div>\n </div>\n ) : null;\n};\n\nEditLink.propTypes = {\n repository: PropTypes.shape({\n baseUrl: PropTypes.string,\n subDirectory: PropTypes.string,\n branch: PropTypes.string,\n }),\n relativePagePath: PropTypes.string,\n};\n\nexport default EditLink;\n","// extracted by mini-css-extract-plugin\nexport var bxTextTruncateEnd = \"EditLink-module--bx--text-truncate--end--uI0cF\";\nexport var bxTextTruncateFront = \"EditLink-module--bx--text-truncate--front--HxjcS\";\nexport var link = \"EditLink-module--link--IDrl1\";\nexport var row = \"EditLink-module--row--BEmSX\";","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Link } from 'gatsby';\nimport slugify from 'slugify';\nimport cx from 'classnames';\n\nimport {\n tabsContainer,\n list,\n selectedItem,\n listItem,\n link,\n} from './PageTabs.module.scss';\n\nexport default class PageTabs extends React.Component {\n render() {\n const { title, tabs, slug } = this.props;\n const currentTab = slug.split('/').filter(Boolean).slice(-1)[0];\n\n const pageTabs = tabs.map((tab) => {\n const slugifiedTab = slugify(tab, { lower: true, strict: true });\n const selected = slugifiedTab === currentTab;\n // matches with or without trailing slash: /?\n // matches with or without hash link: (#.*)?\n const currentTabRegex = new RegExp(`${currentTab}/?(#.*)?$`);\n const href = slug.replace(currentTabRegex, slugifiedTab);\n return (\n <li key={tab} className={cx({ [selectedItem]: selected }, listItem)}>\n <Link className={link} to={`${href}`}>\n {tab}\n </Link>\n </li>\n );\n });\n\n return (\n <div className={tabsContainer}>\n <div className=\"bx--grid\">\n <div className=\"bx--row\">\n <div className=\"bx--col-lg-12 bx--col-no-gutter\">\n <nav aria-label={title}>\n <ul className={list}>{pageTabs}</ul>\n </nav>\n </div>\n </div>\n </div>\n </div>\n );\n }\n}\n\nPageTabs.propTypes = {\n tabs: PropTypes.array,\n slug: PropTypes.string,\n};\n","// extracted by mini-css-extract-plugin\nexport var bxTextTruncateEnd = \"PageTabs-module--bx--text-truncate--end--OC59x\";\nexport var bxTextTruncateFront = \"PageTabs-module--bx--text-truncate--front--5I6-L\";\nexport var link = \"PageTabs-module--link--Kz-7R\";\nexport var list = \"PageTabs-module--list--xLqxG\";\nexport var listItem = \"PageTabs-module--list-item--024o6\";\nexport var selectedItem = \"PageTabs-module--selected-item--aBB0K\";\nexport var tabsContainer = \"PageTabs-module--tabs-container--Cdfzw\";","import PageTabs from './PageTabs';\n\nexport default PageTabs;\n","import LastModifiedDate from './LastModifiedDate';\n\nexport default LastModifiedDate;\n","import React from 'react';\nimport { Row, Column } from '../Grid';\nimport * as styles from './last-modified-date.module.scss';\n\nconst LastModifiedDate = ({ date }) => {\n const options = {\n day: '2-digit',\n year: 'numeric',\n month: 'long',\n };\n\n const lastModified = new Date(date);\n\n return date ? (\n <Row className={styles.row}>\n <Column>\n <div className={styles.text}>\n Page last updated: {lastModified.toLocaleDateString('en-GB', options)}\n {/* // https://www-03preprod.ibm.com/support/knowledgecenter/ibm_style/dates-and-times.html */}\n </div>\n </Column>\n </Row>\n ) : null;\n};\nexport default LastModifiedDate;\n","// extracted by mini-css-extract-plugin\nexport var bxTextTruncateEnd = \"last-modified-date-module--bx--text-truncate--end--QgCc7\";\nexport var bxTextTruncateFront = \"last-modified-date-module--bx--text-truncate--front--kel8a\";\nexport var row = \"last-modified-date-module--row--XJoYQ\";\nexport var text = \"last-modified-date-module--text--ogPQF\";","import React from 'react';\nimport slugify from 'slugify';\nimport { useStaticQuery, graphql } from 'gatsby';\n\nimport Utils from '../components/Utils';\nimport Layout from '../components/Layout';\nimport PageHeader from '../components/PageHeader';\nimport EditLink from '../components/EditLink';\nimport NextPrevious from '../components/NextPrevious';\nimport PageTabs from '../components/PageTabs';\nimport Main from '../components/Main';\nimport useMetadata from '../util/hooks/useMetadata';\nimport LastModifiedDate from '../components/LastModifiedDate';\n\nconst Default = ({ pageContext, children, location, Title }) => {\n const { frontmatter = {}, relativePagePath, titleType } = pageContext;\n const {\n tabs,\n title,\n theme: frontmatterTheme,\n description,\n keywords,\n date,\n } = frontmatter;\n\n const { interiorTheme } = useMetadata();\n\n // get the path prefix if it exists\n const {\n site: { pathPrefix },\n } = useStaticQuery(graphql`\n query PATH_PREFIX_QUERY {\n site {\n pathPrefix\n }\n }\n `);\n\n // let gatsby handle prefixing\n const slug = pathPrefix\n ? location.pathname.replace(pathPrefix, '')\n : location.pathname;\n\n const getCurrentTab = () => {\n if (!tabs) return '';\n return (\n slug.split('/').filter(Boolean).slice(-1)[0] ||\n slugify(tabs[0], { lower: true })\n );\n };\n\n const currentTab = getCurrentTab();\n\n const theme = frontmatterTheme || interiorTheme;\n\n return (\n <Layout\n tabs={tabs}\n homepage={false}\n theme={theme}\n pageTitle={title}\n pageDescription={description}\n pageKeywords={keywords}\n titleType={titleType}>\n <PageHeader\n title={Title ? <Title /> : title}\n label=\"label\"\n tabs={tabs}\n theme={theme}\n />\n {tabs && (\n <PageTabs\n title={title}\n slug={slug}\n tabs={tabs}\n currentTab={currentTab}\n />\n )}\n <Main padded>\n {children}\n <EditLink relativePagePath={relativePagePath} />\n <LastModifiedDate date={date} />\n </Main>\n <NextPrevious\n pageContext={pageContext}\n location={location}\n slug={slug}\n tabs={tabs}\n currentTab={currentTab}\n />\n <Utils />\n </Layout>\n );\n};\n\nexport default Default;\n","import * as React from 'react'\n /* @jsx mdx */\nimport { mdx } from '@mdx-js/react';\n/* @jsxRuntime classic */\n\n/* @jsx mdx */\n\nimport DefaultLayout from \"/home/travis/build/maximo-app-framework/configuration-practices-documentation/node_modules/gatsby-theme-carbon/src/templates/Default.js\";\nexport const _frontmatter = {};\nconst layoutProps = {\n _frontmatter\n};\nconst MDXLayout = DefaultLayout;\nexport default function MDXContent({\n components,\n ...props\n}) {\n return <MDXLayout {...layoutProps} {...props} components={components} mdxType=\"MDXLayout\">\n\n\n <h2>{`About this task`}</h2>\n <p>{`This guide instructs on how to add new priority domain to the system and use it to prioritize work orders.`}</p>\n <h2>{`Procedure`}</h2>\n <h3>{`Step 1: Create a query for the MXAPINUMERICDOMAIN object structure in Object Structures, click on Query Definition, add a new line where Query Type = osclause, Query Name=TRGPRIORITY and set the query= domainid=‘TRG_PRIORITY’.`}</h3>\n <span {...{\n \"className\": \"gatsby-resp-image-wrapper\",\n \"style\": {\n \"position\": \"relative\",\n \"display\": \"block\",\n \"marginLeft\": \"auto\",\n \"marginRight\": \"auto\",\n \"maxWidth\": \"382px\"\n }\n }}>{`\n `}<span parentName=\"span\" {...{\n \"className\": \"gatsby-resp-image-background-image\",\n \"style\": {\n \"paddingBottom\": \"53.81944444444444%\",\n \"position\": \"relative\",\n \"bottom\": \"0\",\n \"left\": \"0\",\n \"backgroundImage\": \"url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAALCAYAAAB/Ca1DAAAACXBIWXMAAAsTAAALEwEAmpwYAAACKUlEQVQoz12S6U/bQBDF/df3QBC1CFqpgrbQT1WlikKViACx43sPJxA7R5uE8gVEDieOQwkh2K/adVMVRvpp1jt+zzueVUqaia1PBeTefsHz3Du8eLWNZzJvYW1zB2ubu1jd2JHr3JtdmV++3sbqxkdZE6ysv8fK+ge5VhijoMSCaxsgjg3OCCqcIqidolH3HxPUUDurZnX/DM26j2YjwGmF47TqyWdF13WUSirKui4xTBOO68J1XRBKQUgGpRSO40LTyiiXy3BdIvcs24aqaRA+lDIopmlC0zTYtv1XTCTCUAgYY48Qe0v+3xMazjkU23HkF4WxKHDuyZdarRb6/T6Gw+EjoihCHMeYTqdotX5Ijed5Es4ZFMPQoWkqVFWVxpZlwTQMdDod9Hp9XF1dYjQaI5pMEIYhBoMBwtEIt7M52u22bFV0Z1u2PIiynz/G3kEexZMS8odHyBeP8fXbPn6eX+A6jNC+GGI4meFmvsD45ha9cIww/o3bRYKg3sD3wiEKRydQdROMcSif90oolkxwj4NyD4QyGKaF6+sr3EwjDIYx7u7usVgIFnh4eECSJBDR6XbhiOFwD5Tx7B96HkOlkvXPGYPHOTijqDXOcdmLgXQhxWmaSpI0xTK63S4IcTMN51nL5MkkRYFSgqD5C+P4XgqTJP1nKCKMZhhN5tJQ3IalGRMnzCbLnxgy+LUztJoN+L6PIAgkvh+gXg9AWBU2qcrJLjXL/AfUqvDKiWejGgAAAABJRU5ErkJggg==')\",\n \"backgroundSize\": \"cover\",\n \"display\": \"block\"\n }\n }}></span>{`\n `}<img parentName=\"span\" {...{\n \"className\": \"gatsby-resp-image-image\",\n \"alt\": \"Query Definition\",\n \"title\": \"Query Definition\",\n \"src\": \"/configuration-practices-documentation/static/db0749f8c24309bd32555413d8a618a3/f8069/query-definition.png\",\n \"srcSet\": [\"/configuration-practices-documentation/static/db0749f8c24309bd32555413d8a618a3/7fc1e/query-definition.png 288w\", \"/configuration-practices-documentation/static/db0749f8c24309bd32555413d8a618a3/f8069/query-definition.png 382w\"],\n \"sizes\": \"(max-width: 382px) 100vw, 382px\",\n \"style\": {\n \"width\": \"100%\",\n \"height\": \"100%\",\n \"margin\": \"0\",\n \"verticalAlign\": \"middle\",\n \"position\": \"absolute\",\n \"top\": \"0\",\n \"left\": \"0\"\n },\n \"loading\": \"lazy\",\n \"decoding\": \"async\"\n }}></img>{`\n `}</span>\n <h3>{`Step 2: Create a datasource, within the scope of the application, to receive the data from the query created above. Search for “Maximo Datasources” in the xml and add the datasource.`}</h3>\n <pre><code parentName=\"pre\" {...{\n \"className\": \"language-xml\"\n }}>{`<maximo-datasource id=\"trg_WoPrioritylookupDS\" lookup-data=\"true\" object-structure=\"mxapinumericdomain\" offline-immediate-download=\"true\" saved-query=\"TRGPRIORITY\" selection-mode=\"single\">\n <schema id=\"trg_p45xd\">\n <attribute name=\"value\" unique-id=\"true\" id=\"trg_ej7z_\"/>\n <attribute name=\"valueid\" id=\"trg_d899w\"/>\n <attribute name=\"description\" id=\"trg_r5v9p\"/>\n <attribute name=\"domainid\" searchable=\"true\" id=\"trg_rawkp\"/>\n <attribute name=\"siteid\" id=\"trg_d4w_g\"/>\n <attribute name=\"orgid\" id=\"trg_qqny3\"/>\n </schema>\n </maximo-datasource>\n`}</code></pre>\n <h3>{`Step 3: Create a domain with the name “TRG_PRIORITY” and associate it with the datasource created “trg_WoPrioritylookupDS” in the app.xml, it must be placed before id=“synonymdomainData”. Search for id=“trg_WoPrioritylookupDS” and add the dialog.`}</h3>\n <blockquote>\n <p parentName=\"blockquote\">{`The order matters. The datasource referenced in the lookup should be declared before using it.`}</p>\n </blockquote>\n <pre><code parentName=\"pre\" {...{\n \"className\": \"language-xml\"\n }}>{` <dialogs id=\"applookups\">\n <lookup id=\"trg_woPriorityLookup\" datasource=\"trg_WoPrioritylookupDS\" lookup-attributes=\"{['value','description']}\" search-placeholder=\"Search WO Priority\"/>\n </dialogs>\n`}</code></pre>\n <h3>{`Step 4: Associate the lookup with the controllers. The controllers in this case are two smart -inputs with identification yqkzy (woedit page) and j8265 (createwo page). Locate the tag of the related IDs and add the following attributes: enable-lookup-buttongroup=“true”, input-kind=“ALN”, lookup=“woPriorityLookup” and select-lookup-attribute=“value”`}</h3>\n <pre><code parentName=\"pre\" {...{\n \"className\": \"language-xml\"\n }}>{` <smart-input label=\"Priority\" hide-step-buttons=\"true\" placeholder=\"Enter {page.state.minPriority} to {page.state.maxPriority}\" value=\"{dsWoedit.item.wopriority}\" on-blur=\"validateFields\" min=\"{page.state.minPriority}\" max=\"{page.state.maxPriority}\" enable-lookup-buttongroup=\"true\" input-kind=\"ALN\" lookup=\"trg_woPriorityLookup\" select-lookup-attribute=\"value\" id=\"yqkzy\"/>\n\n <smart-input label=\"Priority\" hide-step-buttons=\"true\" placeholder=\"Enter {page.state.minPriority} to {page.state.maxPriority}\" value=\"{dsCreateWo.item.wopriority}\" on-blur=\"validateFields\" min=\"{page.state.minPriority}\" max=\"{page.state.maxPriority}\" id=\"j8265\" enable-lookup-buttongroup=\"true\" input-kind=\"ALN\" lookup=\"trg_woPriorityLookup\" select-lookup-attribute=\"value\"/>\n`}</code></pre>\n\n </MDXLayout>;\n}\n;\nMDXContent.isMDXComponent = true;\n "],"names":["title","theme","tabs","className","cx","length","id","relativePagePath","repositoryProp","repository","useStaticQuery","site","siteMetadata","baseUrl","subDirectory","href","branch","PageTabs","render","this","props","slug","currentTab","split","filter","Boolean","slice","pageTabs","map","tab","slugifiedTab","slugify","lower","strict","selected","currentTabRegex","RegExp","replace","key","Link","to","React","date","lastModified","Date","toLocaleDateString","day","year","month","pageContext","children","location","Title","frontmatter","titleType","frontmatterTheme","description","keywords","interiorTheme","useMetadata","pathPrefix","pathname","Layout","homepage","pageTitle","pageDescription","pageKeywords","label","Main","padded","NextPrevious","Utils","_frontmatter","layoutProps","MDXLayout","DefaultLayout","MDXContent","components","mdxType","parentName","isMDXComponent"],"sourceRoot":""}