@piveau/dpi 0.1.0-beta.5
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/_virtual/_plugin-vue_export-helper.js +9 -0
- package/dist/assets/dpi.css +1 -0
- package/dist/composables/useRuntimeEnv.js +11 -0
- package/dist/composables/useTed.js +9 -0
- package/dist/data-provider-interface/DPIMenu.vue.js +457 -0
- package/dist/data-provider-interface/DataProviderInterface.vue.js +43 -0
- package/dist/data-provider-interface/DataProviderInterface.vue2.js +144 -0
- package/dist/data-provider-interface/HappyFlowComponents/BlogDPIHome.vue.js +13 -0
- package/dist/data-provider-interface/HappyFlowComponents/CommunityDPI.vue.js +11 -0
- package/dist/data-provider-interface/HappyFlowComponents/ComponentLibrary.vue.js +1052 -0
- package/dist/data-provider-interface/HappyFlowComponents/ConsultingDPI.vue.js +11 -0
- package/dist/data-provider-interface/HappyFlowComponents/DPIHome.vue.js +26 -0
- package/dist/data-provider-interface/HappyFlowComponents/FAQDPIHome.vue.js +11 -0
- package/dist/data-provider-interface/HappyFlowComponents/HomeTable.vue.js +109 -0
- package/dist/data-provider-interface/HappyFlowComponents/ServiceDPIHome.vue.js +11 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/CheckCircleFill.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/Circle.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/CircleFill.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/DatenbereitstellerV3.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/Ellipse2Error.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/Ellipse2Published.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/Ellipse2Warning.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/FurV3.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/IllustrationCelebrate.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/IllustrationStart.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/InfoFill.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/Selected1.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/Selected1_2.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/Selected2.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/Selected2_2.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/Selected3.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/Selected3_2.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/Selected4.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/Selected4_2.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/Selected5.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/Selected5_2.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/WarningFill.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/bydata_logo_blue_small.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/iconRight.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/img/x-circleFill.svg.js +4 -0
- package/dist/data-provider-interface/HappyFlowComponents/services/dpiV3_apis.js +135 -0
- package/dist/data-provider-interface/HappyFlowComponents/services/eventBus.js +16 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/ButtonV3.vue.js +256 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/CheckboxV3.vue.js +96 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/Chip.vue.js +91 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/CloseOpenButtonV3.vue.js +67 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/CrossOutButton.vue.js +63 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/DatasetStatus.vue.js +52 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue.js +7 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/DpiModalBase.vue2.js +96 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/Dropdown.vue.js +231 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/Illustration.vue.js +33 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/InputField.vue.js +477 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/InputV3.vue.js +182 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/LogoV3.vue.js +40 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/ModalSimpleV3.vue.js +123 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/ModalV3.vue.js +566 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/MoreButton.vue.js +56 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AccessRightsV3.vue.js +41 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AccessServiceV3.vue.js +157 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/AvailabilityV3.vue.js +80 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ByteSizeV3.vue.js +50 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChangeLicenseV3.vue.js +113 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ChecksumV3.vue.js +116 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ConformsToV3.vue.js +157 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/DescriptionV3.vue.js +40 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/DocumentationsV3.vue.js +227 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/FileFormatV3.vue.js +148 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/IssuedDateV3.vue.js +43 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/LanguageV3.vue.js +70 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/LicenseAttributionByText.vue.js +46 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/ModifiedDateV3.vue.js +43 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/PolicyV3.vue.js +130 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/OptionalInformation/StatusV3.vue.js +67 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/RapModal.vue.js +157 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsModal.vue.js +106 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/AdditionalsSubModal.vue.js +247 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/CoverageModal.vue.js +79 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/DistributionModal.vue.js +73 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/EssentialsModal.vue.js +134 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/FindabilityChips.vue.js +43 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/SectionItems/HVDSwitch.vue.js +68 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/StateTag.vue.js +64 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/SwitchV3.vue.js +195 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/TableRowV3.vue.js +207 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/TextAreaV3.vue.js +115 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/TextButtonLarge.vue.js +108 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/TextButtonSmall.vue.js +125 -0
- package/dist/data-provider-interface/HappyFlowComponents/ui/Toast.vue.js +69 -0
- package/dist/data-provider-interface/components/AutocompleteInput.vue.js +279 -0
- package/dist/data-provider-interface/components/BasicInfosPage.vue.js +9 -0
- package/dist/data-provider-interface/components/ConditionalInput.vue.js +196 -0
- package/dist/data-provider-interface/components/ContactPage.vue.js +246 -0
- package/dist/data-provider-interface/components/CoveringPage.vue.js +9 -0
- package/dist/data-provider-interface/components/DataFetchingComponent.vue.js +49 -0
- package/dist/data-provider-interface/components/DiscoverabilityPage.vue.js +60 -0
- package/dist/data-provider-interface/components/DistLicense.vue.js +160 -0
- package/dist/data-provider-interface/components/DistributionSimplePage.vue.js +1147 -0
- package/dist/data-provider-interface/components/DistributionStepper.vue.js +212 -0
- package/dist/data-provider-interface/components/Dropup.vue.js +62 -0
- package/dist/data-provider-interface/components/FileUpload.vue.js +278 -0
- package/dist/data-provider-interface/components/HVDPage.vue.js +106 -0
- package/dist/data-provider-interface/components/HappyFlowLandingPage.vue.js +70 -0
- package/dist/data-provider-interface/components/InfoSlot.vue.js +81 -0
- package/dist/data-provider-interface/components/InputPageStep.vue.js +40 -0
- package/dist/data-provider-interface/components/InputPageStep.vue2.js +4 -0
- package/dist/data-provider-interface/components/LanguageSelector.vue.js +65 -0
- package/dist/data-provider-interface/components/Navigation.vue.js +256 -0
- package/dist/data-provider-interface/components/Navigation.vue2.js +1 -0
- package/dist/data-provider-interface/components/PolGeoUriPage.vue.js +81 -0
- package/dist/data-provider-interface/components/PublisherPage.vue.js +176 -0
- package/dist/data-provider-interface/components/ReviewAndPublishPage.vue.js +413 -0
- package/dist/data-provider-interface/components/SelectControlledGroup.vue.js +55 -0
- package/dist/data-provider-interface/components/SelectControlledGroup.vue2.js +4 -0
- package/dist/data-provider-interface/components/SimpleAccessURLInput.vue.js +32 -0
- package/dist/data-provider-interface/components/SimpleInput.vue.js +35 -0
- package/dist/data-provider-interface/components/SimpleSelect.vue.js +111 -0
- package/dist/data-provider-interface/components/SpatialInput.vue.js +276 -0
- package/dist/data-provider-interface/components/TempResPage.vue.js +211 -0
- package/dist/data-provider-interface/components/TheErrorDialog.vue.js +90 -0
- package/dist/data-provider-interface/components/TheErrorDialog.vue2.js +4 -0
- package/dist/data-provider-interface/components/TitelPage.vue.js +52 -0
- package/dist/data-provider-interface/components/UniqueIdentifierInput.vue.js +75 -0
- package/dist/data-provider-interface/components/UpdateDate.vue.js +75 -0
- package/dist/data-provider-interface/components/dpiV3Description.vue.js +44 -0
- package/dist/data-provider-interface/composables/aucotomplete.js +50 -0
- package/dist/data-provider-interface/composables/useDpiContext.js +17 -0
- package/dist/data-provider-interface/composables/useDpiEditMode.js +88 -0
- package/dist/data-provider-interface/composables/useDpiFormValues.js +8 -0
- package/dist/data-provider-interface/composables/useDpiSimpleLoader.js +384 -0
- package/dist/data-provider-interface/composables/useDpiStepper.js +47 -0
- package/dist/data-provider-interface/composables/useDpiUtils.js +39 -0
- package/dist/data-provider-interface/composables/useErrorDialog.js +31 -0
- package/dist/data-provider-interface/composables/useFormSchema.js +56 -0
- package/dist/data-provider-interface/composables/useRequestUriName.js +58 -0
- package/dist/data-provider-interface/config/dcatap/format-types.js +256 -0
- package/dist/data-provider-interface/config/dcatap/input-definition.js +1842 -0
- package/dist/data-provider-interface/config/dcatap/page-content-config.js +23 -0
- package/dist/data-provider-interface/config/dcatap/prefixes.js +25 -0
- package/dist/data-provider-interface/config/dcatap/vocab-prefixes.js +24 -0
- package/dist/data-provider-interface/config/dcatapde/format-types.js +274 -0
- package/dist/data-provider-interface/config/dcatapde/input-definition.js +2131 -0
- package/dist/data-provider-interface/config/dcatapde/page-content-config.js +23 -0
- package/dist/data-provider-interface/config/dcatapde/prefixes.js +27 -0
- package/dist/data-provider-interface/config/dcatapde/vocab-prefixes.js +33 -0
- package/dist/data-provider-interface/config/dcatapdeHappyFlow/converter.js +161 -0
- package/dist/data-provider-interface/config/dcatapdeHappyFlow/format-types.js +5 -0
- package/dist/data-provider-interface/config/dcatapdeHappyFlow/input-definition.js +2196 -0
- package/dist/data-provider-interface/config/dcatapdeHappyFlow/page-content-config.js +82 -0
- package/dist/data-provider-interface/config/dcatapdeHappyFlow/prefixes.js +5 -0
- package/dist/data-provider-interface/config/dcatapdeHappyFlow/vocab-prefixes.js +5 -0
- package/dist/data-provider-interface/config/dcatapdeODB/format-types.js +5 -0
- package/dist/data-provider-interface/config/dcatapdeODB/input-definition.js +18 -0
- package/dist/data-provider-interface/config/dcatapdeODB/page-content-config.js +5 -0
- package/dist/data-provider-interface/config/dcatapdeODB/prefixes.js +5 -0
- package/dist/data-provider-interface/config/dcatapdeODB/vocab-prefixes.js +5 -0
- package/dist/data-provider-interface/config/dpi-spec-config.js +54 -0
- package/dist/data-provider-interface/config/selector-languages.json.js +57 -0
- package/dist/data-provider-interface/plugins/userConfigShimPlugin.js +10 -0
- package/dist/data-provider-interface/store/dpiStore.js +33 -0
- package/dist/data-provider-interface/store/modules/formSchemaStore.js +94 -0
- package/dist/data-provider-interface/store/modules/navigationStore.js +24 -0
- package/dist/data-provider-interface/utils/general-helper.js +218 -0
- package/dist/data-provider-interface/utils/injectionKeys.js +5 -0
- package/dist/data-provider-interface/utils/translation-helper.js +31 -0
- package/dist/data-provider-interface/utils/useSteps.js +34 -0
- package/dist/data-provider-interface/views/DistributionInputPage.vue.js +100 -0
- package/dist/data-provider-interface/views/DistributionOverview.vue.js +201 -0
- package/dist/data-provider-interface/views/DraftsPage.vue.js +278 -0
- package/dist/data-provider-interface/views/InputPage.vue.js +1182 -0
- package/dist/data-provider-interface/views/LinkedDataViewer.vue.js +105 -0
- package/dist/data-provider-interface/views/OverviewPage/CatalogueOverview.vue.js +86 -0
- package/dist/data-provider-interface/views/OverviewPage/DatasetOverview.vue.js +214 -0
- package/dist/data-provider-interface/views/OverviewPage/DistributionOverview.vue.js +219 -0
- package/dist/data-provider-interface/views/OverviewPage/Properties/MultilingualProp.vue.js +19 -0
- package/dist/data-provider-interface/views/OverviewPage/Properties/SpecialProp.vue.js +397 -0
- package/dist/data-provider-interface/views/OverviewPage/Properties/StringProp.vue.js +56 -0
- package/dist/data-provider-interface/views/OverviewPage/Properties/URIProp.vue.js +109 -0
- package/dist/data-provider-interface/views/OverviewPage/Properties/URLProp.vue.js +92 -0
- package/dist/data-provider-interface/views/OverviewPage/PropertyEntry.vue.js +103 -0
- package/dist/data-provider-interface/views/OverviewPage.vue.js +189 -0
- package/dist/data-provider-interface/views/PropertyChooser.vue.js +41 -0
- package/dist/data-provider-interface/views/UserCataloguesPage.vue.js +74 -0
- package/dist/data-provider-interface/views/UserProfilePage.vue.js +83 -0
- package/dist/filters/dateFilters.js +39 -0
- package/dist/form/FormKitGroup.vue.js +55 -0
- package/dist/form/Repeatable.vue.js +7 -0
- package/dist/form/Repeatable.vue2.js +72 -0
- package/dist/form/inputDefinitions.js +131 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +124 -0
- package/dist/utils/helpers.js +32 -0
- package/dist/widgets/AppLink.vue.js +118 -0
- package/package.json +96 -0
|
@@ -0,0 +1,477 @@
|
|
|
1
|
+
import { ref as c, watch as N, createElementBlock as u, openBlock as o, createCommentVNode as i, createElementVNode as d, createBlock as v, toDisplayString as h, unref as n, normalizeStyle as S, normalizeClass as x, withDirectives as M, vModelDynamic as F, createVNode as W, withKeys as w, withModifiers as T, isRef as r } from "vue";
|
|
2
|
+
import { PhInfo as q, PhMagnifyingGlass as X, PhQuestion as O, PhWarningCircle as H, PhCaretDown as Y, PhCaretUp as Z, PhCalendar as _, PhClock as ee } from "@phosphor-icons/vue";
|
|
3
|
+
import G from "./TextButtonSmall.vue.js";
|
|
4
|
+
/* empty css */
|
|
5
|
+
/* empty css */
|
|
6
|
+
/* empty css */
|
|
7
|
+
import te from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
8
|
+
const le = { class: "dpiV3_input-field" }, ne = {
|
|
9
|
+
key: 0,
|
|
10
|
+
class: "dpiV3_InputFieldBase"
|
|
11
|
+
}, oe = { class: "dpiV3_Top" }, ie = { class: "dpiV3_Lebel" }, ae = {
|
|
12
|
+
key: 0,
|
|
13
|
+
class: "dpiV3_label"
|
|
14
|
+
}, de = { class: "dpiV3_Tooltip_Wrapper" }, se = {
|
|
15
|
+
key: 1,
|
|
16
|
+
class: "dpiV3_toolTip copy-mini-regular"
|
|
17
|
+
}, ue = { class: "dpiV3_Content" }, re = ["type", "disabled", "placeholder"], ve = ["type", "disabled", "placeholder"], ce = {
|
|
18
|
+
key: 0,
|
|
19
|
+
class: "dpiV3_inputButton"
|
|
20
|
+
}, fe = {
|
|
21
|
+
key: 1,
|
|
22
|
+
class: "dpiV3_inputButton"
|
|
23
|
+
}, pe = {
|
|
24
|
+
key: 0,
|
|
25
|
+
class: "dpiV3_hintText"
|
|
26
|
+
}, xe = {
|
|
27
|
+
key: 1,
|
|
28
|
+
class: "dpiV3_errorText"
|
|
29
|
+
}, ye = {
|
|
30
|
+
key: 1,
|
|
31
|
+
class: "dpiV3_InputFieldBase"
|
|
32
|
+
}, Ve = { class: "dpiV3_Top_leading_text" }, be = { class: "dpiV3_Lebel" }, he = { class: "dpiV3_label" }, we = { class: "dpiV3_Input" }, ge = { class: "dpiV3_Text-Add-On" }, Te = { class: "dpiV3_Content-leading-Text" }, ke = ["type", "disabled", "placeholder"], me = { class: "dpiV3_Content-leading-Text" }, Ee = ["type", "disabled", "placeholder"], Be = { class: "dpiV3_Text-Add-On" }, Ie = {
|
|
33
|
+
key: 0,
|
|
34
|
+
class: "dpiV3_hintText"
|
|
35
|
+
}, De = {
|
|
36
|
+
key: 1,
|
|
37
|
+
class: "dpiV3_errorText"
|
|
38
|
+
}, Me = {
|
|
39
|
+
__name: "InputField",
|
|
40
|
+
props: {
|
|
41
|
+
supportingHintMessage: { type: String, default: "hint message" },
|
|
42
|
+
isDisabled: {
|
|
43
|
+
type: Boolean,
|
|
44
|
+
default: !1
|
|
45
|
+
},
|
|
46
|
+
inputType: {
|
|
47
|
+
type: String,
|
|
48
|
+
default: "text"
|
|
49
|
+
},
|
|
50
|
+
datePicker: {
|
|
51
|
+
type: Boolean
|
|
52
|
+
},
|
|
53
|
+
timePicker: {
|
|
54
|
+
type: Boolean
|
|
55
|
+
},
|
|
56
|
+
infoIcon: {
|
|
57
|
+
type: Boolean
|
|
58
|
+
},
|
|
59
|
+
eraseable: {
|
|
60
|
+
type: Boolean
|
|
61
|
+
},
|
|
62
|
+
addOnText: {
|
|
63
|
+
type: Boolean
|
|
64
|
+
},
|
|
65
|
+
trailingText: {
|
|
66
|
+
type: Boolean,
|
|
67
|
+
default: !1
|
|
68
|
+
},
|
|
69
|
+
defaultInput: {
|
|
70
|
+
type: Boolean,
|
|
71
|
+
default: !0
|
|
72
|
+
},
|
|
73
|
+
showError: {
|
|
74
|
+
type: Boolean,
|
|
75
|
+
default: !1
|
|
76
|
+
},
|
|
77
|
+
initialHintText: {
|
|
78
|
+
type: Boolean,
|
|
79
|
+
default: !0
|
|
80
|
+
},
|
|
81
|
+
preIcon: {
|
|
82
|
+
type: Boolean,
|
|
83
|
+
default: !0
|
|
84
|
+
},
|
|
85
|
+
label: {
|
|
86
|
+
type: String,
|
|
87
|
+
default: "Label"
|
|
88
|
+
},
|
|
89
|
+
dropdown_dpiV3: {
|
|
90
|
+
type: Boolean,
|
|
91
|
+
default: !1
|
|
92
|
+
},
|
|
93
|
+
placeholder: {
|
|
94
|
+
type: String,
|
|
95
|
+
default: "Standard_input"
|
|
96
|
+
},
|
|
97
|
+
inputFieldSize: {
|
|
98
|
+
type: String,
|
|
99
|
+
default: "medium",
|
|
100
|
+
validator: (e) => ["medium", "large"].includes(e)
|
|
101
|
+
},
|
|
102
|
+
modelValue: { type: String, default: "" },
|
|
103
|
+
dropDownExpanded: {
|
|
104
|
+
type: Boolean,
|
|
105
|
+
default: !1
|
|
106
|
+
},
|
|
107
|
+
showEndIcon: {
|
|
108
|
+
type: Boolean,
|
|
109
|
+
default: !0
|
|
110
|
+
},
|
|
111
|
+
addOnLeadingText: {
|
|
112
|
+
type: String,
|
|
113
|
+
default: "http://"
|
|
114
|
+
},
|
|
115
|
+
trailing_text: {
|
|
116
|
+
type: String,
|
|
117
|
+
default: "text"
|
|
118
|
+
},
|
|
119
|
+
autocomplete: {
|
|
120
|
+
type: Boolean,
|
|
121
|
+
default: !1
|
|
122
|
+
},
|
|
123
|
+
tooltip_text: {
|
|
124
|
+
type: String,
|
|
125
|
+
default: "info"
|
|
126
|
+
},
|
|
127
|
+
error_message: {
|
|
128
|
+
type: String,
|
|
129
|
+
default: "error"
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
emits: ["update:modelValue", "deleteButtonClicked"],
|
|
133
|
+
setup(e, { emit: Q }) {
|
|
134
|
+
let L = c("var(--neutral-60)"), y = c(!1), l = c(!1), g = c(!1);
|
|
135
|
+
const f = c(null);
|
|
136
|
+
let k = c(!1), s = c("inset 0 0 0 1px var(--neutral-30, #687178)"), m = c(!1), C = c(!1), b = c();
|
|
137
|
+
const $ = c(!1), p = e, K = Q, V = c(p.modelValue);
|
|
138
|
+
N(
|
|
139
|
+
() => p.modelValue,
|
|
140
|
+
(D) => {
|
|
141
|
+
V.value = D;
|
|
142
|
+
}
|
|
143
|
+
), N(V, (D) => {
|
|
144
|
+
K("update:modelValue", D);
|
|
145
|
+
});
|
|
146
|
+
const j = () => {
|
|
147
|
+
f.value && f.value.showPicker();
|
|
148
|
+
}, J = () => {
|
|
149
|
+
f.value && f.value.showPicker();
|
|
150
|
+
}, U = () => {
|
|
151
|
+
K("deleteButtonClicked");
|
|
152
|
+
}, E = () => {
|
|
153
|
+
k.value = !1, m.value = !0, y.value = !0, s.value = "0 0 0 2px var(--Focused)", p.addOnText && (s.value = "0 0 0 2px var(--blue-60, #009FE3)", b = "none"), f.value && (f.value.selectionStart = f.value.selectionEnd);
|
|
154
|
+
}, B = () => {
|
|
155
|
+
m.value = !1, y.value = !1, s.value = "inset 0 0 0 1px var(--neutral-30, #687178)";
|
|
156
|
+
}, A = () => {
|
|
157
|
+
k.value = !0, y.value = !1, C.value && (s.value = "inset 0 0 0 1px var(--neutral-60, #687178)");
|
|
158
|
+
}, P = () => {
|
|
159
|
+
C.value = !0, s.value = "inset 0 0 0 1px var(--neutral-60, #687178)", p.addOnText && (b = "none"), m.value && (s.value = "0 0 0 2px var(--Focused)", p.addOnText && (s.value = "0 0 0 2px var(--blue-blue-60, #009FE3)", b = "none"));
|
|
160
|
+
}, z = () => {
|
|
161
|
+
C.value = !1, s.value = "inset 0 0 0 1px var(--neutral-30, #687178)", p.addOnText && (b = "none"), m.value && (s.value = "0 0 0 2px var(--Focused, #687178)", p.addOnText && (s.value = "0 0 0 2px var(--blue-blue-60, #009FE3)", b = "none"));
|
|
162
|
+
}, R = () => {
|
|
163
|
+
y.value && (s.value = "0 0 0 2px var(--Focused)", p.addOnText && (s.value = "0 0 0 2px var(--blue-blue-60, #009FE3)", b = "none"));
|
|
164
|
+
}, I = () => {
|
|
165
|
+
s.value = "0 0 0 2px var(--Focused)", p.addOnText && (s.value = "0 0 0 2px var(--blue-blue-60, #009FE3)", b = "none");
|
|
166
|
+
};
|
|
167
|
+
return (D, t) => (o(), u("div", le, [
|
|
168
|
+
e.addOnText ? i("", !0) : (o(), u("div", ne, [
|
|
169
|
+
d("div", oe, [
|
|
170
|
+
d("div", ie, [
|
|
171
|
+
e.label ? (o(), u("label", ae, h(e.label), 1)) : i("", !0),
|
|
172
|
+
d("span", de, [
|
|
173
|
+
e.infoIcon ? (o(), v(n(q), {
|
|
174
|
+
key: 0,
|
|
175
|
+
weight: "fill",
|
|
176
|
+
class: "dpiV3_labelIcon",
|
|
177
|
+
size: 16,
|
|
178
|
+
color: "var(--neutral-60, #3D4952)",
|
|
179
|
+
onMouseenter: t[0] || (t[0] = (a) => $.value = !0),
|
|
180
|
+
onMouseleave: t[1] || (t[1] = (a) => $.value = !1)
|
|
181
|
+
})) : i("", !0),
|
|
182
|
+
$.value ? (o(), u("span", se, h(e.tooltip_text), 1)) : i("", !0)
|
|
183
|
+
])
|
|
184
|
+
]),
|
|
185
|
+
e.defaultInput ? i("", !0) : (o(), v(G, {
|
|
186
|
+
key: 0,
|
|
187
|
+
buttonText: "löschen",
|
|
188
|
+
onClick: t[2] || (t[2] = (a) => U()),
|
|
189
|
+
class: "dpiV3_deleteButton",
|
|
190
|
+
tabindex: "0"
|
|
191
|
+
}))
|
|
192
|
+
]),
|
|
193
|
+
d("div", {
|
|
194
|
+
class: x(["dpiV3_Input_box", {
|
|
195
|
+
dpiV3_disabled: e.isDisabled,
|
|
196
|
+
"calendar-focused": n(k),
|
|
197
|
+
"error-state": e.showError && !n(y) && !n(g),
|
|
198
|
+
"focused-error-state": e.showError && n(y),
|
|
199
|
+
"filled-error-state": e.showError && n(g)
|
|
200
|
+
}]),
|
|
201
|
+
style: S({ "box-shadow": n(s) }),
|
|
202
|
+
onMouseenter: P,
|
|
203
|
+
onMouseleave: z,
|
|
204
|
+
onMousedown: R
|
|
205
|
+
}, [
|
|
206
|
+
d("div", ue, [
|
|
207
|
+
e.preIcon ? (o(), v(n(X), {
|
|
208
|
+
key: 0,
|
|
209
|
+
class: "dpiV3_iconLeft",
|
|
210
|
+
size: 24,
|
|
211
|
+
color: "var(--neutral-60, #3D4952)"
|
|
212
|
+
})) : i("", !0),
|
|
213
|
+
e.dropdown_dpiV3 ? i("", !0) : M((o(), u("input", {
|
|
214
|
+
key: 1,
|
|
215
|
+
ref_key: "inputRef",
|
|
216
|
+
ref: f,
|
|
217
|
+
"onUpdate:modelValue": t[3] || (t[3] = (a) => V.value = a),
|
|
218
|
+
type: e.inputType,
|
|
219
|
+
class: x(["dpiV3_Text", {
|
|
220
|
+
"error-state": e.showError,
|
|
221
|
+
dpiV3_input_disabled: e.isDisabled
|
|
222
|
+
}]),
|
|
223
|
+
disabled: e.isDisabled,
|
|
224
|
+
placeholder: e.placeholder,
|
|
225
|
+
onFocus: E,
|
|
226
|
+
onBlur: B,
|
|
227
|
+
onMousedown: I
|
|
228
|
+
}, null, 42, re)), [
|
|
229
|
+
[F, V.value]
|
|
230
|
+
]),
|
|
231
|
+
e.dropdown_dpiV3 ? M((o(), u("input", {
|
|
232
|
+
key: 2,
|
|
233
|
+
ref_key: "inputRef",
|
|
234
|
+
ref: f,
|
|
235
|
+
"onUpdate:modelValue": t[4] || (t[4] = (a) => V.value = a),
|
|
236
|
+
type: e.inputType,
|
|
237
|
+
class: x(["dpiV3_Text", {
|
|
238
|
+
"error-state": e.showError,
|
|
239
|
+
dpiV3_input_disabled: e.isDisabled,
|
|
240
|
+
"no-cursor": e.dropdown_dpiV3 && !e.autocomplete
|
|
241
|
+
}]),
|
|
242
|
+
disabled: e.isDisabled,
|
|
243
|
+
placeholder: e.placeholder,
|
|
244
|
+
onFocus: E,
|
|
245
|
+
onBlur: B,
|
|
246
|
+
onMousedown: I
|
|
247
|
+
}, null, 42, ve)), [
|
|
248
|
+
[F, V.value]
|
|
249
|
+
]) : i("", !0),
|
|
250
|
+
e.showEndIcon && !e.showError && !e.dropdown_dpiV3 ? (o(), v(n(O), {
|
|
251
|
+
key: 3,
|
|
252
|
+
class: "dpiV3_iconRight",
|
|
253
|
+
size: 24,
|
|
254
|
+
color: "var(--neutral-60, #3D4952)"
|
|
255
|
+
})) : i("", !0),
|
|
256
|
+
e.showError ? (o(), v(n(H), {
|
|
257
|
+
key: 4,
|
|
258
|
+
class: "dpiV3_iconRight",
|
|
259
|
+
size: 24,
|
|
260
|
+
color: "var(--fill-error, #E53B46)"
|
|
261
|
+
})) : i("", !0),
|
|
262
|
+
e.showEndIcon && e.dropdown_dpiV3 && !e.dropDownExpanded ? (o(), v(n(Y), {
|
|
263
|
+
key: 5,
|
|
264
|
+
class: "dpiV3_iconRight",
|
|
265
|
+
color: "var(--neutral-60, #3D4952)",
|
|
266
|
+
size: 24
|
|
267
|
+
})) : i("", !0),
|
|
268
|
+
e.showEndIcon && e.dropdown_dpiV3 && e.dropDownExpanded ? (o(), v(n(Z), {
|
|
269
|
+
key: 6,
|
|
270
|
+
class: "dpiV3_iconRight",
|
|
271
|
+
color: "var(--neutral-60, #3D4952)",
|
|
272
|
+
size: 24
|
|
273
|
+
})) : i("", !0)
|
|
274
|
+
]),
|
|
275
|
+
p.datePicker ? (o(), u("div", ce, [
|
|
276
|
+
W(n(_), {
|
|
277
|
+
class: "dpiV3_calendarIcon",
|
|
278
|
+
size: 24,
|
|
279
|
+
color: n(L)
|
|
280
|
+
}, null, 8, ["color"]),
|
|
281
|
+
d("div", {
|
|
282
|
+
onClick: j,
|
|
283
|
+
class: x(["dpiV3_Rectangle1", { dpiV3_Pressed: n(l) }]),
|
|
284
|
+
onFocus: T(A, ["stop"]),
|
|
285
|
+
onMousedown: t[5] || (t[5] = (a) => r(l) ? l.value = !0 : l = !0),
|
|
286
|
+
onMouseup: t[6] || (t[6] = (a) => r(l) ? l.value = !1 : l = !1),
|
|
287
|
+
onMouseleave: t[7] || (t[7] = (a) => r(l) ? l.value = !1 : l = !1),
|
|
288
|
+
onKeydown: [
|
|
289
|
+
t[8] || (t[8] = w(T((a) => r(l) ? l.value = !0 : l = !0, ["prevent"]), ["space"])),
|
|
290
|
+
t[10] || (t[10] = w(T((a) => r(l) ? l.value = !0 : l = !0, ["prevent"]), ["enter"]))
|
|
291
|
+
],
|
|
292
|
+
onKeyup: [
|
|
293
|
+
t[9] || (t[9] = w((a) => r(l) ? l.value = !1 : l = !1, ["space"])),
|
|
294
|
+
t[11] || (t[11] = w((a) => r(l) ? l.value = !1 : l = !1, ["enter"]))
|
|
295
|
+
]
|
|
296
|
+
}, null, 34)
|
|
297
|
+
])) : i("", !0),
|
|
298
|
+
p.timePicker ? (o(), u("div", fe, [
|
|
299
|
+
W(n(ee), {
|
|
300
|
+
class: "dpiV3_calendarIcon",
|
|
301
|
+
size: 24,
|
|
302
|
+
color: n(L)
|
|
303
|
+
}, null, 8, ["color"]),
|
|
304
|
+
d("div", {
|
|
305
|
+
onClick: J,
|
|
306
|
+
class: x(["dpiV3_Rectangle1", { dpiV3_Pressed: n(l) }]),
|
|
307
|
+
onFocus: T(A, ["stop"]),
|
|
308
|
+
onMousedown: t[12] || (t[12] = (a) => r(l) ? l.value = !0 : l = !0),
|
|
309
|
+
onMouseup: t[13] || (t[13] = (a) => r(l) ? l.value = !1 : l = !1),
|
|
310
|
+
onMouseleave: t[14] || (t[14] = (a) => r(l) ? l.value = !1 : l = !1),
|
|
311
|
+
onKeydown: [
|
|
312
|
+
t[15] || (t[15] = w(T((a) => r(l) ? l.value = !0 : l = !0, ["prevent"]), ["space"])),
|
|
313
|
+
t[17] || (t[17] = w(T((a) => r(l) ? l.value = !0 : l = !0, ["prevent"]), ["enter"]))
|
|
314
|
+
],
|
|
315
|
+
onKeyup: [
|
|
316
|
+
t[16] || (t[16] = w((a) => r(l) ? l.value = !1 : l = !1, ["space"])),
|
|
317
|
+
t[18] || (t[18] = w((a) => r(l) ? l.value = !1 : l = !1, ["enter"]))
|
|
318
|
+
]
|
|
319
|
+
}, null, 34)
|
|
320
|
+
])) : i("", !0)
|
|
321
|
+
], 38),
|
|
322
|
+
!e.showError && e.initialHintText ? (o(), u("div", pe, [
|
|
323
|
+
d("span", null, h(e.supportingHintMessage), 1)
|
|
324
|
+
])) : i("", !0),
|
|
325
|
+
e.showError && e.initialHintText ? (o(), u("div", xe, [
|
|
326
|
+
d("span", null, h(e.error_message), 1)
|
|
327
|
+
])) : i("", !0)
|
|
328
|
+
])),
|
|
329
|
+
e.addOnText ? (o(), u("div", ye, [
|
|
330
|
+
d("div", Ve, [
|
|
331
|
+
d("div", be, [
|
|
332
|
+
d("label", he, h(e.label), 1),
|
|
333
|
+
e.infoIcon ? (o(), v(n(q), {
|
|
334
|
+
key: 0,
|
|
335
|
+
weight: "fill",
|
|
336
|
+
class: "dpiV3_labelIcon",
|
|
337
|
+
size: 16,
|
|
338
|
+
color: "var(--neutral-60, #3D4952)"
|
|
339
|
+
})) : i("", !0)
|
|
340
|
+
]),
|
|
341
|
+
e.defaultInput ? i("", !0) : (o(), v(G, {
|
|
342
|
+
key: 0,
|
|
343
|
+
buttonText: "löschen",
|
|
344
|
+
onClick: t[19] || (t[19] = (a) => U()),
|
|
345
|
+
class: "dpiV3_deleteButton",
|
|
346
|
+
tabindex: "0"
|
|
347
|
+
}))
|
|
348
|
+
]),
|
|
349
|
+
d("div", we, [
|
|
350
|
+
e.trailingText ? i("", !0) : (o(), u("div", {
|
|
351
|
+
key: 0,
|
|
352
|
+
class: x(["dpiV3_Add-on", {
|
|
353
|
+
dpiV3_input_disabled: e.isDisabled
|
|
354
|
+
}])
|
|
355
|
+
}, [
|
|
356
|
+
d("div", ge, h(e.addOnLeadingText), 1)
|
|
357
|
+
], 2)),
|
|
358
|
+
e.trailingText ? i("", !0) : (o(), u("div", {
|
|
359
|
+
key: 1,
|
|
360
|
+
class: x(["dpiV3_Text_input", {
|
|
361
|
+
dpiV3_input_disabled: e.isDisabled,
|
|
362
|
+
"calendar-focused": n(k),
|
|
363
|
+
"error-state": e.showError && !n(y) && !n(g),
|
|
364
|
+
"focused-error-state": e.showError && n(y),
|
|
365
|
+
"filled-error-state": e.showError && n(g)
|
|
366
|
+
}]),
|
|
367
|
+
style: S({
|
|
368
|
+
"box-shadow": n(s),
|
|
369
|
+
border: n(b)
|
|
370
|
+
}),
|
|
371
|
+
onMouseenter: P,
|
|
372
|
+
onMouseleave: z,
|
|
373
|
+
onMousedown: R
|
|
374
|
+
}, [
|
|
375
|
+
d("div", Te, [
|
|
376
|
+
M(d("input", {
|
|
377
|
+
ref_key: "inputRef",
|
|
378
|
+
ref: f,
|
|
379
|
+
"onUpdate:modelValue": t[20] || (t[20] = (a) => V.value = a),
|
|
380
|
+
type: e.inputType,
|
|
381
|
+
class: x(["dpiV3_Text", {
|
|
382
|
+
"error-state": e.showError,
|
|
383
|
+
dpiV3_input_disabled: e.isDisabled
|
|
384
|
+
}]),
|
|
385
|
+
disabled: e.isDisabled,
|
|
386
|
+
placeholder: e.placeholder,
|
|
387
|
+
onFocus: E,
|
|
388
|
+
onBlur: B,
|
|
389
|
+
onMousedown: I
|
|
390
|
+
}, null, 42, ke), [
|
|
391
|
+
[F, V.value]
|
|
392
|
+
])
|
|
393
|
+
]),
|
|
394
|
+
e.showError ? (o(), v(n(H), {
|
|
395
|
+
key: 0,
|
|
396
|
+
class: "dpiV3_iconRight",
|
|
397
|
+
size: 24,
|
|
398
|
+
color: "var(--fill-error, #E53B46)"
|
|
399
|
+
})) : i("", !0),
|
|
400
|
+
e.showEndIcon && !e.showError ? (o(), v(n(O), {
|
|
401
|
+
key: 1,
|
|
402
|
+
class: "dpiV3_iconRight",
|
|
403
|
+
size: 24,
|
|
404
|
+
color: "var(--neutral-60, #3D4952)"
|
|
405
|
+
})) : i("", !0)
|
|
406
|
+
], 38)),
|
|
407
|
+
e.trailingText ? (o(), u("div", {
|
|
408
|
+
key: 2,
|
|
409
|
+
class: x(["dpiV3_Text_input-trailing", {
|
|
410
|
+
dpiV3_input_disabled: e.isDisabled,
|
|
411
|
+
"calendar-focused": n(k),
|
|
412
|
+
"error-state": e.showError && !n(y) && !n(g),
|
|
413
|
+
"focused-error-state": e.showError && n(y),
|
|
414
|
+
"filled-error-state": e.showError && n(g)
|
|
415
|
+
}]),
|
|
416
|
+
style: S({
|
|
417
|
+
"box-shadow": n(s),
|
|
418
|
+
border: n(b)
|
|
419
|
+
}),
|
|
420
|
+
onMouseenter: P,
|
|
421
|
+
onMouseleave: z,
|
|
422
|
+
onMousedown: R
|
|
423
|
+
}, [
|
|
424
|
+
d("div", me, [
|
|
425
|
+
M(d("input", {
|
|
426
|
+
ref_key: "inputRef",
|
|
427
|
+
ref: f,
|
|
428
|
+
"onUpdate:modelValue": t[21] || (t[21] = (a) => V.value = a),
|
|
429
|
+
type: e.inputType,
|
|
430
|
+
class: x(["dpiV3_Text", {
|
|
431
|
+
"error-state": e.showError,
|
|
432
|
+
dpiV3_input_disabled: e.isDisabled
|
|
433
|
+
}]),
|
|
434
|
+
disabled: e.isDisabled,
|
|
435
|
+
placeholder: e.placeholder,
|
|
436
|
+
onFocus: E,
|
|
437
|
+
onBlur: B,
|
|
438
|
+
onMousedown: I
|
|
439
|
+
}, null, 42, Ee), [
|
|
440
|
+
[F, V.value]
|
|
441
|
+
])
|
|
442
|
+
]),
|
|
443
|
+
e.showError ? (o(), v(n(H), {
|
|
444
|
+
key: 0,
|
|
445
|
+
class: "dpiV3_iconRight",
|
|
446
|
+
size: 24,
|
|
447
|
+
color: "var(--fill-error, #E53B46)"
|
|
448
|
+
})) : i("", !0),
|
|
449
|
+
e.showEndIcon && !e.showError ? (o(), v(n(O), {
|
|
450
|
+
key: 1,
|
|
451
|
+
class: "dpiV3_iconRight",
|
|
452
|
+
size: 24,
|
|
453
|
+
color: "var(--neutral-60, #3D4952)"
|
|
454
|
+
})) : i("", !0)
|
|
455
|
+
], 38)) : i("", !0),
|
|
456
|
+
e.trailingText ? (o(), u("div", {
|
|
457
|
+
key: 3,
|
|
458
|
+
class: x(["dpiV3_Add-on-trailing", {
|
|
459
|
+
dpiV3_input_disabled: e.isDisabled
|
|
460
|
+
}])
|
|
461
|
+
}, [
|
|
462
|
+
d("div", Be, h(e.trailing_text), 1)
|
|
463
|
+
], 2)) : i("", !0)
|
|
464
|
+
]),
|
|
465
|
+
!e.showError && e.initialHintText ? (o(), u("div", Ie, t[22] || (t[22] = [
|
|
466
|
+
d("span", null, "This is a supporting message.", -1)
|
|
467
|
+
]))) : i("", !0),
|
|
468
|
+
e.showError && e.initialHintText ? (o(), u("div", De, [
|
|
469
|
+
d("span", null, h(e.error_message), 1)
|
|
470
|
+
])) : i("", !0)
|
|
471
|
+
])) : i("", !0)
|
|
472
|
+
]));
|
|
473
|
+
}
|
|
474
|
+
}, Oe = /* @__PURE__ */ te(Me, [["__scopeId", "data-v-31b5c8b4"]]);
|
|
475
|
+
export {
|
|
476
|
+
Oe as default
|
|
477
|
+
};
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
import { ref as s, watch as w, createElementBlock as p, openBlock as r, createElementVNode as u, createBlock as k, createCommentVNode as v, createVNode as B, toDisplayString as x, unref as e, normalizeClass as y, withDirectives as V, isRef as f, vModelText as D } from "vue";
|
|
2
|
+
import { onClickOutside as O } from "@vueuse/core";
|
|
3
|
+
import W from "../img/iconRight.svg.js";
|
|
4
|
+
import $ from "./TextButtonSmall.vue.js";
|
|
5
|
+
import { PhInfo as j, PhMagnifyingGlass as q, PhCaretDown as M, PhQuestion as N, PhCalendar as S } from "@phosphor-icons/vue";
|
|
6
|
+
/* empty css */
|
|
7
|
+
import A from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
8
|
+
const E = { for: "input-container" }, G = { class: "stretch" }, R = { class: "labelWrap" }, U = { class: "lebel" }, Z = { class: "inputFieldWrapper" }, H = { class: "preWrap" }, Q = {
|
|
9
|
+
key: 1,
|
|
10
|
+
class: "ddWrap"
|
|
11
|
+
}, J = {
|
|
12
|
+
key: 0,
|
|
13
|
+
class: "neutral80"
|
|
14
|
+
}, K = { class: "d-flex w-100" }, L = ["disabled", "placeholder"], X = ["placeholder"], Y = { key: 0 }, _ = { key: 1 }, ee = {
|
|
15
|
+
__name: "InputV3",
|
|
16
|
+
props: {
|
|
17
|
+
text: {
|
|
18
|
+
type: Object,
|
|
19
|
+
required: !0
|
|
20
|
+
},
|
|
21
|
+
isDisabled: {
|
|
22
|
+
type: Boolean
|
|
23
|
+
},
|
|
24
|
+
data: {
|
|
25
|
+
type: Object,
|
|
26
|
+
required: !0
|
|
27
|
+
},
|
|
28
|
+
validation: {
|
|
29
|
+
type: Object,
|
|
30
|
+
required: !0
|
|
31
|
+
},
|
|
32
|
+
inputType: {
|
|
33
|
+
type: Object
|
|
34
|
+
},
|
|
35
|
+
datePicker: {
|
|
36
|
+
type: Boolean
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
setup(t) {
|
|
40
|
+
const m = t;
|
|
41
|
+
let i = s(), a = s(), b = s(), o = s(!0);
|
|
42
|
+
s(W);
|
|
43
|
+
let z = s(!0), h = s("var(--neutral-60)"), T = s("var(--neutral-60)"), g = s(m.datePicker), c = s(!1);
|
|
44
|
+
w(o, (d, l) => {
|
|
45
|
+
d ? T.value = "var(--neutral-60)" : T.value = "var(--fill-error)";
|
|
46
|
+
});
|
|
47
|
+
const I = (d, l) => {
|
|
48
|
+
}, F = () => {
|
|
49
|
+
a.value = "", i.value = !0, o.value = !0;
|
|
50
|
+
}, C = () => {
|
|
51
|
+
i.value = !0;
|
|
52
|
+
}, P = () => {
|
|
53
|
+
let d;
|
|
54
|
+
a.value === "" ? o.value = !0 : m.validation.type === "number" ? a != "" && (d = /^[0-9+\-.,]+$/, o.value = d.test(a.value)) : m.validation.type === "url" && a != "" && (d = /\b(?!http:\/\/|https:\/\/)([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}(\/[^\s]*)?\b/, a.value.endsWith(" ") ? o.value = !1 : o.value = d.test(a.value));
|
|
55
|
+
};
|
|
56
|
+
return O(b, (d) => {
|
|
57
|
+
i.value = !1;
|
|
58
|
+
}), (d, l) => (r(), p("label", E, [
|
|
59
|
+
u("div", G, [
|
|
60
|
+
u("div", R, [
|
|
61
|
+
u("div", U, [
|
|
62
|
+
u("span", null, x(t.text.property), 1),
|
|
63
|
+
B(e(j), {
|
|
64
|
+
size: 16,
|
|
65
|
+
color: e(h),
|
|
66
|
+
weight: "fill"
|
|
67
|
+
}, null, 8, ["color"])
|
|
68
|
+
]),
|
|
69
|
+
!t.isDisabled && e(z) ? (r(), k($, {
|
|
70
|
+
key: 0,
|
|
71
|
+
buttonText: "löschen",
|
|
72
|
+
onClick: l[0] || (l[0] = (n) => F()),
|
|
73
|
+
class: "eraseButton"
|
|
74
|
+
})) : v("", !0)
|
|
75
|
+
]),
|
|
76
|
+
u("div", Z, [
|
|
77
|
+
u("div", {
|
|
78
|
+
class: y({
|
|
79
|
+
pPrefix: t.inputType.prefixType === "set",
|
|
80
|
+
ePrefix: t.inputType.prefixType === "edit",
|
|
81
|
+
dPrefix: t.inputType.prefixType === "drop"
|
|
82
|
+
})
|
|
83
|
+
}, [
|
|
84
|
+
t.inputType.prefixType === "set" ? (r(), p("div", {
|
|
85
|
+
key: 0,
|
|
86
|
+
class: y(["protocolPrefix", { disabled: t.isDisabled }])
|
|
87
|
+
}, x(t.inputType.prefix), 3)) : v("", !0),
|
|
88
|
+
t.inputType.iType !== void 0 && t.inputType.iType !== "textarea" ? (r(), p("div", {
|
|
89
|
+
key: 1,
|
|
90
|
+
class: y(["input-container", {
|
|
91
|
+
activeInputV3: e(i),
|
|
92
|
+
disabled: t.isDisabled,
|
|
93
|
+
invalidInput: !e(o),
|
|
94
|
+
invalidFocus: !e(o) && e(i),
|
|
95
|
+
urlInput: t.inputType.prefixType === "set"
|
|
96
|
+
}])
|
|
97
|
+
}, [
|
|
98
|
+
u("div", H, [
|
|
99
|
+
t.validation.type != "url" ? (r(), k(e(q), {
|
|
100
|
+
key: 0,
|
|
101
|
+
size: 24,
|
|
102
|
+
color: e(h),
|
|
103
|
+
alt: "Prefix"
|
|
104
|
+
}, null, 8, ["color"])) : v("", !0),
|
|
105
|
+
t.inputType.prefixType === "edit" || t.inputType.prefixType === "drop" ? (r(), p("div", Q, [
|
|
106
|
+
t.inputType.prefixType === "edit" || t.inputType.prefixType === "drop" ? (r(), p("span", J, x(t.inputType.prefix), 1)) : v("", !0),
|
|
107
|
+
t.inputType.prefixType === "drop" ? (r(), k(e(M), {
|
|
108
|
+
key: 1,
|
|
109
|
+
size: 20,
|
|
110
|
+
class: "pointer"
|
|
111
|
+
})) : v("", !0)
|
|
112
|
+
])) : v("", !0)
|
|
113
|
+
]),
|
|
114
|
+
u("div", K, [
|
|
115
|
+
V(u("input", {
|
|
116
|
+
disabled: t.isDisabled,
|
|
117
|
+
ref_key: "inputField",
|
|
118
|
+
ref: b,
|
|
119
|
+
onClick: C,
|
|
120
|
+
onInput: P,
|
|
121
|
+
type: "text",
|
|
122
|
+
"onUpdate:modelValue": l[1] || (l[1] = (n) => f(a) ? a.value = n : a = n),
|
|
123
|
+
placeholder: t.text.placeholder,
|
|
124
|
+
onFocus: l[2] || (l[2] = (n) => f(i) ? i.value = !0 : i = !0),
|
|
125
|
+
onBlur: l[3] || (l[3] = (n) => f(i) ? i.value = !1 : i = !1)
|
|
126
|
+
}, null, 40, L), [
|
|
127
|
+
[D, e(a)]
|
|
128
|
+
]),
|
|
129
|
+
e(g) ? v("", !0) : (r(), k(e(N), {
|
|
130
|
+
key: 0,
|
|
131
|
+
size: 24,
|
|
132
|
+
color: e(T),
|
|
133
|
+
alt: "Suffix"
|
|
134
|
+
}, null, 8, ["color"])),
|
|
135
|
+
e(g) ? (r(), p("button", {
|
|
136
|
+
key: 1,
|
|
137
|
+
class: y(["calendarInput", { activeCalendar: e(c) }]),
|
|
138
|
+
onClick: l[6] || (l[6] = (n) => f(c) ? c.value = !e(c) : c = !e(c))
|
|
139
|
+
}, [
|
|
140
|
+
B(e(S), {
|
|
141
|
+
size: 24,
|
|
142
|
+
color: e(T),
|
|
143
|
+
onMouseover: l[4] || (l[4] = (n) => I("enter", n.target)),
|
|
144
|
+
onMouseleave: l[5] || (l[5] = (n) => I("leave", n.target))
|
|
145
|
+
}, null, 8, ["color"])
|
|
146
|
+
], 2)) : v("", !0)
|
|
147
|
+
])
|
|
148
|
+
], 2)) : (r(), p("div", {
|
|
149
|
+
key: 2,
|
|
150
|
+
class: y(["input-container inputTextarea", {
|
|
151
|
+
activeInputV3: e(i),
|
|
152
|
+
invalidInput: !e(o),
|
|
153
|
+
invalidFocus: !e(o) && e(i)
|
|
154
|
+
}])
|
|
155
|
+
}, [
|
|
156
|
+
V(u("textarea", {
|
|
157
|
+
"onUpdate:modelValue": l[7] || (l[7] = (n) => f(a) ? a.value = n : a = n),
|
|
158
|
+
ref_key: "inputField",
|
|
159
|
+
ref: b,
|
|
160
|
+
onFocus: l[8] || (l[8] = (n) => f(i) ? i.value = !0 : i = !0),
|
|
161
|
+
onBlur: l[9] || (l[9] = (n) => f(i) ? i.value = !1 : i = !1),
|
|
162
|
+
onInput: P,
|
|
163
|
+
onClick: C,
|
|
164
|
+
placeholder: t.text.placeholder
|
|
165
|
+
}, null, 40, X), [
|
|
166
|
+
[D, e(a)]
|
|
167
|
+
])
|
|
168
|
+
], 2))
|
|
169
|
+
], 2)
|
|
170
|
+
])
|
|
171
|
+
]),
|
|
172
|
+
u("span", {
|
|
173
|
+
class: y(["supportText", { invalid: !e(o) }])
|
|
174
|
+
}, [
|
|
175
|
+
e(o) ? (r(), p("span", Y, x(t.text.support), 1)) : (r(), p("span", _, x(t.validation.message), 1))
|
|
176
|
+
], 2)
|
|
177
|
+
]));
|
|
178
|
+
}
|
|
179
|
+
}, ue = /* @__PURE__ */ A(ee, [["__scopeId", "data-v-88d96efa"]]);
|
|
180
|
+
export {
|
|
181
|
+
ue as default
|
|
182
|
+
};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { createElementBlock as e, openBlock as i, createElementVNode as o } from "vue";
|
|
2
|
+
import s from "../img/bydata_logo_blue_small.svg.js";
|
|
3
|
+
import r from "../img/FurV3.svg.js";
|
|
4
|
+
import p from "../img/DatenbereitstellerV3.svg.js";
|
|
5
|
+
/* empty css */
|
|
6
|
+
import m from "../../../_virtual/_plugin-vue_export-helper.js";
|
|
7
|
+
const n = {
|
|
8
|
+
name: "LogoComponent"
|
|
9
|
+
}, _ = { class: "dpiV3_logo-container" };
|
|
10
|
+
function c(d, t, l, a, g, f) {
|
|
11
|
+
return i(), e("div", _, t[0] || (t[0] = [
|
|
12
|
+
o("div", { class: "dpiV3_logo" }, [
|
|
13
|
+
o("img", {
|
|
14
|
+
src: s,
|
|
15
|
+
alt: "Logo",
|
|
16
|
+
class: "dpiV3_logo-image"
|
|
17
|
+
})
|
|
18
|
+
], -1),
|
|
19
|
+
o("div", { class: "dpiV3_text" }, [
|
|
20
|
+
o("img", {
|
|
21
|
+
class: "dpiV3_fur-svg",
|
|
22
|
+
src: r,
|
|
23
|
+
width: "25px",
|
|
24
|
+
height: "14px",
|
|
25
|
+
fill: "none"
|
|
26
|
+
}),
|
|
27
|
+
o("img", {
|
|
28
|
+
class: "dpiV3_datenbereitsteller-svg",
|
|
29
|
+
src: p,
|
|
30
|
+
width: "156",
|
|
31
|
+
height: "14",
|
|
32
|
+
fill: "none"
|
|
33
|
+
})
|
|
34
|
+
], -1)
|
|
35
|
+
]));
|
|
36
|
+
}
|
|
37
|
+
const L = /* @__PURE__ */ m(n, [["render", c], ["__scopeId", "data-v-bd921ee4"]]);
|
|
38
|
+
export {
|
|
39
|
+
L as default
|
|
40
|
+
};
|