@blokkli/editor 2.0.0-alpha.13 → 2.0.0-alpha.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/module.d.mts +1 -1
- package/dist/module.json +1 -1
- package/dist/module.mjs +4003 -1162
- package/dist/modules/drupal/graphql/base/fragment.ParagraphsBlokkliConfigInput.graphql +31 -0
- package/dist/modules/drupal/graphql/base/fragment.blokkliProps.graphql +1 -0
- package/dist/modules/drupal/graphql/base/fragment.paragraphsBlokkliEditState.graphql +1 -0
- package/dist/modules/drupal/graphql/base/query.pbEntityConfig.graphql +5 -0
- package/dist/modules/drupal/graphql/features/transform.graphql +9 -1
- package/dist/modules/drupal/graphql/features/transform_host.graphql +38 -0
- package/dist/modules/drupal/graphql/mutations/update_host_options.graphql +15 -0
- package/dist/modules/drupal/index.d.mts +1 -1
- package/dist/modules/drupal/index.mjs +20 -7
- package/dist/modules/drupal/runtime/adapter/index.js +109 -4
- package/dist/runtime/adapter/index.d.ts +54 -1
- package/dist/runtime/blokkliPlugins/AddAction/index.vue +27 -3
- package/dist/runtime/blokkliPlugins/BlockIndicator/index.vue +65 -0
- package/dist/runtime/blokkliPlugins/BlockIndicator/index.vue.d.ts +26 -0
- package/dist/runtime/blokkliPlugins/ContextMenu/Menu/index.vue +3 -0
- package/dist/runtime/blokkliPlugins/ContextMenu/index.vue +3 -2
- package/dist/runtime/blokkliPlugins/DroppableEdit/index.vue +3 -3
- package/dist/runtime/blokkliPlugins/ItemDropdown/index.vue +49 -11
- package/dist/runtime/blokkliPlugins/ItemDropdown/index.vue.d.ts +29 -15
- package/dist/runtime/blokkliPlugins/Sidebar/Detached/index.vue +6 -7
- package/dist/runtime/blokkliPlugins/Sidebar/index.vue +2 -9
- package/dist/runtime/blokkliPlugins/Sidebar/index.vue.d.ts +1 -1
- package/dist/runtime/blokkliPlugins/ViewOption/index.vue +6 -3
- package/dist/runtime/blokkliPlugins/index.d.ts +8 -7
- package/dist/runtime/blokkliPlugins/index.js +15 -13
- package/dist/runtime/components/Blocks/Fragment/icon.svg +1 -1
- package/dist/runtime/components/BlokkliProvider.vue +1 -0
- package/dist/runtime/components/BlokkliProvider.vue.d.ts +1 -0
- package/dist/runtime/components/Edit/Actions/index.vue +39 -67
- package/dist/runtime/components/Edit/AddListItem/index.vue +2 -5
- package/dist/runtime/components/Edit/AddListItem/index.vue.d.ts +1 -1
- package/dist/runtime/components/Edit/AddListItemIcon/index.vue +19 -0
- package/dist/runtime/components/Edit/AddListItemIcon/index.vue.d.ts +15 -0
- package/dist/runtime/components/Edit/AppMenu/index.vue +5 -5
- package/dist/runtime/components/Edit/Dialog/index.vue +5 -1
- package/dist/runtime/components/Edit/Dialog/index.vue.d.ts +1 -1
- package/dist/runtime/components/Edit/DiffViewer/State.vue +276 -0
- package/dist/runtime/components/Edit/DiffViewer/State.vue.d.ts +16 -0
- package/dist/runtime/components/Edit/DragInteractions/index.vue +35 -6
- package/dist/runtime/components/Edit/EditProvider.vue +46 -35
- package/dist/runtime/components/Edit/Features/AddList/index.vue +15 -25
- package/dist/runtime/components/Edit/Features/Analyze/Overlay/fragment.glsl +58 -0
- package/dist/runtime/components/Edit/Features/Analyze/Overlay/index.vue +168 -0
- package/dist/runtime/components/Edit/Features/Analyze/Overlay/index.vue.d.ts +9 -0
- package/dist/runtime/components/Edit/Features/Analyze/Overlay/vertex.glsl +72 -0
- package/dist/runtime/components/Edit/Features/Analyze/Renderer.vue +159 -0
- package/dist/runtime/components/Edit/Features/Analyze/Renderer.vue.d.ts +7 -0
- package/dist/runtime/components/Edit/Features/Analyze/Results/Results.vue +100 -0
- package/dist/runtime/components/Edit/Features/Analyze/Results/Results.vue.d.ts +6 -0
- package/dist/runtime/components/Edit/Features/Analyze/Results/ResultsItem.vue +56 -0
- package/dist/runtime/components/Edit/Features/Analyze/Results/ResultsItem.vue.d.ts +3 -0
- package/dist/runtime/components/Edit/Features/Analyze/Results/ResultsItemNodes.vue +87 -0
- package/dist/runtime/components/Edit/Features/Analyze/Results/ResultsItemNodes.vue.d.ts +7 -0
- package/dist/runtime/components/Edit/Features/Analyze/Results/ResultsItemNodesTarget.vue +101 -0
- package/dist/runtime/components/Edit/Features/Analyze/Results/ResultsItemNodesTarget.vue.d.ts +8 -0
- package/dist/runtime/components/Edit/Features/Analyze/Results/Status.vue +18 -0
- package/dist/runtime/components/Edit/Features/Analyze/Results/Status.vue.d.ts +8 -0
- package/dist/runtime/components/Edit/Features/Analyze/Summary/Chart.vue +92 -0
- package/dist/runtime/components/Edit/Features/Analyze/Summary/Chart.vue.d.ts +17 -0
- package/dist/runtime/components/Edit/Features/Analyze/Summary/index.vue +77 -0
- package/dist/runtime/components/Edit/Features/Analyze/Summary/index.vue.d.ts +6 -0
- package/dist/runtime/components/Edit/Features/Analyze/analyzers/axe.d.ts +12 -0
- package/dist/runtime/components/Edit/Features/Analyze/analyzers/axe.js +75 -0
- package/dist/runtime/components/Edit/Features/Analyze/analyzers/defineAnalyzer.d.ts +4 -0
- package/dist/runtime/components/Edit/Features/Analyze/analyzers/defineAnalyzer.js +5 -0
- package/dist/runtime/components/Edit/Features/Analyze/analyzers/helpers/Context.d.ts +32 -0
- package/dist/runtime/components/Edit/Features/Analyze/analyzers/helpers/Context.js +45 -0
- package/dist/runtime/components/Edit/Features/Analyze/analyzers/helpers/collectTextElements.d.ts +5 -0
- package/dist/runtime/components/Edit/Features/Analyze/analyzers/helpers/collectTextElements.js +95 -0
- package/dist/runtime/components/Edit/Features/Analyze/analyzers/helpers/normalizeArray.d.ts +3 -0
- package/dist/runtime/components/Edit/Features/Analyze/analyzers/helpers/normalizeArray.js +13 -0
- package/dist/runtime/components/Edit/Features/Analyze/analyzers/index.d.ts +2 -0
- package/dist/runtime/components/Edit/Features/Analyze/analyzers/index.js +2 -0
- package/dist/runtime/components/Edit/Features/Analyze/analyzers/readability.d.ts +2 -0
- package/dist/runtime/components/Edit/Features/Analyze/analyzers/readability.js +165 -0
- package/dist/runtime/components/Edit/Features/Analyze/analyzers/types.d.ts +44 -0
- package/dist/runtime/components/Edit/Features/Analyze/analyzers/types.js +0 -0
- package/dist/runtime/components/Edit/Features/Analyze/helper.d.ts +5 -0
- package/dist/runtime/components/Edit/Features/Analyze/helper.js +28 -0
- package/dist/runtime/components/Edit/Features/Analyze/index.vue +44 -0
- package/dist/runtime/components/Edit/Features/Anchors/Renderer.vue +136 -0
- package/dist/runtime/components/Edit/Features/Anchors/index.vue +32 -0
- package/dist/runtime/components/Edit/Features/Anchors/index.vue.d.ts +2 -0
- package/dist/runtime/components/Edit/Features/Artboard/Overview/index.vue +25 -13
- package/dist/runtime/components/Edit/Features/Artboard/Renderer.vue +296 -0
- package/dist/runtime/components/Edit/Features/Artboard/Renderer.vue.d.ts +7 -0
- package/dist/runtime/components/Edit/Features/Artboard/index.vue +10 -245
- package/dist/runtime/components/Edit/Features/Assistant/index.vue +3 -2
- package/dist/runtime/components/Edit/Features/BlockAddList/index.vue +4 -4
- package/dist/runtime/components/Edit/Features/Clipboard/index.vue +161 -28
- package/dist/runtime/components/Edit/Features/CommandPalette/Palette/Group/index.vue +16 -4
- package/dist/runtime/components/Edit/Features/CommandPalette/Palette/Group/index.vue.d.ts +0 -1
- package/dist/runtime/components/Edit/Features/CommandPalette/Palette/index.vue +4 -53
- package/dist/runtime/components/Edit/Features/CommandPalette/index.vue +3 -2
- package/dist/runtime/components/Edit/Features/Conversions/index.vue +12 -14
- package/dist/runtime/components/Edit/Features/Debug/Viewport/index.vue +14 -0
- package/dist/runtime/components/Edit/Features/Debug/index.vue +27 -24
- package/dist/runtime/components/Edit/Features/Diff/DiffView/index.vue +13 -190
- package/dist/runtime/components/Edit/Features/Diff/index.vue +2 -2
- package/dist/runtime/components/Edit/Features/DraggingOverlay/DragItems/index.vue +4 -4
- package/dist/runtime/components/Edit/Features/DraggingOverlay/DropTargets/fragment.glsl +1 -1
- package/dist/runtime/components/Edit/Features/DraggingOverlay/DropTargets/index.vue +35 -71
- package/dist/runtime/components/Edit/Features/DraggingOverlay/DropTargets/vertex.glsl +1 -1
- package/dist/runtime/components/Edit/Features/DraggingOverlay/index.vue +62 -48
- package/dist/runtime/components/Edit/Features/EditForm/Frame/index.vue +3 -3
- package/dist/runtime/components/Edit/Features/EditForm/index.vue +3 -3
- package/dist/runtime/components/Edit/Features/EditableField/index.vue +6 -2
- package/dist/runtime/components/Edit/Features/EditableMask/index.vue +3 -20
- package/dist/runtime/components/Edit/Features/Fragments/index.vue +3 -2
- package/dist/runtime/components/Edit/Features/History/index.vue +35 -12
- package/dist/runtime/components/Edit/Features/ImportExisting/Dialog/index.vue +6 -2
- package/dist/runtime/components/Edit/Features/ImportExisting/index.vue +3 -2
- package/dist/runtime/components/Edit/Features/Library/index.vue +11 -9
- package/dist/runtime/components/Edit/Features/MediaLibrary/Library/index.vue +5 -8
- package/dist/runtime/components/Edit/Features/MultiSelect/Overlay/fragment.glsl +1 -1
- package/dist/runtime/components/Edit/Features/MultiSelect/Overlay/index.vue +9 -4
- package/dist/runtime/components/Edit/Features/MultiSelect/Overlay/vertex.glsl +1 -1
- package/dist/runtime/components/Edit/Features/MultiSelect/index.vue +8 -14
- package/dist/runtime/components/Edit/Features/Options/Form/Checkbox/index.vue +3 -2
- package/dist/runtime/components/Edit/Features/Options/Form/Checkbox/index.vue.d.ts +2 -0
- package/dist/runtime/components/Edit/Features/Options/Form/Item.vue +9 -3
- package/dist/runtime/components/Edit/Features/Options/Form/Item.vue.d.ts +0 -1
- package/dist/runtime/components/Edit/Features/Options/Form/Radios/index.vue +37 -19
- package/dist/runtime/components/Edit/Features/Options/Form/Radios/index.vue.d.ts +8 -2
- package/dist/runtime/components/Edit/Features/Options/Form/index.vue +81 -37
- package/dist/runtime/components/Edit/Features/Options/Form/index.vue.d.ts +5 -5
- package/dist/runtime/components/Edit/Features/Options/index.vue +30 -6
- package/dist/runtime/components/Edit/Features/PreviewGrant/index.vue +3 -3
- package/dist/runtime/components/Edit/Features/Publish/Dialog/index.vue +1 -0
- package/dist/runtime/components/Edit/Features/Publish/index.vue +3 -2
- package/dist/runtime/components/Edit/Features/Revert/index.vue +3 -3
- package/dist/runtime/components/Edit/Features/Search/index.vue +3 -2
- package/dist/runtime/components/Edit/Features/Selection/AddButtons/AddButtonsField.vue +54 -0
- package/dist/runtime/components/Edit/Features/Selection/AddButtons/AddButtonsField.vue.d.ts +14 -0
- package/dist/runtime/components/Edit/Features/Selection/AddButtons/Overlay/index.vue +120 -0
- package/dist/runtime/components/Edit/Features/Selection/AddButtons/Overlay/index.vue.d.ts +15 -0
- package/dist/runtime/components/Edit/Features/Selection/AddButtons/index.vue +459 -0
- package/dist/runtime/components/Edit/Features/Selection/AddButtons/index.vue.d.ts +6 -0
- package/dist/runtime/components/Edit/Features/Selection/Overlay/fragment.glsl +14 -9
- package/dist/runtime/components/Edit/Features/Selection/Overlay/index.vue +32 -11
- package/dist/runtime/components/Edit/Features/Selection/Overlay/vertex.glsl +1 -1
- package/dist/runtime/components/Edit/Features/Selection/index.vue +76 -7
- package/dist/runtime/components/Edit/Features/Settings/Dialog/FeatureSetting/index.vue +12 -17
- package/dist/runtime/components/Edit/Features/Settings/index.vue +11 -25
- package/dist/runtime/components/Edit/Features/Theme/Color/index.vue +5 -1
- package/dist/runtime/components/Edit/Features/Theme/index.vue +2 -1
- package/dist/runtime/components/Edit/Features/TouchActionBar/index.vue +3 -2
- package/dist/runtime/components/Edit/Features/Transform/Dialog/index.vue +198 -0
- package/dist/runtime/components/Edit/Features/Transform/Dialog/index.vue.d.ts +13 -0
- package/dist/runtime/components/Edit/Features/Transform/index.vue +155 -44
- package/dist/runtime/components/Edit/Form/Radio/index.vue +33 -0
- package/dist/runtime/components/Edit/Form/Radio/index.vue.d.ts +20 -0
- package/dist/runtime/components/Edit/Form/RadioTabs/index.vue +37 -0
- package/dist/runtime/components/Edit/Form/RadioTabs/index.vue.d.ts +22 -0
- package/dist/runtime/components/Edit/Form/Select/index.vue +29 -0
- package/dist/runtime/components/Edit/Form/Select/index.vue.d.ts +20 -0
- package/dist/runtime/components/Edit/Form/Text/index.vue +33 -0
- package/dist/runtime/components/Edit/Form/Text/index.vue.d.ts +19 -0
- package/dist/runtime/components/Edit/Form/Textarea/index.vue +13 -6
- package/dist/runtime/components/Edit/Form/Textarea/index.vue.d.ts +4 -0
- package/dist/runtime/components/Edit/FormOverlay/index.vue +1 -1
- package/dist/runtime/components/Edit/Indicators/index.vue +123 -0
- package/dist/runtime/components/Edit/Indicators/index.vue.d.ts +2 -0
- package/dist/runtime/components/Edit/ItemIcon/index.vue +2 -1
- package/dist/runtime/components/Edit/Konami/Game/PixelGrid.vue +66 -0
- package/dist/runtime/components/Edit/Konami/Game/PixelGrid.vue.d.ts +7 -0
- package/dist/runtime/components/Edit/Konami/Game/blokkli.png +0 -0
- package/dist/runtime/components/Edit/Konami/Game/charmap.d.ts +2 -0
- package/dist/runtime/components/Edit/Konami/Game/charmap.js +168 -0
- package/dist/runtime/components/Edit/Konami/Game/index.vue +745 -0
- package/dist/runtime/components/Edit/Konami/Game/index.vue.d.ts +6 -0
- package/dist/runtime/components/Edit/Konami/Game/textRendering.d.ts +8 -0
- package/dist/runtime/components/Edit/Konami/Game/textRendering.js +138 -0
- package/dist/runtime/components/Edit/Konami/Game/useIconRendering.d.ts +9 -0
- package/dist/runtime/components/Edit/Konami/Game/useIconRendering.js +130 -0
- package/dist/runtime/components/Edit/Konami/index.vue +44 -0
- package/dist/runtime/components/Edit/Konami/index.vue.d.ts +2 -0
- package/dist/runtime/components/Edit/Loading/index.vue +6 -2
- package/dist/runtime/components/Edit/Loading/index.vue.d.ts +2 -0
- package/dist/runtime/components/Edit/Messages/index.vue +8 -3
- package/dist/runtime/components/Edit/PluginConfigForm/Checkbox/index.vue +17 -0
- package/dist/runtime/components/Edit/PluginConfigForm/Checkbox/index.vue.d.ts +11 -0
- package/dist/runtime/components/Edit/PluginConfigForm/Options/index.vue +37 -0
- package/dist/runtime/components/Edit/PluginConfigForm/Options/index.vue.d.ts +11 -0
- package/dist/runtime/components/Edit/PluginConfigForm/Text/index.vue +43 -0
- package/dist/runtime/components/Edit/PluginConfigForm/Text/index.vue.d.ts +11 -0
- package/dist/runtime/components/Edit/PluginConfigForm/index.vue +57 -0
- package/dist/runtime/components/Edit/PluginConfigForm/index.vue.d.ts +16 -0
- package/dist/runtime/components/Edit/PreviewProvider.vue +3 -4
- package/dist/runtime/components/Edit/RelativeTime/index.vue +3 -2
- package/dist/runtime/components/Edit/ShortcutIndicator/index.vue +8 -3
- package/dist/runtime/components/Edit/SystemRequirements/index.vue +3 -3
- package/dist/runtime/components/Edit/Toolbar/index.vue +3 -2
- package/dist/runtime/components/Edit/Transition/index.vue +41 -0
- package/dist/runtime/components/Edit/Transition/index.vue.d.ts +19 -0
- package/dist/runtime/components/Edit/index.d.ts +23 -15
- package/dist/runtime/components/Edit/index.js +44 -28
- package/dist/runtime/composables/defineBlokkli.js +7 -3
- package/dist/runtime/composables/defineBlokkliFeature.d.ts +4 -7
- package/dist/runtime/composables/defineBlokkliProvider.d.ts +11 -0
- package/dist/runtime/composables/defineBlokkliProvider.js +46 -0
- package/dist/runtime/composables/useBlokkliHelper.js +1 -1
- package/dist/runtime/constants/index.d.ts +3 -0
- package/dist/runtime/constants/index.js +3 -0
- package/dist/runtime/css/output.css +1 -1
- package/dist/runtime/helpers/addElementClasses.d.ts +2 -0
- package/dist/runtime/helpers/addElementClasses.js +24 -0
- package/dist/runtime/helpers/animationProvider.d.ts +4 -2
- package/dist/runtime/helpers/animationProvider.js +7 -2
- package/dist/runtime/helpers/bundles/index.d.ts +1 -0
- package/dist/runtime/helpers/bundles/index.js +4 -0
- package/dist/runtime/helpers/composables/useStickyToolbar.d.ts +20 -0
- package/dist/runtime/helpers/composables/useStickyToolbar.js +215 -0
- package/dist/runtime/helpers/definitionProvider.d.ts +2 -1
- package/dist/runtime/helpers/definitionProvider.js +17 -0
- package/dist/runtime/helpers/domProvider.d.ts +2 -1
- package/dist/runtime/helpers/domProvider.js +89 -43
- package/dist/runtime/helpers/dropTargets/index.d.ts +6 -0
- package/dist/runtime/helpers/dropTargets/index.js +49 -0
- package/dist/runtime/helpers/eventBus.d.ts +1 -1
- package/dist/runtime/helpers/eventBus.js +2 -2
- package/dist/runtime/helpers/index.d.ts +10 -1
- package/dist/runtime/helpers/index.js +57 -0
- package/dist/runtime/helpers/indicatorsProvider.d.ts +10 -0
- package/dist/runtime/helpers/indicatorsProvider.js +23 -0
- package/dist/runtime/helpers/keyboardProvider.d.ts +2 -0
- package/dist/runtime/helpers/keyboardProvider.js +17 -1
- package/dist/runtime/helpers/pluginProvider.d.ts +10 -0
- package/dist/runtime/helpers/pluginProvider.js +33 -0
- package/dist/runtime/helpers/renderCycle.d.ts +1 -0
- package/dist/runtime/helpers/renderCycle.js +10 -0
- package/dist/runtime/helpers/runtimeHelpers/index.js +14 -11
- package/dist/runtime/helpers/selectionProvider.d.ts +16 -0
- package/dist/runtime/helpers/selectionProvider.js +47 -35
- package/dist/runtime/helpers/stateProvider.d.ts +6 -2
- package/dist/runtime/helpers/stateProvider.js +58 -14
- package/dist/runtime/helpers/storageProvider.d.ts +4 -3
- package/dist/runtime/helpers/storageProvider.js +56 -3
- package/dist/runtime/helpers/symbols.d.ts +1 -0
- package/dist/runtime/helpers/symbols.js +1 -0
- package/dist/runtime/helpers/textProvider.js +6 -0
- package/dist/runtime/helpers/themeProvider.d.ts +2 -0
- package/dist/runtime/helpers/themeProvider.js +4 -1
- package/dist/runtime/helpers/transform.js +1 -3
- package/dist/runtime/helpers/uiProvider.d.ts +7 -2
- package/dist/runtime/helpers/uiProvider.js +49 -47
- package/dist/runtime/helpers/useTransitionedValue.d.ts +18 -0
- package/dist/runtime/helpers/useTransitionedValue.js +57 -0
- package/dist/runtime/icons/anchor.svg +1 -0
- package/dist/runtime/icons/arrow-left.svg +1 -1
- package/dist/runtime/icons/arrow-right.svg +1 -1
- package/dist/runtime/icons/arrow-top-right.svg +1 -0
- package/dist/runtime/icons/chart.svg +1 -0
- package/dist/runtime/icons/copy.svg +1 -0
- package/dist/runtime/icons/cursor-move.svg +1 -1
- package/dist/runtime/icons/diff.svg +1 -1
- package/dist/runtime/icons/eye.svg +1 -1
- package/dist/runtime/icons/info.svg +1 -1
- package/dist/runtime/icons/link.svg +1 -0
- package/dist/runtime/icons/speedometer.svg +1 -0
- package/dist/runtime/types/blokkOptions.d.ts +8 -0
- package/dist/runtime/types/index.d.ts +163 -5
- package/dist/runtime/types/theme.d.ts +2 -1
- package/dist/shared/{editor.gz_ac6uT.d.mts → editor.CKsrTpc1.d.mts} +1 -1
- package/package.json +20 -5
- package/dist/runtime/components/Edit/Features/FieldAreas/Overlay/index.vue +0 -22
- package/dist/runtime/components/Edit/Features/FieldAreas/index.vue +0 -41
- /package/dist/runtime/components/Edit/Features/{FieldAreas/Overlay → Analyze}/index.vue.d.ts +0 -0
- /package/dist/runtime/components/Edit/Features/{FieldAreas/index.vue.d.ts → Anchors/Renderer.vue.d.ts} +0 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<div class="bk-form-label">
|
|
4
|
+
{{ label }}<span v-if="required" class="bk-required-indicator">*</span>
|
|
5
|
+
</div>
|
|
6
|
+
<div
|
|
7
|
+
class="bk-radio-tabs"
|
|
8
|
+
:class="scheme ? 'bk-scheme-' + scheme : void 0"
|
|
9
|
+
>
|
|
10
|
+
<label v-for="option in options" :key="option.value">
|
|
11
|
+
<input
|
|
12
|
+
v-model="value"
|
|
13
|
+
type="radio"
|
|
14
|
+
:value="option.value"
|
|
15
|
+
:required
|
|
16
|
+
:name="id"
|
|
17
|
+
:disabled
|
|
18
|
+
/>
|
|
19
|
+
<span>{{ option.label }}</span>
|
|
20
|
+
</label>
|
|
21
|
+
</div>
|
|
22
|
+
<div v-if="description" class="bk-form-description">{{ description }}</div>
|
|
23
|
+
</div>
|
|
24
|
+
</template>
|
|
25
|
+
|
|
26
|
+
<script setup>
|
|
27
|
+
defineProps({
|
|
28
|
+
id: { type: String, required: true },
|
|
29
|
+
label: { type: String, required: true },
|
|
30
|
+
options: { type: Array, required: true },
|
|
31
|
+
required: { type: Boolean, required: false },
|
|
32
|
+
disabled: { type: Boolean, required: false },
|
|
33
|
+
description: { type: String, required: false },
|
|
34
|
+
scheme: { type: String, required: false }
|
|
35
|
+
});
|
|
36
|
+
const value = defineModel({ type: String });
|
|
37
|
+
</script>
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { ThemeColorName } from '#blokkli/types/theme';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
id: string;
|
|
4
|
+
label: string;
|
|
5
|
+
options: {
|
|
6
|
+
value: string;
|
|
7
|
+
label: string;
|
|
8
|
+
}[];
|
|
9
|
+
required?: boolean;
|
|
10
|
+
disabled?: boolean;
|
|
11
|
+
description?: string;
|
|
12
|
+
scheme?: ThemeColorName;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
15
|
+
modelValue?: string;
|
|
16
|
+
};
|
|
17
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
18
|
+
"update:modelValue": (value: string | undefined) => any;
|
|
19
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
20
|
+
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
21
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
22
|
+
export default _default;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<label class="bk-form-label" :for="id">
|
|
4
|
+
{{ label }}<span v-if="required" class="bk-required-indicator">*</span>
|
|
5
|
+
</label>
|
|
6
|
+
<select :id v-model="value" class="bk-form-input" :required :disabled>
|
|
7
|
+
<option
|
|
8
|
+
v-for="option in options"
|
|
9
|
+
:key="option.value"
|
|
10
|
+
:value="option.value"
|
|
11
|
+
>
|
|
12
|
+
{{ option.label }}
|
|
13
|
+
</option>
|
|
14
|
+
</select>
|
|
15
|
+
<div v-if="description" class="bk-form-description">{{ description }}</div>
|
|
16
|
+
</div>
|
|
17
|
+
</template>
|
|
18
|
+
|
|
19
|
+
<script setup>
|
|
20
|
+
defineProps({
|
|
21
|
+
id: { type: String, required: true },
|
|
22
|
+
label: { type: String, required: true },
|
|
23
|
+
options: { type: Array, required: true },
|
|
24
|
+
required: { type: Boolean, required: false },
|
|
25
|
+
disabled: { type: Boolean, required: false },
|
|
26
|
+
description: { type: String, required: false }
|
|
27
|
+
});
|
|
28
|
+
const value = defineModel({ type: String });
|
|
29
|
+
</script>
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
id: string;
|
|
3
|
+
label: string;
|
|
4
|
+
options: {
|
|
5
|
+
value: string;
|
|
6
|
+
label: string;
|
|
7
|
+
}[];
|
|
8
|
+
required?: boolean;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
description?: string;
|
|
11
|
+
};
|
|
12
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
13
|
+
modelValue?: string;
|
|
14
|
+
};
|
|
15
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
+
"update:modelValue": (value: string | undefined) => any;
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
18
|
+
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
19
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
export default _default;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div>
|
|
3
|
+
<label class="bk-form-label" :for="id">
|
|
4
|
+
{{ label }}<span v-if="required" class="bk-required-indicator">*</span>
|
|
5
|
+
</label>
|
|
6
|
+
<input
|
|
7
|
+
:id
|
|
8
|
+
v-model.lazy="value"
|
|
9
|
+
type="text"
|
|
10
|
+
class="bk-form-input"
|
|
11
|
+
:placeholder
|
|
12
|
+
:required
|
|
13
|
+
:disabled
|
|
14
|
+
:minlength
|
|
15
|
+
:maxlength
|
|
16
|
+
/>
|
|
17
|
+
<div v-if="description" class="bk-form-description">{{ description }}</div>
|
|
18
|
+
</div>
|
|
19
|
+
</template>
|
|
20
|
+
|
|
21
|
+
<script setup>
|
|
22
|
+
defineProps({
|
|
23
|
+
id: { type: String, required: true },
|
|
24
|
+
label: { type: String, required: true },
|
|
25
|
+
description: { type: String, required: false },
|
|
26
|
+
placeholder: { type: String, required: false },
|
|
27
|
+
required: { type: Boolean, required: false },
|
|
28
|
+
disabled: { type: Boolean, required: false },
|
|
29
|
+
minlength: { type: [String, Number], required: false },
|
|
30
|
+
maxlength: { type: [String, Number], required: false }
|
|
31
|
+
});
|
|
32
|
+
const value = defineModel({ type: String });
|
|
33
|
+
</script>
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
id: string;
|
|
3
|
+
label: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
required?: boolean;
|
|
7
|
+
disabled?: boolean;
|
|
8
|
+
minlength?: string | number;
|
|
9
|
+
maxlength?: string | number;
|
|
10
|
+
};
|
|
11
|
+
type __VLS_PublicProps = __VLS_Props & {
|
|
12
|
+
modelValue?: string;
|
|
13
|
+
};
|
|
14
|
+
declare const _default: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
15
|
+
"update:modelValue": (value: string | undefined) => any;
|
|
16
|
+
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
17
|
+
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
19
|
+
export default _default;
|
|
@@ -1,15 +1,18 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div>
|
|
3
|
-
<label class="bk-form-label">
|
|
4
|
-
{{ label }}
|
|
3
|
+
<label class="bk-form-label" :for="id">
|
|
4
|
+
{{ label }}<span v-if="required" class="bk-required-indicator">*</span>
|
|
5
5
|
</label>
|
|
6
6
|
<textarea
|
|
7
|
-
|
|
7
|
+
:id
|
|
8
|
+
v-model.lazy="value"
|
|
8
9
|
class="bk-form-input"
|
|
9
|
-
:placeholder
|
|
10
|
+
:placeholder
|
|
10
11
|
:required
|
|
11
12
|
:disabled
|
|
12
|
-
rows="5"
|
|
13
|
+
:rows="rows ?? 5"
|
|
14
|
+
:minlength
|
|
15
|
+
:maxlength
|
|
13
16
|
/>
|
|
14
17
|
<div v-if="description" class="bk-form-description">{{ description }}</div>
|
|
15
18
|
</div>
|
|
@@ -17,11 +20,15 @@
|
|
|
17
20
|
|
|
18
21
|
<script setup>
|
|
19
22
|
defineProps({
|
|
23
|
+
id: { type: String, required: true },
|
|
20
24
|
label: { type: String, required: true },
|
|
21
25
|
description: { type: String, required: false },
|
|
22
26
|
placeholder: { type: String, required: false },
|
|
23
27
|
required: { type: Boolean, required: false },
|
|
24
|
-
disabled: { type: Boolean, required: false }
|
|
28
|
+
disabled: { type: Boolean, required: false },
|
|
29
|
+
minlength: { type: [String, Number], required: false },
|
|
30
|
+
maxlength: { type: [String, Number], required: false },
|
|
31
|
+
rows: { type: [String, Number], required: false }
|
|
25
32
|
});
|
|
26
33
|
const value = defineModel({ type: String });
|
|
27
34
|
</script>
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
type __VLS_Props = {
|
|
2
|
+
id: string;
|
|
2
3
|
label: string;
|
|
3
4
|
description?: string;
|
|
4
5
|
placeholder?: string;
|
|
5
6
|
required?: boolean;
|
|
6
7
|
disabled?: boolean;
|
|
8
|
+
minlength?: string | number;
|
|
9
|
+
maxlength?: string | number;
|
|
10
|
+
rows?: string | number;
|
|
7
11
|
};
|
|
8
12
|
type __VLS_PublicProps = __VLS_Props & {
|
|
9
13
|
modelValue?: string;
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<Teleport to="body">
|
|
3
|
+
<div id="bk-indicators" class="bk bk-indicators" :style>
|
|
4
|
+
<div id="bk-indicators-left" />
|
|
5
|
+
<div id="bk-indicators-right" />
|
|
6
|
+
<div class="bk-indicators-hovered" :style="hoveredStyle" />
|
|
7
|
+
<div class="bk-indicators-highlighted" :style="highlightedStyle" />
|
|
8
|
+
</div>
|
|
9
|
+
</Teleport>
|
|
10
|
+
</template>
|
|
11
|
+
|
|
12
|
+
<script setup>
|
|
13
|
+
import onBlokkliEvent from "#blokkli/helpers/composables/onBlokkliEvent";
|
|
14
|
+
import { computed, useBlokkli, watch, ref } from "#imports";
|
|
15
|
+
const { ui, dom, indicators, selection } = useBlokkli();
|
|
16
|
+
const artboardElement = ui.artboardElement();
|
|
17
|
+
const highlighted = ref(null);
|
|
18
|
+
const hasIndicators = computed(
|
|
19
|
+
() => !!indicators.indicators.value.length || !!highlighted.value
|
|
20
|
+
);
|
|
21
|
+
const style = computed(() => {
|
|
22
|
+
const offset = ui.artboardOffset.value;
|
|
23
|
+
return {
|
|
24
|
+
width: ui.artboardSize.value.width + "px",
|
|
25
|
+
height: ui.artboardSize.value.height + "px",
|
|
26
|
+
transform: `translate(${offset.x}px, ${offset.y}px) scale(${ui.artboardScale.value})`
|
|
27
|
+
};
|
|
28
|
+
});
|
|
29
|
+
const hoveredStyle = computed(() => {
|
|
30
|
+
if (indicators.hovered.value && hasIndicators.value) {
|
|
31
|
+
const rect = dom.getBlockRect(indicators.hovered.value, true);
|
|
32
|
+
if (rect) {
|
|
33
|
+
return {
|
|
34
|
+
width: rect.width.toString() + "px",
|
|
35
|
+
height: rect.height.toString() + "px",
|
|
36
|
+
transform: `translate(${rect.x}px, ${rect.y}px)`
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
return {
|
|
41
|
+
visibility: "hidden"
|
|
42
|
+
};
|
|
43
|
+
});
|
|
44
|
+
const highlightedStyle = computed(() => {
|
|
45
|
+
if (highlighted.value) {
|
|
46
|
+
return {
|
|
47
|
+
width: highlighted.value.width.toString() + "px",
|
|
48
|
+
height: highlighted.value.height.toString() + "px",
|
|
49
|
+
transform: `translate(${highlighted.value.x}px, ${highlighted.value.y}px)`
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
return {
|
|
53
|
+
visibility: "hidden"
|
|
54
|
+
};
|
|
55
|
+
});
|
|
56
|
+
const HEIGHT = 30;
|
|
57
|
+
function snapToAnchorGrid(y) {
|
|
58
|
+
return Math.ceil(y / HEIGHT) * HEIGHT;
|
|
59
|
+
}
|
|
60
|
+
const prevRects = /* @__PURE__ */ new Map();
|
|
61
|
+
let lastFullUpdate = 0;
|
|
62
|
+
onBlokkliEvent("animationFrame", function(ctx) {
|
|
63
|
+
if (!hasIndicators.value) {
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
66
|
+
const items = indicators.indicators.value;
|
|
67
|
+
const taken = /* @__PURE__ */ new Set();
|
|
68
|
+
const forceRefresh = ctx.time - lastFullUpdate > 1e3;
|
|
69
|
+
for (let i = 0; i < items.length; i++) {
|
|
70
|
+
const item = items[i];
|
|
71
|
+
if (!item) {
|
|
72
|
+
continue;
|
|
73
|
+
}
|
|
74
|
+
const rect = dom.getBlockRect(item.uuid, forceRefresh);
|
|
75
|
+
if (!rect) {
|
|
76
|
+
prevRects.delete(item.uuid);
|
|
77
|
+
continue;
|
|
78
|
+
}
|
|
79
|
+
let y = snapToAnchorGrid(Math.round(rect.y));
|
|
80
|
+
while (taken.has(y)) {
|
|
81
|
+
y += HEIGHT;
|
|
82
|
+
}
|
|
83
|
+
taken.add(y);
|
|
84
|
+
const style2 = `translateY(${y}px)`;
|
|
85
|
+
if (prevRects.get(item.uuid) !== y) {
|
|
86
|
+
prevRects.set(item.uuid, y);
|
|
87
|
+
item.element.style.transform = style2;
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
if (forceRefresh) {
|
|
91
|
+
lastFullUpdate = ctx.time;
|
|
92
|
+
}
|
|
93
|
+
});
|
|
94
|
+
onBlokkliEvent("view-option:toggle", () => {
|
|
95
|
+
prevRects.clear();
|
|
96
|
+
});
|
|
97
|
+
onBlokkliEvent("state:reloaded", () => {
|
|
98
|
+
prevRects.clear();
|
|
99
|
+
});
|
|
100
|
+
onBlokkliEvent("scrollIntoView", (e) => {
|
|
101
|
+
if ("element" in e) {
|
|
102
|
+
if (artboardElement.contains(e.element)) {
|
|
103
|
+
highlighted.value = ui.getAbsoluteElementRect(e.element);
|
|
104
|
+
} else {
|
|
105
|
+
highlighted.value = {
|
|
106
|
+
x: 0,
|
|
107
|
+
y: 0,
|
|
108
|
+
width: ui.artboardSize.value.width,
|
|
109
|
+
height: ui.artboardSize.value.height
|
|
110
|
+
};
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
});
|
|
114
|
+
onBlokkliEvent("window:clickAway", function() {
|
|
115
|
+
highlighted.value = null;
|
|
116
|
+
});
|
|
117
|
+
watch(indicators.indicators, function() {
|
|
118
|
+
prevRects.clear();
|
|
119
|
+
});
|
|
120
|
+
watch(selection.uuids, function() {
|
|
121
|
+
highlighted.value = null;
|
|
122
|
+
});
|
|
123
|
+
</script>
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
export default _default;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div v-if="markup" class="bk-blokkli-item-icon" v-html="markup" />
|
|
3
|
-
<div v-else-if="bundle ===
|
|
3
|
+
<div v-else-if="bundle === BUNDLE_FROM_LIBRARY" class="bk-blokkli-item-icon">
|
|
4
4
|
<Icon name="reusable" />
|
|
5
5
|
</div>
|
|
6
6
|
<div v-else class="bk-blokkli-item-icon">
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
<script setup>
|
|
12
12
|
import { computed, useBlokkli } from "#imports";
|
|
13
13
|
import { Icon } from "#blokkli/components";
|
|
14
|
+
import { BUNDLE_FROM_LIBRARY } from "#blokkli/constants";
|
|
14
15
|
const props = defineProps({
|
|
15
16
|
bundle: { type: String, required: false }
|
|
16
17
|
});
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<canvas
|
|
3
|
+
ref="canvasPixelGrid"
|
|
4
|
+
:width="canvasPixelGridWidth"
|
|
5
|
+
:height="canvasPixelGridHeight"
|
|
6
|
+
class="bk-is-pixel-grid"
|
|
7
|
+
/>
|
|
8
|
+
</template>
|
|
9
|
+
|
|
10
|
+
<script setup>
|
|
11
|
+
import onBlokkliEvent from "#blokkli/helpers/composables/onBlokkliEvent";
|
|
12
|
+
import { computed, useTemplateRef, watch } from "#imports";
|
|
13
|
+
const props = defineProps({
|
|
14
|
+
canvasScale: { type: Number, required: true },
|
|
15
|
+
canvasWidth: { type: Number, required: true },
|
|
16
|
+
canvasHeight: { type: Number, required: true }
|
|
17
|
+
});
|
|
18
|
+
const canvasPixelGrid = useTemplateRef("canvasPixelGrid");
|
|
19
|
+
const canvasPixelGridWidth = computed(() => {
|
|
20
|
+
return props.canvasWidth * props.canvasScale * window.devicePixelRatio;
|
|
21
|
+
});
|
|
22
|
+
const canvasPixelGridHeight = computed(() => {
|
|
23
|
+
return props.canvasHeight * props.canvasScale * window.devicePixelRatio;
|
|
24
|
+
});
|
|
25
|
+
let needsUpdate = true;
|
|
26
|
+
const key = computed(() => {
|
|
27
|
+
return [
|
|
28
|
+
props.canvasScale,
|
|
29
|
+
props.canvasWidth,
|
|
30
|
+
props.canvasHeight,
|
|
31
|
+
canvasPixelGridHeight.value,
|
|
32
|
+
canvasPixelGridWidth.value
|
|
33
|
+
].join("-");
|
|
34
|
+
});
|
|
35
|
+
watch(key, () => {
|
|
36
|
+
needsUpdate = true;
|
|
37
|
+
});
|
|
38
|
+
function drawPixelGrid() {
|
|
39
|
+
const canvas = canvasPixelGrid.value;
|
|
40
|
+
if (!canvas) return;
|
|
41
|
+
const ctx = canvas.getContext("2d");
|
|
42
|
+
if (!ctx) return;
|
|
43
|
+
const dpr = window.devicePixelRatio;
|
|
44
|
+
const scale = props.canvasScale * dpr;
|
|
45
|
+
const width = canvas.width;
|
|
46
|
+
const height = canvas.height;
|
|
47
|
+
const currentScale = props.canvasScale;
|
|
48
|
+
const lineWidth = currentScale >= 4 ? 1.25 : Math.max(1, Math.round(scale * 0.07));
|
|
49
|
+
ctx.clearRect(0, 0, width, height);
|
|
50
|
+
ctx.fillStyle = "#717b14";
|
|
51
|
+
for (let x = scale; x < width; x += scale) {
|
|
52
|
+
const xPos = Math.round(x) - lineWidth / 2;
|
|
53
|
+
ctx.fillRect(xPos, 0, lineWidth, height);
|
|
54
|
+
}
|
|
55
|
+
for (let y = scale; y < height; y += scale) {
|
|
56
|
+
const yPos = Math.round(y) - lineWidth / 2;
|
|
57
|
+
ctx.fillRect(0, yPos, width, lineWidth);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
onBlokkliEvent("canvas:draw", () => {
|
|
61
|
+
if (needsUpdate) {
|
|
62
|
+
drawPixelGrid();
|
|
63
|
+
needsUpdate = false;
|
|
64
|
+
}
|
|
65
|
+
});
|
|
66
|
+
</script>
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
type __VLS_Props = {
|
|
2
|
+
canvasScale: number;
|
|
3
|
+
canvasWidth: number;
|
|
4
|
+
canvasHeight: number;
|
|
5
|
+
};
|
|
6
|
+
declare const _default: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
7
|
+
export default _default;
|
|
Binary file
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: "!,2,11111111110011\n\",3,101101\n#,5,0101011111111110101011111111110101\n$,5,010100111111010111100111101011111100101\n%,6,110010110110000100001100001000011011010011\n&,6,011100110110011100111101110111110111011101\n',1,11\n(,3,001010110110110110010001\n),3,1000100110110110110101\n*,5,001001010111111011101111110101001\n+,5,0000000100001001111100100001\n,,2,000000000001111\n-,4,0000000000001111\n.,2,00000000001111\n/,3,0010010110101101001\n0,5,0111011011110111101111011110110111\n1,3,011111011011011011011\n2,5,11110000110001101110110001100011111\n3,5,1111000011000110111000011000111111\n4,5,00011001110101110011111110001100011\n5,5,1111010000111100001100011000111111\n6,5,0111011000111101101111011110110111\n7,5,111110001100110001100110001100011\n8,5,0111011011110110111011011110110111\n9,5,0111011011110111101101111000110111\n:,2,00001111001111\n;,2,000011110001111\n<,4,0001001101101100011000110001\n=,4,000000000000111100001111\n>,4,1000110001100011011011001\n?,5,111100001100110011000110000000011\n@,6,00000001111011001111111111011111111111000001111\nA,5,01110110111101111011111111101111011\nB,5,1111011011111101101111011110111111\nC,5,01111110001100011000110001100001111\nD,5,1111011011110111101111011110111111\nE,5,11111110001111011000110001100011111\nF,5,11111110001111011000110001100011\nG,5,01110110001100011011110111101101111\nH,5,11011110111111111011110111101111011\nI,2,11111111111111\nJ,4,001100110011001100110011111\nK,6,110011110110111100111000111100110110110011\nL,4,1100110011001100110011001111\nM,7,1000001110001111101111111111110101111000111100011\nN,6,100011110011111011111111110111110011110001\nO,6,01111011001111001111001111001111001101111\nP,5,11110110111101111011111101100011\nQ,6,011110110011110011110011110011110111011110000011\nR,5,11110110111101111011111101101011011\nS,4,011111001100011000110011111\nT,6,1111110011000011000011000011000011000011\nU,5,1101111011110111101111011110110111\nV,6,1100111100111100110111100111100011000011\nW,7,110001111000111101011111111101111100111110011011\nX,6,110011110011011110001100011110110011110011\nY,6,1100111100110111100011000011000011000011\nZ,5,11111000110011101110111001100011111\n[,3,111110110110110110110111\n\\,3,100100110010011001001\n],3,111011011011011011011111\n^,3,010111101\n_,6,000000000000000000000000000000000000111111\n`,2,1001\na,5,00000000000111000011011111101101111\nb,5,1100011000111101101111011110111111\nc,4,0000000001111100110011000111\nd,5,00011000110111111011110111101101111\ne,5,00000000000111011011111111100001111\nf,3,01111011111011011011\ng,5,000000000001111110111101101111000110111\nh,5,11000110001111011011110111101111011\ni,2,11001111111111\nj,3,01100001101101101101111\nk,5,11000110001101111110111001111011011\nl,2,11111111111111\nm,8,00000000000000001111111011011011110110111101101111011011\nn,5,00000000001111011011110111101111011\no,5,0000000000011101101111011110110111\np,5,0000000000111101101111011111101100011\nq,5,0000000000011111101111011011110001100011\nr,4,00000000110111111100110011\ns,4,000000000111110011110011111\nt,3,110110111110110110011\nu,5,00000000001101111011110111101101111\nv,5,000000000011011110110111001110001\nw,7,000000000000001100011110101111010110111110011011\nx,5,00000000001101111011011101101111011\ny,5,000000000011011110111101101111000110111\nz,5,00000000001111100110011001100011111\n{,3,111110110110110110110111\n|,2,1111111111111111\n},3,111011011011011011011111\n~,5,011011011\n\u00A0,1,0\n\u00A1,2,11001111111111\n\u00A3,5,00111011000110001100111100110011111\n\u00A4,5,00000100010111011011110110111010001\n\u00A5,6,1100110111101111110011001111110011000011\n\u00A6,2,1111111111111111\n\u00A7,4,0110110111101011110101111011011\n\u00BA,3,010101010000111\n\u00BF,5,00110000000011000110011001100001111\n\u00C0,5,01000001000111011011111111101111011\n\u00C1,5,00010001000111011011111111101111011\n\u00C2,5,00100010101111111011111111101111011\n\u00C3,5,01101101100111011011111111101111011\n\u00C4,5,01010000000111011011111111101111011\n\u00C5,5,00100010100111011011111111101111011\n\u00C6,7,0011111011110011011001111110110110011011001101111\n\u00C7,5,01111110001100011000110001100001111001\n\u00C8,5,01000001001111111000111101100011111\n\u00C9,5,00010001001111111000111101100011111\n\u00CA,5,00100010101111111000111101100011111\n\u00CB,5,01010000001111111000111101100011111\n\u00CC,2,10011111111111\n\u00CD,2,01101111111111\n\u00CE,3,01010111011011011011\n\u00CF,3,101000011011011011011\n\u00D1,5,01101101101001111011111111101111001\n\u00D2,6,00100000010001111011001111001111001101111\n\u00D3,6,00010000100001111011001111001111001101111\n\u00D4,6,00110001001011111111001111001111001101111\n\u00D5,6,00110101011001111011001111001111001101111\n\u00D6,6,01001000000001111011001111001111001101111\n\u00D8,6,01111111001111011111111111101111001111111\n\u00D9,5,0100000100110111101111011110110111\n\u00DA,5,0001000100110111101111011110110111\n\u00DB,5,0010001010110111101111011110110111\n\u00DC,5,0101000000110111101111011110110111\n\u00DD,6,0000100001001100110111100011000011000011\n\u00DF,5,0111011011111101101111011110111101011\n\u00E0,5,00100000100111000011011111101101111\n\u00E1,5,00010001000111000011011111101101111\n\u00E2,5,00100010101111100011011111101101111\n\u00E3,5,01101101100111000011011111101101111\n\u00E4,5,01010000000111000011011111101101111\n\u00E5,5,00100010100111100011011111101101111\n\u00E6,7,0000000000000001111100001101011111111011000111111\n\u00E7,4,0000000001111100110011000111001\n\u00E8,5,01000001000111011011111111100001111\n\u00E9,5,00010001000111011011111111100001111\n\u00EA,5,00100010101111111011111111100001111\n\u00EB,5,01010000000111011011111111100001111\n\u00EC,2,10011111111111\n\u00ED,2,01101111111111\n\u00EE,3,01010111011011011011\n\u00EF,3,101000011011011011011\n\u00F1,5,01101101101111011011110111101111011\n\u00F2,5,0100000100011101101111011110110111\n\u00F3,5,0001000100011101101111011110110111\n\u00F4,5,0010001010111111101111011110110111\n\u00F5,5,0110110110011101101111011110110111\n\u00F6,5,0101000000011101101111011110110111\n\u00F8,5,0000000000011111101111111110111111\n\u00F9,5,01000001001101111011110111101101111\n\u00FA,5,00010001001101111011110111101101111\n\u00FB,5,00100010101101111011110111101101111\n\u00FC,5,01010000001101111011110111101101111\n\u00FD,5,000100010011011110111101101111000110111\n\u00FF,5,010100000011011110111101101111000110111\n\u011E,5,10001011100111011000110111101101111\n\u011F,5,100010111001111110111101101111000110111\n\u0161,1,11111111\n\u0178,6,0100100000001100110111100011000011000011\n\u02C6,3,010111101\n',1,11\n\u20AC,6,00000000111001000111111011110001000100111";
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,168 @@
|
|
|
1
|
+
export default `!,2,11111111110011
|
|
2
|
+
",3,101101
|
|
3
|
+
#,5,0101011111111110101011111111110101
|
|
4
|
+
$,5,010100111111010111100111101011111100101
|
|
5
|
+
%,6,110010110110000100001100001000011011010011
|
|
6
|
+
&,6,011100110110011100111101110111110111011101
|
|
7
|
+
',1,11
|
|
8
|
+
(,3,001010110110110110010001
|
|
9
|
+
),3,1000100110110110110101
|
|
10
|
+
*,5,001001010111111011101111110101001
|
|
11
|
+
+,5,0000000100001001111100100001
|
|
12
|
+
,,2,000000000001111
|
|
13
|
+
-,4,0000000000001111
|
|
14
|
+
.,2,00000000001111
|
|
15
|
+
/,3,0010010110101101001
|
|
16
|
+
0,5,0111011011110111101111011110110111
|
|
17
|
+
1,3,011111011011011011011
|
|
18
|
+
2,5,11110000110001101110110001100011111
|
|
19
|
+
3,5,1111000011000110111000011000111111
|
|
20
|
+
4,5,00011001110101110011111110001100011
|
|
21
|
+
5,5,1111010000111100001100011000111111
|
|
22
|
+
6,5,0111011000111101101111011110110111
|
|
23
|
+
7,5,111110001100110001100110001100011
|
|
24
|
+
8,5,0111011011110110111011011110110111
|
|
25
|
+
9,5,0111011011110111101101111000110111
|
|
26
|
+
:,2,00001111001111
|
|
27
|
+
;,2,000011110001111
|
|
28
|
+
<,4,0001001101101100011000110001
|
|
29
|
+
=,4,000000000000111100001111
|
|
30
|
+
>,4,1000110001100011011011001
|
|
31
|
+
?,5,111100001100110011000110000000011
|
|
32
|
+
@,6,00000001111011001111111111011111111111000001111
|
|
33
|
+
A,5,01110110111101111011111111101111011
|
|
34
|
+
B,5,1111011011111101101111011110111111
|
|
35
|
+
C,5,01111110001100011000110001100001111
|
|
36
|
+
D,5,1111011011110111101111011110111111
|
|
37
|
+
E,5,11111110001111011000110001100011111
|
|
38
|
+
F,5,11111110001111011000110001100011
|
|
39
|
+
G,5,01110110001100011011110111101101111
|
|
40
|
+
H,5,11011110111111111011110111101111011
|
|
41
|
+
I,2,11111111111111
|
|
42
|
+
J,4,001100110011001100110011111
|
|
43
|
+
K,6,110011110110111100111000111100110110110011
|
|
44
|
+
L,4,1100110011001100110011001111
|
|
45
|
+
M,7,1000001110001111101111111111110101111000111100011
|
|
46
|
+
N,6,100011110011111011111111110111110011110001
|
|
47
|
+
O,6,01111011001111001111001111001111001101111
|
|
48
|
+
P,5,11110110111101111011111101100011
|
|
49
|
+
Q,6,011110110011110011110011110011110111011110000011
|
|
50
|
+
R,5,11110110111101111011111101101011011
|
|
51
|
+
S,4,011111001100011000110011111
|
|
52
|
+
T,6,1111110011000011000011000011000011000011
|
|
53
|
+
U,5,1101111011110111101111011110110111
|
|
54
|
+
V,6,1100111100111100110111100111100011000011
|
|
55
|
+
W,7,110001111000111101011111111101111100111110011011
|
|
56
|
+
X,6,110011110011011110001100011110110011110011
|
|
57
|
+
Y,6,1100111100110111100011000011000011000011
|
|
58
|
+
Z,5,11111000110011101110111001100011111
|
|
59
|
+
[,3,111110110110110110110111
|
|
60
|
+
\\,3,100100110010011001001
|
|
61
|
+
],3,111011011011011011011111
|
|
62
|
+
^,3,010111101
|
|
63
|
+
_,6,000000000000000000000000000000000000111111
|
|
64
|
+
\`,2,1001
|
|
65
|
+
a,5,00000000000111000011011111101101111
|
|
66
|
+
b,5,1100011000111101101111011110111111
|
|
67
|
+
c,4,0000000001111100110011000111
|
|
68
|
+
d,5,00011000110111111011110111101101111
|
|
69
|
+
e,5,00000000000111011011111111100001111
|
|
70
|
+
f,3,01111011111011011011
|
|
71
|
+
g,5,000000000001111110111101101111000110111
|
|
72
|
+
h,5,11000110001111011011110111101111011
|
|
73
|
+
i,2,11001111111111
|
|
74
|
+
j,3,01100001101101101101111
|
|
75
|
+
k,5,11000110001101111110111001111011011
|
|
76
|
+
l,2,11111111111111
|
|
77
|
+
m,8,00000000000000001111111011011011110110111101101111011011
|
|
78
|
+
n,5,00000000001111011011110111101111011
|
|
79
|
+
o,5,0000000000011101101111011110110111
|
|
80
|
+
p,5,0000000000111101101111011111101100011
|
|
81
|
+
q,5,0000000000011111101111011011110001100011
|
|
82
|
+
r,4,00000000110111111100110011
|
|
83
|
+
s,4,000000000111110011110011111
|
|
84
|
+
t,3,110110111110110110011
|
|
85
|
+
u,5,00000000001101111011110111101101111
|
|
86
|
+
v,5,000000000011011110110111001110001
|
|
87
|
+
w,7,000000000000001100011110101111010110111110011011
|
|
88
|
+
x,5,00000000001101111011011101101111011
|
|
89
|
+
y,5,000000000011011110111101101111000110111
|
|
90
|
+
z,5,00000000001111100110011001100011111
|
|
91
|
+
{,3,111110110110110110110111
|
|
92
|
+
|,2,1111111111111111
|
|
93
|
+
},3,111011011011011011011111
|
|
94
|
+
~,5,011011011
|
|
95
|
+
\xA0,1,0
|
|
96
|
+
\xA1,2,11001111111111
|
|
97
|
+
\xA3,5,00111011000110001100111100110011111
|
|
98
|
+
\xA4,5,00000100010111011011110110111010001
|
|
99
|
+
\xA5,6,1100110111101111110011001111110011000011
|
|
100
|
+
\xA6,2,1111111111111111
|
|
101
|
+
\xA7,4,0110110111101011110101111011011
|
|
102
|
+
\xBA,3,010101010000111
|
|
103
|
+
\xBF,5,00110000000011000110011001100001111
|
|
104
|
+
\xC0,5,01000001000111011011111111101111011
|
|
105
|
+
\xC1,5,00010001000111011011111111101111011
|
|
106
|
+
\xC2,5,00100010101111111011111111101111011
|
|
107
|
+
\xC3,5,01101101100111011011111111101111011
|
|
108
|
+
\xC4,5,01010000000111011011111111101111011
|
|
109
|
+
\xC5,5,00100010100111011011111111101111011
|
|
110
|
+
\xC6,7,0011111011110011011001111110110110011011001101111
|
|
111
|
+
\xC7,5,01111110001100011000110001100001111001
|
|
112
|
+
\xC8,5,01000001001111111000111101100011111
|
|
113
|
+
\xC9,5,00010001001111111000111101100011111
|
|
114
|
+
\xCA,5,00100010101111111000111101100011111
|
|
115
|
+
\xCB,5,01010000001111111000111101100011111
|
|
116
|
+
\xCC,2,10011111111111
|
|
117
|
+
\xCD,2,01101111111111
|
|
118
|
+
\xCE,3,01010111011011011011
|
|
119
|
+
\xCF,3,101000011011011011011
|
|
120
|
+
\xD1,5,01101101101001111011111111101111001
|
|
121
|
+
\xD2,6,00100000010001111011001111001111001101111
|
|
122
|
+
\xD3,6,00010000100001111011001111001111001101111
|
|
123
|
+
\xD4,6,00110001001011111111001111001111001101111
|
|
124
|
+
\xD5,6,00110101011001111011001111001111001101111
|
|
125
|
+
\xD6,6,01001000000001111011001111001111001101111
|
|
126
|
+
\xD8,6,01111111001111011111111111101111001111111
|
|
127
|
+
\xD9,5,0100000100110111101111011110110111
|
|
128
|
+
\xDA,5,0001000100110111101111011110110111
|
|
129
|
+
\xDB,5,0010001010110111101111011110110111
|
|
130
|
+
\xDC,5,0101000000110111101111011110110111
|
|
131
|
+
\xDD,6,0000100001001100110111100011000011000011
|
|
132
|
+
\xDF,5,0111011011111101101111011110111101011
|
|
133
|
+
\xE0,5,00100000100111000011011111101101111
|
|
134
|
+
\xE1,5,00010001000111000011011111101101111
|
|
135
|
+
\xE2,5,00100010101111100011011111101101111
|
|
136
|
+
\xE3,5,01101101100111000011011111101101111
|
|
137
|
+
\xE4,5,01010000000111000011011111101101111
|
|
138
|
+
\xE5,5,00100010100111100011011111101101111
|
|
139
|
+
\xE6,7,0000000000000001111100001101011111111011000111111
|
|
140
|
+
\xE7,4,0000000001111100110011000111001
|
|
141
|
+
\xE8,5,01000001000111011011111111100001111
|
|
142
|
+
\xE9,5,00010001000111011011111111100001111
|
|
143
|
+
\xEA,5,00100010101111111011111111100001111
|
|
144
|
+
\xEB,5,01010000000111011011111111100001111
|
|
145
|
+
\xEC,2,10011111111111
|
|
146
|
+
\xED,2,01101111111111
|
|
147
|
+
\xEE,3,01010111011011011011
|
|
148
|
+
\xEF,3,101000011011011011011
|
|
149
|
+
\xF1,5,01101101101111011011110111101111011
|
|
150
|
+
\xF2,5,0100000100011101101111011110110111
|
|
151
|
+
\xF3,5,0001000100011101101111011110110111
|
|
152
|
+
\xF4,5,0010001010111111101111011110110111
|
|
153
|
+
\xF5,5,0110110110011101101111011110110111
|
|
154
|
+
\xF6,5,0101000000011101101111011110110111
|
|
155
|
+
\xF8,5,0000000000011111101111111110111111
|
|
156
|
+
\xF9,5,01000001001101111011110111101101111
|
|
157
|
+
\xFA,5,00010001001101111011110111101101111
|
|
158
|
+
\xFB,5,00100010101101111011110111101101111
|
|
159
|
+
\xFC,5,01010000001101111011110111101101111
|
|
160
|
+
\xFD,5,000100010011011110111101101111000110111
|
|
161
|
+
\xFF,5,010100000011011110111101101111000110111
|
|
162
|
+
\u011E,5,10001011100111011000110111101101111
|
|
163
|
+
\u011F,5,100010111001111110111101101111000110111
|
|
164
|
+
\u0161,1,11111111
|
|
165
|
+
\u0178,6,0100100000001100110111100011000011000011
|
|
166
|
+
\u02C6,3,010111101
|
|
167
|
+
',1,11
|
|
168
|
+
\u20AC,6,00000000111001000111111011110001000100111`;
|