@kong-ui-public/documentation 0.8.27-pr.2132.c7fba69a4.0 → 0.8.27
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.
- package/dist/_basePickBy-DF_KwdVi-HVXnmpaQ.js +151 -0
- package/dist/_baseUniq-DefQzZRT-CTix3bMY.js +614 -0
- package/dist/arc-B4xWw-B6-BGnuysbe.js +83 -0
- package/dist/architecture-I3QFYML2-7TNhn42L-52ENK4nk.js +5 -0
- package/dist/architectureDiagram-UYN6MBPD-Bg70hFZ--BirbHF75.js +4592 -0
- package/dist/astro-Uf8_VxKJ-CZxoSljj.js +16 -0
- package/dist/blockDiagram-ZHA2E4KO-Ylh05M-x-AVJfewxx.js +2247 -0
- package/dist/c-DASdrs7p-DASdrs7p.js +6 -0
- package/dist/c4Diagram-6F5ED5ID-BA0B_CmS-WdUKqC7Z.js +1581 -0
- package/dist/channel-B5uWur4x-BHu9WG2d.js +5 -0
- package/dist/chunk-5HRBRIJM-B7MbirM8-YDLjZbXN.js +24 -0
- package/dist/chunk-7U56Z5CX-CfNu7Hr2-BQzILIp1.js +1213 -0
- package/dist/chunk-ASOPGD6M-CwvgmaRl-BZAjlsEd.js +64 -0
- package/dist/chunk-KFBOBJHC-BB675Bua-GRhe6aGs.js +15 -0
- package/dist/chunk-T2TOU4HS-BgV1wucS-5Sa82KgW.js +1301 -0
- package/dist/chunk-TMUBEWPD-C22TGOO0-Bl2u--DY.js +9 -0
- package/dist/classDiagram-LNE6IOMH-D5SiSVyM-BbV9LB8E.js +14 -0
- package/dist/classDiagram-v2-MQ7JQ4JX-D5SiSVyM-BbV9LB8E.js +14 -0
- package/dist/clone-CmU1hwye-Lu5-ol5h.js +8 -0
- package/dist/csharp-CYWRhZ2R-CYWRhZ2R.js +6 -0
- package/dist/css-D1aVdRIU-D1aVdRIU.js +6 -0
- package/dist/csv-DvCncUGQ-Tno401i9.js +6 -0
- package/dist/cytoscape.esm-DAyNQ0qu-B7WxGuVh.js +16110 -0
- package/dist/dagre-4EVJKHTY-DMTVcQfE-C1Tr0EYY.js +447 -0
- package/dist/diagram-QW4FP2JN-jc61JuWr-DOMFELfS.js +126 -0
- package/dist/diff-XmNrvgM1-XmNrvgM1.js +6 -0
- package/dist/docker-DWH2onkn-DWH2onkn.js +6 -0
- package/dist/documentation.es.js +7 -0
- package/dist/documentation.umd.js +2404 -0
- package/dist/erDiagram-6RL3IURR-1byskxwI-B-wzYh8R.js +937 -0
- package/dist/flowDiagram-7ASYPVHJ-B3phEI8o-CVXSVDmh.js +1484 -0
- package/dist/ganttDiagram-NTVNEXSI-vYnO_T5c-Ccxkb7aQ.js +2491 -0
- package/dist/git-commit-BspYIY3P-VkbIfR3L.js +8 -0
- package/dist/git-rebase--zLBTjUa-DEW2tfKx.js +8 -0
- package/dist/gitGraph-YCYPL57B-DPx67Iu5-BPrLSH0g.js +5 -0
- package/dist/gitGraphDiagram-NRZ2UAAF-BHxB7Gjs-CeRxz6oW.js +712 -0
- package/dist/go-BErP6iv1-BErP6iv1.js +6 -0
- package/dist/graph-_eClejaU-DigE4Bf5.js +247 -0
- package/dist/graphql-DWpQF4JI-C-3VJmtp.js +14 -0
- package/dist/haml-CMN0hQaL-BV5BsZTy.js +10 -0
- package/dist/handlebars-Cc-7fXX5-B9YgDKzT.js +14 -0
- package/dist/haskell-CtlGos0K-CtlGos0K.js +6 -0
- package/dist/html-B0P_v3yU-BojM9zZg.js +10 -0
- package/dist/html-derivative-BJFFAxYV-iD6NAoKm.js +8 -0
- package/dist/http-Dcjm_K1m-1LFSbOE1.js +14 -0
- package/dist/index-B_RqyDIa.js +37033 -0
- package/dist/info-46DW6VJ7-DeIQKKyY-CVPexu5P.js +5 -0
- package/dist/infoDiagram-A4XQUW5V-Cx0WE_JZ-B_t8JIcX.js +22 -0
- package/dist/ini-BUcvsX-U-BUcvsX-U.js +6 -0
- package/dist/init-DjUOC4st-C8Nwz6AJ.js +16 -0
- package/dist/java-B7odJ7Ap-B7odJ7Ap.js +6 -0
- package/dist/javascript-fa8UlHZE-fa8UlHZE.js +6 -0
- package/dist/journeyDiagram-G5WM74LC-CUWL5R5G-DWlpHybW.js +810 -0
- package/dist/json-71t8ZF9g-71t8ZF9g.js +6 -0
- package/dist/json5-Z7F6rA6a-Z7F6rA6a.js +6 -0
- package/dist/jsonc-Dphhs4m2-Dphhs4m2.js +6 -0
- package/dist/jsonl-D9jj92Gg-D9jj92Gg.js +6 -0
- package/dist/jsx-Bkesy5tT-Bkesy5tT.js +6 -0
- package/dist/kanban-definition-QRCXZQQD-r5CdvT2h-BUkOeUnm.js +718 -0
- package/dist/katex-Qk2jHgyB-CF_fuFJb.js +11637 -0
- package/dist/kotlin-DCgZY7Ii-DCgZY7Ii.js +6 -0
- package/dist/latex-CZXk8SiZ-DbjDPp_f.js +11 -0
- package/dist/layout-DfjmtgNY-Bw6LFOXt.js +1321 -0
- package/dist/less-DQA4v-Nm-DQA4v-Nm.js +6 -0
- package/dist/linear-BGmbGdcc-C--Nxp9Q.js +423 -0
- package/dist/liquid-CvufO3kO-D90bBAdm.js +14 -0
- package/dist/lua-BVfhNLDr-DAa90qLN.js +8 -0
- package/dist/make-BjuHP00g-BjuHP00g.js +6 -0
- package/dist/markdown-B6guhLWd-B6guhLWd.js +6 -0
- package/dist/material-theme-lighter-BUBw43Yz-BUBw43Yz.js +4 -0
- package/dist/material-theme-palenight-C1RVm8K1-C1RVm8K1.js +4 -0
- package/dist/mdc-Bq810vct-Dr8CpN8f.js +12 -0
- package/dist/mdx-DIoECIFU-DIoECIFU.js +6 -0
- package/dist/mermaid-BZ7WHNIe-BZ7WHNIe.js +6 -0
- package/dist/mermaid-parser.core-DxgZuQQq-uP-grJig.js +12400 -0
- package/dist/mindmap-definition-GWI6TPTV-DX5GL05M-B8Eu6UCe.js +3219 -0
- package/dist/nginx-Can2eAjw-DKMoypYC.js +8 -0
- package/dist/objective-c-BGg9R27G-BGg9R27G.js +6 -0
- package/dist/ordinal-DfAQgscy-BEJTu10r.js +61 -0
- package/dist/packet-W2GHVCYJ-CI_-E3C--D1lo2o0i.js +5 -0
- package/dist/pascal-l2bqd7Dz-l2bqd7Dz.js +6 -0
- package/dist/perl-DaMQyPwp-Cxx4wmV7.js +16 -0
- package/dist/php-BL3EfPBi-BZu5YwDX.js +18 -0
- package/dist/pie-BEWT4RHE-B52QOymI-BoBX6ZnD.js +5 -0
- package/dist/pieDiagram-YF2LJOPJ-IHpbN7M9-BBPOh3m7.js +161 -0
- package/dist/plsql-oVq_K_wH-oVq_K_wH.js +6 -0
- package/dist/postcss-BZ3MNRIJ-BZ3MNRIJ.js +6 -0
- package/dist/powershell-Diwyv8Eh-Diwyv8Eh.js +6 -0
- package/dist/proto-o9HLmF90-o9HLmF90.js +6 -0
- package/dist/pug-HKe4Luo3-BYb0El_4.js +12 -0
- package/dist/python-xYxLFJY--xYxLFJY-.js +6 -0
- package/dist/quadrantDiagram-OS5C2QUG-DyfTAjs0-CvYOplDG.js +1024 -0
- package/dist/r-F-9I-ITZ-F-9I-ITZ.js +6 -0
- package/dist/reg-CMUdAgIP-CMUdAgIP.js +6 -0
- package/dist/requirementDiagram-MIRIMTAZ-DpFia6HM-BNS6fGqi.js +768 -0
- package/dist/rst-B8JEEtLI-Dyxh6LOj.js +22 -0
- package/dist/ruby-FDlfLkNa-nf7VLvCK.js +50 -0
- package/dist/rust-Pc7DCsZD-Pc7DCsZD.js +6 -0
- package/dist/sankeyDiagram-Y46BX6SQ-a6p3ZaX0-Cwasp0IA.js +805 -0
- package/dist/sass-iCyS6eP9-iCyS6eP9.js +6 -0
- package/dist/scss-DhHc4lxB-D1lMETuy.js +8 -0
- package/dist/sequenceDiagram-G6AWOVSC-DlZ7du4U-z70BwBnZ.js +2274 -0
- package/dist/shellscript-Dn0-btNd-Dn0-btNd.js +6 -0
- package/dist/shellsession-8OLo3sB6-DD6AdPYk.js +8 -0
- package/dist/splunk-CTqDjQdo-CTqDjQdo.js +6 -0
- package/dist/sql-DCkt643--DCkt643-.js +6 -0
- package/dist/ssh-config-DHHGll-v-DHHGll-v.js +6 -0
- package/dist/stateDiagram-MAYHULR4-tK3TdntS-PielUO6n.js +268 -0
- package/dist/stateDiagram-v2-4JROLMXI-Ib4sJL3A--uDyhxdT.js +14 -0
- package/dist/style.css +1 -0
- package/dist/stylus-n_9f0QQ5-n_9f0QQ5.js +6 -0
- package/dist/svelte-01qw6Rxm-Cjp5Srko.js +14 -0
- package/dist/swift-BAWqNR8A-BAWqNR8A.js +6 -0
- package/dist/timeline-definition-U7ZMHBDA-Db9d-9_E-kHwjVd5T.js +804 -0
- package/dist/toml-CQSfOn0e-CQSfOn0e.js +6 -0
- package/dist/tsx-DiGsgWT8-DiGsgWT8.js +6 -0
- package/dist/twig-DxrNSc26-BIWbKTFO.js +18 -0
- package/dist/types/components/DocumentationContent.vue.d.ts +177 -0
- package/dist/types/components/DocumentationContent.vue.d.ts.map +1 -0
- package/dist/types/components/DocumentationDisplay.vue.d.ts +323 -0
- package/dist/types/components/DocumentationDisplay.vue.d.ts.map +1 -0
- package/dist/types/components/DocumentationPageEmptyState.vue.d.ts +30 -0
- package/dist/types/components/DocumentationPageEmptyState.vue.d.ts.map +1 -0
- package/dist/types/components/ProductDocumentModal.vue.d.ts +71 -0
- package/dist/types/components/ProductDocumentModal.vue.d.ts.map +1 -0
- package/dist/types/composables/index.d.ts +6 -0
- package/dist/types/composables/index.d.ts.map +1 -0
- package/dist/types/composables/useI18n.d.ts +9 -0
- package/dist/types/composables/useI18n.d.ts.map +1 -0
- package/dist/types/external-links.d.ts +5 -0
- package/dist/types/external-links.d.ts.map +1 -0
- package/dist/types/helpers.d.ts +8 -0
- package/dist/types/helpers.d.ts.map +1 -0
- package/dist/types/index.d.ts +7 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/types/document-list.d.ts +28 -0
- package/dist/types/types/document-list.d.ts.map +1 -0
- package/dist/types/types/document-modal.d.ts +8 -0
- package/dist/types/types/document-modal.d.ts.map +1 -0
- package/dist/types/types/index.d.ts +3 -0
- package/dist/types/types/index.d.ts.map +1 -0
- package/dist/typescript-buWNZFwO-buWNZFwO.js +6 -0
- package/dist/v-wa8Orrdd-wa8Orrdd.js +6 -0
- package/dist/vb-E2_-jk4M-E2_-jk4M.js +6 -0
- package/dist/viml-B-zWOd7Z-B-zWOd7Z.js +6 -0
- package/dist/vue-DdqTpW8B-BrYVXV7A.js +31 -0
- package/dist/vue-html-B9t4RWro-D1UeMTSX.js +10 -0
- package/dist/wasm-Bv5f0gKv-Bv5f0gKv.js +6 -0
- package/dist/wgsl-DnPoPGDU-DnPoPGDU.js +6 -0
- package/dist/xml-ChBsf5uy-0Ovnixsj.js +8 -0
- package/dist/xsl-BefjlXrd-CZ7IlB9K.js +8 -0
- package/dist/xychartDiagram-6QU3TZC5-L2EgHpF7-Dbx9eZ7M.js +1304 -0
- package/dist/yaml-Bbg74JKr-Bbg74JKr.js +6 -0
- package/package.json +2 -2
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import t from "./css-D1aVdRIU-D1aVdRIU.js";
|
|
2
|
+
import e from "./javascript-fa8UlHZE-fa8UlHZE.js";
|
|
3
|
+
import n from "./scss-DhHc4lxB-D1lMETuy.js";
|
|
4
|
+
import i from "./php-BL3EfPBi-BZu5YwDX.js";
|
|
5
|
+
import a from "./python-xYxLFJY--xYxLFJY-.js";
|
|
6
|
+
import { r as s } from "./ruby-FDlfLkNa-nf7VLvCK.js";
|
|
7
|
+
const r = Object.freeze(JSON.parse(`{"displayName":"Twig","fileTypes":["twig","html.twig"],"firstLineMatch":"<!(?i:DOCTYPE)|<(?i:html)|<\\\\?(?i:php)|\\\\{\\\\{|\\\\{%|\\\\{#","foldingStartMarker":"(<(?i:body|div|dl|fieldset|form|head|li|ol|script|select|style|table|tbody|tfoot|thead|tr|ul)\\\\b.*?>|<!--(?!.*--\\\\s*>)|^<!--\\\\ \\\\#tminclude\\\\ (?>.*?-->)$|\\\\{%\\\\s+(autoescape|block|embed|filter|for|if|macro|raw|sandbox|set|spaceless|trans|verbatim))","foldingStopMarker":"(</(?i:body|div|dl|fieldset|form|head|li|ol|script|select|style|table|tbody|tfoot|thead|tr|ul)>|^(?!.*?<!--).*?--\\\\s*>|^<!--\\\\ end\\\\ tminclude\\\\ -->$|\\\\{%\\\\s+end(autoescape|block|embed|filter|for|if|macro|raw|sandbox|set|spaceless|trans|verbatim))","name":"twig","patterns":[{"begin":"(<)([a-zA-Z0-9:]++)(?=[^>]*></\\\\2>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.html"}},"end":"(>(<)/)(\\\\2)(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"meta.scope.between-tag-pair.html"},"3":{"name":"entity.name.tag.html"},"4":{"name":"punctuation.definition.tag.html"}},"name":"meta.tag.any.html","patterns":[{"include":"#tag-stuff"}]},{"begin":"(<\\\\?)(xml)","captures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.xml.html"}},"end":"(\\\\?>)","name":"meta.tag.preprocessor.xml.html","patterns":[{"include":"#tag-generic-attribute"},{"include":"#string-double-quoted"},{"include":"#string-single-quoted"}]},{"begin":"<!--","captures":{"0":{"name":"punctuation.definition.comment.html"}},"end":"--\\\\s*>","name":"comment.block.html","patterns":[{"match":"--","name":"invalid.illegal.bad-comments-or-CDATA.html"},{"include":"#embedded-code"}]},{"begin":"<!","captures":{"0":{"name":"punctuation.definition.tag.html"}},"end":">","name":"meta.tag.sgml.html","patterns":[{"begin":"(?i:DOCTYPE)","captures":{"1":{"name":"entity.name.tag.doctype.html"}},"end":"(?=>)","name":"meta.tag.sgml.doctype.html","patterns":[{"match":"\\"[^\\">]*\\"","name":"string.quoted.double.doctype.identifiers-and-DTDs.html"}]},{"begin":"\\\\[CDATA\\\\[","end":"]](?=>)","name":"constant.other.inline-data.html"},{"match":"(\\\\s*)(?!--|>)\\\\S(\\\\s*)","name":"invalid.illegal.bad-comments-or-CDATA.html"}]},{"include":"#embedded-code"},{"begin":"(?:^\\\\s+)?(<)((?i:style))\\\\b(?![^>]*/>)","captures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.style.html"},"3":{"name":"punctuation.definition.tag.html"}},"end":"(</)((?i:style))(>)(?:\\\\s*\\\\n)?","name":"source.css.embedded.html","patterns":[{"include":"#tag-stuff"},{"begin":"(>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.html"}},"end":"(?=</(?i:style))","patterns":[{"include":"#embedded-code"},{"include":"source.css"}]}]},{"begin":"(?:^\\\\s+)?(<)((?i:script))\\\\b(?![^>]*/>)","beginCaptures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.script.html"}},"end":"(?<=</(script|SCRIPT))(>)(?:\\\\s*\\\\n)?","endCaptures":{"2":{"name":"punctuation.definition.tag.html"}},"name":"source.js.embedded.html","patterns":[{"include":"#tag-stuff"},{"begin":"(?<!</(?:script|SCRIPT))(>)","captures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.script.html"}},"end":"(</)((?i:script))","patterns":[{"captures":{"1":{"name":"punctuation.definition.comment.js"}},"match":"(//).*?((?=<\/script)|$\\\\n?)","name":"comment.line.double-slash.js"},{"begin":"/\\\\*","captures":{"0":{"name":"punctuation.definition.comment.js"}},"end":"\\\\*/|(?=<\/script)","name":"comment.block.js"},{"include":"#php"},{"include":"#twig-print-tag"},{"include":"#twig-statement-tag"},{"include":"#twig-comment-tag"},{"include":"source.js"}]}]},{"begin":"(?ix) # Enable free spacing mode, case insensitive\\n # Make sure our opening js tag has word boundaries\\n (?<=\\\\{\\\\%\\\\sjs\\\\s\\\\%\\\\}|\\\\{\\\\%\\\\sincludejs\\\\s\\\\%\\\\})\\n ","comment":"Add JS support to set tags that use the pattern \\"css\\" in their name","end":"(?ix)(?=\\\\{\\\\%\\\\sendjs\\\\s\\\\%\\\\}|\\\\{\\\\%\\\\sendincludejs\\\\s\\\\%\\\\})","name":"source.js.embedded.twig","patterns":[{"include":"source.js"}]},{"begin":"(?ix) # Enable free spacing mode, case insensitive\\n (?<=\\\\{\\\\%\\\\scss\\\\s\\\\%\\\\}|\\\\{\\\\%\\\\sincludecss\\\\s\\\\%\\\\}|\\\\{\\\\%\\\\sincludehirescss\\\\s\\\\%\\\\})\\n ","comment":"Add CSS support to set tags that use the pattern \\"css\\" in their name","end":"(?ix)(?=\\\\{\\\\%\\\\sendcss\\\\s\\\\%\\\\}|\\\\{\\\\%\\\\sendincludecss\\\\s\\\\%\\\\}|\\\\{\\\\%\\\\sendincludehirescss\\\\s\\\\%\\\\})","name":"source.css.embedded.twig","patterns":[{"include":"source.css"}]},{"begin":"(?ix) # Enable free spacing mode, case insensitive\\n (?<=\\\\{\\\\%\\\\sscss\\\\s\\\\%\\\\}|\\\\{\\\\%\\\\sincludescss\\\\s\\\\%\\\\}|\\\\{\\\\%\\\\sincludehiresscss\\\\s\\\\%\\\\})\\n ","comment":"Add SCSS support to set tags that use the pattern \\"scss\\" in their name","end":"(?ix)(?=\\\\{\\\\%\\\\sendscss\\\\s\\\\%\\\\}|\\\\{\\\\%\\\\sendincludescss\\\\s\\\\%\\\\}|\\\\{\\\\%\\\\sendincludehiresscss\\\\s\\\\%\\\\})","name":"source.css.scss.embedded.twig","patterns":[{"include":"source.css.scss"}]},{"begin":"(</?)((?i:body|head|html)\\\\b)","captures":{"1":{"name":"punctuation.definition.tag.html"},"2":{"name":"entity.name.tag.structure.any.html"}},"end":"(>)","name":"meta.tag.structure.any.html","patterns":[{"include":"#tag-stuff"}]},{"begin":"(</?)((?i:address|blockquote|dd|div|dl|dt|fieldset|form|frame|frameset|h1|h2|h3|h4|h5|h6|iframe|noframes|object|ol|p|ul|applet|center|dir|hr|menu|pre)\\\\b)","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.block.any.html"}},"end":"(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}},"name":"meta.tag.block.any.html","patterns":[{"include":"#tag-stuff"}]},{"begin":"(</?)((?i:a|abbr|acronym|area|b|base|basefont|bdo|big|br|button|caption|cite|code|col|colgroup|del|dfn|em|font|head|html|i|img|input|ins|isindex|kbd|label|legend|li|link|map|meta|noscript|optgroup|option|param|q|s|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|u|var)\\\\b)","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.inline.any.html"}},"end":"((?: ?/)?>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}},"name":"meta.tag.inline.any.html","patterns":[{"include":"#tag-stuff"}]},{"begin":"(</?)([a-zA-Z0-9:]+)","beginCaptures":{"1":{"name":"punctuation.definition.tag.begin.html"},"2":{"name":"entity.name.tag.other.html"}},"end":"(>)","endCaptures":{"1":{"name":"punctuation.definition.tag.end.html"}},"name":"meta.tag.other.html","patterns":[{"include":"#tag-stuff"}]},{"include":"#entities"},{"match":"<>","name":"invalid.illegal.incomplete.html"},{"match":"<","name":"invalid.illegal.bad-angle-bracket.html"},{"include":"#twig-print-tag"},{"include":"#twig-statement-tag"},{"include":"#twig-comment-tag"}],"repository":{"embedded-code":{"patterns":[{"include":"#ruby"},{"include":"#php"},{"include":"#twig-print-tag"},{"include":"#twig-statement-tag"},{"include":"#twig-comment-tag"},{"include":"#python"}]},"entities":{"patterns":[{"captures":{"1":{"name":"punctuation.definition.entity.html"},"3":{"name":"punctuation.definition.entity.html"}},"match":"(&)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)","name":"constant.character.entity.html"},{"match":"&","name":"invalid.illegal.bad-ampersand.html"}]},"php":{"begin":"(?=(^\\\\s*)?<\\\\?)","end":"(?!(^\\\\s*)?<\\\\?)","patterns":[{"include":"source.php"}]},"python":{"begin":"(?:^\\\\s*)<\\\\?python(?!.*\\\\?>)","end":"\\\\?>(?:\\\\s*$\\\\n)?","name":"source.python.embedded.html","patterns":[{"include":"source.python"}]},"ruby":{"patterns":[{"begin":"<%+#","captures":{"0":{"name":"punctuation.definition.comment.erb"}},"end":"%>","name":"comment.block.erb"},{"begin":"<%+(?!>)=?","captures":{"0":{"name":"punctuation.section.embedded.ruby"}},"end":"-?%>","name":"source.ruby.embedded.html","patterns":[{"captures":{"1":{"name":"punctuation.definition.comment.ruby"}},"match":"(#).*?(?=-?%>)","name":"comment.line.number-sign.ruby"},{"include":"source.ruby"}]},{"begin":"<\\\\?r(?!>)=?","captures":{"0":{"name":"punctuation.section.embedded.ruby.nitro"}},"end":"-?\\\\?>","name":"source.ruby.nitro.embedded.html","patterns":[{"captures":{"1":{"name":"punctuation.definition.comment.ruby.nitro"}},"match":"(#).*?(?=-?\\\\?>)","name":"comment.line.number-sign.ruby.nitro"},{"include":"source.ruby"}]}]},"string-double-quoted":{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}},"name":"string.quoted.double.html","patterns":[{"include":"#embedded-code"},{"include":"#entities"}]},"string-single-quoted":{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}},"name":"string.quoted.single.html","patterns":[{"include":"#embedded-code"},{"include":"#entities"}]},"tag-generic-attribute":{"match":"\\\\b([a-zA-Z\\\\-:]+)","name":"entity.other.attribute-name.html"},"tag-id-attribute":{"begin":"\\\\b(id)\\\\b\\\\s*(=)","captures":{"1":{"name":"entity.other.attribute-name.id.html"},"2":{"name":"punctuation.separator.key-value.html"}},"end":"(?<='|\\")","name":"meta.attribute-with-value.id.html","patterns":[{"begin":"\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"contentName":"meta.toc-list.id.html","end":"\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}},"name":"string.quoted.double.html","patterns":[{"include":"#embedded-code"},{"include":"#entities"}]},{"begin":"'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.html"}},"contentName":"meta.toc-list.id.html","end":"'","endCaptures":{"0":{"name":"punctuation.definition.string.end.html"}},"name":"string.quoted.single.html","patterns":[{"include":"#embedded-code"},{"include":"#entities"}]}]},"tag-stuff":{"patterns":[{"include":"#tag-id-attribute"},{"include":"#tag-generic-attribute"},{"include":"#string-double-quoted"},{"include":"#string-single-quoted"},{"include":"#embedded-code"}]},"twig-arrays":{"begin":"(?<=[\\\\s\\\\(\\\\{\\\\[:,])\\\\[","beginCaptures":{"0":{"name":"punctuation.section.array.begin.twig"}},"end":"\\\\]","endCaptures":{"0":{"name":"punctuation.section.array.end.twig"}},"name":"meta.array.twig","patterns":[{"include":"#twig-arrays"},{"include":"#twig-hashes"},{"include":"#twig-constants"},{"include":"#twig-operators"},{"include":"#twig-strings"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"match":",","name":"punctuation.separator.object.twig"}]},"twig-comment-tag":{"begin":"\\\\{#-?","beginCaptures":{"0":{"name":"punctuation.definition.comment.begin.twig"}},"end":"-?#\\\\}","endCaptures":{"0":{"name":"punctuation.definition.comment.end.twig"}},"name":"comment.block.twig"},"twig-constants":{"patterns":[{"match":"(?i)(?<=[\\\\s\\\\[\\\\(\\\\{:,])(?:true|false|null|none)(?=[\\\\s\\\\)\\\\]\\\\}\\\\,])","name":"constant.language.twig"},{"match":"(?<=[\\\\s\\\\[\\\\(\\\\{:,]|\\\\.\\\\.|\\\\*\\\\*)[0-9]+(?:\\\\.[0-9]+)?(?=[\\\\s\\\\)\\\\]\\\\}\\\\,]|\\\\.\\\\.|\\\\*\\\\*)","name":"constant.numeric.twig"}]},"twig-filters":{"captures":{"1":{"name":"support.function.twig"}},"match":"(?<=(?:[a-zA-Z0-9_\\\\x{7f}-\\\\x{ff}\\\\]\\\\)\\\\'\\\\\\"]\\\\|)|\\\\{%\\\\sfilter\\\\s)(abs|capitalize|e(?:scape)?|first|join|(?:json|url)_encode|keys|last|length|lower|nl2br|number_format|raw|reverse|round|sort|striptags|title|trim|upper)(?=[\\\\s\\\\|\\\\]\\\\}\\\\):,]|\\\\.\\\\.|\\\\*\\\\*)"},"twig-filters-ud":{"captures":{"1":{"name":"meta.function-call.other.twig"}},"match":"(?<=(?:[a-zA-Z0-9_\\\\x{7f}-\\\\x{ff}\\\\]\\\\)\\\\'\\\\\\"]\\\\|)|\\\\{%\\\\sfilter\\\\s)([a-zA-Z_\\\\x{7f}-\\\\x{ff}][a-zA-Z0-9_\\\\x{7f}-\\\\x{ff}]*)"},"twig-filters-warg":{"begin":"(?<=(?:[a-zA-Z0-9_\\\\x{7f}-\\\\x{ff}\\\\]\\\\)\\\\'\\\\\\"]\\\\|)|\\\\{%\\\\sfilter\\\\s)(batch|convert_encoding|date|date_modify|default|e(?:scape)?|format|join|merge|number_format|replace|round|slice|split|trim)(\\\\()","beginCaptures":{"1":{"name":"support.function.twig"},"2":{"name":"punctuation.definition.parameters.begin.twig"}},"contentName":"meta.function.arguments.twig","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.twig"}},"patterns":[{"include":"#twig-constants"},{"include":"#twig-operators"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"},{"include":"#twig-hashes"}]},"twig-filters-warg-ud":{"begin":"(?<=(?:[a-zA-Z0-9_\\\\x{7f}-\\\\x{ff}\\\\]\\\\)\\\\'\\\\\\"]\\\\|)|\\\\{%\\\\sfilter\\\\s)([a-zA-Z_\\\\x{7f}-\\\\x{ff}][a-zA-Z0-9_\\\\x{7f}-\\\\x{ff}]*)(\\\\()","beginCaptures":{"1":{"name":"meta.function-call.other.twig"},"2":{"name":"punctuation.definition.parameters.begin.twig"}},"contentName":"meta.function.arguments.twig","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.twig"}},"patterns":[{"include":"#twig-constants"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"},{"include":"#twig-hashes"}]},"twig-functions":{"captures":{"1":{"name":"support.function.twig"}},"match":"(?<=is\\\\s)(defined|empty|even|iterable|odd)"},"twig-functions-warg":{"begin":"(?<=[\\\\s\\\\(\\\\[\\\\{:,])(attribute|block|constant|cycle|date|divisible by|dump|include|max|min|parent|random|range|same as|source|template_from_string)(\\\\()","beginCaptures":{"1":{"name":"support.function.twig"},"2":{"name":"punctuation.definition.parameters.begin.twig"}},"contentName":"meta.function.arguments.twig","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.twig"}},"patterns":[{"include":"#twig-constants"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"}]},"twig-hashes":{"begin":"(?<=[\\\\s\\\\(\\\\{\\\\[:,])\\\\{","beginCaptures":{"0":{"name":"punctuation.section.hash.begin.twig"}},"end":"\\\\}","endCaptures":{"0":{"name":"punctuation.section.hash.end.twig"}},"name":"meta.hash.twig","patterns":[{"include":"#twig-hashes"},{"include":"#twig-arrays"},{"include":"#twig-constants"},{"include":"#twig-operators"},{"include":"#twig-strings"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"match":":","name":"punctuation.separator.key-value.twig"},{"match":",","name":"punctuation.separator.object.twig"}]},"twig-keywords":{"match":"(?<=\\\\s)((?:end)?(?:autoescape|block|embed|filter|for|if|macro|raw|sandbox|set|spaceless|trans|verbatim)|as|do|else|elseif|extends|flush|from|ignore missing|import|include|only|use|with)(?=\\\\s)","name":"keyword.control.twig"},"twig-macros":{"begin":"(?<=[\\\\s\\\\(\\\\[\\\\{:,])([a-zA-Z_\\\\x{7f}-\\\\x{ff}][a-zA-Z0-9_\\\\x{7f}-\\\\x{ff}]*)(?:(\\\\.)([a-zA-Z_\\\\x{7f}-\\\\x{ff}][a-zA-Z0-9_\\\\x{7f}-\\\\x{ff}]*))?(\\\\()","beginCaptures":{"1":{"name":"meta.function-call.twig"},"2":{"name":"punctuation.separator.property.twig"},"3":{"name":"variable.other.property.twig"},"4":{"name":"punctuation.definition.parameters.begin.twig"}},"contentName":"meta.function.arguments.twig","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.twig"}},"patterns":[{"include":"#twig-constants"},{"include":"#twig-operators"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"},{"include":"#twig-hashes"}]},"twig-objects":{"captures":{"1":{"name":"variable.other.twig"}},"match":"(?<=[\\\\s\\\\{\\\\[\\\\(:,])([a-zA-Z_\\\\x{7f}-\\\\x{ff}][a-zA-Z0-9_\\\\x{7f}-\\\\x{ff}]*)(?=[\\\\s\\\\}\\\\[\\\\]\\\\(\\\\)\\\\.\\\\|,:])"},"twig-operators":{"patterns":[{"captures":{"1":{"name":"keyword.operator.arithmetic.twig"}},"match":"(?<=\\\\s)(\\\\+|-|//?|%|\\\\*\\\\*?)(?=\\\\s)"},{"captures":{"1":{"name":"keyword.operator.assignment.twig"}},"match":"(?<=\\\\s)(=|~)(?=\\\\s)"},{"captures":{"1":{"name":"keyword.operator.bitwise.twig"}},"match":"(?<=\\\\s)(b-(?:and|or|xor))(?=\\\\s)"},{"captures":{"1":{"name":"keyword.operator.comparison.twig"}},"match":"(?<=\\\\s)((?:!|=)=|<=?|>=?|(?:not )?in|is(?: not)?|(?:ends|starts) with|matches)(?=\\\\s)"},{"captures":{"1":{"name":"keyword.operator.logical.twig"}},"match":"(?<=\\\\s)(\\\\?|:|\\\\?:|\\\\?\\\\?|and|not|or)(?=\\\\s)"},{"captures":{"0":{"name":"keyword.operator.other.twig"}},"match":"(?<=[a-zA-Z0-9_\\\\x{7f}-\\\\x{ff}\\\\]\\\\)'\\"])\\\\.\\\\.(?=[a-zA-Z0-9_\\\\x{7f}-\\\\x{ff}'\\"])"},{"captures":{"0":{"name":"keyword.operator.other.twig"}},"match":"(?<=[a-zA-Z0-9_\\\\x{7f}-\\\\x{ff}\\\\]\\\\}\\\\)'\\"])\\\\|(?=[a-zA-Z_\\\\x{7f}-\\\\x{ff}])"}]},"twig-print-tag":{"begin":"\\\\{\\\\{-?","beginCaptures":{"0":{"name":"punctuation.section.tag.twig"}},"end":"-?\\\\}\\\\}","endCaptures":{"0":{"name":"punctuation.section.tag.twig"}},"name":"meta.tag.template.value.twig","patterns":[{"include":"#twig-constants"},{"include":"#twig-operators"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"},{"include":"#twig-hashes"}]},"twig-properties":{"patterns":[{"captures":{"1":{"name":"punctuation.separator.property.twig"},"2":{"name":"variable.other.property.twig"}},"match":"(?<=[a-zA-Z0-9_\\\\x{7f}-\\\\x{ff}])(\\\\.)([a-zA-Z_\\\\x{7f}-\\\\x{ff}][a-zA-Z0-9_\\\\x{7f}-\\\\x{ff}]*)(?=[\\\\.\\\\s\\\\|\\\\[\\\\)\\\\]\\\\}:,])"},{"begin":"(?<=[a-zA-Z0-9_\\\\x{7f}-\\\\x{ff}])(\\\\.)([a-zA-Z_\\\\x{7f}-\\\\x{ff}][a-zA-Z0-9_\\\\x{7f}-\\\\x{ff}]*)(\\\\()","beginCaptures":{"1":{"name":"punctuation.separator.property.twig"},"2":{"name":"variable.other.property.twig"},"3":{"name":"punctuation.definition.parameters.begin.twig"}},"contentName":"meta.function.arguments.twig","end":"\\\\)","endCaptures":{"0":{"name":"punctuation.definition.parameters.end.twig"}},"patterns":[{"include":"#twig-constants"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-strings"},{"include":"#twig-arrays"}]},{"captures":{"1":{"name":"punctuation.section.array.begin.twig"},"2":{"name":"variable.other.property.twig"},"3":{"name":"punctuation.section.array.end.twig"},"4":{"name":"punctuation.section.array.begin.twig"},"5":{"name":"variable.other.property.twig"},"6":{"name":"punctuation.section.array.end.twig"},"7":{"name":"punctuation.section.array.begin.twig"},"8":{"name":"variable.other.property.twig"},"9":{"name":"punctuation.section.array.end.twig"}},"match":"(?<=[a-zA-Z0-9_\\\\x{7f}-\\\\x{ff}\\\\]])(?:(\\\\[)('[a-zA-Z_\\\\x{7f}-\\\\x{ff}][a-zA-Z0-9_\\\\x{7f}-\\\\x{ff}]*')(\\\\])|(\\\\[)(\\"[a-zA-Z_\\\\x{7f}-\\\\x{ff}][a-zA-Z0-9_\\\\x{7f}-\\\\x{ff}]*\\")(\\\\])|(\\\\[)([a-zA-Z_\\\\x{7f}-\\\\x{ff}][a-zA-Z0-9_\\\\x{7f}-\\\\x{ff}]*)(\\\\]))"}]},"twig-statement-tag":{"begin":"\\\\{%-?","beginCaptures":{"0":{"name":"punctuation.section.tag.twig"}},"end":"-?%\\\\}","endCaptures":{"0":{"name":"punctuation.section.tag.twig"}},"name":"meta.tag.template.block.twig","patterns":[{"include":"#twig-constants"},{"include":"#twig-keywords"},{"include":"#twig-operators"},{"include":"#twig-functions-warg"},{"include":"#twig-functions"},{"include":"#twig-macros"},{"include":"#twig-filters-warg"},{"include":"#twig-filters"},{"include":"#twig-filters-warg-ud"},{"include":"#twig-filters-ud"},{"include":"#twig-objects"},{"include":"#twig-properties"},{"include":"#twig-strings"},{"include":"#twig-arrays"},{"include":"#twig-hashes"}]},"twig-strings":{"patterns":[{"begin":"(?:(?<!\\\\\\\\)|(?<=\\\\\\\\\\\\\\\\))'","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.twig"}},"end":"(?:(?<!\\\\\\\\)|(?<=\\\\\\\\\\\\\\\\))'","endCaptures":{"0":{"name":"punctuation.definition.string.end.twig"}},"name":"string.quoted.single.twig"},{"begin":"(?:(?<!\\\\\\\\)|(?<=\\\\\\\\\\\\\\\\))\\"","beginCaptures":{"0":{"name":"punctuation.definition.string.begin.twig"}},"end":"(?:(?<!\\\\\\\\)|(?<=\\\\\\\\\\\\\\\\))\\"","endCaptures":{"0":{"name":"punctuation.definition.string.end.twig"}},"name":"string.quoted.double.twig"}]}},"scopeName":"text.html.twig","embeddedLangs":["css","javascript","scss","php","python","ruby"]}`)), l = [
|
|
8
|
+
...t,
|
|
9
|
+
...e,
|
|
10
|
+
...n,
|
|
11
|
+
...i,
|
|
12
|
+
...a,
|
|
13
|
+
...s,
|
|
14
|
+
r
|
|
15
|
+
];
|
|
16
|
+
export {
|
|
17
|
+
l as default
|
|
18
|
+
};
|
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import type { DocumentListItem, DocumentTree } from '../types';
|
|
3
|
+
import '@kong-ui-public/entities-shared/dist/style.css';
|
|
4
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
5
|
+
actionPending: {
|
|
6
|
+
type: BooleanConstructor;
|
|
7
|
+
default: boolean;
|
|
8
|
+
};
|
|
9
|
+
actionSuccess: {
|
|
10
|
+
type: BooleanConstructor;
|
|
11
|
+
default: boolean;
|
|
12
|
+
};
|
|
13
|
+
cacheKey: {
|
|
14
|
+
type: NumberConstructor;
|
|
15
|
+
default: number;
|
|
16
|
+
};
|
|
17
|
+
/**
|
|
18
|
+
* A synchronous or asynchronous function which returns a boolean evaluating
|
|
19
|
+
* if the user can edit an entity by create a new document
|
|
20
|
+
*/
|
|
21
|
+
canEdit: {
|
|
22
|
+
type: PropType<() => boolean | Promise<boolean>>;
|
|
23
|
+
required: false;
|
|
24
|
+
default: () => Promise<boolean>;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Boolean assiting with responsive documents view
|
|
28
|
+
*/
|
|
29
|
+
card: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
documentList: {
|
|
34
|
+
type: PropType<DocumentListItem[]>;
|
|
35
|
+
required: true;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* Boolean for wrapping the empty state component in a KCard
|
|
39
|
+
*/
|
|
40
|
+
emptyStateCard: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
/**
|
|
45
|
+
* The ID of the entity to which a document is associated.
|
|
46
|
+
* Examples are API Product ID, Service ID etc.
|
|
47
|
+
*/
|
|
48
|
+
entityId: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
required: true;
|
|
51
|
+
};
|
|
52
|
+
hidePublishToggle: {
|
|
53
|
+
type: BooleanConstructor;
|
|
54
|
+
default: boolean;
|
|
55
|
+
};
|
|
56
|
+
modalErrorMessage: {
|
|
57
|
+
type: StringConstructor;
|
|
58
|
+
default: string;
|
|
59
|
+
};
|
|
60
|
+
selectedDocument: {
|
|
61
|
+
type: PropType<{
|
|
62
|
+
document: DocumentTree;
|
|
63
|
+
ast: Record<string, any>;
|
|
64
|
+
markdown?: string;
|
|
65
|
+
status: "published" | "unpublished";
|
|
66
|
+
}>;
|
|
67
|
+
default: () => null;
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* Enables the new empty state design, this prop can be removed when
|
|
71
|
+
* the khcp-14756-empty-states-m2 FF is removed.
|
|
72
|
+
*/
|
|
73
|
+
enableV2EmptyStates: {
|
|
74
|
+
type: BooleanConstructor;
|
|
75
|
+
default: boolean;
|
|
76
|
+
};
|
|
77
|
+
}>, {
|
|
78
|
+
download: () => void;
|
|
79
|
+
edit: () => void;
|
|
80
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
81
|
+
[x: string]: any;
|
|
82
|
+
} & {
|
|
83
|
+
[x: string]: any;
|
|
84
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
85
|
+
actionPending: {
|
|
86
|
+
type: BooleanConstructor;
|
|
87
|
+
default: boolean;
|
|
88
|
+
};
|
|
89
|
+
actionSuccess: {
|
|
90
|
+
type: BooleanConstructor;
|
|
91
|
+
default: boolean;
|
|
92
|
+
};
|
|
93
|
+
cacheKey: {
|
|
94
|
+
type: NumberConstructor;
|
|
95
|
+
default: number;
|
|
96
|
+
};
|
|
97
|
+
/**
|
|
98
|
+
* A synchronous or asynchronous function which returns a boolean evaluating
|
|
99
|
+
* if the user can edit an entity by create a new document
|
|
100
|
+
*/
|
|
101
|
+
canEdit: {
|
|
102
|
+
type: PropType<() => boolean | Promise<boolean>>;
|
|
103
|
+
required: false;
|
|
104
|
+
default: () => Promise<boolean>;
|
|
105
|
+
};
|
|
106
|
+
/**
|
|
107
|
+
* Boolean assiting with responsive documents view
|
|
108
|
+
*/
|
|
109
|
+
card: {
|
|
110
|
+
type: BooleanConstructor;
|
|
111
|
+
default: boolean;
|
|
112
|
+
};
|
|
113
|
+
documentList: {
|
|
114
|
+
type: PropType<DocumentListItem[]>;
|
|
115
|
+
required: true;
|
|
116
|
+
};
|
|
117
|
+
/**
|
|
118
|
+
* Boolean for wrapping the empty state component in a KCard
|
|
119
|
+
*/
|
|
120
|
+
emptyStateCard: {
|
|
121
|
+
type: BooleanConstructor;
|
|
122
|
+
default: boolean;
|
|
123
|
+
};
|
|
124
|
+
/**
|
|
125
|
+
* The ID of the entity to which a document is associated.
|
|
126
|
+
* Examples are API Product ID, Service ID etc.
|
|
127
|
+
*/
|
|
128
|
+
entityId: {
|
|
129
|
+
type: StringConstructor;
|
|
130
|
+
required: true;
|
|
131
|
+
};
|
|
132
|
+
hidePublishToggle: {
|
|
133
|
+
type: BooleanConstructor;
|
|
134
|
+
default: boolean;
|
|
135
|
+
};
|
|
136
|
+
modalErrorMessage: {
|
|
137
|
+
type: StringConstructor;
|
|
138
|
+
default: string;
|
|
139
|
+
};
|
|
140
|
+
selectedDocument: {
|
|
141
|
+
type: PropType<{
|
|
142
|
+
document: DocumentTree;
|
|
143
|
+
ast: Record<string, any>;
|
|
144
|
+
markdown?: string;
|
|
145
|
+
status: "published" | "unpublished";
|
|
146
|
+
}>;
|
|
147
|
+
default: () => null;
|
|
148
|
+
};
|
|
149
|
+
/**
|
|
150
|
+
* Enables the new empty state design, this prop can be removed when
|
|
151
|
+
* the khcp-14756-empty-states-m2 FF is removed.
|
|
152
|
+
*/
|
|
153
|
+
enableV2EmptyStates: {
|
|
154
|
+
type: BooleanConstructor;
|
|
155
|
+
default: boolean;
|
|
156
|
+
};
|
|
157
|
+
}>> & Readonly<{
|
|
158
|
+
[x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
|
|
159
|
+
}>, {
|
|
160
|
+
canEdit: () => boolean | Promise<boolean>;
|
|
161
|
+
card: boolean;
|
|
162
|
+
hidePublishToggle: boolean;
|
|
163
|
+
selectedDocument: {
|
|
164
|
+
document: DocumentTree;
|
|
165
|
+
ast: Record<string, any>;
|
|
166
|
+
markdown?: string;
|
|
167
|
+
status: "published" | "unpublished";
|
|
168
|
+
};
|
|
169
|
+
actionPending: boolean;
|
|
170
|
+
actionSuccess: boolean;
|
|
171
|
+
cacheKey: number;
|
|
172
|
+
emptyStateCard: boolean;
|
|
173
|
+
modalErrorMessage: string;
|
|
174
|
+
enableV2EmptyStates: boolean;
|
|
175
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
176
|
+
export default _default;
|
|
177
|
+
//# sourceMappingURL=DocumentationContent.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocumentationContent.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DocumentationContent.vue"],"names":[],"mappings":"AA0QA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,EAAE,gBAAgB,EAAE,YAAY,EAAY,MAAM,UAAU,CAAA;AAGxE,OAAO,gDAAgD,CAAA;;;;;;;;;;;;;;IAmsBrD;;;OAGG;;cAEiB,QAAQ,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI9D;;OAEG;;;;;;cAMc,QAAQ,CAAC,gBAAgB,EAAE,CAAC;;;IAG7C;;OAEG;;;;;IAKH;;;OAGG;;;;;;;;;;;;;;cAce,QAAQ,CAAC;YAAE,QAAQ,EAAE,YAAY,CAAC;YAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;YAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,WAAW,GAAG,aAAa,CAAA;SAAE,CAAC;;;IAGxI;;;OAGG;;;;;;oBAvoB2B,IAAI;gBAKL,IAAI;;;;;;;;;;;;;;;;;;IAglBjC;;;OAGG;;cAEiB,QAAQ,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI9D;;OAEG;;;;;;cAMc,QAAQ,CAAC,gBAAgB,EAAE,CAAC;;;IAG7C;;OAEG;;;;;IAKH;;;OAGG;;;;;;;;;;;;;;cAce,QAAQ,CAAC;YAAE,QAAQ,EAAE,YAAY,CAAC;YAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;YAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,WAAW,GAAG,aAAa,CAAA;SAAE,CAAC;;;IAGxI;;;OAGG;;;;;;;;mBA7CgC,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;;;;kBAuCtB,YAAY;aAAO,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;mBAAa,MAAM;gBAAU,WAAW,GAAG,aAAa;;;;;;;;;AA1EvI,wBAsFG"}
|
|
@@ -0,0 +1,323 @@
|
|
|
1
|
+
import type { EmitUpdatePayload, MarkdownMode } from '@kong/markdown';
|
|
2
|
+
import '@kong/markdown/dist/style.css';
|
|
3
|
+
import type { PropType } from 'vue';
|
|
4
|
+
import type { DocumentTree } from '../types';
|
|
5
|
+
declare function __VLS_template(): {
|
|
6
|
+
slots: {
|
|
7
|
+
"document-title"?(_: {}): any;
|
|
8
|
+
};
|
|
9
|
+
refs: {
|
|
10
|
+
markdownComponent: ({
|
|
11
|
+
$: import("vue").ComponentInternalInstance;
|
|
12
|
+
$data: {};
|
|
13
|
+
$props: Partial<{
|
|
14
|
+
mode: MarkdownMode;
|
|
15
|
+
editable: boolean;
|
|
16
|
+
theme: import("@kong/markdown/dist/types").Theme;
|
|
17
|
+
modelValue: string;
|
|
18
|
+
downloadable: boolean;
|
|
19
|
+
filename: string;
|
|
20
|
+
tabSize: number;
|
|
21
|
+
maxHeight: number;
|
|
22
|
+
fullscreenOffsetTop: number;
|
|
23
|
+
fullscreenZIndex: number;
|
|
24
|
+
}> & Omit<{
|
|
25
|
+
readonly modelValue: string;
|
|
26
|
+
readonly editable: boolean;
|
|
27
|
+
readonly downloadable: boolean;
|
|
28
|
+
readonly filename: string;
|
|
29
|
+
readonly mode: MarkdownMode;
|
|
30
|
+
readonly tabSize: number;
|
|
31
|
+
readonly theme: import("@kong/markdown/dist/types").Theme;
|
|
32
|
+
readonly maxHeight: number;
|
|
33
|
+
readonly fullscreenOffsetTop: number;
|
|
34
|
+
readonly fullscreenZIndex: number;
|
|
35
|
+
readonly onMode?: ((mode: MarkdownMode) => any) | undefined;
|
|
36
|
+
readonly onFullscreen?: ((active: boolean) => any) | undefined;
|
|
37
|
+
readonly "onUpdate:modelValue"?: ((rawMarkdown: string) => any) | undefined;
|
|
38
|
+
readonly "onUpdate:frontmatter"?: ((frontmatter: import("@kong/markdown/dist/types").Frontmatter | undefined) => any) | undefined;
|
|
39
|
+
readonly onSave?: ((args_0: EmitUpdatePayload) => any) | undefined;
|
|
40
|
+
readonly onCancel?: (() => any) | undefined;
|
|
41
|
+
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "modelValue" | "editable" | "downloadable" | "filename" | "mode" | "tabSize" | "theme" | "maxHeight" | "fullscreenOffsetTop" | "fullscreenZIndex">;
|
|
42
|
+
$attrs: {
|
|
43
|
+
[x: string]: unknown;
|
|
44
|
+
};
|
|
45
|
+
$refs: {
|
|
46
|
+
[x: string]: unknown;
|
|
47
|
+
};
|
|
48
|
+
$slots: Readonly<{
|
|
49
|
+
[name: string]: import("vue").Slot<any> | undefined;
|
|
50
|
+
}>;
|
|
51
|
+
$root: import("vue").ComponentPublicInstance | null;
|
|
52
|
+
$parent: import("vue").ComponentPublicInstance | null;
|
|
53
|
+
$host: Element | null;
|
|
54
|
+
$emit: ((event: "cancel") => void) & ((event: "mode", mode: MarkdownMode) => void) & ((event: "update:modelValue", rawMarkdown: string) => void) & ((event: "fullscreen", active: boolean) => void) & ((event: "update:frontmatter", frontmatter: import("@kong/markdown/dist/types").Frontmatter | undefined) => void) & ((event: "save", args_0: EmitUpdatePayload) => void);
|
|
55
|
+
$el: HTMLDivElement;
|
|
56
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
57
|
+
modelValue: {
|
|
58
|
+
type: StringConstructor;
|
|
59
|
+
default: string;
|
|
60
|
+
};
|
|
61
|
+
editable: {
|
|
62
|
+
type: BooleanConstructor;
|
|
63
|
+
default: boolean;
|
|
64
|
+
};
|
|
65
|
+
downloadable: {
|
|
66
|
+
type: BooleanConstructor;
|
|
67
|
+
default: boolean;
|
|
68
|
+
};
|
|
69
|
+
filename: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
default: string;
|
|
72
|
+
};
|
|
73
|
+
mode: {
|
|
74
|
+
type: PropType<MarkdownMode>;
|
|
75
|
+
default: string;
|
|
76
|
+
validator: (mode: string) => boolean;
|
|
77
|
+
};
|
|
78
|
+
tabSize: {
|
|
79
|
+
type: NumberConstructor;
|
|
80
|
+
default: number;
|
|
81
|
+
validator: (size: number) => boolean;
|
|
82
|
+
};
|
|
83
|
+
theme: {
|
|
84
|
+
type: PropType<import("@kong/markdown/dist/types").Theme>;
|
|
85
|
+
default: string;
|
|
86
|
+
validator: (theme: string) => boolean;
|
|
87
|
+
};
|
|
88
|
+
maxHeight: {
|
|
89
|
+
type: NumberConstructor;
|
|
90
|
+
default: number;
|
|
91
|
+
validator: (height: number) => boolean;
|
|
92
|
+
};
|
|
93
|
+
fullscreenOffsetTop: {
|
|
94
|
+
type: NumberConstructor;
|
|
95
|
+
default: number;
|
|
96
|
+
};
|
|
97
|
+
fullscreenZIndex: {
|
|
98
|
+
type: NumberConstructor;
|
|
99
|
+
default: number;
|
|
100
|
+
};
|
|
101
|
+
}>> & Readonly<{
|
|
102
|
+
onMode?: ((mode: MarkdownMode) => any) | undefined;
|
|
103
|
+
onFullscreen?: ((active: boolean) => any) | undefined;
|
|
104
|
+
"onUpdate:modelValue"?: ((rawMarkdown: string) => any) | undefined;
|
|
105
|
+
"onUpdate:frontmatter"?: ((frontmatter: import("@kong/markdown/dist/types").Frontmatter | undefined) => any) | undefined;
|
|
106
|
+
onSave?: ((args_0: EmitUpdatePayload) => any) | undefined;
|
|
107
|
+
onCancel?: (() => any) | undefined;
|
|
108
|
+
}>, {
|
|
109
|
+
download: () => void;
|
|
110
|
+
edit: () => void;
|
|
111
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
112
|
+
mode: (mode: MarkdownMode) => any;
|
|
113
|
+
fullscreen: (active: boolean) => any;
|
|
114
|
+
"update:modelValue": (rawMarkdown: string) => any;
|
|
115
|
+
"update:frontmatter": (frontmatter: import("@kong/markdown/dist/types").Frontmatter | undefined) => any;
|
|
116
|
+
save: (args_0: EmitUpdatePayload) => any;
|
|
117
|
+
cancel: () => any;
|
|
118
|
+
}, string, {
|
|
119
|
+
mode: MarkdownMode;
|
|
120
|
+
editable: boolean;
|
|
121
|
+
theme: import("@kong/markdown/dist/types").Theme;
|
|
122
|
+
modelValue: string;
|
|
123
|
+
downloadable: boolean;
|
|
124
|
+
filename: string;
|
|
125
|
+
tabSize: number;
|
|
126
|
+
maxHeight: number;
|
|
127
|
+
fullscreenOffsetTop: number;
|
|
128
|
+
fullscreenZIndex: number;
|
|
129
|
+
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & {
|
|
130
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
131
|
+
created?: (() => void) | (() => void)[];
|
|
132
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
133
|
+
mounted?: (() => void) | (() => void)[];
|
|
134
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
135
|
+
updated?: (() => void) | (() => void)[];
|
|
136
|
+
activated?: (() => void) | (() => void)[];
|
|
137
|
+
deactivated?: (() => void) | (() => void)[];
|
|
138
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
139
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
140
|
+
destroyed?: (() => void) | (() => void)[];
|
|
141
|
+
unmounted?: (() => void) | (() => void)[];
|
|
142
|
+
renderTracked?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
143
|
+
renderTriggered?: ((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[];
|
|
144
|
+
errorCaptured?: ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
145
|
+
};
|
|
146
|
+
$forceUpdate: () => void;
|
|
147
|
+
$nextTick: typeof import("vue").nextTick;
|
|
148
|
+
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import("@vue/reactivity").OnCleanup]) => any : (...args: [any, any, import("@vue/reactivity").OnCleanup]) => any, options?: import("vue").WatchOptions): import("vue").WatchStopHandle;
|
|
149
|
+
} & Readonly<{
|
|
150
|
+
mode: MarkdownMode;
|
|
151
|
+
editable: boolean;
|
|
152
|
+
theme: import("@kong/markdown/dist/types").Theme;
|
|
153
|
+
modelValue: string;
|
|
154
|
+
downloadable: boolean;
|
|
155
|
+
filename: string;
|
|
156
|
+
tabSize: number;
|
|
157
|
+
maxHeight: number;
|
|
158
|
+
fullscreenOffsetTop: number;
|
|
159
|
+
fullscreenZIndex: number;
|
|
160
|
+
}> & Omit<Readonly<import("vue").ExtractPropTypes<{
|
|
161
|
+
modelValue: {
|
|
162
|
+
type: StringConstructor;
|
|
163
|
+
default: string;
|
|
164
|
+
};
|
|
165
|
+
editable: {
|
|
166
|
+
type: BooleanConstructor;
|
|
167
|
+
default: boolean;
|
|
168
|
+
};
|
|
169
|
+
downloadable: {
|
|
170
|
+
type: BooleanConstructor;
|
|
171
|
+
default: boolean;
|
|
172
|
+
};
|
|
173
|
+
filename: {
|
|
174
|
+
type: StringConstructor;
|
|
175
|
+
default: string;
|
|
176
|
+
};
|
|
177
|
+
mode: {
|
|
178
|
+
type: PropType<MarkdownMode>;
|
|
179
|
+
default: string;
|
|
180
|
+
validator: (mode: string) => boolean;
|
|
181
|
+
};
|
|
182
|
+
tabSize: {
|
|
183
|
+
type: NumberConstructor;
|
|
184
|
+
default: number;
|
|
185
|
+
validator: (size: number) => boolean;
|
|
186
|
+
};
|
|
187
|
+
theme: {
|
|
188
|
+
type: PropType<import("@kong/markdown/dist/types").Theme>;
|
|
189
|
+
default: string;
|
|
190
|
+
validator: (theme: string) => boolean;
|
|
191
|
+
};
|
|
192
|
+
maxHeight: {
|
|
193
|
+
type: NumberConstructor;
|
|
194
|
+
default: number;
|
|
195
|
+
validator: (height: number) => boolean;
|
|
196
|
+
};
|
|
197
|
+
fullscreenOffsetTop: {
|
|
198
|
+
type: NumberConstructor;
|
|
199
|
+
default: number;
|
|
200
|
+
};
|
|
201
|
+
fullscreenZIndex: {
|
|
202
|
+
type: NumberConstructor;
|
|
203
|
+
default: number;
|
|
204
|
+
};
|
|
205
|
+
}>> & Readonly<{
|
|
206
|
+
onMode?: ((mode: MarkdownMode) => any) | undefined;
|
|
207
|
+
onFullscreen?: ((active: boolean) => any) | undefined;
|
|
208
|
+
"onUpdate:modelValue"?: ((rawMarkdown: string) => any) | undefined;
|
|
209
|
+
"onUpdate:frontmatter"?: ((frontmatter: import("@kong/markdown/dist/types").Frontmatter | undefined) => any) | undefined;
|
|
210
|
+
onSave?: ((args_0: EmitUpdatePayload) => any) | undefined;
|
|
211
|
+
onCancel?: (() => any) | undefined;
|
|
212
|
+
}>, "edit" | "download" | "modelValue" | "editable" | "downloadable" | "filename" | "mode" | "tabSize" | "theme" | "maxHeight" | "fullscreenOffsetTop" | "fullscreenZIndex"> & import("vue").ShallowUnwrapRef<{
|
|
213
|
+
download: () => void;
|
|
214
|
+
edit: () => void;
|
|
215
|
+
}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
216
|
+
$slots: {
|
|
217
|
+
"toolbar-right"?(_: {}): any;
|
|
218
|
+
"editor-actions"?(_: {
|
|
219
|
+
cancel: () => void;
|
|
220
|
+
save: () => void;
|
|
221
|
+
}): any;
|
|
222
|
+
"content-actions"?(_: {
|
|
223
|
+
download: (() => void) | undefined;
|
|
224
|
+
edit: (() => void) | undefined;
|
|
225
|
+
}): any;
|
|
226
|
+
download?(_: {
|
|
227
|
+
download: () => void;
|
|
228
|
+
}): any;
|
|
229
|
+
edit?(_: {
|
|
230
|
+
edit: () => void;
|
|
231
|
+
}): any;
|
|
232
|
+
};
|
|
233
|
+
}) | null;
|
|
234
|
+
};
|
|
235
|
+
attrs: Partial<{}>;
|
|
236
|
+
};
|
|
237
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
238
|
+
declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
239
|
+
/**
|
|
240
|
+
* A synchronous or asynchronous function which returns a boolean evaluating
|
|
241
|
+
* if the user can edit an entity by create a new document
|
|
242
|
+
*/
|
|
243
|
+
canEdit: {
|
|
244
|
+
type: PropType<() => boolean | Promise<boolean>>;
|
|
245
|
+
required: false;
|
|
246
|
+
default: () => Promise<boolean>;
|
|
247
|
+
};
|
|
248
|
+
card: {
|
|
249
|
+
type: BooleanConstructor;
|
|
250
|
+
default: boolean;
|
|
251
|
+
};
|
|
252
|
+
hidePublishToggle: {
|
|
253
|
+
type: BooleanConstructor;
|
|
254
|
+
default: boolean;
|
|
255
|
+
};
|
|
256
|
+
selectedDocument: {
|
|
257
|
+
type: PropType<{
|
|
258
|
+
document: DocumentTree;
|
|
259
|
+
ast: Record<string, any>;
|
|
260
|
+
markdown?: string;
|
|
261
|
+
status: "published" | "unpublished";
|
|
262
|
+
}>;
|
|
263
|
+
default: () => null;
|
|
264
|
+
};
|
|
265
|
+
}>, {
|
|
266
|
+
download: () => void;
|
|
267
|
+
edit: () => void;
|
|
268
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
269
|
+
add: () => any;
|
|
270
|
+
"toggle-published": (newValue: boolean) => any;
|
|
271
|
+
"edit-markdown": (isEditingMarkdown: boolean) => any;
|
|
272
|
+
"save-markdown": (content: string) => any;
|
|
273
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
274
|
+
/**
|
|
275
|
+
* A synchronous or asynchronous function which returns a boolean evaluating
|
|
276
|
+
* if the user can edit an entity by create a new document
|
|
277
|
+
*/
|
|
278
|
+
canEdit: {
|
|
279
|
+
type: PropType<() => boolean | Promise<boolean>>;
|
|
280
|
+
required: false;
|
|
281
|
+
default: () => Promise<boolean>;
|
|
282
|
+
};
|
|
283
|
+
card: {
|
|
284
|
+
type: BooleanConstructor;
|
|
285
|
+
default: boolean;
|
|
286
|
+
};
|
|
287
|
+
hidePublishToggle: {
|
|
288
|
+
type: BooleanConstructor;
|
|
289
|
+
default: boolean;
|
|
290
|
+
};
|
|
291
|
+
selectedDocument: {
|
|
292
|
+
type: PropType<{
|
|
293
|
+
document: DocumentTree;
|
|
294
|
+
ast: Record<string, any>;
|
|
295
|
+
markdown?: string;
|
|
296
|
+
status: "published" | "unpublished";
|
|
297
|
+
}>;
|
|
298
|
+
default: () => null;
|
|
299
|
+
};
|
|
300
|
+
}>> & Readonly<{
|
|
301
|
+
onAdd?: (() => any) | undefined;
|
|
302
|
+
"onToggle-published"?: ((newValue: boolean) => any) | undefined;
|
|
303
|
+
"onEdit-markdown"?: ((isEditingMarkdown: boolean) => any) | undefined;
|
|
304
|
+
"onSave-markdown"?: ((content: string) => any) | undefined;
|
|
305
|
+
}>, {
|
|
306
|
+
canEdit: () => boolean | Promise<boolean>;
|
|
307
|
+
card: boolean;
|
|
308
|
+
hidePublishToggle: boolean;
|
|
309
|
+
selectedDocument: {
|
|
310
|
+
document: DocumentTree;
|
|
311
|
+
ast: Record<string, any>;
|
|
312
|
+
markdown?: string;
|
|
313
|
+
status: "published" | "unpublished";
|
|
314
|
+
};
|
|
315
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
316
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
317
|
+
export default _default;
|
|
318
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
319
|
+
new (): {
|
|
320
|
+
$slots: S;
|
|
321
|
+
};
|
|
322
|
+
};
|
|
323
|
+
//# sourceMappingURL=DocumentationDisplay.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocumentationDisplay.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DocumentationDisplay.vue"],"names":[],"mappings":"AAiTA,OAAO,KAAK,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AACrE,OAAO,+BAA+B,CAAA;AACtC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AA8J5C,iBAAS,cAAc;;kCAmMe,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wCA0D0B,GAAG,8CAA8C,GAAG,yBACnH,GAAG,6DAIF,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WArDM,OAAO,IAA6B;EAEjD;AAmDD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;IAanB;;;OAGG;;cAEiB,QAAQ,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;;;;;;;;;;cAa5C,QAAQ,CAAC;YAAE,QAAQ,EAAE,YAAY,CAAC;YAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;YAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,WAAW,GAAG,aAAa,CAAA;SAAE,CAAC;;;;oBAhZ/G,IAAI;gBAKR,IAAI;;;;;;;IAyXzB;;;OAGG;;cAEiB,QAAQ,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;;;;;;;;;;cAa5C,QAAQ,CAAC;YAAE,QAAQ,EAAE,YAAY,CAAC;YAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;YAAC,QAAQ,CAAC,EAAE,MAAM,CAAC;YAAC,MAAM,EAAE,WAAW,GAAG,aAAa,CAAA;SAAE,CAAC;;;;;;;;;mBAbrG,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;;;;kBAatB,YAAY;aAAO,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;mBAAa,MAAM;gBAAU,WAAW,GAAG,aAAa;;4EAIrI,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAKpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
+
/**
|
|
4
|
+
* A synchronous or asynchronous function which returns a boolean evaluating
|
|
5
|
+
* if the user can edit an entity by create a new document
|
|
6
|
+
*/
|
|
7
|
+
canEdit: {
|
|
8
|
+
type: PropType<() => boolean | Promise<boolean>>;
|
|
9
|
+
required: false;
|
|
10
|
+
default: () => Promise<boolean>;
|
|
11
|
+
};
|
|
12
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
"create-documentation": (...args: any[]) => void;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
+
/**
|
|
16
|
+
* A synchronous or asynchronous function which returns a boolean evaluating
|
|
17
|
+
* if the user can edit an entity by create a new document
|
|
18
|
+
*/
|
|
19
|
+
canEdit: {
|
|
20
|
+
type: PropType<() => boolean | Promise<boolean>>;
|
|
21
|
+
required: false;
|
|
22
|
+
default: () => Promise<boolean>;
|
|
23
|
+
};
|
|
24
|
+
}>> & Readonly<{
|
|
25
|
+
"onCreate-documentation"?: ((...args: any[]) => any) | undefined;
|
|
26
|
+
}>, {
|
|
27
|
+
canEdit: () => boolean | Promise<boolean>;
|
|
28
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
29
|
+
export default _default;
|
|
30
|
+
//# sourceMappingURL=DocumentationPageEmptyState.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocumentationPageEmptyState.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DocumentationPageEmptyState.vue"],"names":[],"mappings":"AAoDA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;;IAgKjC;;;OAGG;;cAEiB,QAAQ,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;;;;IAL9D;;;OAGG;;cAEiB,QAAQ,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;;;;mBAA3B,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;;AAZ/D,wBAiBG"}
|