@kong-ui-public/documentation 1.7.40-pr.3869.e876c8c8a.0 → 1.7.40
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/arc-DZdQjcG8-CduayE88.js +79 -0
- package/dist/architectureDiagram-3BPJPVTR-By_DXDyu-U3MSLbOU.js +4065 -0
- package/dist/astro-D8QEIUE9-nzvtSwAQ.js +18 -0
- package/dist/blockDiagram-GPEHLZMM-9Cp9Hbl7-CKP-SiVG.js +3268 -0
- package/dist/c-GOwUpV7U-DMPKLUI8.js +4 -0
- package/dist/c4Diagram-AAUBKEIU-ftdwlfdB-D3A61SdV.js +3035 -0
- package/dist/catppuccin-latte-BcV8jije-D8pvGdu1.js +4 -0
- package/dist/channel-DM9j7IFL-DxqBUxfY.js +5 -0
- package/dist/chunk-2J33WTMH-CBbjVzWb-0og4LHQ-.js +24 -0
- package/dist/chunk-4BX2VUAB-C_NnimAy--QQ0Db2V.js +8 -0
- package/dist/chunk-55IACEB6-DZn1aNO0-A3zOZ7dT.js +8 -0
- package/dist/chunk-727SXJPM-B2_6_WLv-Bs3CxHaX.js +3445 -0
- package/dist/chunk-AQP2D5EJ-DEAEiJjW-DTbwZT8N.js +2096 -0
- package/dist/chunk-FMBD7UC4-D_tZ4Dxg-DwjoPGUH.js +19 -0
- package/dist/chunk-ND2GUHAM-Duw3k8MU-HmrdHLJ9.js +65 -0
- package/dist/chunk-QZHKN3VN-DN6nBdn0-BvQOETVz.js +12 -0
- package/dist/classDiagram-4FO5ZUOK-Du5qFrfN-BqXc0etQ.js +17 -0
- package/dist/classDiagram-v2-Q7XG4LA2-DM6zutfc-BqXc0etQ.js +17 -0
- package/dist/cose-bilkent-S5V4N54A-0ZumbVgj-0z7CQbIH.js +2260 -0
- package/dist/csharp-Cy04UeDC-OaGPefhL.js +4 -0
- package/dist/css-CJQ-rcMF-B_2PRTA_.js +4 -0
- package/dist/csv-Bx_Umlp--BPWcOTV4.js +4 -0
- package/dist/cytoscape.esm-BDIiOYYO-C1jMBhD8.js +18220 -0
- package/dist/dagre-BM42HDAG-qMWMsyLb-DGMrq3i3.js +288 -0
- package/dist/dagre-DJxg_nfI-hVOVexz-.js +1687 -0
- package/dist/defaultLocale-mtMQ0U8A-D6jPixjH.js +182 -0
- package/dist/diagram-2AECGRRQ-B2gF_dHe-Bv_EpxRz.js +210 -0
- package/dist/diagram-5GNKFQAL-DJ9WwRrD-WVvm0Icu.js +99 -0
- package/dist/diagram-KO2AKTUF-RfkqD-VW-yyAds1Qq.js +439 -0
- package/dist/diagram-LMA3HP47-Ct7s9hIt-Dy6f9BAO.js +127 -0
- package/dist/diagram-OG6HWLK6-BSYJ2CoI-ckmfat-L.js +475 -0
- package/dist/diff-DZRtXnMG-DenOJuyV.js +4 -0
- package/dist/docker-DQBBDNmU-xX8PDoIv.js +4 -0
- package/dist/documentation.es.js +7 -0
- package/dist/documentation.umd.js +3474 -0
- package/dist/erDiagram-TEJ5UH35-BudwiSYX-bVzp1Kjr.js +1773 -0
- package/dist/flowDiagram-I6XJVG4X-B23Smlxp-ClHvdCdJ.js +4258 -0
- package/dist/ganttDiagram-6RSMTGT7-C-i89z_P-t5UAyRM5.js +3099 -0
- package/dist/git-commit-BOgnKaZ8-Csu8eMzs.js +5 -0
- package/dist/git-rebase-0v-YFIjP-D701iWbX.js +5 -0
- package/dist/gitGraphDiagram-PVQCEYII-DpVfXnUD-Cg3smOdz.js +734 -0
- package/dist/go-DpaXbCNA-DqSXHrGo.js +4 -0
- package/dist/graphlib-D2YdGpuK-CnQPmzkS.js +1071 -0
- package/dist/graphql-BSO8hVnT-C6Okg5tI.js +14 -0
- package/dist/haml-DizLz-gS-BWwS-eha.js +10 -0
- package/dist/handlebars-tnt1-4s--xVtJSIx5.js +14 -0
- package/dist/haskell-BDLr0yXS-BlmVjKNy.js +4 -0
- package/dist/html-DdIT5Pi9-C35UyBqr.js +10 -0
- package/dist/html-derivative-BHAKSQcK-BChKhjnv.js +5 -0
- package/dist/http-DRk-iX-V-DQ76ihB0.js +14 -0
- package/dist/index-DfVKdDwj.js +40029 -0
- package/dist/infoDiagram-5YYISTIA-CDUwzFql-Bmthmcp4.js +18 -0
- package/dist/ini-D-uG5DCC-70PBzbbb.js +4 -0
- package/dist/init-8lPFe2y8-B2MlpiqM.js +16 -0
- package/dist/ishikawaDiagram-YF4QCWOH-MfYdx0rK-cbltssua.js +728 -0
- package/dist/java-CQQr73XR-D6YBp1XX.js +4 -0
- package/dist/javascript-CXmFGv-C-BRPKgr3C.js +4 -0
- package/dist/journeyDiagram-JHISSGLW-C_udOPtJ-BjAvgSAR.js +908 -0
- package/dist/json-BXFRNzj8-D8uacQj0.js +4 -0
- package/dist/json5-B5-J7v9w-Biib5ALh.js +4 -0
- package/dist/jsonc-CeA7x8NU-BZEKkMok.js +4 -0
- package/dist/jsonl-BBlxch9W-BG2V-IA2.js +4 -0
- package/dist/jsx-DucQCby8-Cl0AMtmu.js +4 -0
- package/dist/kanban-definition-UN3LZRKU-C1Su-UOY-DZ93dsWZ.js +1028 -0
- package/dist/katex-D7tFlpqA-BOSQxXe1.js +22315 -0
- package/dist/kotlin-CDXyBjvc-Dy_91eL4.js +4 -0
- package/dist/latex-COX74REd-l1quglTx.js +5 -0
- package/dist/less-QqooI0UQ-tcNg8M2_.js +4 -0
- package/dist/linear-1MXhYum8-9C1jno9G.js +255 -0
- package/dist/liquid-CsynDTV--Bdhb3gsJ.js +14 -0
- package/dist/lua-B3xrKnOz-Coo0MCwO.js +5 -0
- package/dist/make-eFBmESRY-CrUl7LOH.js +4 -0
- package/dist/markdown-DkQv9NwM-Bcqt-5kX.js +4 -0
- package/dist/material-theme-darker-Bp7Jj852-DMHCIvq5.js +4 -0
- package/dist/mdc-BK-Z5Xv--aFc-Oyv5.js +12 -0
- package/dist/mdx-CjbEMaEg-CK6jOqmu.js +4 -0
- package/dist/mermaid-Ccfpee4A-BgbNnQO5.js +4 -0
- package/dist/mindmap-definition-RKZ34NQL-MuSV765K-Kub1iXFv.js +1026 -0
- package/dist/nginx-DQrs__jO-BS9Jcr4V.js +5 -0
- package/dist/objective-c-CXg1TPY9-C809HPrX.js +4 -0
- package/dist/ordinal-D9ksOc8y-2hZwLyEk.js +63 -0
- package/dist/pascal-C6L9Tn1x-a8whuidZ.js +4 -0
- package/dist/perl-Dbi-SlHs-DsZjIGqU.js +16 -0
- package/dist/php-J5w8HAya-DnRg4f-g.js +18 -0
- package/dist/pieDiagram-4H26LBE5-TgFp7J6_-i6NxP3Xz.js +153 -0
- package/dist/plsql-Ba_yrVwL-BJoF2Vrf.js +4 -0
- package/dist/postcss-Bsoc__IZ-DaHMm3XW.js +4 -0
- package/dist/powershell-CKvM5hOe-Box9VSDW.js +4 -0
- package/dist/proto-iweZN-Ks-w0B_itsp.js +4 -0
- package/dist/pug-DUPsoXbW-BFHDRSax.js +12 -0
- package/dist/python-MxhgNM12-D_5pfY__.js +4 -0
- package/dist/quadrantDiagram-W4KKPZXB-DKPne3o_-DXLHqRuR.js +2046 -0
- package/dist/r-CoGPXt5G-BrbXTU3W.js +4 -0
- package/dist/reg-CHAl2UuA-bHAwx9Pm.js +4 -0
- package/dist/requirementDiagram-4Y6WPE33-vh8uUAp_-CHtsISxP.js +2281 -0
- package/dist/rst-D-Zcnz0t-C3PGnqgH.js +20 -0
- package/dist/ruby-CQp7mk0v-B3KpG-9E.js +46 -0
- package/dist/rust-W9HETclW-CaZtBt24.js +4 -0
- package/dist/sankeyDiagram-5OEKKPKP-Cgs6W_El-D7GZyd8n.js +946 -0
- package/dist/sass-DzGfEb5u-pslLeRRb.js +4 -0
- package/dist/scss-cWHTb1-d-DN6jMR75.js +5 -0
- package/dist/sequenceDiagram-3UESZ5HK-C5F57Dkt-BW1Hb7UW.js +4266 -0
- package/dist/shellscript-BvJBBLP1-BtH46UX7.js +4 -0
- package/dist/shellsession-CXHk-hsk-D-2JR5oU.js +5 -0
- package/dist/splunk-TtOhH_8h-BP8P7eWt.js +4 -0
- package/dist/sql-B-h_q34g-uWwuAxg_.js +4 -0
- package/dist/ssh-config-B7jk1vQp-BB1rrGb9.js +4 -0
- package/dist/stateDiagram-AJRCARHV-09dUKG6Y-Dm2a1vNu.js +210 -0
- package/dist/stateDiagram-v2-BHNVJYJU-CWqmRt12-DbWzZ-j-.js +16 -0
- package/dist/style.css +1 -0
- package/dist/stylus-Ccd_7r3J-DAu5PNZ9.js +4 -0
- package/dist/svelte-CYqtuUsn-Cf97VB5J.js +14 -0
- package/dist/swift-CzsQqA0L-BPF2ddNF.js +4 -0
- package/dist/timeline-definition-PNZ67QCA-CCndyx0V-B5CT96H-.js +1095 -0
- package/dist/toml-CRTROHRr-DjT9Bjqu.js +4 -0
- package/dist/tsx-CE8dfKwK-B-5hSr15.js +4 -0
- package/dist/twig-Bst4uh7S-C3aA9tng.js +18 -0
- package/dist/types/components/DiscardChangesPrompt.vue.d.ts +35 -0
- package/dist/types/components/DiscardChangesPrompt.vue.d.ts.map +1 -0
- package/dist/types/components/DocumentationContent.vue.d.ts +186 -0
- package/dist/types/components/DocumentationContent.vue.d.ts.map +1 -0
- package/dist/types/components/DocumentationDisplay.vue.d.ts +105 -0
- package/dist/types/components/DocumentationDisplay.vue.d.ts.map +1 -0
- package/dist/types/components/DocumentationPageEmptyState.vue.d.ts +31 -0
- package/dist/types/components/DocumentationPageEmptyState.vue.d.ts.map +1 -0
- package/dist/types/components/ProductDocumentModal.vue.d.ts +72 -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-8ogSSNer-B0ag8pir.js +4 -0
- package/dist/v-NeSnRB8V-CYSa2rJN.js +4 -0
- package/dist/vb-Dz72yc4q-B6FpM2Kc.js +4 -0
- package/dist/vennDiagram-CIIHVFJN-DQfKxM3L-qUaKEl7l.js +1889 -0
- package/dist/viml-DB1flIhL-BeYQ8dZh.js +4 -0
- package/dist/vue-Bq4JA_WT-CGBUDahs.js +22 -0
- package/dist/vue-html-BygQzR-9-BPez-Otx.js +5 -0
- package/dist/wardley-L42UT6IY-BjAkE_cs-C-giFqos.js +20731 -0
- package/dist/wardleyDiagram-YWT4CUSO-Bf9L2NsL-DXPF2Ee9.js +639 -0
- package/dist/wasm-BmZuu1vu-CfuK9YWP.js +4 -0
- package/dist/wgsl-D-vNyw6e-C2IZ7ENh.js +4 -0
- package/dist/xml-juAhGoTG-khG3jjDl.js +5 -0
- package/dist/xsl-CHgyQG2O-CiMa9sUf.js +5 -0
- package/dist/xychartDiagram-2RQKCTM6-ChNH3q1U-a59DsJDA.js +2055 -0
- package/dist/yaml-BK_xXVzk-X78l_Ibz.js +4 -0
- package/package.json +2 -2
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import t from "./javascript-CXmFGv-C-BRPKgr3C.js";
|
|
2
|
+
import e from "./css-CJQ-rcMF-B_2PRTA_.js";
|
|
3
|
+
import n from "./php-J5w8HAya-DnRg4f-g.js";
|
|
4
|
+
import i from "./python-MxhgNM12-D_5pfY__.js";
|
|
5
|
+
import { y as a } from "./ruby-CQp7mk0v-B3KpG-9E.js";
|
|
6
|
+
import s from "./scss-cWHTb1-d-DN6jMR75.js";
|
|
7
|
+
var 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":"(<)([0-:A-Za-z]++)(?=[^>]*></\\\\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":"(?i)(?<=\\\\{%\\\\s(?:|include)js\\\\s%})","end":"(?i)(?=\\\\{%\\\\send(?:|include)js\\\\s%})","name":"source.js.embedded.twig","patterns":[{"include":"source.js"}]},{"begin":"(?i)(?<=\\\\{%\\\\s(?:|include|includehires)css\\\\s%})","end":"(?i)(?=\\\\{%\\\\send(?:|include|includehires)css\\\\s%})","name":"source.css.embedded.twig","patterns":[{"include":"source.css"}]},{"begin":"(?i)(?<=\\\\{%\\\\s(?:|include|includehires)scss\\\\s%})","end":"(?i)(?=\\\\{%\\\\send(?:|include|includehires)scss\\\\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|[qs]|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":"(</?)([0-:A-Za-z]+)","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":"(&)([0-9A-Za-z]+|#[0-9]+|#x\\\\h+)(;)","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":"(?<=[]\\"')0-9A-Z_a-z\\\\x7F-ÿ]\\\\||\\\\{%\\\\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":"(?<=[]\\"')0-9A-Z_a-z\\\\x7F-ÿ]\\\\||\\\\{%\\\\sfilter\\\\s)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)"},"twig-filters-warg":{"begin":"(?<=[]\\"')0-9A-Z_a-z\\\\x7F-ÿ]\\\\||\\\\{%\\\\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":"(?<=[]\\"')0-9A-Z_a-z\\\\x7F-ÿ]\\\\||\\\\{%\\\\sfilter\\\\s)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(\\\\()","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-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(?:(\\\\.)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*))?(\\\\()","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-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(?=[](),.:\\\\[|}\\\\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":"(?<=[]\\"')0-9A-Z_a-z\\\\x7F-ÿ])\\\\.\\\\.(?=[\\"'0-9A-Z_a-z\\\\x7F-ÿ])"},{"captures":{"0":{"name":"keyword.operator.other.twig"}},"match":"(?<=[]\\"')0-9A-Z_a-z}\\\\x7F-ÿ])\\\\|(?=[A-Z_a-z\\\\x7F-ÿ])"}]},"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":"(?<=[0-9A-Z_a-z\\\\x7F-ÿ])(\\\\.)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(?=[]),.:\\\\[|}\\\\s])"},{"begin":"(?<=[0-9A-Z_a-z\\\\x7F-ÿ])(\\\\.)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(\\\\()","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":"(?<=[]0-9A-Z_a-z\\\\x7F-ÿ])(?:(\\\\[)('[A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*')(])|(\\\\[)(\\"[A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*\\")(])|(\\\\[)([A-Z_a-z\\\\x7F-ÿ][0-9A-Z_a-z\\\\x7F-ÿ]*)(]))"}]},"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
|
+
...e,
|
|
9
|
+
...t,
|
|
10
|
+
...s,
|
|
11
|
+
...n,
|
|
12
|
+
...i,
|
|
13
|
+
...a,
|
|
14
|
+
r
|
|
15
|
+
];
|
|
16
|
+
export {
|
|
17
|
+
l as default
|
|
18
|
+
};
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
/** If the modal is visible. */
|
|
3
|
+
visible: {
|
|
4
|
+
type: BooleanConstructor;
|
|
5
|
+
default: boolean;
|
|
6
|
+
};
|
|
7
|
+
/** To require the user to type text before confirming, provide the confirmationText as a prop */
|
|
8
|
+
confirmationText: {
|
|
9
|
+
type: StringConstructor;
|
|
10
|
+
default: undefined;
|
|
11
|
+
};
|
|
12
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
13
|
+
cancel: () => any;
|
|
14
|
+
"discard-changes": () => any;
|
|
15
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
+
/** If the modal is visible. */
|
|
17
|
+
visible: {
|
|
18
|
+
type: BooleanConstructor;
|
|
19
|
+
default: boolean;
|
|
20
|
+
};
|
|
21
|
+
/** To require the user to type text before confirming, provide the confirmationText as a prop */
|
|
22
|
+
confirmationText: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: undefined;
|
|
25
|
+
};
|
|
26
|
+
}>> & Readonly<{
|
|
27
|
+
onCancel?: (() => any) | undefined;
|
|
28
|
+
"onDiscard-changes"?: (() => any) | undefined;
|
|
29
|
+
}>, {
|
|
30
|
+
visible: boolean;
|
|
31
|
+
confirmationText: string;
|
|
32
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
33
|
+
declare const _default: typeof __VLS_export;
|
|
34
|
+
export default _default;
|
|
35
|
+
//# sourceMappingURL=DiscardChangesPrompt.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DiscardChangesPrompt.vue.d.ts","sourceRoot":"","sources":["../../../src/components/DiscardChangesPrompt.vue"],"names":[],"mappings":"AA4KA,QAAA,MAAM,YAAY;IAGhB,+BAA+B;;;;;IAK/B,iGAAiG;;;;;;;;;IALjG,+BAA+B;;;;;IAK/B,iGAAiG;;;;;;;;;;;4EAMjG,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import type { DocumentListItem, DocumentTree, FormData } from '../types';
|
|
3
|
+
import type { TreeListItem, TreeListChangeEvent, TreeListChildChangeEvent } from '@kong/kongponents';
|
|
4
|
+
declare const __VLS_export: 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
|
+
theme: {
|
|
70
|
+
type: StringConstructor;
|
|
71
|
+
default: string;
|
|
72
|
+
validator: (value: string) => boolean;
|
|
73
|
+
};
|
|
74
|
+
}>, {
|
|
75
|
+
download: () => void;
|
|
76
|
+
edit: () => void;
|
|
77
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
78
|
+
"toggle-published": (data: boolean) => any;
|
|
79
|
+
"save-markdown": (content: string) => any;
|
|
80
|
+
delete: () => any;
|
|
81
|
+
save: (formData: FormData, selectedFile: any) => any;
|
|
82
|
+
"child-change": (data: TreeListChildChangeEvent) => any;
|
|
83
|
+
"click:learn-more": () => any;
|
|
84
|
+
"document-selection": (data: TreeListItem) => any;
|
|
85
|
+
"modal-closed": () => any;
|
|
86
|
+
"parent-change": (data: TreeListChangeEvent) => any;
|
|
87
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
88
|
+
actionPending: {
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
92
|
+
actionSuccess: {
|
|
93
|
+
type: BooleanConstructor;
|
|
94
|
+
default: boolean;
|
|
95
|
+
};
|
|
96
|
+
cacheKey: {
|
|
97
|
+
type: NumberConstructor;
|
|
98
|
+
default: number;
|
|
99
|
+
};
|
|
100
|
+
/**
|
|
101
|
+
* A synchronous or asynchronous function which returns a boolean evaluating
|
|
102
|
+
* if the user can edit an entity by create a new document
|
|
103
|
+
*/
|
|
104
|
+
canEdit: {
|
|
105
|
+
type: PropType<() => boolean | Promise<boolean>>;
|
|
106
|
+
required: false;
|
|
107
|
+
default: () => Promise<boolean>;
|
|
108
|
+
};
|
|
109
|
+
/**
|
|
110
|
+
* Boolean assiting with responsive documents view
|
|
111
|
+
*/
|
|
112
|
+
card: {
|
|
113
|
+
type: BooleanConstructor;
|
|
114
|
+
default: boolean;
|
|
115
|
+
};
|
|
116
|
+
documentList: {
|
|
117
|
+
type: PropType<DocumentListItem[]>;
|
|
118
|
+
required: true;
|
|
119
|
+
};
|
|
120
|
+
/**
|
|
121
|
+
* Boolean for wrapping the empty state component in a KCard
|
|
122
|
+
*/
|
|
123
|
+
emptyStateCard: {
|
|
124
|
+
type: BooleanConstructor;
|
|
125
|
+
default: boolean;
|
|
126
|
+
};
|
|
127
|
+
/**
|
|
128
|
+
* The ID of the entity to which a document is associated.
|
|
129
|
+
* Examples are API Product ID, Service ID etc.
|
|
130
|
+
*/
|
|
131
|
+
entityId: {
|
|
132
|
+
type: StringConstructor;
|
|
133
|
+
required: true;
|
|
134
|
+
};
|
|
135
|
+
hidePublishToggle: {
|
|
136
|
+
type: BooleanConstructor;
|
|
137
|
+
default: boolean;
|
|
138
|
+
};
|
|
139
|
+
modalErrorMessage: {
|
|
140
|
+
type: StringConstructor;
|
|
141
|
+
default: string;
|
|
142
|
+
};
|
|
143
|
+
selectedDocument: {
|
|
144
|
+
type: PropType<{
|
|
145
|
+
document: DocumentTree;
|
|
146
|
+
ast: Record<string, any>;
|
|
147
|
+
markdown?: string;
|
|
148
|
+
status: "published" | "unpublished";
|
|
149
|
+
}>;
|
|
150
|
+
default: () => null;
|
|
151
|
+
};
|
|
152
|
+
theme: {
|
|
153
|
+
type: StringConstructor;
|
|
154
|
+
default: string;
|
|
155
|
+
validator: (value: string) => boolean;
|
|
156
|
+
};
|
|
157
|
+
}>> & Readonly<{
|
|
158
|
+
"onToggle-published"?: ((data: boolean) => any) | undefined;
|
|
159
|
+
"onSave-markdown"?: ((content: string) => any) | undefined;
|
|
160
|
+
onDelete?: (() => any) | undefined;
|
|
161
|
+
onSave?: ((formData: FormData, selectedFile: any) => any) | undefined;
|
|
162
|
+
"onChild-change"?: ((data: TreeListChildChangeEvent) => any) | undefined;
|
|
163
|
+
"onClick:learn-more"?: (() => any) | undefined;
|
|
164
|
+
"onDocument-selection"?: ((data: TreeListItem) => any) | undefined;
|
|
165
|
+
"onModal-closed"?: (() => any) | undefined;
|
|
166
|
+
"onParent-change"?: ((data: TreeListChangeEvent) => any) | undefined;
|
|
167
|
+
}>, {
|
|
168
|
+
canEdit: () => boolean | Promise<boolean>;
|
|
169
|
+
card: boolean;
|
|
170
|
+
hidePublishToggle: boolean;
|
|
171
|
+
selectedDocument: {
|
|
172
|
+
document: DocumentTree;
|
|
173
|
+
ast: Record<string, any>;
|
|
174
|
+
markdown?: string;
|
|
175
|
+
status: "published" | "unpublished";
|
|
176
|
+
};
|
|
177
|
+
theme: string;
|
|
178
|
+
actionPending: boolean;
|
|
179
|
+
actionSuccess: boolean;
|
|
180
|
+
cacheKey: number;
|
|
181
|
+
emptyStateCard: boolean;
|
|
182
|
+
modalErrorMessage: string;
|
|
183
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
184
|
+
declare const _default: typeof __VLS_export;
|
|
185
|
+
export default _default;
|
|
186
|
+
//# 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":"AAkOA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,EAAE,gBAAgB,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAA;AACxE,OAAO,KAAK,EAAE,YAAY,EAAE,mBAAmB,EAAE,wBAAwB,EAAE,MAAM,mBAAmB,CAAA;AAgYpG,QAAA,MAAM,YAAY;;;;;;;;;;;;;IAgBhB;;;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;;;;;;2BAMnH,MAAM;;;oBA1VG,IAAI;gBAKL,IAAI;;;;;;;;;;;;;;;;;;;;;;;;IAmSjC;;;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;;;;;;2BAMnH,MAAM;;;;;;;;;;;;;mBA7CQ,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;;;;kBAuCtB,YAAY;aAAO,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;mBAAa,MAAM;gBAAU,WAAW,GAAG,aAAa;;;;;;;;4EASrI,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import '@kong/markdown/dist/style.css';
|
|
2
|
+
import type { PropType } from 'vue';
|
|
3
|
+
import type { DocumentTree } from '../types';
|
|
4
|
+
declare var __VLS_1: {};
|
|
5
|
+
type __VLS_Slots = {} & {
|
|
6
|
+
'document-title'?: (props: typeof __VLS_1) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
9
|
+
/**
|
|
10
|
+
* A synchronous or asynchronous function which returns a boolean evaluating
|
|
11
|
+
* if the user can edit an entity by create a new document
|
|
12
|
+
*/
|
|
13
|
+
canEdit: {
|
|
14
|
+
type: PropType<() => boolean | Promise<boolean>>;
|
|
15
|
+
required: false;
|
|
16
|
+
default: () => Promise<boolean>;
|
|
17
|
+
};
|
|
18
|
+
card: {
|
|
19
|
+
type: BooleanConstructor;
|
|
20
|
+
default: boolean;
|
|
21
|
+
};
|
|
22
|
+
hidePublishToggle: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
selectedDocument: {
|
|
27
|
+
type: PropType<{
|
|
28
|
+
document: DocumentTree;
|
|
29
|
+
ast: Record<string, any>;
|
|
30
|
+
markdown?: string;
|
|
31
|
+
status: "published" | "unpublished";
|
|
32
|
+
}>;
|
|
33
|
+
default: () => null;
|
|
34
|
+
};
|
|
35
|
+
theme: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: string;
|
|
38
|
+
validator: (value: string) => boolean;
|
|
39
|
+
};
|
|
40
|
+
}>, {
|
|
41
|
+
download: () => void;
|
|
42
|
+
edit: () => void;
|
|
43
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
44
|
+
add: () => any;
|
|
45
|
+
"toggle-published": (newValue: boolean) => any;
|
|
46
|
+
"edit-markdown": (isEditingMarkdown: boolean) => any;
|
|
47
|
+
"save-markdown": (content: string) => any;
|
|
48
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
49
|
+
/**
|
|
50
|
+
* A synchronous or asynchronous function which returns a boolean evaluating
|
|
51
|
+
* if the user can edit an entity by create a new document
|
|
52
|
+
*/
|
|
53
|
+
canEdit: {
|
|
54
|
+
type: PropType<() => boolean | Promise<boolean>>;
|
|
55
|
+
required: false;
|
|
56
|
+
default: () => Promise<boolean>;
|
|
57
|
+
};
|
|
58
|
+
card: {
|
|
59
|
+
type: BooleanConstructor;
|
|
60
|
+
default: boolean;
|
|
61
|
+
};
|
|
62
|
+
hidePublishToggle: {
|
|
63
|
+
type: BooleanConstructor;
|
|
64
|
+
default: boolean;
|
|
65
|
+
};
|
|
66
|
+
selectedDocument: {
|
|
67
|
+
type: PropType<{
|
|
68
|
+
document: DocumentTree;
|
|
69
|
+
ast: Record<string, any>;
|
|
70
|
+
markdown?: string;
|
|
71
|
+
status: "published" | "unpublished";
|
|
72
|
+
}>;
|
|
73
|
+
default: () => null;
|
|
74
|
+
};
|
|
75
|
+
theme: {
|
|
76
|
+
type: StringConstructor;
|
|
77
|
+
default: string;
|
|
78
|
+
validator: (value: string) => boolean;
|
|
79
|
+
};
|
|
80
|
+
}>> & Readonly<{
|
|
81
|
+
onAdd?: (() => any) | undefined;
|
|
82
|
+
"onToggle-published"?: ((newValue: boolean) => any) | undefined;
|
|
83
|
+
"onEdit-markdown"?: ((isEditingMarkdown: boolean) => any) | undefined;
|
|
84
|
+
"onSave-markdown"?: ((content: string) => any) | undefined;
|
|
85
|
+
}>, {
|
|
86
|
+
canEdit: () => boolean | Promise<boolean>;
|
|
87
|
+
card: boolean;
|
|
88
|
+
hidePublishToggle: boolean;
|
|
89
|
+
selectedDocument: {
|
|
90
|
+
document: DocumentTree;
|
|
91
|
+
ast: Record<string, any>;
|
|
92
|
+
markdown?: string;
|
|
93
|
+
status: "published" | "unpublished";
|
|
94
|
+
};
|
|
95
|
+
theme: string;
|
|
96
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
97
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
98
|
+
declare const _default: typeof __VLS_export;
|
|
99
|
+
export default _default;
|
|
100
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
101
|
+
new (): {
|
|
102
|
+
$slots: S;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
//# 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":"AAqXA,OAAO,+BAA+B,CAAA;AACtC,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAye5C,QAAA,IAAI,OAAO,IAAgC,CAAE;AAC7C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAOxD,QAAA,MAAM,UAAU;IAId;;;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;;;;;;2BAMnH,MAAM;;;oBAvdF,IAAI;gBAKR,IAAI;;;;;;;IA0bzB;;;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;;;;;;2BAMnH,MAAM;;;;;;;;mBAnBQ,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;;;;kBAatB,YAAY;aAAO,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;mBAAa,MAAM;gBAAU,WAAW,GAAG,aAAa;;;4EASrI,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
declare const __VLS_export: 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
|
+
declare const _default: typeof __VLS_export;
|
|
30
|
+
export default _default;
|
|
31
|
+
//# 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":"AAqDA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAgInC,QAAA,MAAM,YAAY;IAGhB;;;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;4EAK7D,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import type { DocumentListItem, FormData } from 'src/types';
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
actionPending: {
|
|
5
|
+
type: BooleanConstructor;
|
|
6
|
+
default: boolean;
|
|
7
|
+
};
|
|
8
|
+
documents: {
|
|
9
|
+
type: PropType<DocumentListItem[]>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
editing: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
default: boolean;
|
|
15
|
+
};
|
|
16
|
+
errorMessage: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
hidePublishToggle: {
|
|
21
|
+
type: BooleanConstructor;
|
|
22
|
+
default: boolean;
|
|
23
|
+
};
|
|
24
|
+
record: {
|
|
25
|
+
type: ObjectConstructor;
|
|
26
|
+
default: null;
|
|
27
|
+
};
|
|
28
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
29
|
+
cancel: () => any;
|
|
30
|
+
edit: (formData: FormData, selectedFile: any) => any;
|
|
31
|
+
delete: () => any;
|
|
32
|
+
save: (formData: FormData, selectedFile: any) => any;
|
|
33
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
34
|
+
actionPending: {
|
|
35
|
+
type: BooleanConstructor;
|
|
36
|
+
default: boolean;
|
|
37
|
+
};
|
|
38
|
+
documents: {
|
|
39
|
+
type: PropType<DocumentListItem[]>;
|
|
40
|
+
required: true;
|
|
41
|
+
};
|
|
42
|
+
editing: {
|
|
43
|
+
type: BooleanConstructor;
|
|
44
|
+
default: boolean;
|
|
45
|
+
};
|
|
46
|
+
errorMessage: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
default: string;
|
|
49
|
+
};
|
|
50
|
+
hidePublishToggle: {
|
|
51
|
+
type: BooleanConstructor;
|
|
52
|
+
default: boolean;
|
|
53
|
+
};
|
|
54
|
+
record: {
|
|
55
|
+
type: ObjectConstructor;
|
|
56
|
+
default: null;
|
|
57
|
+
};
|
|
58
|
+
}>> & Readonly<{
|
|
59
|
+
onCancel?: (() => any) | undefined;
|
|
60
|
+
onEdit?: ((formData: FormData, selectedFile: any) => any) | undefined;
|
|
61
|
+
onDelete?: (() => any) | undefined;
|
|
62
|
+
onSave?: ((formData: FormData, selectedFile: any) => any) | undefined;
|
|
63
|
+
}>, {
|
|
64
|
+
errorMessage: string;
|
|
65
|
+
hidePublishToggle: boolean;
|
|
66
|
+
actionPending: boolean;
|
|
67
|
+
editing: boolean;
|
|
68
|
+
record: Record<string, any>;
|
|
69
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
70
|
+
declare const _default: typeof __VLS_export;
|
|
71
|
+
export default _default;
|
|
72
|
+
//# sourceMappingURL=ProductDocumentModal.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProductDocumentModal.vue.d.ts","sourceRoot":"","sources":["../../../src/components/ProductDocumentModal.vue"],"names":[],"mappings":"AAmbA,OAAO,KAAK,EAAE,QAAQ,EAAO,MAAM,KAAK,CAAA;AACxC,OAAO,KAAK,EAAE,gBAAgB,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAA;AA0oB3D,QAAA,MAAM,YAAY;;;;;;cAQC,QAAQ,CAAC,gBAAgB,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAA5B,QAAQ,CAAC,gBAAgB,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EAoB7C,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/composables/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,WAAW,CAAA;;;;AAG/B,wBAEC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { createI18n, i18nTComponent } from '@kong-ui-public/i18n';
|
|
2
|
+
import english from '../locales/en.json';
|
|
3
|
+
interface UseI18nReturn {
|
|
4
|
+
i18n: ReturnType<typeof createI18n<typeof english>>;
|
|
5
|
+
i18nT: ReturnType<typeof i18nTComponent<typeof english>>;
|
|
6
|
+
}
|
|
7
|
+
export default function useI18n(): UseI18nReturn;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=useI18n.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"useI18n.d.ts","sourceRoot":"","sources":["../../../src/composables/useI18n.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AACjE,OAAO,OAAO,MAAM,oBAAoB,CAAA;AAExC,UAAU,aAAa;IACrB,IAAI,EAAE,UAAU,CAAC,OAAO,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC,CAAA;IACnD,KAAK,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,OAAO,OAAO,CAAC,CAAC,CAAA;CACzD;AAED,MAAM,CAAC,OAAO,UAAU,OAAO,IAAI,aAAa,CAO/C"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"external-links.d.ts","sourceRoot":"","sources":["../../src/external-links.ts"],"names":[],"mappings":";;;AAAA,wBAEC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare function cloneDeep(a: any): any;
|
|
2
|
+
/**
|
|
3
|
+
* A method to easily check if an object is empty or not
|
|
4
|
+
* @param {Object} obj object to check
|
|
5
|
+
* @return {Boolean}
|
|
6
|
+
*/
|
|
7
|
+
export declare function isObjectEmpty(obj: Record<string, any>): boolean;
|
|
8
|
+
//# sourceMappingURL=helpers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../src/helpers.ts"],"names":[],"mappings":"AAAA,wBAAgB,SAAS,CAAC,CAAC,EAAE,GAAG,OAM/B;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,WAErD"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import DocumentationContent from './components/DocumentationContent.vue';
|
|
2
|
+
import DocumentationDisplay from './components/DocumentationDisplay.vue';
|
|
3
|
+
import DocumentationPageEmptyState from './components/DocumentationPageEmptyState.vue';
|
|
4
|
+
import ProductDocumentModal from './components/ProductDocumentModal.vue';
|
|
5
|
+
export { DocumentationContent, DocumentationDisplay, DocumentationPageEmptyState, ProductDocumentModal, };
|
|
6
|
+
export * from './types';
|
|
7
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,oBAAoB,MAAM,uCAAuC,CAAA;AACxE,OAAO,oBAAoB,MAAM,uCAAuC,CAAA;AACxE,OAAO,2BAA2B,MAAM,8CAA8C,CAAA;AACtF,OAAO,oBAAoB,MAAM,uCAAuC,CAAA;AAExE,OAAO,EACL,oBAAoB,EACpB,oBAAoB,EACpB,2BAA2B,EAC3B,oBAAoB,GACrB,CAAA;AAED,cAAc,SAAS,CAAA"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export interface DocumentTree {
|
|
2
|
+
id: string;
|
|
3
|
+
parent_document_id?: string | null;
|
|
4
|
+
title: string;
|
|
5
|
+
slug: string;
|
|
6
|
+
metadata: Record<string, any>;
|
|
7
|
+
status?: 'published' | 'unpublished';
|
|
8
|
+
children: DocumentTree[];
|
|
9
|
+
revision?: {
|
|
10
|
+
document_id: string;
|
|
11
|
+
file: {
|
|
12
|
+
filename: string;
|
|
13
|
+
modified_at: string;
|
|
14
|
+
};
|
|
15
|
+
id: string;
|
|
16
|
+
metadata: Record<string, any>;
|
|
17
|
+
raw_md_content: string;
|
|
18
|
+
title: string;
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
export interface DocumentListItem {
|
|
22
|
+
name: string;
|
|
23
|
+
id: string;
|
|
24
|
+
record: DocumentTree;
|
|
25
|
+
children?: DocumentListItem[];
|
|
26
|
+
selected?: boolean;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=document-list.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document-list.d.ts","sourceRoot":"","sources":["../../../src/types/document-list.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,EAAE,EAAE,MAAM,CAAA;IACV,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAClC,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;IAC7B,MAAM,CAAC,EAAE,WAAW,GAAG,aAAa,CAAA;IACpC,QAAQ,EAAE,YAAY,EAAE,CAAA;IACxB,QAAQ,CAAC,EAAE;QACT,WAAW,EAAE,MAAM,CAAA;QACnB,IAAI,EAAE;YACJ,QAAQ,EAAE,MAAM,CAAA;YAChB,WAAW,EAAE,MAAM,CAAA;SACpB,CAAA;QACD,EAAE,EAAE,MAAM,CAAA;QACV,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;QAC7B,cAAc,EAAE,MAAM,CAAA;QACtB,KAAK,EAAE,MAAM,CAAA;KACd,CAAA;CACF;AAED,MAAM,WAAW,gBAAgB;IAC/B,IAAI,EAAE,MAAM,CAAA;IACZ,EAAE,EAAE,MAAM,CAAA;IACV,MAAM,EAAE,YAAY,CAAA;IACpB,QAAQ,CAAC,EAAE,gBAAgB,EAAE,CAAA;IAC7B,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"document-modal.d.ts","sourceRoot":"","sources":["../../../src/types/document-modal.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,QAAQ;IACvB,QAAQ,EAAE,MAAM,CAAA;IAChB,QAAQ,EAAE,MAAM,CAAA;IAChB,OAAO,EAAE,MAAM,CAAA;IACf,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;CACf"}
|