@limetech/lime-elements 38.35.0 → 38.36.0
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/CHANGELOG.md +17 -0
- package/dist/cjs/lime-elements.cjs.js +1 -1
- package/dist/cjs/limel-action-bar_2.cjs.entry.js +1 -1
- package/dist/cjs/limel-ai-avatar.cjs.entry.js +1 -1
- package/dist/cjs/limel-callout.cjs.entry.js +1 -1
- package/dist/cjs/limel-chart.cjs.entry.js +1 -1
- package/dist/cjs/limel-chip_2.cjs.entry.js +1 -1
- package/dist/cjs/limel-code-editor.cjs.entry.js +49 -2
- package/dist/cjs/limel-code-editor.cjs.entry.js.map +1 -1
- package/dist/cjs/limel-collapsible-section.cjs.entry.js +1 -1
- package/dist/cjs/limel-dialog.cjs.entry.js +4 -4
- package/dist/cjs/limel-dialog.cjs.entry.js.map +1 -1
- package/dist/cjs/limel-drag-handle.cjs.entry.js +1 -1
- package/dist/cjs/limel-file-viewer.cjs.entry.js +1 -1
- package/dist/cjs/limel-file.cjs.entry.js +1 -1
- package/dist/cjs/limel-flatpickr-adapter.cjs.entry.js +1 -1
- package/dist/cjs/limel-linear-progress.cjs.entry.js +1 -1
- package/dist/cjs/limel-list-item.cjs.entry.js +1 -1
- package/dist/cjs/limel-profile-picture.cjs.entry.js +1 -1
- package/dist/cjs/limel-prosemirror-adapter.cjs.entry.js +1 -1
- package/dist/cjs/limel-snackbar.cjs.entry.js +1 -1
- package/dist/cjs/limel-table.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/{translations-e58b6da5.js → translations-350aa16f.js} +57 -1
- package/dist/cjs/translations-350aa16f.js.map +1 -0
- package/dist/collection/components/code-editor/code-editor.css +73 -20
- package/dist/collection/components/code-editor/code-editor.js +73 -2
- package/dist/collection/components/code-editor/code-editor.js.map +1 -1
- package/dist/collection/components/dialog/dialog.js +4 -4
- package/dist/collection/components/dialog/dialog.js.map +1 -1
- package/dist/collection/components/dialog/dialog.types.js.map +1 -1
- package/dist/collection/translations/da.js +7 -0
- package/dist/collection/translations/da.js.map +1 -1
- package/dist/collection/translations/de.js +7 -0
- package/dist/collection/translations/de.js.map +1 -1
- package/dist/collection/translations/en.js +7 -0
- package/dist/collection/translations/en.js.map +1 -1
- package/dist/collection/translations/fi.js +7 -0
- package/dist/collection/translations/fi.js.map +1 -1
- package/dist/collection/translations/fr.js +7 -0
- package/dist/collection/translations/fr.js.map +1 -1
- package/dist/collection/translations/nl.js +7 -0
- package/dist/collection/translations/nl.js.map +1 -1
- package/dist/collection/translations/no.js +7 -0
- package/dist/collection/translations/no.js.map +1 -1
- package/dist/collection/translations/sv.js +7 -0
- package/dist/collection/translations/sv.js.map +1 -1
- package/dist/esm/lime-elements.js +1 -1
- package/dist/esm/limel-action-bar_2.entry.js +1 -1
- package/dist/esm/limel-ai-avatar.entry.js +1 -1
- package/dist/esm/limel-callout.entry.js +1 -1
- package/dist/esm/limel-chart.entry.js +1 -1
- package/dist/esm/limel-chip_2.entry.js +1 -1
- package/dist/esm/limel-code-editor.entry.js +49 -2
- package/dist/esm/limel-code-editor.entry.js.map +1 -1
- package/dist/esm/limel-collapsible-section.entry.js +1 -1
- package/dist/esm/limel-dialog.entry.js +4 -4
- package/dist/esm/limel-dialog.entry.js.map +1 -1
- package/dist/esm/limel-drag-handle.entry.js +1 -1
- package/dist/esm/limel-file-viewer.entry.js +1 -1
- package/dist/esm/limel-file.entry.js +1 -1
- package/dist/esm/limel-flatpickr-adapter.entry.js +1 -1
- package/dist/esm/limel-linear-progress.entry.js +1 -1
- package/dist/esm/limel-list-item.entry.js +1 -1
- package/dist/esm/limel-profile-picture.entry.js +1 -1
- package/dist/esm/limel-prosemirror-adapter.entry.js +1 -1
- package/dist/esm/limel-snackbar.entry.js +1 -1
- package/dist/esm/limel-table.entry.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/{translations-4151479a.js → translations-694c7c68.js} +57 -1
- package/dist/esm/translations-694c7c68.js.map +1 -0
- package/dist/lime-elements/lime-elements.esm.js +1 -1
- package/dist/lime-elements/lime-elements.esm.js.map +1 -1
- package/dist/lime-elements/{p-3746c217.entry.js → p-20950d83.entry.js} +2 -2
- package/dist/lime-elements/{p-d76d70ce.entry.js → p-416f25fc.entry.js} +2 -2
- package/dist/lime-elements/{p-ffedb0be.entry.js → p-4ddb8b05.entry.js} +2 -2
- package/dist/lime-elements/{p-68799403.entry.js → p-533a3cfb.entry.js} +2 -2
- package/dist/lime-elements/{p-158897dd.entry.js → p-5eaa6f69.entry.js} +2 -2
- package/dist/lime-elements/{p-bf527989.entry.js → p-5f113a63.entry.js} +2 -2
- package/dist/lime-elements/{p-61b2e426.entry.js → p-6ef94d19.entry.js} +2 -2
- package/dist/lime-elements/{p-7da20f22.entry.js → p-706c2e84.entry.js} +2 -2
- package/dist/lime-elements/p-745417ee.entry.js +2 -0
- package/dist/lime-elements/p-745417ee.entry.js.map +1 -0
- package/dist/lime-elements/{p-ef1d26ac.entry.js → p-874f06f0.entry.js} +3 -3
- package/dist/lime-elements/p-874f06f0.entry.js.map +1 -0
- package/dist/lime-elements/{p-13bd2797.entry.js → p-8c667a56.entry.js} +2 -2
- package/dist/lime-elements/{p-99f5e70b.entry.js → p-9b809f4d.entry.js} +2 -2
- package/dist/lime-elements/{p-182ce303.entry.js → p-aa159bd8.entry.js} +2 -2
- package/dist/lime-elements/{p-7e1a548a.entry.js → p-bb0095c2.entry.js} +2 -2
- package/dist/lime-elements/{p-f529b510.entry.js → p-c823d32b.entry.js} +2 -2
- package/dist/lime-elements/{p-23de215d.entry.js → p-d497cac7.entry.js} +2 -2
- package/dist/lime-elements/p-df36e1ae.js +2 -0
- package/dist/lime-elements/p-df36e1ae.js.map +1 -0
- package/dist/lime-elements/{p-6d9fb8e8.entry.js → p-e739d600.entry.js} +2 -2
- package/dist/lime-elements/{p-dc55f5ca.entry.js → p-f8b6d7e1.entry.js} +2 -2
- package/dist/types/components/code-editor/code-editor.d.ts +11 -0
- package/dist/types/components/dialog/dialog.d.ts +1 -1
- package/dist/types/components/dialog/dialog.types.d.ts +1 -1
- package/dist/types/components.d.ts +8 -0
- package/dist/types/translations/da.d.ts +7 -0
- package/dist/types/translations/de.d.ts +7 -0
- package/dist/types/translations/en.d.ts +7 -0
- package/dist/types/translations/fi.d.ts +7 -0
- package/dist/types/translations/fr.d.ts +7 -0
- package/dist/types/translations/nl.d.ts +7 -0
- package/dist/types/translations/no.d.ts +7 -0
- package/dist/types/translations/sv.d.ts +7 -0
- package/package.json +1 -1
- package/dist/cjs/translations-e58b6da5.js.map +0 -1
- package/dist/esm/translations-4151479a.js.map +0 -1
- package/dist/lime-elements/p-93ea4214.entry.js +0 -2
- package/dist/lime-elements/p-93ea4214.entry.js.map +0 -1
- package/dist/lime-elements/p-c582027f.js +0 -2
- package/dist/lime-elements/p-c582027f.js.map +0 -1
- package/dist/lime-elements/p-ef1d26ac.entry.js.map +0 -1
- /package/dist/lime-elements/{p-3746c217.entry.js.map → p-20950d83.entry.js.map} +0 -0
- /package/dist/lime-elements/{p-d76d70ce.entry.js.map → p-416f25fc.entry.js.map} +0 -0
- /package/dist/lime-elements/{p-ffedb0be.entry.js.map → p-4ddb8b05.entry.js.map} +0 -0
- /package/dist/lime-elements/{p-68799403.entry.js.map → p-533a3cfb.entry.js.map} +0 -0
- /package/dist/lime-elements/{p-158897dd.entry.js.map → p-5eaa6f69.entry.js.map} +0 -0
- /package/dist/lime-elements/{p-bf527989.entry.js.map → p-5f113a63.entry.js.map} +0 -0
- /package/dist/lime-elements/{p-61b2e426.entry.js.map → p-6ef94d19.entry.js.map} +0 -0
- /package/dist/lime-elements/{p-7da20f22.entry.js.map → p-706c2e84.entry.js.map} +0 -0
- /package/dist/lime-elements/{p-13bd2797.entry.js.map → p-8c667a56.entry.js.map} +0 -0
- /package/dist/lime-elements/{p-99f5e70b.entry.js.map → p-9b809f4d.entry.js.map} +0 -0
- /package/dist/lime-elements/{p-182ce303.entry.js.map → p-aa159bd8.entry.js.map} +0 -0
- /package/dist/lime-elements/{p-7e1a548a.entry.js.map → p-bb0095c2.entry.js.map} +0 -0
- /package/dist/lime-elements/{p-f529b510.entry.js.map → p-c823d32b.entry.js.map} +0 -0
- /package/dist/lime-elements/{p-23de215d.entry.js.map → p-d497cac7.entry.js.map} +0 -0
- /package/dist/lime-elements/{p-6d9fb8e8.entry.js.map → p-e739d600.entry.js.map} +0 -0
- /package/dist/lime-elements/{p-dc55f5ca.entry.js.map → p-f8b6d7e1.entry.js.map} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"code-editor.js","sourceRoot":"","sources":["../../../src/components/code-editor/code-editor.tsx"],"names":[],"mappings":"AAAA,OAAO,EACH,SAAS,EACT,CAAC,EACD,IAAI,EACJ,OAAO,EACP,KAAK,EAEL,KAAK,EACL,KAAK,EACL,IAAI,GACP,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAE9D,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,yBAAyB,CAAC;AACjC,OAAO,qCAAqC,CAAC;AAC7C,OAAO,uCAAuC,CAAC;AAC/C,OAAO,+BAA+B,CAAC;AACvC,OAAO,wCAAwC,CAAC;AAChD,OAAO,qCAAqC,CAAC;AAC7C,OAAO,iCAAiC,CAAC;AACzC,OAAO,4BAA4B,CAAC;AACpC,OAAO,iCAAiC,CAAC;AACzC,OAAO,kCAAkC,CAAC;AAC1C,OAAO,kCAAkC,CAAC;AAC1C,OAAO,gCAAgC,CAAC;AACxC,OAAO,MAAM,MAAM,cAAc,CAAC;AAElC;;;;;GAKG;AAMH,MAAM,OAAO,UAAU;EA2GnB;IA8EQ,yBAAoB,GAAG,GAAG,EAAE;MAChC,IAAI,IAAI,CAAC,WAAW,KAAK,MAAM,EAAE;QAC7B,OAAO;OACV;MAED,IAAI,CAAC,WAAW,EAAE,CAAC;IACvB,CAAC,CAAC;IAEM,iB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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACJ","sourcesContent":["import {\n Component,\n h,\n Prop,\n Element,\n Event,\n EventEmitter,\n State,\n Watch,\n Host,\n} from '@stencil/core';\nimport { createRandomString } from '../../util/random-string';\nimport { ColorScheme, Language } from './code-editor.types';\nimport CodeMirror from 'codemirror';\nimport 'codemirror/mode/css/css';\nimport 'codemirror/mode/htmlmixed/htmlmixed';\nimport 'codemirror/mode/javascript/javascript';\nimport 'codemirror/mode/jinja2/jinja2';\nimport 'codemirror/addon/selection/active-line';\nimport 'codemirror/addon/edit/matchbrackets';\nimport 'codemirror/addon/edit/matchtags';\nimport 'codemirror/addon/lint/lint';\nimport 'codemirror/addon/lint/json-lint';\nimport 'codemirror/addon/fold/foldgutter';\nimport 'codemirror/addon/fold/brace-fold';\nimport 'codemirror/addon/fold/xml-fold';\nimport jslint from 'jsonlint-mod';\n\n/**\n * @exampleComponent limel-example-code-editor\n * @exampleComponent limel-example-code-editor-readonly-with-line-numbers\n * @exampleComponent limel-example-code-editor-fold-lint-wrap\n * @exampleComponent limel-example-code-editor-composite\n */\n@Component({\n tag: 'limel-code-editor',\n shadow: true,\n styleUrl: 'code-editor.scss',\n})\nexport class CodeEditor {\n /**\n * The code to be rendered\n */\n @Prop()\n public value: string = '';\n\n /**\n * The language of the code\n */\n @Prop()\n public language: Language;\n\n /**\n * Set to `true` to make the editor read-only.\n * Use `readonly` when the editor is only there to present the data it holds,\n * and will not become possible for the current user to edit.\n */\n @Prop({ reflect: true })\n public readonly = false;\n\n /**\n * Set to `true` to disable the editor.\n * Use `disabled` to indicate that the editor can normally be interacted\n * with, but is currently disabled. This tells the user that if certain\n * requirements are met, the editor may become enabled again.\n */\n @Prop({ reflect: true })\n public disabled = false;\n\n /**\n * Set to `true` to indicate that the current value of the input editor is\n * invalid.\n */\n @Prop({ reflect: true })\n public invalid = false;\n\n /**\n * Set to `true` to indicate that the field is required.\n */\n @Prop({ reflect: true })\n public required = false;\n\n /**\n * The input label.\n */\n @Prop({ reflect: true })\n public label?: string;\n\n /**\n * Optional helper text to display below the input field when it has focus\n */\n @Prop({ reflect: true })\n public helperText?: string;\n\n /**\n * Displays line numbers in the editor\n */\n @Prop({ reflect: true })\n public lineNumbers = false;\n\n /**\n * Wraps long lines instead of showing horizontal scrollbar\n */\n @Prop({ reflect: true })\n public lineWrapping = false;\n\n /**\n * Allows the user to fold code\n */\n @Prop({ reflect: true })\n public fold = false;\n\n /**\n * Enables linting of JSON content\n */\n @Prop({ reflect: true })\n public lint = false;\n\n /**\n * Select color scheme for the editor\n */\n @Prop({ reflect: true })\n public colorScheme: ColorScheme = 'auto';\n\n /**\n * Emitted when the code has changed. Will only be emitted when the code\n * area has lost focus\n */\n @Event()\n public change: EventEmitter<string>;\n\n @Element()\n private host: HTMLLimelCodeEditorElement;\n\n /**\n * This is only used to trigger a redraw if the\n * `(prefers-color-scheme: dark)` media query is changed\n */\n @State()\n protected random: number;\n\n private editor: CodeMirror.Editor;\n private observer: ResizeObserver;\n private labelId: string;\n private helperTextId: string;\n\n public constructor() {\n this.labelId = createRandomString();\n this.helperTextId = createRandomString();\n }\n\n public connectedCallback() {\n this.observer = new ResizeObserver(this.handleResize) as any;\n this.observer.observe(this.host);\n\n this.darkMode.addEventListener('change', this.handleChangeDarkMode);\n }\n\n public disconnectedCallback() {\n this.observer.unobserve(this.host);\n this.editor?.off('change', this.handleChange);\n this.editor = null;\n\n this.darkMode.removeEventListener('change', this.handleChangeDarkMode);\n\n const editorElement = this.host.shadowRoot.querySelector('.editor');\n // eslint-disable-next-line no-unsafe-optional-chaining\n for (const child of editorElement?.childNodes) {\n child.remove();\n }\n }\n\n public componentDidRender() {\n if (this.editor) {\n return;\n }\n\n this.editor = this.createEditor();\n this.updateInputFieldAccessibilityAttributes();\n }\n\n @Watch('value')\n protected watchValue(newValue: string) {\n if (!this.editor) {\n return;\n }\n\n const currentValue = this.editor.getValue();\n if (newValue === currentValue) {\n // Circuit breaker for when the change comes from the editor itself\n // The caret position will be reset without this\n return;\n }\n\n this.editor.getDoc().setValue(newValue || '');\n }\n\n @Watch('disabled')\n protected watchDisabled() {\n this.updateEditorReadOnlyState();\n this.updateInputFieldAccessibilityAttributes();\n }\n\n @Watch('readonly')\n protected watchReadonly() {\n this.updateEditorReadOnlyState();\n this.updateInputFieldAccessibilityAttributes();\n }\n\n @Watch('invalid')\n protected watchInvalid() {\n this.updateInputFieldAccessibilityAttributes();\n }\n\n @Watch('required')\n protected watchRequired() {\n this.updateInputFieldAccessibilityAttributes();\n }\n\n @Watch('helperText')\n protected watchHelperText() {\n this.updateInputFieldAccessibilityAttributes();\n }\n\n private handleChangeDarkMode = () => {\n if (this.colorScheme !== 'auto') {\n return;\n }\n\n this.forceRedraw();\n };\n\n private handleChange = () => {\n this.change.emit(this.editor.getValue());\n };\n\n private handleResize = () => {\n if (!this.editor) {\n return;\n }\n\n this.editor.refresh();\n };\n\n private createEditor() {\n const options = this.getOptions();\n\n const editor = CodeMirror(\n this.host.shadowRoot.querySelector('.editor'),\n options\n );\n\n editor.on('change', this.handleChange);\n\n // Replace tab with spaces and use the actual indent setting for\n // the space count\n editor.setOption('extraKeys', {\n Tab: (codeMirror) => {\n const spaces = ' '.repeat(codeMirror.getOption('indentUnit'));\n codeMirror.replaceSelection(spaces);\n },\n });\n\n return editor;\n }\n\n private getOptions(): CodeMirror.EditorConfiguration {\n let mode: string | CodeMirror.ModeSpec<any> = this.language;\n const TAB_SIZE = 4;\n let theme = 'lime light';\n const gutters = [];\n\n if (this.isDarkMode()) {\n theme = 'lime dark';\n }\n\n if (this.language === 'json') {\n mode = {\n name: 'application/json',\n json: true,\n };\n if (this.lint) {\n gutters.push('CodeMirror-lint-markers');\n if (!('jsonlint' in window)) {\n window['jsonlint'] = jslint;\n }\n }\n } else if (this.language === 'typescript') {\n mode = {\n name: 'application/typescript',\n typescript: true,\n };\n } else if (this.language === 'html') {\n mode = 'htmlmixed';\n }\n\n if (this.fold) {\n gutters.push('CodeMirror-foldgutter');\n }\n\n return {\n mode: mode,\n value: this.value || '',\n theme: theme,\n readOnly: this.getReadOnlyOption(),\n tabSize: TAB_SIZE,\n indentUnit: TAB_SIZE,\n lineNumbers: this.lineNumbers,\n lineWrapping: this.lineWrapping,\n styleActiveLine: true,\n matchBrackets: true,\n matchTags: { bothTags: true },\n lint: this.lint,\n foldGutter: this.fold,\n gutters: gutters,\n };\n }\n\n private isDarkMode(): boolean {\n if (this.colorScheme !== 'auto') {\n return this.colorScheme === 'dark';\n }\n\n return this.darkMode.matches;\n }\n\n public render() {\n const classList = {\n editor: true,\n readonly: this.readonly || this.disabled,\n disabled: this.disabled,\n 'is-dark-mode': this.isDarkMode(),\n 'is-light-mode': !this.isDarkMode(),\n };\n\n return (\n <Host>\n <limel-notched-outline\n labelId={this.labelId}\n label={this.label}\n required={this.required}\n invalid={this.invalid}\n disabled={this.disabled}\n readonly={this.readonly}\n hasValue={!!this.value}\n hasFloatingLabel={true}\n >\n <div slot=\"content\" class={classList} />\n </limel-notched-outline>\n {this.renderHelperLine()}\n </Host>\n );\n }\n\n private renderHelperLine = () => {\n if (!this.helperText) {\n return;\n }\n\n return (\n <limel-helper-line\n helperText={this.helperText}\n helperTextId={this.helperTextId}\n invalid={this.invalid}\n />\n );\n };\n\n private forceRedraw() {\n // eslint-disable-next-line sonarjs/pseudo-random\n this.random = Math.random();\n }\n\n private get darkMode(): MediaQueryList {\n return matchMedia('(prefers-color-scheme: dark)');\n }\n\n private updateEditorReadOnlyState() {\n if (!this.editor) {\n return;\n }\n\n this.editor.setOption('readOnly', this.getReadOnlyOption());\n }\n\n private getReadOnlyOption(): boolean | 'nocursor' {\n if (this.disabled) {\n return 'nocursor';\n }\n\n return this.readonly;\n }\n\n private updateInputFieldAccessibilityAttributes() {\n if (!this.editor) {\n return;\n }\n\n const inputField = this.editor.getInputField();\n if (!inputField) {\n return;\n }\n\n inputField.id = this.labelId;\n\n if (this.helperText) {\n inputField.setAttribute('aria-describedby', this.helperTextId);\n inputField.setAttribute('aria-controls', this.helperTextId);\n } else {\n inputField.removeAttribute('aria-describedby');\n inputField.removeAttribute('aria-controls');\n }\n\n if (this.required) {\n inputField.setAttribute('aria-required', 'true');\n } else {\n inputField.removeAttribute('aria-required');\n }\n\n if (this.invalid) {\n inputField.setAttribute('aria-invalid', 'true');\n } else {\n inputField.removeAttribute('aria-invalid');\n }\n\n if (this.disabled) {\n inputField.setAttribute('aria-disabled', 'true');\n } else {\n inputField.removeAttribute('aria-disabled');\n }\n\n if (this.readonly || this.disabled) {\n inputField.setAttribute('aria-readonly', 'true');\n } else {\n inputField.removeAttribute('aria-readonly');\n }\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"code-editor.js","sourceRoot":"","sources":["../../../src/components/code-editor/code-editor.tsx"],"names":[],"mappings":"AAAA,OAAO,EACH,SAAS,EACT,CAAC,EACD,IAAI,EACJ,OAAO,EACP,KAAK,EAEL,KAAK,EACL,KAAK,EACL,IAAI,GACP,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAE9D,OAAO,UAAU,MAAM,YAAY,CAAC;AACpC,OAAO,yBAAyB,CAAC;AACjC,OAAO,qCAAqC,CAAC;AAC7C,OAAO,uCAAuC,CAAC;AAC/C,OAAO,+BAA+B,CAAC;AACvC,OAAO,wCAAwC,CAAC;AAChD,OAAO,qCAAqC,CAAC;AAC7C,OAAO,iCAAiC,CAAC;AACzC,OAAO,4BAA4B,CAAC;AACpC,OAAO,iCAAiC,CAAC;AACzC,OAAO,kCAAkC,CAAC;AAC1C,OAAO,kCAAkC,CAAC;AAC1C,OAAO,gCAAgC,CAAC;AACxC,OAAO,MAAM,MAAM,cAAc,CAAC;AAClC,OAAO,SAAS,MAAM,2BAA2B,CAAC;AAKlD;;;;;GAKG;AAMH,MAAM,OAAO,UAAU;EAqHnB;IA8EQ,yBAAoB,GAAG,GAAG,EAAE;MAChC,IAAI,IAAI,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CAAC,YAAY,CAAC,cAAc,EAAE,MAAM,CAAC,CAAC;KACnD;SAAM;MACH,UAAU,CAAC,eAAe,CAAC,cAAc,CAAC,CAAC;KAC9C;IAED,IAAI,IAAI,CAAC,QAAQ,EAAE;MACf,UAAU,CAAC,YAAY,CAAC,eAAe,EAAE,MAAM,CAAC,CAAC;KACpD;SAAM;MACH,UAAU,CAAC,eAAe,CAAC,eAAe,CAAC,CAAC;KAC/C;IAED,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,QAAQ,EAAE;MAChC,UAAU,CAAC,YAAY,CAAC,eAAe,EAAE,MAAM,CAAC,CAAC;KACpD;SAAM;MACH,UAAU,CAAC,eAAe,CAAC,eAAe,CAAC,CAAC;KAC/C;EACL,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACJ","sourcesContent":["import {\n Component,\n h,\n Prop,\n Element,\n Event,\n EventEmitter,\n State,\n Watch,\n Host,\n} from '@stencil/core';\nimport { createRandomString } from '../../util/random-string';\nimport { ColorScheme, Language } from './code-editor.types';\nimport CodeMirror from 'codemirror';\nimport 'codemirror/mode/css/css';\nimport 'codemirror/mode/htmlmixed/htmlmixed';\nimport 'codemirror/mode/javascript/javascript';\nimport 'codemirror/mode/jinja2/jinja2';\nimport 'codemirror/addon/selection/active-line';\nimport 'codemirror/addon/edit/matchbrackets';\nimport 'codemirror/addon/edit/matchtags';\nimport 'codemirror/addon/lint/lint';\nimport 'codemirror/addon/lint/json-lint';\nimport 'codemirror/addon/fold/foldgutter';\nimport 'codemirror/addon/fold/brace-fold';\nimport 'codemirror/addon/fold/xml-fold';\nimport jslint from 'jsonlint-mod';\nimport translate from '../../global/translations';\nimport { Languages } from '../date-picker/date.types';\n\ntype CopyState = 'idle' | 'success' | 'failed';\n\n/**\n * @exampleComponent limel-example-code-editor\n * @exampleComponent limel-example-code-editor-readonly-with-line-numbers\n * @exampleComponent limel-example-code-editor-fold-lint-wrap\n * @exampleComponent limel-example-code-editor-composite\n */\n@Component({\n tag: 'limel-code-editor',\n shadow: true,\n styleUrl: 'code-editor.scss',\n})\nexport class CodeEditor {\n /**\n * The code to be rendered\n */\n @Prop()\n public value: string = '';\n\n /**\n * The language of the code\n */\n @Prop()\n public language: Language;\n\n /**\n * Set to `true` to make the editor read-only.\n * Use `readonly` when the editor is only there to present the data it holds,\n * and will not become possible for the current user to edit.\n */\n @Prop({ reflect: true })\n public readonly = false;\n\n /**\n * Set to `true` to disable the editor.\n * Use `disabled` to indicate that the editor can normally be interacted\n * with, but is currently disabled. This tells the user that if certain\n * requirements are met, the editor may become enabled again.\n */\n @Prop({ reflect: true })\n public disabled = false;\n\n /**\n * Set to `true` to indicate that the current value of the input editor is\n * invalid.\n */\n @Prop({ reflect: true })\n public invalid = false;\n\n /**\n * Set to `true` to indicate that the field is required.\n */\n @Prop({ reflect: true })\n public required = false;\n\n /**\n * The input label.\n */\n @Prop({ reflect: true })\n public label?: string;\n\n /**\n * Optional helper text to display below the input field when it has focus\n */\n @Prop({ reflect: true })\n public helperText?: string;\n\n /**\n * Displays line numbers in the editor\n */\n @Prop({ reflect: true })\n public lineNumbers = false;\n\n /**\n * Wraps long lines instead of showing horizontal scrollbar\n */\n @Prop({ reflect: true })\n public lineWrapping = false;\n\n /**\n * Allows the user to fold code\n */\n @Prop({ reflect: true })\n public fold = false;\n\n /**\n * Enables linting of JSON content\n */\n @Prop({ reflect: true })\n public lint = false;\n\n /**\n * Select color scheme for the editor\n */\n @Prop({ reflect: true })\n public colorScheme: ColorScheme = 'auto';\n\n /**\n * Defines the language for translations.\n * Will translate the translatable strings on the components.\n */\n @Prop({ reflect: true })\n public translationLanguage: Languages = 'en';\n\n /**\n * Emitted when the code has changed. Will only be emitted when the code\n * area has lost focus\n */\n @Event()\n public change: EventEmitter<string>;\n\n @Element()\n private host: HTMLLimelCodeEditorElement;\n\n /**\n * This is only used to trigger a redraw if the\n * `(prefers-color-scheme: dark)` media query is changed\n */\n @State()\n protected random: number;\n\n @State()\n private wasCopied: CopyState = 'idle';\n\n private editor: CodeMirror.Editor;\n private observer: ResizeObserver;\n private labelId: string;\n private helperTextId: string;\n\n public constructor() {\n this.labelId = createRandomString();\n this.helperTextId = createRandomString();\n }\n\n public connectedCallback() {\n this.observer = new ResizeObserver(this.handleResize) as any;\n this.observer.observe(this.host);\n\n this.darkMode.addEventListener('change', this.handleChangeDarkMode);\n }\n\n public disconnectedCallback() {\n this.observer.unobserve(this.host);\n this.editor?.off('change', this.handleChange);\n this.editor = null;\n\n this.darkMode.removeEventListener('change', this.handleChangeDarkMode);\n\n const editorElement = this.host.shadowRoot.querySelector('.editor');\n // eslint-disable-next-line no-unsafe-optional-chaining\n for (const child of editorElement?.childNodes) {\n child.remove();\n }\n }\n\n public componentDidRender() {\n if (this.editor) {\n return;\n }\n\n this.editor = this.createEditor();\n this.updateInputFieldAccessibilityAttributes();\n }\n\n @Watch('value')\n protected watchValue(newValue: string) {\n if (!this.editor) {\n return;\n }\n\n const currentValue = this.editor.getValue();\n if (newValue === currentValue) {\n // Circuit breaker for when the change comes from the editor itself\n // The caret position will be reset without this\n return;\n }\n\n this.editor.getDoc().setValue(newValue || '');\n }\n\n @Watch('disabled')\n protected watchDisabled() {\n this.updateEditorReadOnlyState();\n this.updateInputFieldAccessibilityAttributes();\n }\n\n @Watch('readonly')\n protected watchReadonly() {\n this.updateEditorReadOnlyState();\n this.updateInputFieldAccessibilityAttributes();\n }\n\n @Watch('invalid')\n protected watchInvalid() {\n this.updateInputFieldAccessibilityAttributes();\n }\n\n @Watch('required')\n protected watchRequired() {\n this.updateInputFieldAccessibilityAttributes();\n }\n\n @Watch('helperText')\n protected watchHelperText() {\n this.updateInputFieldAccessibilityAttributes();\n }\n\n private handleChangeDarkMode = () => {\n if (this.colorScheme !== 'auto') {\n return;\n }\n\n this.forceRedraw();\n };\n\n private handleChange = () => {\n this.change.emit(this.editor.getValue());\n };\n\n private handleResize = () => {\n if (!this.editor) {\n return;\n }\n\n this.editor.refresh();\n };\n\n private createEditor() {\n const options = this.getOptions();\n\n const editor = CodeMirror(\n this.host.shadowRoot.querySelector('.editor'),\n options\n );\n\n editor.on('change', this.handleChange);\n\n // Replace tab with spaces and use the actual indent setting for\n // the space count\n editor.setOption('extraKeys', {\n Tab: (codeMirror) => {\n const spaces = ' '.repeat(codeMirror.getOption('indentUnit'));\n codeMirror.replaceSelection(spaces);\n },\n });\n\n return editor;\n }\n\n private getOptions(): CodeMirror.EditorConfiguration {\n let mode: string | CodeMirror.ModeSpec<any> = this.language;\n const TAB_SIZE = 4;\n let theme = 'lime light';\n const gutters = [];\n\n if (this.isDarkMode()) {\n theme = 'lime dark';\n }\n\n if (this.language === 'json') {\n mode = {\n name: 'application/json',\n json: true,\n };\n if (this.lint) {\n gutters.push('CodeMirror-lint-markers');\n if (!('jsonlint' in window)) {\n window['jsonlint'] = jslint;\n }\n }\n } else if (this.language === 'typescript') {\n mode = {\n name: 'application/typescript',\n typescript: true,\n };\n } else if (this.language === 'html') {\n mode = 'htmlmixed';\n }\n\n if (this.fold) {\n gutters.push('CodeMirror-foldgutter');\n }\n\n return {\n mode: mode,\n value: this.value || '',\n theme: theme,\n readOnly: this.getReadOnlyOption(),\n tabSize: TAB_SIZE,\n indentUnit: TAB_SIZE,\n lineNumbers: this.lineNumbers,\n lineWrapping: this.lineWrapping,\n styleActiveLine: true,\n matchBrackets: true,\n matchTags: { bothTags: true },\n lint: this.lint,\n foldGutter: this.fold,\n gutters: gutters,\n };\n }\n\n private isDarkMode(): boolean {\n if (this.colorScheme !== 'auto') {\n return this.colorScheme === 'dark';\n }\n\n return this.darkMode.matches;\n }\n\n public render() {\n const classList = {\n editor: true,\n readonly: this.readonly || this.disabled,\n disabled: this.disabled,\n 'is-dark-mode': this.isDarkMode(),\n 'is-light-mode': !this.isDarkMode(),\n };\n\n return (\n <Host>\n {this.renderCopyButton()}\n <limel-notched-outline\n labelId={this.labelId}\n label={this.label}\n required={this.required}\n invalid={this.invalid}\n disabled={this.disabled}\n readonly={this.readonly}\n hasValue={!!this.value}\n hasFloatingLabel={true}\n >\n <div slot=\"content\" class={classList} />\n </limel-notched-outline>\n {this.renderHelperLine()}\n </Host>\n );\n }\n\n private renderHelperLine = () => {\n if (!this.helperText) {\n return;\n }\n\n return (\n <limel-helper-line\n helperText={this.helperText}\n helperTextId={this.helperTextId}\n invalid={this.invalid}\n />\n );\n };\n\n private forceRedraw() {\n // eslint-disable-next-line sonarjs/pseudo-random\n this.random = Math.random();\n }\n\n private renderCopyButton() {\n const hasContent = !!(this.editor?.getValue() || this.value);\n\n if (!hasContent || this.disabled) {\n return;\n }\n\n return (\n <button\n class=\"copy-button\"\n onClick={this.copyCode}\n type=\"button\"\n aria-live=\"polite\"\n aria-atomic=\"true\"\n aria-label={this.getButtonAriaLabel()}\n >\n {this.getButtonText()}\n </button>\n );\n }\n\n private copyCode = async () => {\n // Prefer the live editor content; fall back to the prop value\n const text = this.editor?.getValue() ?? this.value ?? '';\n try {\n await navigator.clipboard.writeText(text);\n this.wasCopied = 'success';\n setTimeout(() => {\n this.wasCopied = 'idle';\n }, 2000);\n } catch (error) {\n console.error('Failed to copy to clipboard:', error);\n this.wasCopied = 'failed';\n }\n };\n\n private getButtonText() {\n if (this.wasCopied === 'success') {\n return translate.get(\n 'code-editor.copied',\n this.translationLanguage\n );\n }\n if (this.wasCopied === 'failed') {\n return translate.get(\n 'code-editor.copy-failed',\n this.translationLanguage\n );\n }\n return translate.get('code-editor.copy', this.translationLanguage);\n }\n\n private getButtonAriaLabel() {\n const label =\n this.label ||\n translate.get('code-editor', this.translationLanguage);\n\n const translationKeys = {\n success: 'code-editor.copied-aria-label',\n failed: 'code-editor.copy-failed-aria-label',\n idle: 'code-editor.copy-aria-label',\n };\n\n const key = translationKeys[this.wasCopied];\n\n return translate.get(key, this.translationLanguage, { label });\n }\n\n private get darkMode(): MediaQueryList {\n return matchMedia('(prefers-color-scheme: dark)');\n }\n\n private updateEditorReadOnlyState() {\n if (!this.editor) {\n return;\n }\n\n this.editor.setOption('readOnly', this.getReadOnlyOption());\n }\n\n private getReadOnlyOption(): boolean | 'nocursor' {\n if (this.disabled) {\n return 'nocursor';\n }\n\n return this.readonly;\n }\n\n private updateInputFieldAccessibilityAttributes() {\n if (!this.editor) {\n return;\n }\n\n const inputField = this.editor.getInputField();\n if (!inputField) {\n return;\n }\n\n inputField.id = this.labelId;\n\n if (this.helperText) {\n inputField.setAttribute('aria-describedby', this.helperTextId);\n inputField.setAttribute('aria-controls', this.helperTextId);\n } else {\n inputField.removeAttribute('aria-describedby');\n inputField.removeAttribute('aria-controls');\n }\n\n if (this.required) {\n inputField.setAttribute('aria-required', 'true');\n } else {\n inputField.removeAttribute('aria-required');\n }\n\n if (this.invalid) {\n inputField.setAttribute('aria-invalid', 'true');\n } else {\n inputField.removeAttribute('aria-invalid');\n }\n\n if (this.disabled) {\n inputField.setAttribute('aria-disabled', 'true');\n } else {\n inputField.removeAttribute('aria-disabled');\n }\n\n if (this.readonly || this.disabled) {\n inputField.setAttribute('aria-readonly', 'true');\n } else {\n inputField.removeAttribute('aria-readonly');\n }\n }\n}\n"]}
|
|
@@ -118,16 +118,16 @@ export class Dialog {
|
|
|
118
118
|
handleMdcClosing() {
|
|
119
119
|
this.closing.emit();
|
|
120
120
|
}
|
|
121
|
-
|
|
122
|
-
return typeof heading === 'object' && !!heading.title
|
|
121
|
+
isDialogHeadingObject(heading) {
|
|
122
|
+
return typeof heading === 'object' && !!heading.title;
|
|
123
123
|
}
|
|
124
124
|
renderHeading() {
|
|
125
|
-
if (this.
|
|
125
|
+
if (this.isDialogHeadingObject(this.heading)) {
|
|
126
126
|
const { title, subtitle, supportingText, icon } = this.heading;
|
|
127
127
|
return (h("limel-header", { icon: icon, heading: title, subheading: subtitle, supportingText: supportingText }, h("slot", { name: "header-actions", slot: "actions" })));
|
|
128
128
|
}
|
|
129
129
|
else if (typeof this.heading === 'string') {
|
|
130
|
-
return h("limel-header", { heading: this.heading });
|
|
130
|
+
return (h("limel-header", { heading: this.heading }, h("slot", { name: "header-actions", slot: "actions" })));
|
|
131
131
|
}
|
|
132
132
|
return null;
|
|
133
133
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.js","sourceRoot":"","sources":["../../../src/components/dialog/dialog.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EACH,SAAS,EACT,OAAO,EACP,KAAK,EAEL,CAAC,EACD,IAAI,EACJ,KAAK,GACR,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAE9D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAMH,MAAM,OAAO,MAAM;EA+Cf;;sBApCoB,KAAK;gBAMX,KAAK;0BAMqB;MACpC,SAAS,EAAE,IAAI;MACf,UAAU,EAAE,IAAI;KACnB;IAsBG,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACvD,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACvD,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAAC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AAC,gBAAgB,GAAG,OAAO,CAAC;KAC7C;IAED,IAAI,CAAC,SAAS,CAAC,eAAe,GAAG,EAAE,CAAC;IACpC,IAAI,IAAI,CAAC,cAAc,CAAC,SAAS,EAAE;MAC/B,IAAI,CAAC,SAAS,CAAC,eAAe,GAAG,OAAO,CAAC;KAC5C;EACL,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACJ","sourcesContent":["import { DialogHeading, ClosingActions } from './dialog.types';\nimport { MDCDialog } from '@material/dialog';\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Prop,\n Watch,\n} from '@stencil/core';\nimport { isEqual } from 'lodash-es';\nimport { dispatchResizeEvent } from '../../util/dispatch-resize-event';\nimport { createRandomString } from '../../util/random-string';\n\n/**\n * :::note\n * Regarding the `close` event: When putting other elements that emit `close`\n * events inside a dialog, those events must be caught and stopped inside the\n * dialog. If not, they will bubble to the event handler listening for `close`\n * events on the dialog, which will close the dialog too.\n *\n * See the example _Nested `close` events_.\n * :::\n *\n * :::important\n * Are you developing for\n * [Lime CRM](https://www.lime-technologies.com/en/lime-crm/)? Please note that\n * you should use the [DialogRenderer](https://lundalogik.github.io/lime-web-components/versions/latest/interfaces/DialogRenderer.html)\n * from Lime Web Components to open dialogs in Lime CRM.\n * :::\n *\n * @exampleComponent limel-example-dialog\n * @exampleComponent limel-example-dialog-nested-close-events\n * @exampleComponent limel-example-dialog-heading\n * @exampleComponent limel-example-dialog-heading-actions\n * @exampleComponent limel-example-dialog-form\n * @exampleComponent limel-example-dialog-size\n * @exampleComponent limel-example-dialog-fullscreen\n * @exampleComponent limel-example-dialog-closing-actions\n * @exampleComponent limel-example-dialog-action-buttons\n * @slot - Content to put inside the dialog\n * @slot header-actions - The dialog header buttons\n * @slot button - The dialog buttons\n */\n@Component({\n tag: 'limel-dialog',\n shadow: true,\n styleUrl: 'dialog.scss',\n})\nexport class Dialog {\n /**\n * The heading for the dialog, if any.\n */\n @Prop()\n public heading: string | DialogHeading;\n\n /**\n * Set to `true` to make the dialog \"fullscreen\".\n */\n @Prop({ reflect: true })\n public fullscreen = false;\n\n /**\n * `true` if the dialog is open, `false` otherwise.\n */\n @Prop({ mutable: true, reflect: true })\n public open = false;\n\n /**\n * Defines which action triggers a close-event.\n */\n @Prop({ reflect: true })\n public closingActions: ClosingActions = {\n escapeKey: true,\n scrimClick: true,\n };\n /**\n * Emitted when the dialog is closed from inside the component.\n * (*Not* emitted when the consumer sets the `open`-property to `false`.)\n */\n @Event()\n private close: EventEmitter<void>;\n\n /**\n * Emitted when the dialog is in the process of being closed.\n */\n @Event()\n private closing: EventEmitter<void>;\n\n @Element()\n private host: HTMLLimelDialogElement;\n\n private mdcDialog: MDCDialog;\n\n private id: string;\n\n constructor() {\n this.handleMdcOpened = this.handleMdcOpened.bind(this);\n this.handleMdcClosed = this.handleMdcClosed.bind(this);\n this.handleMdcClosing = this.handleMdcClosing.bind(this);\n }\n\n public connectedCallback() {\n this.initialize();\n }\n\n public componentWillLoad() {\n this.id = createRandomString();\n }\n\n public componentDidLoad() {\n this.initialize();\n }\n\n private initialize() {\n const element = this.host.shadowRoot.querySelector('.mdc-dialog');\n if (!element) {\n return;\n }\n\n this.mdcDialog = new MDCDialog(element);\n if (this.open) {\n this.mdcDialog.open();\n }\n\n this.mdcDialog.listen('MDCDialog:opened', this.handleMdcOpened);\n this.mdcDialog.listen('MDCDialog:closed', this.handleMdcClosed);\n this.mdcDialog.listen('MDCDialog:closing', this.handleMdcClosing);\n\n this.setClosingActions();\n }\n\n public disconnectedCallback() {\n this.mdcDialog.unlisten('MDCDialog:opened', this.handleMdcOpened);\n this.mdcDialog.unlisten('MDCDialog:closed', this.handleMdcClosed);\n this.mdcDialog.unlisten('MDCDialog:closing', this.handleMdcClosing);\n this.mdcDialog.destroy();\n }\n\n public render() {\n return (\n <div\n class={{\n 'mdc-dialog': true,\n 'full-screen': !!this.fullscreen,\n }}\n role=\"alertdialog\"\n aria-modal=\"true\"\n aria-labelledby={'limel-dialog-title-' + this.id}\n aria-describedby={'limel-dialog-content-' + this.id}\n >\n <input hidden={true} id=\"initialFocusEl\" />\n <div class=\"mdc-dialog__container\">\n <div class=\"mdc-dialog__surface\">\n {/*\n The `initialFocusElement` below is needed to make\n focus trapping work. At the time of writing, the\n focusable elements inside the slots are not\n detected, so we supply our own hidden element for\n the focus trap to use. Read more here:\n https://github.com/material-components/material-components-web/tree/v11.0.0/packages/mdc-dialog#handling-focus-trapping\n */}\n <input type=\"button\" id=\"initialFocusElement\" />\n {this.renderHeading()}\n <div\n class=\"mdc-dialog__content\"\n id={'limel-dialog-content-' + this.id}\n >\n <slot />\n </div>\n {this.renderFooter()}\n </div>\n </div>\n <div class=\"mdc-dialog__scrim\" />\n </div>\n );\n }\n\n @Watch('open')\n protected watchHandler(newValue: boolean, oldValue: boolean) {\n if (oldValue === newValue) {\n return;\n }\n\n if (!this.mdcDialog) {\n return;\n }\n\n if (newValue) {\n this.mdcDialog.open();\n } else {\n this.mdcDialog.close();\n }\n }\n\n @Watch('closingActions')\n protected closingActionsChanged(\n newValue: ClosingActions,\n oldValue: ClosingActions\n ) {\n if (isEqual(newValue, oldValue)) {\n return;\n }\n\n this.setClosingActions();\n }\n\n private handleMdcOpened() {\n // When the opening-animation has completed, dispatch a\n // resize-event so that any content that depends on\n // javascript for layout has a chance to update to the\n // final layout of the dialog. /Ads\n const waitForUiToRender = 100;\n setTimeout(dispatchResizeEvent, waitForUiToRender);\n }\n\n private handleMdcClosed() {\n if (this.open) {\n this.close.emit();\n }\n\n this.open = false;\n }\n\n private handleMdcClosing() {\n this.closing.emit();\n }\n\n private isBadgeHeading(\n heading: string | DialogHeading\n ): heading is DialogHeading {\n return typeof heading === 'object' && !!heading.title && !!heading.icon;\n }\n\n private renderHeading() {\n if (this.isBadgeHeading(this.heading)) {\n const { title, subtitle, supportingText, icon } = this.heading;\n\n return (\n <limel-header\n icon={icon}\n heading={title}\n subheading={subtitle}\n supportingText={supportingText}\n >\n <slot name=\"header-actions\" slot=\"actions\" />\n </limel-header>\n );\n } else if (typeof this.heading === 'string') {\n return <limel-header heading={this.heading}></limel-header>;\n }\n\n return null;\n }\n\n private renderFooter() {\n return (\n <footer class=\"mdc-dialog__actions\">\n <slot name=\"button\" />\n </footer>\n );\n }\n\n private setClosingActions() {\n this.mdcDialog.scrimClickAction = '';\n if (this.closingActions.scrimClick) {\n this.mdcDialog.scrimClickAction = 'close';\n }\n\n this.mdcDialog.escapeKeyAction = '';\n if (this.closingActions.escapeKey) {\n this.mdcDialog.escapeKeyAction = 'close';\n }\n }\n}\n"]}
|
|
1
|
+
{"version":3,"file":"dialog.js","sourceRoot":"","sources":["../../../src/components/dialog/dialog.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EACH,SAAS,EACT,OAAO,EACP,KAAK,EAEL,CAAC,EACD,IAAI,EACJ,KAAK,GACR,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAE9D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AAMH,MAAM,OAAO,MAAM;EA+Cf;;sBApCoB,KAAK;gBAMX,KAAK;0BAMqB;MACpC,SAAS,EAAE,IAAI;MACf,UAAU,EAAE,IAAI;KACnB;IAsBG,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACvD,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC,eAAe,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACvD,IAAI,CAAC,gBA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AC;IACrC,IAAI,IAAI,CAAC,cAAc,CAAC,UAAU,EAAE;MAChC,IAAI,CAAC,SAAS,CAAC,gBAAgB,GAAG,OAAO,CAAC;KAC7C;IAED,IAAI,CAAC,SAAS,CAAC,eAAe,GAAG,EAAE,CAAC;IACpC,IAAI,IAAI,CAAC,cAAc,CAAC,SAAS,EAAE;MAC/B,IAAI,CAAC,SAAS,CAAC,eAAe,GAAG,OAAO,CAAC;KAC5C;EACL,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACJ","sourcesContent":["import { DialogHeading, ClosingActions } from './dialog.types';\nimport { MDCDialog } from '@material/dialog';\nimport {\n Component,\n Element,\n Event,\n EventEmitter,\n h,\n Prop,\n Watch,\n} from '@stencil/core';\nimport { isEqual } from 'lodash-es';\nimport { dispatchResizeEvent } from '../../util/dispatch-resize-event';\nimport { createRandomString } from '../../util/random-string';\n\n/**\n * :::note\n * Regarding the `close` event: When putting other elements that emit `close`\n * events inside a dialog, those events must be caught and stopped inside the\n * dialog. If not, they will bubble to the event handler listening for `close`\n * events on the dialog, which will close the dialog too.\n *\n * See the example _Nested `close` events_.\n * :::\n *\n * :::important\n * Are you developing for\n * [Lime CRM](https://www.lime-technologies.com/en/lime-crm/)? Please note that\n * you should use the [DialogRenderer](https://lundalogik.github.io/lime-web-components/versions/latest/interfaces/DialogRenderer.html)\n * from Lime Web Components to open dialogs in Lime CRM.\n * :::\n *\n * @exampleComponent limel-example-dialog\n * @exampleComponent limel-example-dialog-nested-close-events\n * @exampleComponent limel-example-dialog-heading\n * @exampleComponent limel-example-dialog-heading-actions\n * @exampleComponent limel-example-dialog-form\n * @exampleComponent limel-example-dialog-size\n * @exampleComponent limel-example-dialog-fullscreen\n * @exampleComponent limel-example-dialog-closing-actions\n * @exampleComponent limel-example-dialog-action-buttons\n * @slot - Content to put inside the dialog\n * @slot header-actions - The dialog header buttons\n * @slot button - The dialog buttons\n */\n@Component({\n tag: 'limel-dialog',\n shadow: true,\n styleUrl: 'dialog.scss',\n})\nexport class Dialog {\n /**\n * The heading for the dialog, if any.\n */\n @Prop()\n public heading: string | DialogHeading;\n\n /**\n * Set to `true` to make the dialog \"fullscreen\".\n */\n @Prop({ reflect: true })\n public fullscreen = false;\n\n /**\n * `true` if the dialog is open, `false` otherwise.\n */\n @Prop({ mutable: true, reflect: true })\n public open = false;\n\n /**\n * Defines which action triggers a close-event.\n */\n @Prop({ reflect: true })\n public closingActions: ClosingActions = {\n escapeKey: true,\n scrimClick: true,\n };\n /**\n * Emitted when the dialog is closed from inside the component.\n * (*Not* emitted when the consumer sets the `open`-property to `false`.)\n */\n @Event()\n private close: EventEmitter<void>;\n\n /**\n * Emitted when the dialog is in the process of being closed.\n */\n @Event()\n private closing: EventEmitter<void>;\n\n @Element()\n private host: HTMLLimelDialogElement;\n\n private mdcDialog: MDCDialog;\n\n private id: string;\n\n constructor() {\n this.handleMdcOpened = this.handleMdcOpened.bind(this);\n this.handleMdcClosed = this.handleMdcClosed.bind(this);\n this.handleMdcClosing = this.handleMdcClosing.bind(this);\n }\n\n public connectedCallback() {\n this.initialize();\n }\n\n public componentWillLoad() {\n this.id = createRandomString();\n }\n\n public componentDidLoad() {\n this.initialize();\n }\n\n private initialize() {\n const element = this.host.shadowRoot.querySelector('.mdc-dialog');\n if (!element) {\n return;\n }\n\n this.mdcDialog = new MDCDialog(element);\n if (this.open) {\n this.mdcDialog.open();\n }\n\n this.mdcDialog.listen('MDCDialog:opened', this.handleMdcOpened);\n this.mdcDialog.listen('MDCDialog:closed', this.handleMdcClosed);\n this.mdcDialog.listen('MDCDialog:closing', this.handleMdcClosing);\n\n this.setClosingActions();\n }\n\n public disconnectedCallback() {\n this.mdcDialog.unlisten('MDCDialog:opened', this.handleMdcOpened);\n this.mdcDialog.unlisten('MDCDialog:closed', this.handleMdcClosed);\n this.mdcDialog.unlisten('MDCDialog:closing', this.handleMdcClosing);\n this.mdcDialog.destroy();\n }\n\n public render() {\n return (\n <div\n class={{\n 'mdc-dialog': true,\n 'full-screen': !!this.fullscreen,\n }}\n role=\"alertdialog\"\n aria-modal=\"true\"\n aria-labelledby={'limel-dialog-title-' + this.id}\n aria-describedby={'limel-dialog-content-' + this.id}\n >\n <input hidden={true} id=\"initialFocusEl\" />\n <div class=\"mdc-dialog__container\">\n <div class=\"mdc-dialog__surface\">\n {/*\n The `initialFocusElement` below is needed to make\n focus trapping work. At the time of writing, the\n focusable elements inside the slots are not\n detected, so we supply our own hidden element for\n the focus trap to use. Read more here:\n https://github.com/material-components/material-components-web/tree/v11.0.0/packages/mdc-dialog#handling-focus-trapping\n */}\n <input type=\"button\" id=\"initialFocusElement\" />\n {this.renderHeading()}\n <div\n class=\"mdc-dialog__content\"\n id={'limel-dialog-content-' + this.id}\n >\n <slot />\n </div>\n {this.renderFooter()}\n </div>\n </div>\n <div class=\"mdc-dialog__scrim\" />\n </div>\n );\n }\n\n @Watch('open')\n protected watchHandler(newValue: boolean, oldValue: boolean) {\n if (oldValue === newValue) {\n return;\n }\n\n if (!this.mdcDialog) {\n return;\n }\n\n if (newValue) {\n this.mdcDialog.open();\n } else {\n this.mdcDialog.close();\n }\n }\n\n @Watch('closingActions')\n protected closingActionsChanged(\n newValue: ClosingActions,\n oldValue: ClosingActions\n ) {\n if (isEqual(newValue, oldValue)) {\n return;\n }\n\n this.setClosingActions();\n }\n\n private handleMdcOpened() {\n // When the opening-animation has completed, dispatch a\n // resize-event so that any content that depends on\n // javascript for layout has a chance to update to the\n // final layout of the dialog. /Ads\n const waitForUiToRender = 100;\n setTimeout(dispatchResizeEvent, waitForUiToRender);\n }\n\n private handleMdcClosed() {\n if (this.open) {\n this.close.emit();\n }\n\n this.open = false;\n }\n\n private handleMdcClosing() {\n this.closing.emit();\n }\n\n private isDialogHeadingObject(\n heading: string | DialogHeading\n ): heading is DialogHeading {\n return typeof heading === 'object' && !!heading.title;\n }\n\n private renderHeading() {\n if (this.isDialogHeadingObject(this.heading)) {\n const { title, subtitle, supportingText, icon } = this.heading;\n\n return (\n <limel-header\n icon={icon}\n heading={title}\n subheading={subtitle}\n supportingText={supportingText}\n >\n <slot name=\"header-actions\" slot=\"actions\" />\n </limel-header>\n );\n } else if (typeof this.heading === 'string') {\n return (\n <limel-header heading={this.heading}>\n <slot name=\"header-actions\" slot=\"actions\" />\n </limel-header>\n );\n }\n\n return null;\n }\n\n private renderFooter() {\n return (\n <footer class=\"mdc-dialog__actions\">\n <slot name=\"button\" />\n </footer>\n );\n }\n\n private setClosingActions() {\n this.mdcDialog.scrimClickAction = '';\n if (this.closingActions.scrimClick) {\n this.mdcDialog.scrimClickAction = 'close';\n }\n\n this.mdcDialog.escapeKeyAction = '';\n if (this.closingActions.escapeKey) {\n this.mdcDialog.escapeKeyAction = 'close';\n }\n }\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dialog.types.js","sourceRoot":"","sources":["../../../src/components/dialog/dialog.types.ts"],"names":[],"mappings":"","sourcesContent":["import { Icon } from '../../global/shared-types/icon.types';\n\n/**\n * @public\n */\nexport interface DialogHeading {\n title: string;\n subtitle?: string;\n supportingText?: string;\n icon
|
|
1
|
+
{"version":3,"file":"dialog.types.js","sourceRoot":"","sources":["../../../src/components/dialog/dialog.types.ts"],"names":[],"mappings":"","sourcesContent":["import { Icon } from '../../global/shared-types/icon.types';\n\n/**\n * @public\n */\nexport interface DialogHeading {\n title: string;\n subtitle?: string;\n supportingText?: string;\n icon?: string | Icon;\n}\n\n/**\n * @public\n */\nexport interface ClosingActions {\n escapeKey: boolean;\n scrimClick: boolean;\n}\n"]}
|
|
@@ -13,6 +13,13 @@ export default {
|
|
|
13
13
|
'callout.tip': 'Tip',
|
|
14
14
|
'callout.caution': 'Advarsel',
|
|
15
15
|
'callout.warning': 'Advarsel',
|
|
16
|
+
'code-editor': 'kodeeditor',
|
|
17
|
+
'code-editor.copy': 'Kopier',
|
|
18
|
+
'code-editor.copied': 'Kopieret',
|
|
19
|
+
'code-editor.copy-failed': 'Kunne ikke kopiere',
|
|
20
|
+
'code-editor.copy-aria-label': 'Kopier { label } indhold',
|
|
21
|
+
'code-editor.copied-aria-label': 'Kopieret { label } indhold',
|
|
22
|
+
'code-editor.copy-failed-aria-label': 'Kunne ikke kopiere { label } indhold',
|
|
16
23
|
'collapsible-section.open': 'Åbn { header } sektion',
|
|
17
24
|
'collapsible-section.close': 'Luk { header } sektion',
|
|
18
25
|
'date-picker.today': 'Idag',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"da.js","sourceRoot":"","sources":["../../src/translations/da.ts"],"names":[],"mappings":"AAAA,eAAe;EACX,MAAM,EAAE,OAAO;EACf,IAAI,EAAE,KAAK;EACX,MAAM,EAAE,UAAU;EAClB,OAAO,EAAE,WAAW;EACpB,KAAK,EAAE,OAAO;EACd,KAAK,EAAE,WAAW;EAClB,qBAAqB,EAAE,OAAO;EAC9B,mBAAmB,EAAE,KAAK;EAC1B,oBAAoB,EAAE,YAAY;EAClC,cAAc,EAAE,QAAQ;EACxB,mBAAmB,EAAE,QAAQ;EAC7B,aAAa,EAAE,KAAK;EACpB,iBAAiB,EAAE,UAAU;EAC7B,iBAAiB,EAAE,UAAU;EAC7B,0BAA0B,EAAE,wBAAwB;EACpD,2BAA2B,EAAE,wBAAwB;EACrD,mBAAmB,EAAE,MAAM;EAC3B,2BAA2B,EAAE,OAAO;EACpC,6BAA6B,EAAE,SAAS;EACxC,0BAA0B,EAAE,IAAI;EAChC,yBAAyB,EAAE,UAAU;EACrC,6BAA6B,EAAE,yBAAyB;EACxD,oBAAoB,EAAE,UAAU;EAChC,kBAAkB,EAAE,KAAK;EACzB,yBAAyB,EACrB,oDAAoD;EACxD,0CAA0C,EACtC,oDAAoD;EACxD,uCAAuC,EACnC,wCAAwC;EAC5C,sBAAsB,EAAE,MAAM;EAC9B,6BAA6B,EAAE,kBAAkB;EACjD,gCAAgC,EAAE,kBAAkB;EACpD,6BAA6B,EAAE,kBAAkB;EACjD,0BAA0B,EAAE,OAAO;EACnC,kBAAkB,EAAE,KAAK;EACzB,oBAAoB,EAAE,QAAQ;EAC9B,2BAA2B,EAAE,eAAe;EAC5C,gBAAgB,EAAE,cAAc;EAChC,gBAAgB,EAAE,cAAc;EAChC,gBAAgB,EAAE,cAAc;EAChC,2BAA2B,EAAE,YAAY;EACzC,2BAA2B,EAAE,kBAAkB;EAC/C,wBAAwB,EAAE,WAAW;EACrC,kBAAkB,EAAE,aAAa;EACjC,uBAAuB,EAAE,OAAO;EAChC,uBAAuB,EAAE,MAAM;EAC/B,wBAAwB,EAAE,UAAU;EACpC,kBAAkB,EAAE,MAAM;EAC1B,2BAA2B,EAAE,mCAAmC;EAChE,0BAA0B,EAAE,0CAA0C;EACtE,2BAA2B,EAAE,+BAA+B;EAC5D,iCAAiC,EAC7B,kEAAkE;EACtE,cAAc,EAAE,sBAAsB;EACtC,iBAAiB,EAAE,WAAW;EAC9B,oBAAoB,EAAE,QAAQ;EAC9B,kBAAkB,EAAE,kBAAkB;EACtC,kBAAkB,EAAE,kBAAkB;EACtC,wBAAwB,EAAE,qBAAqB;EAC/C,2CAA2C,EACvC,gCAAgC;EACpC,iDAAiD,EAC7C,wFAAwF;CAC/F,CAAC","sourcesContent":["export default {\n remove: 'Fjern',\n save: 'Gem',\n cancel: 'Annullér',\n loading: 'Indlæser…',\n value: 'Værdi',\n items: 'Elementer',\n 'action-bar.collapse': 'Skjul',\n 'action-bar.expand': 'Vis',\n 'action-bar.actions': 'Handlinger',\n 'callout.note': 'Bemærk',\n 'callout.important': 'Vigtig',\n 'callout.tip': 'Tip',\n 'callout.caution': 'Advarsel',\n 'callout.warning': 'Advarsel',\n 'collapsible-section.open': 'Åbn { header } sektion',\n 'collapsible-section.close': 'Luk { header } sektion',\n 'date-picker.today': 'Idag',\n 'date-picker.month.heading': 'Måned',\n 'date-picker.quarter.heading': 'Kvartal',\n 'date-picker.year.heading': 'År',\n 'drag-handle.drag-handle': 'Trækgreb',\n 'drag-handle.drag-to-reorder': 'Træk for at omarrangere',\n 'chip-set.clear-all': 'Ryd alle',\n 'snackbar.dismiss': 'Luk',\n 'file.drag-and-drop-tips':\n 'Træk & slip filen her, eller klik for at gennemse.',\n 'file-viewer.message.unsupported-filetype':\n 'Kan ikke vise en forhåndsvisning af denne filtype.',\n 'file-viewer.message.try-other-options':\n 'Hent filen eller åbn den i en ny fane.',\n 'file-viewer.download': 'Hent',\n 'file-viewer.exit-fullscreen': 'Afslut fuldskærm',\n 'file-viewer.open-in-fullscreen': 'Åbn i fuld skærm',\n 'file-viewer.open-in-new-tab': 'Åbn i en ny fane',\n 'file-viewer.more-actions': 'Mere…',\n 'editor-menu.bold': 'Fed',\n 'editor-menu.italic': 'Kursiv',\n 'editor-menu.strikethrough': 'Gennemstreget',\n 'editor-menu.h1': 'Overskrift 1',\n 'editor-menu.h2': 'Overskrift 2',\n 'editor-menu.h3': 'Overskrift 3',\n 'editor-menu.bulleted-list': 'Punktliste',\n 'editor-menu.numbered-list': 'Nummereret liste',\n 'editor-menu.blockquote': 'Blokcitat',\n 'editor-menu.link': 'Tilføj link',\n 'editor-link-menu.text': 'Tekst',\n 'editor-link-menu.link': 'Link',\n 'editor-menu.code-block': 'Kodeblok',\n 'editor-menu.code': 'Kode',\n 'editor-image-view.loading': 'Indlæser billede: { filename }...',\n 'editor-image-view.failed': 'Noget gik galt med billede: { filename }',\n 'editor-image-view.success': 'Billede: { filename } er klar',\n 'editor-image-view.resize-handle':\n 'Træk til højre eller venstre for at ændre størrelsen på billedet',\n 'progress-bar': 'Fremskridtsindikator',\n 'ai-avatar.label': 'AI-avatar',\n 'ai-avatar.thinking': 'tænker',\n 'table.select-all': 'Vælg alle rækker',\n 'table.select-row': 'Vælg denne række',\n 'profile-picture.remove': 'Fjern valgt billede',\n 'profile-picture.unsupported-preview.title':\n 'Ikke-understøttet billedformat',\n 'profile-picture.unsupported-preview.description':\n 'Vi kan ikke vise det valgte billede i denne browser. Vælg venligst en anden billedfil.',\n};\n"]}
|
|
1
|
+
{"version":3,"file":"da.js","sourceRoot":"","sources":["../../src/translations/da.ts"],"names":[],"mappings":"AAAA,eAAe;EACX,MAAM,EAAE,OAAO;EACf,IAAI,EAAE,KAAK;EACX,MAAM,EAAE,UAAU;EAClB,OAAO,EAAE,WAAW;EACpB,KAAK,EAAE,OAAO;EACd,KAAK,EAAE,WAAW;EAClB,qBAAqB,EAAE,OAAO;EAC9B,mBAAmB,EAAE,KAAK;EAC1B,oBAAoB,EAAE,YAAY;EAClC,cAAc,EAAE,QAAQ;EACxB,mBAAmB,EAAE,QAAQ;EAC7B,aAAa,EAAE,KAAK;EACpB,iBAAiB,EAAE,UAAU;EAC7B,iBAAiB,EAAE,UAAU;EAC7B,aAAa,EAAE,YAAY;EAC3B,kBAAkB,EAAE,QAAQ;EAC5B,oBAAoB,EAAE,UAAU;EAChC,yBAAyB,EAAE,oBAAoB;EAC/C,6BAA6B,EAAE,0BAA0B;EACzD,+BAA+B,EAAE,4BAA4B;EAC7D,oCAAoC,EAChC,sCAAsC;EAC1C,0BAA0B,EAAE,wBAAwB;EACpD,2BAA2B,EAAE,wBAAwB;EACrD,mBAAmB,EAAE,MAAM;EAC3B,2BAA2B,EAAE,OAAO;EACpC,6BAA6B,EAAE,SAAS;EACxC,0BAA0B,EAAE,IAAI;EAChC,yBAAyB,EAAE,UAAU;EACrC,6BAA6B,EAAE,yBAAyB;EACxD,oBAAoB,EAAE,UAAU;EAChC,kBAAkB,EAAE,KAAK;EACzB,yBAAyB,EACrB,oDAAoD;EACxD,0CAA0C,EACtC,oDAAoD;EACxD,uCAAuC,EACnC,wCAAwC;EAC5C,sBAAsB,EAAE,MAAM;EAC9B,6BAA6B,EAAE,kBAAkB;EACjD,gCAAgC,EAAE,kBAAkB;EACpD,6BAA6B,EAAE,kBAAkB;EACjD,0BAA0B,EAAE,OAAO;EACnC,kBAAkB,EAAE,KAAK;EACzB,oBAAoB,EAAE,QAAQ;EAC9B,2BAA2B,EAAE,eAAe;EAC5C,gBAAgB,EAAE,cAAc;EAChC,gBAAgB,EAAE,cAAc;EAChC,gBAAgB,EAAE,cAAc;EAChC,2BAA2B,EAAE,YAAY;EACzC,2BAA2B,EAAE,kBAAkB;EAC/C,wBAAwB,EAAE,WAAW;EACrC,kBAAkB,EAAE,aAAa;EACjC,uBAAuB,EAAE,OAAO;EAChC,uBAAuB,EAAE,MAAM;EAC/B,wBAAwB,EAAE,UAAU;EACpC,kBAAkB,EAAE,MAAM;EAC1B,2BAA2B,EAAE,mCAAmC;EAChE,0BAA0B,EAAE,0CAA0C;EACtE,2BAA2B,EAAE,+BAA+B;EAC5D,iCAAiC,EAC7B,kEAAkE;EACtE,cAAc,EAAE,sBAAsB;EACtC,iBAAiB,EAAE,WAAW;EAC9B,oBAAoB,EAAE,QAAQ;EAC9B,kBAAkB,EAAE,kBAAkB;EACtC,kBAAkB,EAAE,kBAAkB;EACtC,wBAAwB,EAAE,qBAAqB;EAC/C,2CAA2C,EACvC,gCAAgC;EACpC,iDAAiD,EAC7C,wFAAwF;CAC/F,CAAC","sourcesContent":["export default {\n remove: 'Fjern',\n save: 'Gem',\n cancel: 'Annullér',\n loading: 'Indlæser…',\n value: 'Værdi',\n items: 'Elementer',\n 'action-bar.collapse': 'Skjul',\n 'action-bar.expand': 'Vis',\n 'action-bar.actions': 'Handlinger',\n 'callout.note': 'Bemærk',\n 'callout.important': 'Vigtig',\n 'callout.tip': 'Tip',\n 'callout.caution': 'Advarsel',\n 'callout.warning': 'Advarsel',\n 'code-editor': 'kodeeditor',\n 'code-editor.copy': 'Kopier',\n 'code-editor.copied': 'Kopieret',\n 'code-editor.copy-failed': 'Kunne ikke kopiere',\n 'code-editor.copy-aria-label': 'Kopier { label } indhold',\n 'code-editor.copied-aria-label': 'Kopieret { label } indhold',\n 'code-editor.copy-failed-aria-label':\n 'Kunne ikke kopiere { label } indhold',\n 'collapsible-section.open': 'Åbn { header } sektion',\n 'collapsible-section.close': 'Luk { header } sektion',\n 'date-picker.today': 'Idag',\n 'date-picker.month.heading': 'Måned',\n 'date-picker.quarter.heading': 'Kvartal',\n 'date-picker.year.heading': 'År',\n 'drag-handle.drag-handle': 'Trækgreb',\n 'drag-handle.drag-to-reorder': 'Træk for at omarrangere',\n 'chip-set.clear-all': 'Ryd alle',\n 'snackbar.dismiss': 'Luk',\n 'file.drag-and-drop-tips':\n 'Træk & slip filen her, eller klik for at gennemse.',\n 'file-viewer.message.unsupported-filetype':\n 'Kan ikke vise en forhåndsvisning af denne filtype.',\n 'file-viewer.message.try-other-options':\n 'Hent filen eller åbn den i en ny fane.',\n 'file-viewer.download': 'Hent',\n 'file-viewer.exit-fullscreen': 'Afslut fuldskærm',\n 'file-viewer.open-in-fullscreen': 'Åbn i fuld skærm',\n 'file-viewer.open-in-new-tab': 'Åbn i en ny fane',\n 'file-viewer.more-actions': 'Mere…',\n 'editor-menu.bold': 'Fed',\n 'editor-menu.italic': 'Kursiv',\n 'editor-menu.strikethrough': 'Gennemstreget',\n 'editor-menu.h1': 'Overskrift 1',\n 'editor-menu.h2': 'Overskrift 2',\n 'editor-menu.h3': 'Overskrift 3',\n 'editor-menu.bulleted-list': 'Punktliste',\n 'editor-menu.numbered-list': 'Nummereret liste',\n 'editor-menu.blockquote': 'Blokcitat',\n 'editor-menu.link': 'Tilføj link',\n 'editor-link-menu.text': 'Tekst',\n 'editor-link-menu.link': 'Link',\n 'editor-menu.code-block': 'Kodeblok',\n 'editor-menu.code': 'Kode',\n 'editor-image-view.loading': 'Indlæser billede: { filename }...',\n 'editor-image-view.failed': 'Noget gik galt med billede: { filename }',\n 'editor-image-view.success': 'Billede: { filename } er klar',\n 'editor-image-view.resize-handle':\n 'Træk til højre eller venstre for at ændre størrelsen på billedet',\n 'progress-bar': 'Fremskridtsindikator',\n 'ai-avatar.label': 'AI-avatar',\n 'ai-avatar.thinking': 'tænker',\n 'table.select-all': 'Vælg alle rækker',\n 'table.select-row': 'Vælg denne række',\n 'profile-picture.remove': 'Fjern valgt billede',\n 'profile-picture.unsupported-preview.title':\n 'Ikke-understøttet billedformat',\n 'profile-picture.unsupported-preview.description':\n 'Vi kan ikke vise det valgte billede i denne browser. Vælg venligst en anden billedfil.',\n};\n"]}
|
|
@@ -13,6 +13,13 @@ export default {
|
|
|
13
13
|
'callout.tip': 'Tipp',
|
|
14
14
|
'callout.caution': 'Vorsicht',
|
|
15
15
|
'callout.warning': 'Warnung',
|
|
16
|
+
'code-editor': 'Code-Editor',
|
|
17
|
+
'code-editor.copy': 'Kopieren',
|
|
18
|
+
'code-editor.copied': 'Kopiert',
|
|
19
|
+
'code-editor.copy-failed': 'Kopieren fehlgeschlagen',
|
|
20
|
+
'code-editor.copy-aria-label': '{ label } Inhalt kopieren',
|
|
21
|
+
'code-editor.copied-aria-label': '{ label } Inhalt kopiert',
|
|
22
|
+
'code-editor.copy-failed-aria-label': '{ label } Inhalt konnte nicht kopiert werden',
|
|
16
23
|
'collapsible-section.open': '{ header } Bereich öffnen',
|
|
17
24
|
'collapsible-section.close': '{ header } Bereich schließen',
|
|
18
25
|
'date-picker.today': 'Heute',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"de.js","sourceRoot":"","sources":["../../src/translations/de.ts"],"names":[],"mappings":"AAAA,eAAe;EACX,MAAM,EAAE,WAAW;EACnB,IAAI,EAAE,WAAW;EACjB,MAAM,EAAE,WAAW;EACnB,OAAO,EAAE,QAAQ;EACjB,KAAK,EAAE,MAAM;EACb,KAAK,EAAE,UAAU;EACjB,qBAAqB,EAAE,YAAY;EACnC,mBAAmB,EAAE,YAAY;EACjC,oBAAoB,EAAE,UAAU;EAChC,cAAc,EAAE,SAAS;EACzB,mBAAmB,EAAE,SAAS;EAC9B,aAAa,EAAE,MAAM;EACrB,iBAAiB,EAAE,UAAU;EAC7B,iBAAiB,EAAE,SAAS;EAC5B,0BAA0B,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ClH,CAAC","sourcesContent":["export default {\n remove: 'Entfernen',\n save: 'Speichern',\n cancel: 'Abbrechen',\n loading: 'Laden…',\n value: 'Wert',\n items: 'Elemente',\n 'action-bar.collapse': 'Einklappen',\n 'action-bar.expand': 'Ausklappen',\n 'action-bar.actions': 'Aktionen',\n 'callout.note': 'Hinweis',\n 'callout.important': 'Wichtig',\n 'callout.tip': 'Tipp',\n 'callout.caution': 'Vorsicht',\n 'callout.warning': 'Warnung',\n 'collapsible-section.open': '{ header } Bereich öffnen',\n 'collapsible-section.close': '{ header } Bereich schließen',\n 'date-picker.today': 'Heute',\n 'date-picker.month.heading': 'Monat',\n 'date-picker.quarter.heading': 'Quartal',\n 'date-picker.year.heading': 'Jahr',\n 'drag-handle.drag-handle': 'Ziehgriff',\n 'drag-handle.drag-to-reorder': 'Zum Neuordnen ziehen',\n 'chip-set.clear-all': 'Alles löschen',\n 'snackbar.dismiss': 'Schließen',\n 'file.drag-and-drop-tips':\n 'Ziehen Sie Ihre Datei hierher oder klicken Sie, um zu durchsuchen.',\n 'file-viewer.message.unsupported-filetype':\n 'Für diesen Dateityp kann keine Vorschau angezeigt werden.',\n 'file-viewer.message.try-other-options':\n 'Laden Sie die Datei herunter oder öffnen Sie sie in einem neuen Tab.',\n 'file-viewer.download': 'Herunterladen',\n 'file-viewer.exit-fullscreen': 'Vollbildmodus beenden',\n 'file-viewer.open-in-fullscreen': 'Im Vollbildmodus öffnen',\n 'file-viewer.open-in-new-tab': 'In einem neuen Tab öffnen',\n 'file-viewer.more-actions': 'Mehr…',\n 'editor-menu.bold': 'Fett',\n 'editor-menu.italic': 'Kursiv',\n 'editor-menu.strikethrough': 'Durchgestrichen',\n 'editor-menu.h1': 'Überschrift 1',\n 'editor-menu.h2': 'Überschrift 2',\n 'editor-menu.h3': 'Überschrift 3',\n 'editor-menu.bulleted-list': 'Aufzählungsliste',\n 'editor-menu.numbered-list': 'Nummerierte Liste',\n 'editor-menu.blockquote': 'Zitatblock',\n 'editor-menu.link': 'Link',\n 'editor-link-menu.text': 'Text',\n 'editor-link-menu.link': 'Link',\n 'editor-menu.code-block': 'Codeblock',\n 'editor-menu.code': 'Code',\n 'editor-image-view.loading': 'Lade Bild: { filename }...',\n 'editor-image-view.failed':\n 'Beim Laden des Bildes ist etwas schief gelaufen: { filename }',\n 'editor-image-view.success': 'Bild: { filename } ist bereit',\n 'editor-image-view.resize-handle':\n 'Ziehen Sie nach rechts oder links, um die Größe des Bildes zu ändern.',\n 'progress-bar': 'Fortschrittsbalken',\n 'ai-avatar.label': 'KI-Avatar',\n 'ai-avatar.thinking': 'denkt',\n 'table.select-all': 'Alle Zeilen auswählen',\n 'table.select-row': 'Diese Zeile auswählen',\n 'profile-picture.remove': 'Ausgewähltes Bild entfernen',\n 'profile-picture.unsupported-preview.title':\n 'Nicht unterstütztes Bildformat',\n 'profile-picture.unsupported-preview.description':\n 'Wir können das ausgewählte Bild in diesem Browser nicht anzeigen. Bitte wählen Sie eine andere Bilddatei.',\n};\n"]}
|
|
1
|
+
{"version":3,"file":"de.js","sourceRoot":"","sources":["../../src/translations/de.ts"],"names":[],"mappings":"AAAA,eAAe;EACX,MAAM,EAAE,WAAW;EACnB,IAAI,EAAE,WAAW;EACjB,MAAM,EAAE,WAAW;EACnB,OAAO,EAAE,QAAQ;EACjB,KAAK,EAAE,MAAM;EACb,KAAK,EAAE,UAAU;EACjB,qBAAqB,EAAE,YAAY;EACnC,mBAAmB,EAAE,YAAY;EACjC,oBAAoB,EAAE,UAAU;EAChC,cAAc,EAAE,SAAS;EACzB,mBAAmB,EAAE,SAAS;EAC9B,aAAa,EAAE,MAAM;EACrB,iBAAiB,EAAE,UAAU;EAC7B,iBAAiB,EAAE,SAAS;EAC5B,aAAa,EAAE,aAAa;EAC5B,kBAAkB,EAAE,UAAU;EAC9B,oBAAoB,EAAE,SAAS;EAC/B,yBAAyB,EAAE,yBAAyB;EACpD,6BAA6B,EAAE,2BAA2B;EAC1D,+BAA+B,EAAE,0BAA0B;EAC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gCAAgC;EACpC,iDAAiD,EAC7C,2GAA2G;CAClH,CAAC","sourcesContent":["export default {\n remove: 'Entfernen',\n save: 'Speichern',\n cancel: 'Abbrechen',\n loading: 'Laden…',\n value: 'Wert',\n items: 'Elemente',\n 'action-bar.collapse': 'Einklappen',\n 'action-bar.expand': 'Ausklappen',\n 'action-bar.actions': 'Aktionen',\n 'callout.note': 'Hinweis',\n 'callout.important': 'Wichtig',\n 'callout.tip': 'Tipp',\n 'callout.caution': 'Vorsicht',\n 'callout.warning': 'Warnung',\n 'code-editor': 'Code-Editor',\n 'code-editor.copy': 'Kopieren',\n 'code-editor.copied': 'Kopiert',\n 'code-editor.copy-failed': 'Kopieren fehlgeschlagen',\n 'code-editor.copy-aria-label': '{ label } Inhalt kopieren',\n 'code-editor.copied-aria-label': '{ label } Inhalt kopiert',\n 'code-editor.copy-failed-aria-label':\n '{ label } Inhalt konnte nicht kopiert werden',\n 'collapsible-section.open': '{ header } Bereich öffnen',\n 'collapsible-section.close': '{ header } Bereich schließen',\n 'date-picker.today': 'Heute',\n 'date-picker.month.heading': 'Monat',\n 'date-picker.quarter.heading': 'Quartal',\n 'date-picker.year.heading': 'Jahr',\n 'drag-handle.drag-handle': 'Ziehgriff',\n 'drag-handle.drag-to-reorder': 'Zum Neuordnen ziehen',\n 'chip-set.clear-all': 'Alles löschen',\n 'snackbar.dismiss': 'Schließen',\n 'file.drag-and-drop-tips':\n 'Ziehen Sie Ihre Datei hierher oder klicken Sie, um zu durchsuchen.',\n 'file-viewer.message.unsupported-filetype':\n 'Für diesen Dateityp kann keine Vorschau angezeigt werden.',\n 'file-viewer.message.try-other-options':\n 'Laden Sie die Datei herunter oder öffnen Sie sie in einem neuen Tab.',\n 'file-viewer.download': 'Herunterladen',\n 'file-viewer.exit-fullscreen': 'Vollbildmodus beenden',\n 'file-viewer.open-in-fullscreen': 'Im Vollbildmodus öffnen',\n 'file-viewer.open-in-new-tab': 'In einem neuen Tab öffnen',\n 'file-viewer.more-actions': 'Mehr…',\n 'editor-menu.bold': 'Fett',\n 'editor-menu.italic': 'Kursiv',\n 'editor-menu.strikethrough': 'Durchgestrichen',\n 'editor-menu.h1': 'Überschrift 1',\n 'editor-menu.h2': 'Überschrift 2',\n 'editor-menu.h3': 'Überschrift 3',\n 'editor-menu.bulleted-list': 'Aufzählungsliste',\n 'editor-menu.numbered-list': 'Nummerierte Liste',\n 'editor-menu.blockquote': 'Zitatblock',\n 'editor-menu.link': 'Link',\n 'editor-link-menu.text': 'Text',\n 'editor-link-menu.link': 'Link',\n 'editor-menu.code-block': 'Codeblock',\n 'editor-menu.code': 'Code',\n 'editor-image-view.loading': 'Lade Bild: { filename }...',\n 'editor-image-view.failed':\n 'Beim Laden des Bildes ist etwas schief gelaufen: { filename }',\n 'editor-image-view.success': 'Bild: { filename } ist bereit',\n 'editor-image-view.resize-handle':\n 'Ziehen Sie nach rechts oder links, um die Größe des Bildes zu ändern.',\n 'progress-bar': 'Fortschrittsbalken',\n 'ai-avatar.label': 'KI-Avatar',\n 'ai-avatar.thinking': 'denkt',\n 'table.select-all': 'Alle Zeilen auswählen',\n 'table.select-row': 'Diese Zeile auswählen',\n 'profile-picture.remove': 'Ausgewähltes Bild entfernen',\n 'profile-picture.unsupported-preview.title':\n 'Nicht unterstütztes Bildformat',\n 'profile-picture.unsupported-preview.description':\n 'Wir können das ausgewählte Bild in diesem Browser nicht anzeigen. Bitte wählen Sie eine andere Bilddatei.',\n};\n"]}
|
|
@@ -13,6 +13,13 @@ export default {
|
|
|
13
13
|
'callout.tip': 'Tip',
|
|
14
14
|
'callout.caution': 'Caution',
|
|
15
15
|
'callout.warning': 'Warning',
|
|
16
|
+
'code-editor': 'code editor',
|
|
17
|
+
'code-editor.copy': 'Copy',
|
|
18
|
+
'code-editor.copied': 'Copied',
|
|
19
|
+
'code-editor.copy-failed': 'Failed to copy',
|
|
20
|
+
'code-editor.copy-aria-label': 'Copy { label } content',
|
|
21
|
+
'code-editor.copied-aria-label': 'Copied { label } content',
|
|
22
|
+
'code-editor.copy-failed-aria-label': 'Failed to copy { label } content',
|
|
16
23
|
'collapsible-section.open': 'Open { header } section',
|
|
17
24
|
'collapsible-section.close': 'Close { header } section',
|
|
18
25
|
'date-picker.today': 'Today',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en.js","sourceRoot":"","sources":["../../src/translations/en.ts"],"names":[],"mappings":"AAAA,eAAe;EACX,MAAM,EAAE,QAAQ;EAChB,IAAI,EAAE,MAAM;EACZ,MAAM,EAAE,QAAQ;EAChB,OAAO,EAAE,UAAU;EACnB,KAAK,EAAE,OAAO;EACd,KAAK,EAAE,OAAO;EACd,qBAAqB,EAAE,UAAU;EACjC,mBAAmB,EAAE,QAAQ;EAC7B,oBAAoB,EAAE,SAAS;EAC/B,cAAc,EAAE,MAAM;EACtB,mBAAmB,EAAE,WAAW;EAChC,aAAa,EAAE,KAAK;EACpB,iBAAiB,EAAE,SAAS;EAC5B,iBAAiB,EAAE,SAAS;EAC5B,0BAA0B,EAAE,yBAAyB;EACrD,2BAA2B,EAAE,0BAA0B;EACvD,mBAAmB,EAAE,OAAO;EAC5B,2BAA2B,EAAE,OAAO;EACpC,6BAA6B,EAAE,SAAS;EACxC,0BAA0B,EAAE,MAAM;EAClC,yBAAyB,EAAE,aAAa;EACxC,6BAA6B,EAAE,iBAAiB;EAChD,oBAAoB,EAAE,WAAW;EACjC,kBAAkB,EAAE,SAAS;EAC7B,yBAAyB,EACrB,iDAAiD;EACrD,0CAA0C,EACtC,8CAA8C;EAClD,uCAAuC,EACnC,4CAA4C;EAChD,sBAAsB,EAAE,UAAU;EAClC,6BAA6B,EAAE,iBAAiB;EAChD,gCAAgC,EAAE,oBAAoB;EACtD,6BAA6B,EAAE,mBAAmB;EAClD,0BAA0B,EAAE,OAAO;EACnC,kBAAkB,EAAE,MAAM;EAC1B,oBAAoB,EAAE,QAAQ;EAC9B,2BAA2B,EAAE,eAAe;EAC5C,gBAAgB,EAAE,WAAW;EAC7B,gBAAgB,EAAE,WAAW;EAC7B,gBAAgB,EAAE,WAAW;EAC7B,2BAA2B,EAAE,eAAe;EAC5C,2BAA2B,EAAE,eAAe;EAC5C,wBAAwB,EAAE,YAAY;EACtC,kBAAkB,EAAE,MAAM;EAC1B,uBAAuB,EAAE,MAAM;EAC/B,uBAAuB,EAAE,MAAM;EAC/B,wBAAwB,EAAE,YAAY;EACtC,kBAAkB,EAAE,MAAM;EAC1B,2BAA2B,EAAE,gCAAgC;EAC7D,0BAA0B,EAAE,+CAA+C;EAC3E,2BAA2B,EAAE,8BAA8B;EAC3D,iCAAiC,EAC7B,2CAA2C;EAC/C,cAAc,EAAE,cAAc;EAC9B,iBAAiB,EAAE,WAAW;EAC9B,oBAAoB,EAAE,UAAU;EAChC,kBAAkB,EAAE,iBAAiB;EACrC,kBAAkB,EAAE,iBAAiB;EACrC,wBAAwB,EAAE,yBAAyB;EACnD,2CAA2C,EAAE,0BAA0B;EACvE,iDAAiD,EAC7C,6FAA6F;CACpG,CAAC","sourcesContent":["export default {\n remove: 'Remove',\n save: 'Save',\n cancel: 'Cancel',\n loading: 'Loading…',\n value: 'Value',\n items: 'Items',\n 'action-bar.collapse': 'Collapse',\n 'action-bar.expand': 'Expand',\n 'action-bar.actions': 'Actions',\n 'callout.note': 'Note',\n 'callout.important': 'Important',\n 'callout.tip': 'Tip',\n 'callout.caution': 'Caution',\n 'callout.warning': 'Warning',\n 'collapsible-section.open': 'Open { header } section',\n 'collapsible-section.close': 'Close { header } section',\n 'date-picker.today': 'Today',\n 'date-picker.month.heading': 'Month',\n 'date-picker.quarter.heading': 'Quarter',\n 'date-picker.year.heading': 'Year',\n 'drag-handle.drag-handle': 'Drag handle',\n 'drag-handle.drag-to-reorder': 'Drag to reorder',\n 'chip-set.clear-all': 'Clear all',\n 'snackbar.dismiss': 'Dismiss',\n 'file.drag-and-drop-tips':\n 'Drag & drop your file here, or click to browse.',\n 'file-viewer.message.unsupported-filetype':\n 'Cannot display a preview for this file type.',\n 'file-viewer.message.try-other-options':\n 'Download the file or open it in a new tab.',\n 'file-viewer.download': 'Download',\n 'file-viewer.exit-fullscreen': 'Exit fullscreen',\n 'file-viewer.open-in-fullscreen': 'Open in fullscreen',\n 'file-viewer.open-in-new-tab': 'Open in a new tab',\n 'file-viewer.more-actions': 'More…',\n 'editor-menu.bold': 'Bold',\n 'editor-menu.italic': 'Italic',\n 'editor-menu.strikethrough': 'Strikethrough',\n 'editor-menu.h1': 'Heading 1',\n 'editor-menu.h2': 'Heading 2',\n 'editor-menu.h3': 'Heading 3',\n 'editor-menu.bulleted-list': 'Bulleted list',\n 'editor-menu.numbered-list': 'Numbered list',\n 'editor-menu.blockquote': 'Blockquote',\n 'editor-menu.link': 'Link',\n 'editor-link-menu.text': 'Text',\n 'editor-link-menu.link': 'Link',\n 'editor-menu.code-block': 'Code block',\n 'editor-menu.code': 'Code',\n 'editor-image-view.loading': 'Loading image: { filename }...',\n 'editor-image-view.failed': 'Something went wrong with image: { filename }',\n 'editor-image-view.success': 'Image: { filename } is ready',\n 'editor-image-view.resize-handle':\n 'Drag to right or left to resize the image',\n 'progress-bar': 'Progress bar',\n 'ai-avatar.label': 'AI Avatar',\n 'ai-avatar.thinking': 'thinking',\n 'table.select-all': 'Select all rows',\n 'table.select-row': 'Select this row',\n 'profile-picture.remove': 'Remove selected picture',\n 'profile-picture.unsupported-preview.title': 'Unsupported image format',\n 'profile-picture.unsupported-preview.description':\n 'We cannot display the selected image in this browser. Please select a different image file.',\n};\n"]}
|
|
1
|
+
{"version":3,"file":"en.js","sourceRoot":"","sources":["../../src/translations/en.ts"],"names":[],"mappings":"AAAA,eAAe;EACX,MAAM,EAAE,QAAQ;EAChB,IAAI,EAAE,MAAM;EACZ,MAAM,EAAE,QAAQ;EAChB,OAAO,EAAE,UAAU;EACnB,KAAK,EAAE,OAAO;EACd,KAAK,EAAE,OAAO;EACd,qBAAqB,EAAE,UAAU;EACjC,mBAAmB,EAAE,QAAQ;EAC7B,oBAAoB,EAA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2BAA2B,EAAE,gCAAgC;EAC7D,0BAA0B,EAAE,+CAA+C;EAC3E,2BAA2B,EAAE,8BAA8B;EAC3D,iCAAiC,EAC7B,2CAA2C;EAC/C,cAAc,EAAE,cAAc;EAC9B,iBAAiB,EAAE,WAAW;EAC9B,oBAAoB,EAAE,UAAU;EAChC,kBAAkB,EAAE,iBAAiB;EACrC,kBAAkB,EAAE,iBAAiB;EACrC,wBAAwB,EAAE,yBAAyB;EACnD,2CAA2C,EAAE,0BAA0B;EACvE,iDAAiD,EAC7C,6FAA6F;CACpG,CAAC","sourcesContent":["export default {\n remove: 'Remove',\n save: 'Save',\n cancel: 'Cancel',\n loading: 'Loading…',\n value: 'Value',\n items: 'Items',\n 'action-bar.collapse': 'Collapse',\n 'action-bar.expand': 'Expand',\n 'action-bar.actions': 'Actions',\n 'callout.note': 'Note',\n 'callout.important': 'Important',\n 'callout.tip': 'Tip',\n 'callout.caution': 'Caution',\n 'callout.warning': 'Warning',\n 'code-editor': 'code editor',\n 'code-editor.copy': 'Copy',\n 'code-editor.copied': 'Copied',\n 'code-editor.copy-failed': 'Failed to copy',\n 'code-editor.copy-aria-label': 'Copy { label } content',\n 'code-editor.copied-aria-label': 'Copied { label } content',\n 'code-editor.copy-failed-aria-label': 'Failed to copy { label } content',\n 'collapsible-section.open': 'Open { header } section',\n 'collapsible-section.close': 'Close { header } section',\n 'date-picker.today': 'Today',\n 'date-picker.month.heading': 'Month',\n 'date-picker.quarter.heading': 'Quarter',\n 'date-picker.year.heading': 'Year',\n 'drag-handle.drag-handle': 'Drag handle',\n 'drag-handle.drag-to-reorder': 'Drag to reorder',\n 'chip-set.clear-all': 'Clear all',\n 'snackbar.dismiss': 'Dismiss',\n 'file.drag-and-drop-tips':\n 'Drag & drop your file here, or click to browse.',\n 'file-viewer.message.unsupported-filetype':\n 'Cannot display a preview for this file type.',\n 'file-viewer.message.try-other-options':\n 'Download the file or open it in a new tab.',\n 'file-viewer.download': 'Download',\n 'file-viewer.exit-fullscreen': 'Exit fullscreen',\n 'file-viewer.open-in-fullscreen': 'Open in fullscreen',\n 'file-viewer.open-in-new-tab': 'Open in a new tab',\n 'file-viewer.more-actions': 'More…',\n 'editor-menu.bold': 'Bold',\n 'editor-menu.italic': 'Italic',\n 'editor-menu.strikethrough': 'Strikethrough',\n 'editor-menu.h1': 'Heading 1',\n 'editor-menu.h2': 'Heading 2',\n 'editor-menu.h3': 'Heading 3',\n 'editor-menu.bulleted-list': 'Bulleted list',\n 'editor-menu.numbered-list': 'Numbered list',\n 'editor-menu.blockquote': 'Blockquote',\n 'editor-menu.link': 'Link',\n 'editor-link-menu.text': 'Text',\n 'editor-link-menu.link': 'Link',\n 'editor-menu.code-block': 'Code block',\n 'editor-menu.code': 'Code',\n 'editor-image-view.loading': 'Loading image: { filename }...',\n 'editor-image-view.failed': 'Something went wrong with image: { filename }',\n 'editor-image-view.success': 'Image: { filename } is ready',\n 'editor-image-view.resize-handle':\n 'Drag to right or left to resize the image',\n 'progress-bar': 'Progress bar',\n 'ai-avatar.label': 'AI Avatar',\n 'ai-avatar.thinking': 'thinking',\n 'table.select-all': 'Select all rows',\n 'table.select-row': 'Select this row',\n 'profile-picture.remove': 'Remove selected picture',\n 'profile-picture.unsupported-preview.title': 'Unsupported image format',\n 'profile-picture.unsupported-preview.description':\n 'We cannot display the selected image in this browser. Please select a different image file.',\n};\n"]}
|
|
@@ -13,6 +13,13 @@ export default {
|
|
|
13
13
|
'callout.tip': 'Vinkki',
|
|
14
14
|
'callout.caution': 'Varoitus',
|
|
15
15
|
'callout.warning': 'Varoitus',
|
|
16
|
+
'code-editor': 'koodieditori',
|
|
17
|
+
'code-editor.copy': 'Kopioi',
|
|
18
|
+
'code-editor.copied': 'Kopioitu',
|
|
19
|
+
'code-editor.copy-failed': 'Kopiointi epäonnistui',
|
|
20
|
+
'code-editor.copy-aria-label': 'Kopioi { label } sisältö',
|
|
21
|
+
'code-editor.copied-aria-label': 'Kopioitu { label } sisältö',
|
|
22
|
+
'code-editor.copy-failed-aria-label': 'Kopiointi epäonnistui { label } sisältö',
|
|
16
23
|
'collapsible-section.open': 'Avaa { header } osio',
|
|
17
24
|
'collapsible-section.close': 'Sulje { header } osio',
|
|
18
25
|
'date-picker.today': 'Tänään',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fi.js","sourceRoot":"","sources":["../../src/translations/fi.ts"],"names":[],"mappings":"AAAA,eAAe;EACX,MAAM,EAAE,QAAQ;EAChB,IAAI,EAAE,UAAU;EAChB,MAAM,EAAE,SAAS;EACjB,OAAO,EAAE,WAAW;EACpB,KAAK,EAAE,MAAM;EACb,KAAK,EAAE,SAAS;EAChB,qBAAqB,EAAE,UAAU;EACjC,mBAAmB,EAAE,UAAU;EAC/B,oBAAoB,EAAE,WAAW;EACjC,cAAc,EAAE,QAAQ;EACxB,mBAAmB,EAAE,SAAS;EAC9B,aAAa,EAAE,QAAQ;EACvB,iBAAiB,EAAE,UAAU;EAC7B,iBAAiB,EAAE,UAAU;EAC7B,0BAA0B,EAAE,sBAAsB;EAClD,2BAA2B,EAAE,uBAAuB;EACpD,mBAAmB,EAAE,QAAQ;EAC7B,2BAA2B,EAAE,UAAU;EACvC,6BAA6B,EAAE,gBAAgB;EAC/C,0BAA0B,EAAE,OAAO;EACnC,yBAAyB,EAAE,cAAc;EACzC,6BAA6B,EAAE,yBAAyB;EACxD,oBAAoB,EAAE,iBAAiB;EACvC,kBAAkB,EAAE,OAAO;EAC3B,yBAAyB,EACrB,2DAA2D;EAC/D,0CAA0C,EACtC,oDAAoD;EACxD,uCAAuC,EACnC,kDAAkD;EACtD,sBAAsB,EAAE,QAAQ;EAChC,6BAA6B,EAAE,sBAAsB;EACrD,gCAAgC,EAAE,oBAAoB;EACtD,6BAA6B,EAAE,2BAA2B;EAC1D,0BAA0B,EAAE,QAAQ;EACpC,kBAAkB,EAAE,WAAW;EAC/B,oBAAoB,EAAE,YAAY;EAClC,2BAA2B,EAAE,YAAY;EACzC,gBAAgB,EAAE,eAAe;EACjC,gBAAgB,EAAE,eAAe;EACjC,gBAAgB,EAAE,eAAe;EACjC,2BAA2B,EAAE,wBAAwB;EACrD,2BAA2B,EAAE,iBAAiB;EAC9C,wBAAwB,EAAE,aAAa;EACvC,kBAAkB,EAAE,cAAc;EAClC,uBAAuB,EAAE,QAAQ;EACjC,uBAAuB,EAAE,QAAQ;EACjC,wBAAwB,EAAE,YAAY;EACtC,kBAAkB,EAAE,OAAO;EAC3B,2BAA2B,EAAE,iCAAiC;EAC9D,0BAA0B,EAAE,+CAA+C;EAC3E,2BAA2B,EAAE,8BAA8B;EAC3D,iCAAiC,EAC7B,uDAAuD;EAC3D,cAAc,EAAE,iBAAiB;EACjC,iBAAiB,EAAE,eAAe;EAClC,oBAAoB,EAAE,WAAW;EACjC,kBAAkB,EAAE,sBAAsB;EAC1C,kBAAkB,EAAE,mBAAmB;EACvC,wBAAwB,EAAE,qBAAqB;EAC/C,2CAA2C,EAAE,6BAA6B;EAC1E,iDAAiD,EAC7C,sFAAsF;CAC7F,CAAC","sourcesContent":["export default {\n remove: 'Poista',\n save: 'Tallenna',\n cancel: 'Peruuta',\n loading: 'Ladataan…',\n value: 'Arvo',\n items: 'Kohteet',\n 'action-bar.collapse': 'Pienennä',\n 'action-bar.expand': 'Laajenna',\n 'action-bar.actions': 'Toiminnot',\n 'callout.note': 'Huomio',\n 'callout.important': 'Tärkeää',\n 'callout.tip': 'Vinkki',\n 'callout.caution': 'Varoitus',\n 'callout.warning': 'Varoitus',\n 'collapsible-section.open': 'Avaa { header } osio',\n 'collapsible-section.close': 'Sulje { header } osio',\n 'date-picker.today': 'Tänään',\n 'date-picker.month.heading': 'Kuukausi',\n 'date-picker.quarter.heading': 'Vuosineljännes',\n 'date-picker.year.heading': 'Vuosi',\n 'drag-handle.drag-handle': 'Raahauskahva',\n 'drag-handle.drag-to-reorder': 'Raahaa järjestelläksesi',\n 'chip-set.clear-all': 'Tyhjennä kaikki',\n 'snackbar.dismiss': 'Sulje',\n 'file.drag-and-drop-tips':\n 'Vedä & pudota tiedostosi tähän, tai napsauta selataksesi.',\n 'file-viewer.message.unsupported-filetype':\n 'Esikatselua ei voi näyttää tälle tiedostotyypille.',\n 'file-viewer.message.try-other-options':\n 'Lataa tiedosto tai avaa se uudessa välilehdessä.',\n 'file-viewer.download': 'Ladata',\n 'file-viewer.exit-fullscreen': 'Poistu koko näytöstä',\n 'file-viewer.open-in-fullscreen': 'Avaa koko näytössä',\n 'file-viewer.open-in-new-tab': 'Avaa uudella välilehdellä',\n 'file-viewer.more-actions': 'Lisää…',\n 'editor-menu.bold': 'Lihavoitu',\n 'editor-menu.italic': 'Kursivoitu',\n 'editor-menu.strikethrough': 'Yliviivaus',\n 'editor-menu.h1': 'Otsikkotaso 1',\n 'editor-menu.h2': 'Otsikkotaso 2',\n 'editor-menu.h3': 'Otsikkotaso 3',\n 'editor-menu.bulleted-list': 'Luettelomerkitty lista',\n 'editor-menu.numbered-list': 'Numeroitu lista',\n 'editor-menu.blockquote': 'Lohkoteksti',\n 'editor-menu.link': 'Lisää linkki',\n 'editor-link-menu.text': 'Teksti',\n 'editor-link-menu.link': 'Linkki',\n 'editor-menu.code-block': 'Koodilohko',\n 'editor-menu.code': 'Koodi',\n 'editor-image-view.loading': 'Ladataan kuvaa: { filename }...',\n 'editor-image-view.failed': 'Jokin meni pieleen kuvan kanssa: { filename }',\n 'editor-image-view.success': 'Kuva: { filename } on valmis',\n 'editor-image-view.resize-handle':\n 'Vedä oikealle tai vasemmalle muuttaaksesi kuvan kokoa',\n 'progress-bar': 'Edistymispalkki',\n 'ai-avatar.label': 'Tekoälyavatar',\n 'ai-avatar.thinking': 'ajattelee',\n 'table.select-all': 'Valitse kaikki rivit',\n 'table.select-row': 'Valitse tämä rivi',\n 'profile-picture.remove': 'Poista valittu kuva',\n 'profile-picture.unsupported-preview.title': 'Tiedostomuoto ei ole tuettu',\n 'profile-picture.unsupported-preview.description':\n 'Emme voi näyttää valittua kuvaa tässä selaimessa.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EAAE,YAAY;EAClC,2BAA2B,EAAE,YAAY;EACzC,gBAAgB,EAAE,eAAe;EACjC,gBAAgB,EAAE,eAAe;EACjC,gBAAgB,EAAE,eAAe;EACjC,2BAA2B,EAAE,wBAAwB;EACrD,2BAA2B,EAAE,iBAAiB;EAC9C,wBAAwB,EAAE,aAAa;EACvC,kBAAkB,EAAE,cAAc;EAClC,uBAAuB,EAAE,QAAQ;EACjC,uBAAuB,EAAE,QAAQ;EACjC,wBAAwB,EAAE,YAAY;EACtC,kBAAkB,EAAE,OAAO;EAC3B,2BAA2B,EAAE,iCAAiC;EAC9D,0BAA0B,EAAE,+CAA+C;EAC3E,2BAA2B,EAAE,8BAA8B;EAC3D,iCAAiC,EAC7B,uDAAuD;EAC3D,cAAc,EAAE,iBAAiB;EACjC,iBAAiB,EAAE,eAAe;EAClC,oBAAoB,EAAE,WAAW;EACjC,kBAAkB,EAAE,sBAAsB;EAC1C,kBAAkB,EAAE,mBAAmB;EACvC,wBAAwB,EAAE,qBAAqB;EAC/C,2CAA2C,EAAE,6BAA6B;EAC1E,iDAAiD,EAC7C,sFAAsF;CAC7F,CAAC","sourcesContent":["export default {\n remove: 'Poista',\n save: 'Tallenna',\n cancel: 'Peruuta',\n loading: 'Ladataan…',\n value: 'Arvo',\n items: 'Kohteet',\n 'action-bar.collapse': 'Pienennä',\n 'action-bar.expand': 'Laajenna',\n 'action-bar.actions': 'Toiminnot',\n 'callout.note': 'Huomio',\n 'callout.important': 'Tärkeää',\n 'callout.tip': 'Vinkki',\n 'callout.caution': 'Varoitus',\n 'callout.warning': 'Varoitus',\n 'code-editor': 'koodieditori',\n 'code-editor.copy': 'Kopioi',\n 'code-editor.copied': 'Kopioitu',\n 'code-editor.copy-failed': 'Kopiointi epäonnistui',\n 'code-editor.copy-aria-label': 'Kopioi { label } sisältö',\n 'code-editor.copied-aria-label': 'Kopioitu { label } sisältö',\n 'code-editor.copy-failed-aria-label':\n 'Kopiointi epäonnistui { label } sisältö',\n 'collapsible-section.open': 'Avaa { header } osio',\n 'collapsible-section.close': 'Sulje { header } osio',\n 'date-picker.today': 'Tänään',\n 'date-picker.month.heading': 'Kuukausi',\n 'date-picker.quarter.heading': 'Vuosineljännes',\n 'date-picker.year.heading': 'Vuosi',\n 'drag-handle.drag-handle': 'Raahauskahva',\n 'drag-handle.drag-to-reorder': 'Raahaa järjestelläksesi',\n 'chip-set.clear-all': 'Tyhjennä kaikki',\n 'snackbar.dismiss': 'Sulje',\n 'file.drag-and-drop-tips':\n 'Vedä & pudota tiedostosi tähän, tai napsauta selataksesi.',\n 'file-viewer.message.unsupported-filetype':\n 'Esikatselua ei voi näyttää tälle tiedostotyypille.',\n 'file-viewer.message.try-other-options':\n 'Lataa tiedosto tai avaa se uudessa välilehdessä.',\n 'file-viewer.download': 'Ladata',\n 'file-viewer.exit-fullscreen': 'Poistu koko näytöstä',\n 'file-viewer.open-in-fullscreen': 'Avaa koko näytössä',\n 'file-viewer.open-in-new-tab': 'Avaa uudella välilehdellä',\n 'file-viewer.more-actions': 'Lisää…',\n 'editor-menu.bold': 'Lihavoitu',\n 'editor-menu.italic': 'Kursivoitu',\n 'editor-menu.strikethrough': 'Yliviivaus',\n 'editor-menu.h1': 'Otsikkotaso 1',\n 'editor-menu.h2': 'Otsikkotaso 2',\n 'editor-menu.h3': 'Otsikkotaso 3',\n 'editor-menu.bulleted-list': 'Luettelomerkitty lista',\n 'editor-menu.numbered-list': 'Numeroitu lista',\n 'editor-menu.blockquote': 'Lohkoteksti',\n 'editor-menu.link': 'Lisää linkki',\n 'editor-link-menu.text': 'Teksti',\n 'editor-link-menu.link': 'Linkki',\n 'editor-menu.code-block': 'Koodilohko',\n 'editor-menu.code': 'Koodi',\n 'editor-image-view.loading': 'Ladataan kuvaa: { filename }...',\n 'editor-image-view.failed': 'Jokin meni pieleen kuvan kanssa: { filename }',\n 'editor-image-view.success': 'Kuva: { filename } on valmis',\n 'editor-image-view.resize-handle':\n 'Vedä oikealle tai vasemmalle muuttaaksesi kuvan kokoa',\n 'progress-bar': 'Edistymispalkki',\n 'ai-avatar.label': 'Tekoälyavatar',\n 'ai-avatar.thinking': 'ajattelee',\n 'table.select-all': 'Valitse kaikki rivit',\n 'table.select-row': 'Valitse tämä rivi',\n 'profile-picture.remove': 'Poista valittu kuva',\n 'profile-picture.unsupported-preview.title': 'Tiedostomuoto ei ole tuettu',\n 'profile-picture.unsupported-preview.description':\n 'Emme voi näyttää valittua kuvaa tässä selaimessa. Valitse jokin toinen kuvatiedosto.',\n};\n"]}
|
|
@@ -13,6 +13,13 @@ export default {
|
|
|
13
13
|
'callout.tip': 'Conseil',
|
|
14
14
|
'callout.caution': 'Prudence',
|
|
15
15
|
'callout.warning': 'Avertissement',
|
|
16
|
+
'code-editor': 'éditeur de code',
|
|
17
|
+
'code-editor.copy': 'Copie',
|
|
18
|
+
'code-editor.copied': 'Copié ',
|
|
19
|
+
'code-editor.copy-failed': 'Échec de la copie',
|
|
20
|
+
'code-editor.copy-aria-label': 'Copier le contenu { label }',
|
|
21
|
+
'code-editor.copied-aria-label': 'Contenu { label } copié',
|
|
22
|
+
'code-editor.copy-failed-aria-label': 'Échec de la copie du contenu { label }',
|
|
16
23
|
'collapsible-section.open': 'Ouvrir la section { header }',
|
|
17
24
|
'collapsible-section.close': 'Fermer la section { header }',
|
|
18
25
|
'date-picker.today': "Aujourd'hui",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fr.js","sourceRoot":"","sources":["../../src/translations/fr.ts"],"names":[],"mappings":"AAAA,eAAe;EACX,MAAM,EAAE,WAAW;EACnB,IAAI,EAAE,aAAa;EACnB,MAAM,EAAE,SAAS;EACjB,OAAO,EAAE,aAAa;EACtB,KAAK,EAAE,QAAQ;EACf,KAAK,EAAE,UAAU;EACjB,qBAAqB,EAAE,SAAS;EAChC,mBAAmB,EAAE,YAAY;EACjC,oBAAoB,EAAE,SAAS;EAC/B,cAAc,EAAE,MAAM;EACtB,mBAAmB,EAAE,WAAW;EAChC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9C,wBAAwB,EAAE,gCAAgC;EAC1D,2CAA2C,EACvC,mCAAmC;EACvC,iDAAiD,EAC7C,qHAAqH;CAC5H,CAAC","sourcesContent":["export default {\n remove: 'Supprimer',\n save: 'Enregistrer',\n cancel: 'Annuler',\n loading: 'Chargement…',\n value: 'Valeur',\n items: 'Éléments',\n 'action-bar.collapse': 'Réduire',\n 'action-bar.expand': 'Développer',\n 'action-bar.actions': 'Actions',\n 'callout.note': 'Note',\n 'callout.important': 'Important',\n 'callout.tip': 'Conseil',\n 'callout.caution': 'Prudence',\n 'callout.warning': 'Avertissement',\n 'collapsible-section.open': 'Ouvrir la section { header }',\n 'collapsible-section.close': 'Fermer la section { header }',\n 'date-picker.today': \"Aujourd'hui\",\n 'date-picker.month.heading': 'Mois',\n 'date-picker.quarter.heading': 'Trimestre',\n 'date-picker.year.heading': 'Année',\n 'drag-handle.drag-handle': 'Poignée de déplacement',\n 'drag-handle.drag-to-reorder': 'Glissez pour réorganiser',\n 'chip-set.clear-all': 'Tout effacer',\n 'snackbar.dismiss': 'Fermer',\n 'file.drag-and-drop-tips':\n 'Glissez-déposez votre fichier ici, ou cliquez pour parcourir.',\n 'file-viewer.message.unsupported-filetype':\n \"Impossible d'afficher un aperçu pour ce type de fichier.\",\n 'file-viewer.message.try-other-options':\n 'Téléchargez le fichier ou ouvrez-le dans un nouvel onglet.',\n 'file-viewer.download': 'Télécharger',\n 'file-viewer.exit-fullscreen': 'Quitter le mode plein écran',\n 'file-viewer.open-in-fullscreen': 'Ouvrir en plein écran',\n 'file-viewer.open-in-new-tab': 'Ouvrir dans un nouvel onglet',\n 'file-viewer.more-actions': 'Plus…',\n 'editor-menu.bold': 'Gras',\n 'editor-menu.italic': 'Italique',\n 'editor-menu.strikethrough': 'Barré',\n 'editor-menu.h1': 'Titre 1',\n 'editor-menu.h2': 'Titre 2',\n 'editor-menu.h3': 'Titre 3',\n 'editor-menu.bulleted-list': 'Liste à puces',\n 'editor-menu.numbered-list': 'Liste numérotée',\n 'editor-menu.blockquote': 'Bloc de citation',\n 'editor-menu.link': 'Lien',\n 'editor-link-menu.text': 'Texte',\n 'editor-link-menu.link': 'Lien',\n 'editor-menu.code-block': 'Bloc de code',\n 'editor-menu.code': 'Code',\n 'editor-image-view.loading': \"Chargement de l'image: { filename }...\",\n 'editor-image-view.failed':\n \"Un problème est survenu avec l'image: { filename }\",\n 'editor-image-view.success': 'Image: { filename } est prête',\n 'editor-image-view.resize-handle':\n \"Faites glisser vers la droite ou la gauche pour redimensionner l'image\",\n 'progress-bar': 'Barre de progression',\n 'ai-avatar.label': 'Avatar IA',\n 'ai-avatar.thinking': 'en réflexion',\n 'table.select-all': 'Sélectionner toutes les lignes',\n 'table.select-row': 'Sélectionner cette ligne',\n 'profile-picture.remove': 'Supprimer l’image sélectionnée',\n 'profile-picture.unsupported-preview.title':\n \"Format d'image non pris en charge\",\n 'profile-picture.unsupported-preview.description':\n \"Nous ne pouvons pas afficher l'image sélectionnée dans ce navigateur. Veuillez sélectionner un autre fichier image.\",\n};\n"]}
|
|
1
|
+
{"version":3,"file":"fr.js","sourceRoot":"","sources":["../../src/translations/fr.ts"],"names":[],"mappings":"AAAA,eAAe;EACX,MAAM,EAAE,WAAW;EACnB,IAAI,EAAE,aAAa;EACnB,MAAM,EAAE,SAAS;EACjB,OAAO,EAAE,aAAa;EACtB,KAAK,EAAE,QAAQ;EACf,KAAK,EAAE,UAAU;EACjB,qBAAqB,EAAE,SAAS;EAChC,mBAAmB,EAAE,YAAY;EACjC,oBAAoB,EAAE,SAAS;EAC/B,cAAc,EAAE,MAAM;EACtB,mBAAmB,EAAE,WAAW;EAChC,aAAa,EAAE,SAAS;EACxB,iBAAiB,EAAE,UAAU;EAC7B,iBAAiB,EAAE,eAAe;EAClC,aAAa,EAAE,iBAAiB;EAChC,kBAAkB,EAAE,OAAO;EAC3B,oBAAoB,EAAE,QAAQ;EAC9B,yBAAyB,EAAE,mBAAmB;EAC9C,6BAA6B,EAAE,6BAA6B;EAC5D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gCAAgC;EAC1D,2CAA2C,EACvC,mCAAmC;EACvC,iDAAiD,EAC7C,qHAAqH;CAC5H,CAAC","sourcesContent":["export default {\n remove: 'Supprimer',\n save: 'Enregistrer',\n cancel: 'Annuler',\n loading: 'Chargement…',\n value: 'Valeur',\n items: 'Éléments',\n 'action-bar.collapse': 'Réduire',\n 'action-bar.expand': 'Développer',\n 'action-bar.actions': 'Actions',\n 'callout.note': 'Note',\n 'callout.important': 'Important',\n 'callout.tip': 'Conseil',\n 'callout.caution': 'Prudence',\n 'callout.warning': 'Avertissement',\n 'code-editor': 'éditeur de code',\n 'code-editor.copy': 'Copie',\n 'code-editor.copied': 'Copié ',\n 'code-editor.copy-failed': 'Échec de la copie',\n 'code-editor.copy-aria-label': 'Copier le contenu { label }',\n 'code-editor.copied-aria-label': 'Contenu { label } copié',\n 'code-editor.copy-failed-aria-label':\n 'Échec de la copie du contenu { label }',\n 'collapsible-section.open': 'Ouvrir la section { header }',\n 'collapsible-section.close': 'Fermer la section { header }',\n 'date-picker.today': \"Aujourd'hui\",\n 'date-picker.month.heading': 'Mois',\n 'date-picker.quarter.heading': 'Trimestre',\n 'date-picker.year.heading': 'Année',\n 'drag-handle.drag-handle': 'Poignée de déplacement',\n 'drag-handle.drag-to-reorder': 'Glissez pour réorganiser',\n 'chip-set.clear-all': 'Tout effacer',\n 'snackbar.dismiss': 'Fermer',\n 'file.drag-and-drop-tips':\n 'Glissez-déposez votre fichier ici, ou cliquez pour parcourir.',\n 'file-viewer.message.unsupported-filetype':\n \"Impossible d'afficher un aperçu pour ce type de fichier.\",\n 'file-viewer.message.try-other-options':\n 'Téléchargez le fichier ou ouvrez-le dans un nouvel onglet.',\n 'file-viewer.download': 'Télécharger',\n 'file-viewer.exit-fullscreen': 'Quitter le mode plein écran',\n 'file-viewer.open-in-fullscreen': 'Ouvrir en plein écran',\n 'file-viewer.open-in-new-tab': 'Ouvrir dans un nouvel onglet',\n 'file-viewer.more-actions': 'Plus…',\n 'editor-menu.bold': 'Gras',\n 'editor-menu.italic': 'Italique',\n 'editor-menu.strikethrough': 'Barré',\n 'editor-menu.h1': 'Titre 1',\n 'editor-menu.h2': 'Titre 2',\n 'editor-menu.h3': 'Titre 3',\n 'editor-menu.bulleted-list': 'Liste à puces',\n 'editor-menu.numbered-list': 'Liste numérotée',\n 'editor-menu.blockquote': 'Bloc de citation',\n 'editor-menu.link': 'Lien',\n 'editor-link-menu.text': 'Texte',\n 'editor-link-menu.link': 'Lien',\n 'editor-menu.code-block': 'Bloc de code',\n 'editor-menu.code': 'Code',\n 'editor-image-view.loading': \"Chargement de l'image: { filename }...\",\n 'editor-image-view.failed':\n \"Un problème est survenu avec l'image: { filename }\",\n 'editor-image-view.success': 'Image: { filename } est prête',\n 'editor-image-view.resize-handle':\n \"Faites glisser vers la droite ou la gauche pour redimensionner l'image\",\n 'progress-bar': 'Barre de progression',\n 'ai-avatar.label': 'Avatar IA',\n 'ai-avatar.thinking': 'en réflexion',\n 'table.select-all': 'Sélectionner toutes les lignes',\n 'table.select-row': 'Sélectionner cette ligne',\n 'profile-picture.remove': 'Supprimer l’image sélectionnée',\n 'profile-picture.unsupported-preview.title':\n \"Format d'image non pris en charge\",\n 'profile-picture.unsupported-preview.description':\n \"Nous ne pouvons pas afficher l'image sélectionnée dans ce navigateur. Veuillez sélectionner un autre fichier image.\",\n};\n"]}
|
|
@@ -13,6 +13,13 @@ export default {
|
|
|
13
13
|
'callout.tip': 'Tip',
|
|
14
14
|
'callout.caution': 'Waarschuwing',
|
|
15
15
|
'callout.warning': 'Waarschuwing',
|
|
16
|
+
'code-editor': 'code-editor',
|
|
17
|
+
'code-editor.copy': 'Kopiëren',
|
|
18
|
+
'code-editor.copied': 'Gekopieerd',
|
|
19
|
+
'code-editor.copy-failed': 'Kopiëren mislukt',
|
|
20
|
+
'code-editor.copy-aria-label': 'Kopieer { label } inhoud',
|
|
21
|
+
'code-editor.copied-aria-label': 'Gekopieerd { label } inhoud',
|
|
22
|
+
'code-editor.copy-failed-aria-label': 'Kopiëren { label } inhoud mislukt',
|
|
16
23
|
'collapsible-section.open': 'Open { header } sectie',
|
|
17
24
|
'collapsible-section.close': 'Sluit { header } sectie',
|
|
18
25
|
'date-picker.today': 'Vandaag',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nl.js","sourceRoot":"","sources":["../../src/translations/nl.ts"],"names":[],"mappings":"AAAA,eAAe;EACX,MAAM,EAAE,WAAW;EACnB,IAAI,EAAE,SAAS;EACf,MAAM,EAAE,WAAW;EACnB,OAAO,EAAE,QAAQ;EACjB,KAAK,EAAE,QAAQ;EACf,KAAK,EAAE,OAAO;EACd,qBAAqB,EAAE,WAAW;EAClC,mBAAmB,EAAE,YAAY;EACjC,oBAAoB,EAAE,QAAQ;EAC9B,cAAc,EAAE,WAAW;EAC3B,mBAAmB,EAAE,YAAY;EACjC,aAAa,EAAE,KAAK;EACpB,iBAAiB,EAAE,cAAc;EACjC,iBAAiB,EAAE,cAAc;EACjC,0BAA0B,EAAE,wBAAwB;EACpD,2BAA2B,EAAE,yBAAyB;EACtD,mBAAmB,EAAE,SAAS;EAC9B,2BAA2B,EAAE,OAAO;EACpC,6BAA6B,EAAE,UAAU;EACzC,0BAA0B,EAAE,MAAM;EAClC,yBAAyB,EAAE,YAAY;EACvC,6BAA6B,EAAE,8BAA8B;EAC7D,oBAAoB,EAAE,cAAc;EACpC,kBAAkB,EAAE,SAAS;EAC7B,yBAAyB,EACrB,oDAAoD;EACxD,0CAA0C,EACtC,qDAAqD;EACzD,uCAAuC,EACnC,wDAAwD;EAC5D,sBAAsB,EAAE,YAAY;EACpC,6BAA6B,EAAE,yBAAyB;EACxD,gCAAgC,EAAE,yBAAyB;EAC3D,6BAA6B,EAAE,6BAA6B;EAC5D,0BAA0B,EAAE,OAAO;EACnC,kBAAkB,EAAE,KAAK;EACzB,oBAAoB,EAAE,SAAS;EAC/B,2BAA2B,EAAE,WAAW;EACxC,gBAAgB,EAAE,aAAa;EAC/B,gBAAgB,EAAE,aAAa;EAC/B,gBAAgB,EAAE,aAAa;EAC/B,2BAA2B,EAAE,WAAW;EACxC,2BAA2B,EAAE,kBAAkB;EAC/C,wBAAwB,EAAE,YAAY;EACtC,kBAAkB,EAAE,gBAAgB;EACpC,uBAAuB,EAAE,OAAO;EAChC,uBAAuB,EAAE,MAAM;EAC/B,wBAAwB,EAAE,UAAU;EACpC,kBAAkB,EAAE,MAAM;EAC1B,2BAA2B,EAAE,2CAA2C;EACxE,0BAA0B,EACtB,sDAAsD;EAC1D,2BAA2B,EAAE,mCAAmC;EAChE,iCAAiC,EAC7B,mEAAmE;EACvE,cAAc,EAAE,gBAAgB;EAChC,iBAAiB,EAAE,WAAW;EAC9B,oBAAoB,EAAE,gBAAgB;EACtC,kBAAkB,EAAE,uBAAuB;EAC3C,kBAAkB,EAAE,qBAAqB;EACzC,wBAAwB,EAAE,sCAAsC;EAChE,2CAA2C,EACvC,qCAAqC;EACzC,iDAAiD,EAC7C,+GAA+G;CACtH,CAAC","sourcesContent":["export default {\n remove: 'Verwijder',\n save: 'Opslaan',\n cancel: 'Annuleren',\n loading: 'Laden…',\n value: 'Waarde',\n items: 'items',\n 'action-bar.collapse': 'Inklappen',\n 'action-bar.expand': 'Uitklappen',\n 'action-bar.actions': 'Acties',\n 'callout.note': 'Opmerking',\n 'callout.important': 'Belangrijk',\n 'callout.tip': 'Tip',\n 'callout.caution': 'Waarschuwing',\n 'callout.warning': 'Waarschuwing',\n 'collapsible-section.open': 'Open { header } sectie',\n 'collapsible-section.close': 'Sluit { header } sectie',\n 'date-picker.today': 'Vandaag',\n 'date-picker.month.heading': 'Maand',\n 'date-picker.quarter.heading': 'Kwartaal',\n 'date-picker.year.heading': 'Jaar',\n 'drag-handle.drag-handle': 'Sleepgreep',\n 'drag-handle.drag-to-reorder': 'Slepen om opnieuw te ordenen',\n 'chip-set.clear-all': 'Alles wissen',\n 'snackbar.dismiss': 'Sluiten',\n 'file.drag-and-drop-tips':\n 'Sleep een bestand hierheen of klik om te bladeren.',\n 'file-viewer.message.unsupported-filetype':\n 'Kan geen voorbeeld weergeven voor dit bestandstype.',\n 'file-viewer.message.try-other-options':\n 'Download het bestand of open het in een nieuw tabblad.',\n 'file-viewer.download': 'Downloaden',\n 'file-viewer.exit-fullscreen': 'Verlaat volledig scherm',\n 'file-viewer.open-in-fullscreen': 'Open in volledig scherm',\n 'file-viewer.open-in-new-tab': 'Openen op een nieuw tabblad',\n 'file-viewer.more-actions': 'Meer…',\n 'editor-menu.bold': 'Vet',\n 'editor-menu.italic': 'Cursief',\n 'editor-menu.strikethrough': 'Doorhalen',\n 'editor-menu.h1': 'Kopniveau 1',\n 'editor-menu.h2': 'Kopniveau 2',\n 'editor-menu.h3': 'Kopniveau 3',\n 'editor-menu.bulleted-list': 'Opsomming',\n 'editor-menu.numbered-list': 'Genummerde lijst',\n 'editor-menu.blockquote': 'Blokcitaat',\n 'editor-menu.link': 'Link toevoegen',\n 'editor-link-menu.text': 'Tekst',\n 'editor-link-menu.link': 'Link',\n 'editor-menu.code-block': 'Codeblok',\n 'editor-menu.code': 'Code',\n 'editor-image-view.loading': 'Afbeelding wordt geladen: { filename }...',\n 'editor-image-view.failed':\n 'Er is iets misgegaan met de afbeelding: { filename }',\n 'editor-image-view.success': 'Afbeelding: { filename } is klaar',\n 'editor-image-view.resize-handle':\n 'Sleep naar rechts of links om de afbeeldingsgrootte te veranderen',\n 'progress-bar': 'Voortgangsbalk',\n 'ai-avatar.label': 'AI-avatar',\n 'ai-avatar.thinking': 'aan het denken',\n 'table.select-all': 'Alle rijen selecteren',\n 'table.select-row': 'Deze rij selecteren',\n 'profile-picture.remove': 'Geselecteerde afbeelding verwijderen',\n 'profile-picture.unsupported-preview.title':\n 'Niet-ondersteund afbeeldingsformaat',\n 'profile-picture.unsupported-preview.description':\n 'We kunnen de geselecteerde afbeelding niet weergeven in deze browser. Selecteer een ander afbeeldingsbestand.',\n};\n"]}
|
|
1
|
+
{"version":3,"file":"nl.js","sourceRo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AE,aAAa;EAC/B,gBAAgB,EAAE,aAAa;EAC/B,2BAA2B,EAAE,WAAW;EACxC,2BAA2B,EAAE,kBAAkB;EAC/C,wBAAwB,EAAE,YAAY;EACtC,kBAAkB,EAAE,gBAAgB;EACpC,uBAAuB,EAAE,OAAO;EAChC,uBAAuB,EAAE,MAAM;EAC/B,wBAAwB,EAAE,UAAU;EACpC,kBAAkB,EAAE,MAAM;EAC1B,2BAA2B,EAAE,2CAA2C;EACxE,0BAA0B,EACtB,sDAAsD;EAC1D,2BAA2B,EAAE,mCAAmC;EAChE,iCAAiC,EAC7B,mEAAmE;EACvE,cAAc,EAAE,gBAAgB;EAChC,iBAAiB,EAAE,WAAW;EAC9B,oBAAoB,EAAE,gBAAgB;EACtC,kBAAkB,EAAE,uBAAuB;EAC3C,kBAAkB,EAAE,qBAAqB;EACzC,wBAAwB,EAAE,sCAAsC;EAChE,2CAA2C,EACvC,qCAAqC;EACzC,iDAAiD,EAC7C,+GAA+G;CACtH,CAAC","sourcesContent":["export default {\n remove: 'Verwijder',\n save: 'Opslaan',\n cancel: 'Annuleren',\n loading: 'Laden…',\n value: 'Waarde',\n items: 'items',\n 'action-bar.collapse': 'Inklappen',\n 'action-bar.expand': 'Uitklappen',\n 'action-bar.actions': 'Acties',\n 'callout.note': 'Opmerking',\n 'callout.important': 'Belangrijk',\n 'callout.tip': 'Tip',\n 'callout.caution': 'Waarschuwing',\n 'callout.warning': 'Waarschuwing',\n 'code-editor': 'code-editor',\n 'code-editor.copy': 'Kopiëren',\n 'code-editor.copied': 'Gekopieerd',\n 'code-editor.copy-failed': 'Kopiëren mislukt',\n 'code-editor.copy-aria-label': 'Kopieer { label } inhoud',\n 'code-editor.copied-aria-label': 'Gekopieerd { label } inhoud',\n 'code-editor.copy-failed-aria-label': 'Kopiëren { label } inhoud mislukt',\n 'collapsible-section.open': 'Open { header } sectie',\n 'collapsible-section.close': 'Sluit { header } sectie',\n 'date-picker.today': 'Vandaag',\n 'date-picker.month.heading': 'Maand',\n 'date-picker.quarter.heading': 'Kwartaal',\n 'date-picker.year.heading': 'Jaar',\n 'drag-handle.drag-handle': 'Sleepgreep',\n 'drag-handle.drag-to-reorder': 'Slepen om opnieuw te ordenen',\n 'chip-set.clear-all': 'Alles wissen',\n 'snackbar.dismiss': 'Sluiten',\n 'file.drag-and-drop-tips':\n 'Sleep een bestand hierheen of klik om te bladeren.',\n 'file-viewer.message.unsupported-filetype':\n 'Kan geen voorbeeld weergeven voor dit bestandstype.',\n 'file-viewer.message.try-other-options':\n 'Download het bestand of open het in een nieuw tabblad.',\n 'file-viewer.download': 'Downloaden',\n 'file-viewer.exit-fullscreen': 'Verlaat volledig scherm',\n 'file-viewer.open-in-fullscreen': 'Open in volledig scherm',\n 'file-viewer.open-in-new-tab': 'Openen op een nieuw tabblad',\n 'file-viewer.more-actions': 'Meer…',\n 'editor-menu.bold': 'Vet',\n 'editor-menu.italic': 'Cursief',\n 'editor-menu.strikethrough': 'Doorhalen',\n 'editor-menu.h1': 'Kopniveau 1',\n 'editor-menu.h2': 'Kopniveau 2',\n 'editor-menu.h3': 'Kopniveau 3',\n 'editor-menu.bulleted-list': 'Opsomming',\n 'editor-menu.numbered-list': 'Genummerde lijst',\n 'editor-menu.blockquote': 'Blokcitaat',\n 'editor-menu.link': 'Link toevoegen',\n 'editor-link-menu.text': 'Tekst',\n 'editor-link-menu.link': 'Link',\n 'editor-menu.code-block': 'Codeblok',\n 'editor-menu.code': 'Code',\n 'editor-image-view.loading': 'Afbeelding wordt geladen: { filename }...',\n 'editor-image-view.failed':\n 'Er is iets misgegaan met de afbeelding: { filename }',\n 'editor-image-view.success': 'Afbeelding: { filename } is klaar',\n 'editor-image-view.resize-handle':\n 'Sleep naar rechts of links om de afbeeldingsgrootte te veranderen',\n 'progress-bar': 'Voortgangsbalk',\n 'ai-avatar.label': 'AI-avatar',\n 'ai-avatar.thinking': 'aan het denken',\n 'table.select-all': 'Alle rijen selecteren',\n 'table.select-row': 'Deze rij selecteren',\n 'profile-picture.remove': 'Geselecteerde afbeelding verwijderen',\n 'profile-picture.unsupported-preview.title':\n 'Niet-ondersteund afbeeldingsformaat',\n 'profile-picture.unsupported-preview.description':\n 'We kunnen de geselecteerde afbeelding niet weergeven in deze browser. Selecteer een ander afbeeldingsbestand.',\n};\n"]}
|
|
@@ -13,6 +13,13 @@ export default {
|
|
|
13
13
|
'callout.tip': 'Tip',
|
|
14
14
|
'callout.caution': 'Advarsel',
|
|
15
15
|
'callout.warning': 'Advarsel',
|
|
16
|
+
'code-editor': 'kodeeditor',
|
|
17
|
+
'code-editor.copy': 'Kopier',
|
|
18
|
+
'code-editor.copied': 'Kopiert',
|
|
19
|
+
'code-editor.copy-failed': 'Kunne ikke kopiere',
|
|
20
|
+
'code-editor.copy-aria-label': 'Kopier { label } innhold',
|
|
21
|
+
'code-editor.copied-aria-label': 'Kopiert { label } innhold',
|
|
22
|
+
'code-editor.copy-failed-aria-label': 'Kunne ikke kopiere { label } innhold',
|
|
16
23
|
'collapsible-section.open': 'Åpne { header } seksjon',
|
|
17
24
|
'collapsible-section.close': 'Lukk { header } seksjon',
|
|
18
25
|
'date-picker.today': 'I dag',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"no.js","sourceRoot":"","sources":["../../src/translations/no.ts"],"names":[],"mappings":"AAAA,eAAe;EACX,MAAM,EAAE,QAAQ;EAChB,IAAI,EAAE,OAAO;EACb,MAAM,EAAE,QAAQ;EAChB,OAAO,EAAE,SAAS;EAClB,KAAK,EAAE,OAAO;EACd,KAAK,EAAE,WAAW;EAClB,qBAAqB,EAAE,OAAO;EAC9B,mBAAmB,EAAE,KAAK;EAC1B,oBAAoB,EAAE,YAAY;EAClC,cAAc,EAAE,MAAM;EACtB,mBAAmB,EAAE,QAAQ;EAC7B,aAAa,EAAE,KAAK;EACpB,iBAAiB,EAAE,UAAU;EAC7B,iBAAiB,EAAE,UAAU;EAC7B,0BAA0B,EAAE,yBAAyB;EACrD,2BAA2B,EAAE,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'Lagre',\n cancel: 'Avbryt',\n loading: 'Laster…',\n value: 'Verdi',\n items: 'Elementer',\n 'action-bar.collapse': 'Skjul',\n 'action-bar.expand': 'Vis',\n 'action-bar.actions': 'Handlinger',\n 'callout.note': 'Note',\n 'callout.important': 'Viktig',\n 'callout.tip': 'Tip',\n 'callout.caution': 'Advarsel',\n 'callout.warning': 'Advarsel',\n 'collapsible-section.open': 'Åpne { header } seksjon',\n 'collapsible-section.close': 'Lukk { header } seksjon',\n 'date-picker.today': 'I dag',\n 'date-picker.month.heading': 'Måned',\n 'date-picker.quarter.heading': 'Kvartal',\n 'date-picker.year.heading': 'År',\n 'drag-handle.drag-handle': 'Dra-håndtak',\n 'drag-handle.drag-to-reorder': 'Dra for å omorganisere',\n 'chip-set.clear-all': 'Fjern alle',\n 'file.drag-and-drop-tips':\n 'Dra & slipp filen her, eller klikk for å bla gjennom.',\n 'file-viewer.message.unsupported-filetype':\n 'Kan ikke vise en forhåndsvisning av denne filtypen.',\n 'file-viewer.message.try-other-options':\n 'Last ned filen eller åpne den i en ny fane.',\n 'file-viewer.download': 'Nedlasting',\n 'file-viewer.exit-fullscreen': 'Gå ut av fullskjerm',\n 'file-viewer.open-in-fullscreen': 'Åpne i fullskjerm',\n 'file-viewer.open-in-new-tab': 'Åpne i en ny fane',\n 'file-viewer.more-actions': 'Mer…',\n 'editor-menu.bold': 'Fet',\n 'editor-menu.italic': 'Kursiv',\n 'editor-menu.strikethrough': 'Gjennomstreking',\n 'editor-menu.h1': 'Overskrift 1',\n 'editor-menu.h2': 'Overskrift 2',\n 'editor-menu.h3': 'Overskrifts 3',\n 'editor-menu.bulleted-list': 'Punktliste',\n 'editor-menu.numbered-list': 'Nummerert liste',\n 'editor-menu.blockquote': 'Blokksitat',\n 'editor-menu.link': 'Legg til lenke',\n 'editor-link-menu.text': 'Tekst',\n 'editor-link-menu.link': 'Lenke',\n 'editor-menu.code-block': 'Kodeblokk',\n 'editor-menu.code': 'Kode',\n 'editor-image-view.loading': 'Laster bilde: { filename }...',\n 'editor-image-view.failed': 'Noe gikk galt med bildet: { filename }',\n 'editor-image-view.success': 'Bilde: { filename } er klart',\n 'editor-image-view.resize-handle':\n 'Dra til høyre eller venstre for å endre størrelsen på bildet',\n 'progress-bar': 'Fremdriftsindikator',\n 'snackbar.dismiss': 'Lukk',\n 'ai-avatar.label': 'KI-avatar',\n 'ai-avatar.thinking': 'tenker',\n 'table.select-all': 'Velg alle rader',\n 'table.select-row': 'Velg denne raden',\n 'profile-picture.remove': 'Fjern valgt bilde',\n 'profile-picture.unsupported-preview.title': 'Ustøttet bildeformat',\n 'profile-picture.unsupported-preview.description':\n 'Vi kan ikke vise det valgte bildet i denne nettleseren. Vennligst velg en annen bildefil.',\n};\n"]}
|
|
1
|
+
{"version":3,"file":"no.js","sourceRoot":"","sources":["../../src/translations/no.ts"],"names":[],"mappings":"AAAA,eAAe;EACX,MAAM,EAAE,QAAQ;EAChB,IAAI,EAAE,OAAO;EACb,MAAM,EAAE,QAAQ;EAChB,OAAO,EAAE,SAAS;EAClB,KAAK,EAAE,OAAO;EACd,KAAK,EAAE,WAAW;EAClB,qBAAqB,EAAE,OAAO;EAC9B,mBAAmB,EAAE,KAAK;EAC1B,oBAAoB,EAAE,YAAY;EAClC,cAAc,EAAE,MAAM;EACtB,mBAAmB,EAAE,QAAQ;EAC7B,aAAa,EAAE,KAAK;EACpB,iBAAiB,EAAE,UAAU;EAC7B,iBAAiB,EAAE,UAAU;EAC7B,aAAa,EAAE,YAAY;EAC3B,kBAAkB,EAAE,QAAQ;EAC5B,oBAAoB,EAAE,SAAS;EAC/B,yBAAyB,EAAE,oBAAoB;EAC/C,6BAA6B,EAAE,0BAA0B;EACzD,+BAA+B,EAAE,2BAA2B;EAC5D,oCAAoC,EAChC,sCAAsC;EAC1C,0BAA0B,EAAE,yBAAyB;EACrD,2BAA2B,EAAE,yBAAyB;EACtD,mBAAmB,EAAE,OAAO;EAC5B,2BAA2B,EAAE,OAAO;EACpC,6BAA6B,EAAE,SAAS;EACxC,0BAA0B,EAAE,IAAI;EAChC,yBAAyB,EAAE,aAAa;EACxC,6BAA6B,EAAE,wBAAwB;EACvD,oBAAoB,EAAE,YAAY;EAClC,yBAAyB,EACrB,uDAAuD;EAC3D,0CAA0C,EACtC,qDAAqD;EACzD,uCAAuC,EACnC,6CAA6C;EACjD,sBAAsB,EAAE,YAAY;EACpC,6BAA6B,EAAE,qBAAqB;EACpD,gCAAgC,EAAE,mBAAmB;EACrD,6BAA6B,EAAE,mBAAmB;EAClD,0BAA0B,EAAE,MAAM;EAClC,kBAAkB,EAAE,KAAK;EACzB,oBAAoB,EAAE,QAAQ;EAC9B,2BAA2B,EAAE,iBAAiB;EAC9C,gBAAgB,EAAE,cAAc;EAChC,gBAAgB,EAAE,cAAc;EAChC,gBAAgB,EAAE,eAAe;EACjC,2BAA2B,EAAE,YAAY;EACzC,2BAA2B,EAAE,iBAAiB;EAC9C,wBAAwB,EAAE,YAAY;EACtC,kBAAkB,EAAE,gBAAgB;EACpC,uBAAuB,EAAE,OAAO;EAChC,uBAAuB,EAAE,OAAO;EAChC,wBAAwB,EAAE,WAAW;EACrC,kBAAkB,EAAE,MAAM;EAC1B,2BAA2B,EAAE,+BAA+B;EAC5D,0BAA0B,EAAE,wCAAwC;EACpE,2BAA2B,EAAE,8BAA8B;EAC3D,iCAAiC,EAC7B,8DAA8D;EAClE,cAAc,EAAE,qBAAqB;EACrC,kBAAkB,EAAE,MAAM;EAC1B,iBAAiB,EAAE,WAAW;EAC9B,oBAAoB,EAAE,QAAQ;EAC9B,kBAAkB,EAAE,iBAAiB;EACrC,kBAAkB,EAAE,kBAAkB;EACtC,wBAAwB,EAAE,mBAAmB;EAC7C,2CAA2C,EAAE,sBAAsB;EACnE,iDAAiD,EAC7C,2FAA2F;CAClG,CAAC","sourcesContent":["export default {\n remove: 'Fjerne',\n save: 'Lagre',\n cancel: 'Avbryt',\n loading: 'Laster…',\n value: 'Verdi',\n items: 'Elementer',\n 'action-bar.collapse': 'Skjul',\n 'action-bar.expand': 'Vis',\n 'action-bar.actions': 'Handlinger',\n 'callout.note': 'Note',\n 'callout.important': 'Viktig',\n 'callout.tip': 'Tip',\n 'callout.caution': 'Advarsel',\n 'callout.warning': 'Advarsel',\n 'code-editor': 'kodeeditor',\n 'code-editor.copy': 'Kopier',\n 'code-editor.copied': 'Kopiert',\n 'code-editor.copy-failed': 'Kunne ikke kopiere',\n 'code-editor.copy-aria-label': 'Kopier { label } innhold',\n 'code-editor.copied-aria-label': 'Kopiert { label } innhold',\n 'code-editor.copy-failed-aria-label':\n 'Kunne ikke kopiere { label } innhold',\n 'collapsible-section.open': 'Åpne { header } seksjon',\n 'collapsible-section.close': 'Lukk { header } seksjon',\n 'date-picker.today': 'I dag',\n 'date-picker.month.heading': 'Måned',\n 'date-picker.quarter.heading': 'Kvartal',\n 'date-picker.year.heading': 'År',\n 'drag-handle.drag-handle': 'Dra-håndtak',\n 'drag-handle.drag-to-reorder': 'Dra for å omorganisere',\n 'chip-set.clear-all': 'Fjern alle',\n 'file.drag-and-drop-tips':\n 'Dra & slipp filen her, eller klikk for å bla gjennom.',\n 'file-viewer.message.unsupported-filetype':\n 'Kan ikke vise en forhåndsvisning av denne filtypen.',\n 'file-viewer.message.try-other-options':\n 'Last ned filen eller åpne den i en ny fane.',\n 'file-viewer.download': 'Nedlasting',\n 'file-viewer.exit-fullscreen': 'Gå ut av fullskjerm',\n 'file-viewer.open-in-fullscreen': 'Åpne i fullskjerm',\n 'file-viewer.open-in-new-tab': 'Åpne i en ny fane',\n 'file-viewer.more-actions': 'Mer…',\n 'editor-menu.bold': 'Fet',\n 'editor-menu.italic': 'Kursiv',\n 'editor-menu.strikethrough': 'Gjennomstreking',\n 'editor-menu.h1': 'Overskrift 1',\n 'editor-menu.h2': 'Overskrift 2',\n 'editor-menu.h3': 'Overskrifts 3',\n 'editor-menu.bulleted-list': 'Punktliste',\n 'editor-menu.numbered-list': 'Nummerert liste',\n 'editor-menu.blockquote': 'Blokksitat',\n 'editor-menu.link': 'Legg til lenke',\n 'editor-link-menu.text': 'Tekst',\n 'editor-link-menu.link': 'Lenke',\n 'editor-menu.code-block': 'Kodeblokk',\n 'editor-menu.code': 'Kode',\n 'editor-image-view.loading': 'Laster bilde: { filename }...',\n 'editor-image-view.failed': 'Noe gikk galt med bildet: { filename }',\n 'editor-image-view.success': 'Bilde: { filename } er klart',\n 'editor-image-view.resize-handle':\n 'Dra til høyre eller venstre for å endre størrelsen på bildet',\n 'progress-bar': 'Fremdriftsindikator',\n 'snackbar.dismiss': 'Lukk',\n 'ai-avatar.label': 'KI-avatar',\n 'ai-avatar.thinking': 'tenker',\n 'table.select-all': 'Velg alle rader',\n 'table.select-row': 'Velg denne raden',\n 'profile-picture.remove': 'Fjern valgt bilde',\n 'profile-picture.unsupported-preview.title': 'Ustøttet bildeformat',\n 'profile-picture.unsupported-preview.description':\n 'Vi kan ikke vise det valgte bildet i denne nettleseren. Vennligst velg en annen bildefil.',\n};\n"]}
|
|
@@ -13,6 +13,13 @@ export default {
|
|
|
13
13
|
'callout.tip': 'Tips',
|
|
14
14
|
'callout.caution': 'Varning',
|
|
15
15
|
'callout.warning': 'Varning',
|
|
16
|
+
'code-editor': 'kodredigerare',
|
|
17
|
+
'code-editor.copy': 'Kopiera',
|
|
18
|
+
'code-editor.copied': 'Kopierat',
|
|
19
|
+
'code-editor.copy-failed': 'kopiering misslyckades',
|
|
20
|
+
'code-editor.copy-aria-label': 'Kopiera { label } innehåll',
|
|
21
|
+
'code-editor.copied-aria-label': 'Kopierat { label } innehåll',
|
|
22
|
+
'code-editor.copy-failed-aria-label': 'Kunde inte kopiera { label } innehåll',
|
|
16
23
|
'collapsible-section.open': 'Öppna { header }-sektion',
|
|
17
24
|
'collapsible-section.close': 'Stäng { header }-sektion',
|
|
18
25
|
'date-picker.today': 'Idag',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sv.js","sourceRoot":"","sources":["../../src/translations/sv.ts"],"names":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E,UAAU;EACpC,kBAAkB,EAAE,KAAK;EACzB,2BAA2B,EAAE,gCAAgC;EAC7D,0BAA0B,EAAE,yCAAyC;EACrE,2BAA2B,EAAE,8BAA8B;EAC3D,iCAAiC,EAC7B,4DAA4D;EAChE,cAAc,EAAE,mBAAmB;EACnC,iBAAiB,EAAE,WAAW;EAC9B,oBAAoB,EAAE,QAAQ;EAC9B,kBAAkB,EAAE,oBAAoB;EACxC,kBAAkB,EAAE,mBAAmB;EACvC,wBAAwB,EAAE,mBAAmB;EAC7C,2CAA2C,EAAE,qBAAqB;EAClE,iDAAiD,EAC7C,iFAAiF;CACxF,CAAC","sourcesContent":["export default {\n remove: 'Ta bort',\n save: 'Spara',\n cancel: 'Avbryt',\n loading: 'Laddar…',\n value: 'Värde',\n items: 'Objekt',\n 'action-bar.collapse': 'Dölj',\n 'action-bar.expand': 'Visa',\n 'action-bar.actions': 'Åtgärder',\n 'callout.note': 'Obs',\n 'callout.important': 'Viktigt',\n 'callout.tip': 'Tips',\n 'callout.caution': 'Varning',\n 'callout.warning': 'Varning',\n 'collapsible-section.open': 'Öppna { header }-sektion',\n 'collapsible-section.close': 'Stäng { header }-sektion',\n 'date-picker.today': 'Idag',\n 'date-picker.month.heading': 'Månad',\n 'date-picker.quarter.heading': 'Kvartal',\n 'date-picker.year.heading': 'År',\n 'drag-handle.drag-handle': 'Draghandtag',\n 'drag-handle.drag-to-reorder': 'Dra för att ändra ordning',\n 'chip-set.clear-all': 'Rensa alla',\n 'snackbar.dismiss': 'Stäng',\n 'file.drag-and-drop-tips':\n 'Dra & släpp filen här eller klicka om du vill bläddra.',\n 'file-viewer.message.unsupported-filetype':\n 'Kan inte visa en förhandsvisning för denna filtyp.',\n 'file-viewer.message.try-other-options':\n 'Ladda ner filen eller öppna den i en ny flik.',\n 'file-viewer.download': 'Ladda ner',\n 'file-viewer.exit-fullscreen': 'Avsluta fullskärmsläge',\n 'file-viewer.open-in-fullscreen': 'Öppna i fullskärmsläge',\n 'file-viewer.open-in-new-tab': 'Öppna i ny flik',\n 'file-viewer.more-actions': 'Mer…',\n 'editor-menu.bold': 'Fet',\n 'editor-menu.italic': 'Kursiv',\n 'editor-menu.strikethrough': 'Genomstruken',\n 'editor-menu.h1': 'Rubrik 1',\n 'editor-menu.h2': 'Rubrik 2',\n 'editor-menu.h3': 'Rubrik 3',\n 'editor-menu.bulleted-list': 'Punktlista',\n 'editor-menu.numbered-list': 'Numrerad lista',\n 'editor-menu.blockquote': 'Blockcitat',\n 'editor-menu.link': 'Lägg till länk',\n 'editor-link-menu.text': 'Text',\n 'editor-link-menu.link': 'Länk',\n 'editor-menu.code-block': 'Kodblock',\n 'editor-menu.code': 'Kod',\n 'editor-image-view.loading': 'Laddar bilden: { filename }...',\n 'editor-image-view.failed': 'Något gick fel med bilden: { filename }',\n 'editor-image-view.success': 'Bilden: { filename } är redo',\n 'editor-image-view.resize-handle':\n 'Dra åt höger eller vänster för att ändra storlek på bilden',\n 'progress-bar': 'Förloppsindikator',\n 'ai-avatar.label': 'AI-avatar',\n 'ai-avatar.thinking': 'tänker',\n 'table.select-all': 'Markera alla rader',\n 'table.select-row': 'Markera denna rad',\n 'profile-picture.remove': 'Ta bort vald bild',\n 'profile-picture.unsupported-preview.title': 'Formatet stöds inte',\n 'profile-picture.unsupported-preview.description':\n 'Vi kan inte visa den valda bilden i den här webbläsaren. Välj en annan bildfil.',\n};\n"]}
|
|
1
|
+
{"version":3,"file":"sv.js","sourceRoot":"","sources":["../../src/translations/sv.ts"],"names":[],"mappings":"AAAA,eAAe;EACX,MAAM,EAAE,SAAS;EACjB,IAAI,EAAE,OAAO;EACb,MAAM,EAAE,QAAQ;EAChB,OAAO,EAAE,SAAS;EAClB,KAAK,EAAE,OAAO;EACd,KAAK,EAAE,QAAQ;EACf,qBAAqB,EAAE,MAAM;EAC7B,mBAAmB,EAAE,MAAM;EAC3B,oBAAoB,EAAE,UAAU;EAChC,cAAc,EAAE,KAAK;EACrB,mBAAmB,EAAE,SAAS;E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,2BAA2B,EAAE,8BAA8B;EAC3D,iCAAiC,EAC7B,4DAA4D;EAChE,cAAc,EAAE,mBAAmB;EACnC,iBAAiB,EAAE,WAAW;EAC9B,oBAAoB,EAAE,QAAQ;EAC9B,kBAAkB,EAAE,oBAAoB;EACxC,kBAAkB,EAAE,mBAAmB;EACvC,wBAAwB,EAAE,mBAAmB;EAC7C,2CAA2C,EAAE,qBAAqB;EAClE,iDAAiD,EAC7C,iFAAiF;CACxF,CAAC","sourcesContent":["export default {\n remove: 'Ta bort',\n save: 'Spara',\n cancel: 'Avbryt',\n loading: 'Laddar…',\n value: 'Värde',\n items: 'Objekt',\n 'action-bar.collapse': 'Dölj',\n 'action-bar.expand': 'Visa',\n 'action-bar.actions': 'Åtgärder',\n 'callout.note': 'Obs',\n 'callout.important': 'Viktigt',\n 'callout.tip': 'Tips',\n 'callout.caution': 'Varning',\n 'callout.warning': 'Varning',\n 'code-editor': 'kodredigerare',\n 'code-editor.copy': 'Kopiera',\n 'code-editor.copied': 'Kopierat',\n 'code-editor.copy-failed': 'kopiering misslyckades',\n 'code-editor.copy-aria-label': 'Kopiera { label } innehåll',\n 'code-editor.copied-aria-label': 'Kopierat { label } innehåll',\n 'code-editor.copy-failed-aria-label':\n 'Kunde inte kopiera { label } innehåll',\n 'collapsible-section.open': 'Öppna { header }-sektion',\n 'collapsible-section.close': 'Stäng { header }-sektion',\n 'date-picker.today': 'Idag',\n 'date-picker.month.heading': 'Månad',\n 'date-picker.quarter.heading': 'Kvartal',\n 'date-picker.year.heading': 'År',\n 'drag-handle.drag-handle': 'Draghandtag',\n 'drag-handle.drag-to-reorder': 'Dra för att ändra ordning',\n 'chip-set.clear-all': 'Rensa alla',\n 'snackbar.dismiss': 'Stäng',\n 'file.drag-and-drop-tips':\n 'Dra & släpp filen här eller klicka om du vill bläddra.',\n 'file-viewer.message.unsupported-filetype':\n 'Kan inte visa en förhandsvisning för denna filtyp.',\n 'file-viewer.message.try-other-options':\n 'Ladda ner filen eller öppna den i en ny flik.',\n 'file-viewer.download': 'Ladda ner',\n 'file-viewer.exit-fullscreen': 'Avsluta fullskärmsläge',\n 'file-viewer.open-in-fullscreen': 'Öppna i fullskärmsläge',\n 'file-viewer.open-in-new-tab': 'Öppna i ny flik',\n 'file-viewer.more-actions': 'Mer…',\n 'editor-menu.bold': 'Fet',\n 'editor-menu.italic': 'Kursiv',\n 'editor-menu.strikethrough': 'Genomstruken',\n 'editor-menu.h1': 'Rubrik 1',\n 'editor-menu.h2': 'Rubrik 2',\n 'editor-menu.h3': 'Rubrik 3',\n 'editor-menu.bulleted-list': 'Punktlista',\n 'editor-menu.numbered-list': 'Numrerad lista',\n 'editor-menu.blockquote': 'Blockcitat',\n 'editor-menu.link': 'Lägg till länk',\n 'editor-link-menu.text': 'Text',\n 'editor-link-menu.link': 'Länk',\n 'editor-menu.code-block': 'Kodblock',\n 'editor-menu.code': 'Kod',\n 'editor-image-view.loading': 'Laddar bilden: { filename }...',\n 'editor-image-view.failed': 'Något gick fel med bilden: { filename }',\n 'editor-image-view.success': 'Bilden: { filename } är redo',\n 'editor-image-view.resize-handle':\n 'Dra åt höger eller vänster för att ändra storlek på bilden',\n 'progress-bar': 'Förloppsindikator',\n 'ai-avatar.label': 'AI-avatar',\n 'ai-avatar.thinking': 'tänker',\n 'table.select-all': 'Markera alla rader',\n 'table.select-row': 'Markera denna rad',\n 'profile-picture.remove': 'Ta bort vald bild',\n 'profile-picture.unsupported-preview.title': 'Formatet stöds inte',\n 'profile-picture.unsupported-preview.description':\n 'Vi kan inte visa den valda bilden i den här webbläsaren. Välj en annan bildfil.',\n};\n"]}
|