@opentrainticketing/netex-deckplan-editor 1.0.0 → 1.0.2

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.
Files changed (39) hide show
  1. package/dist/app/App.vue.d.ts +4 -0
  2. package/dist/app/main.d.ts +1 -0
  3. package/dist/components/DeckVisualization.vue.d.ts +46 -0
  4. package/dist/components/DeckplanEditor.vue.d.ts +8 -0
  5. package/dist/components/ElementCatalog.vue.d.ts +9 -0
  6. package/dist/components/ObjectProperties.vue.d.ts +19 -0
  7. package/dist/components/WagonVisualization.vue.d.ts +25 -0
  8. package/dist/components/XmlViewer.vue.d.ts +23 -0
  9. package/dist/components/index.d.ts +3 -0
  10. package/dist/helpers/parser.d.ts +2 -0
  11. package/dist/index.d.ts +8 -0
  12. package/dist/netex-deckplan-editor-vue.es.js +2575 -0
  13. package/dist/netex-deckplan-editor.css +1 -1
  14. package/dist/netex-deckplan-editor.es.js +3547 -3516
  15. package/dist/netex-deckplan-editor.umd.js +15 -15
  16. package/dist/types/netex/actualVehicleEquipment.d.ts +28 -0
  17. package/dist/types/netex/centroid.d.ts +11 -0
  18. package/dist/types/netex/deck.d.ts +82 -0
  19. package/dist/types/netex/deckEntranceCouple.d.ts +25 -0
  20. package/dist/types/netex/deckEntranceUsage.d.ts +31 -0
  21. package/dist/types/netex/deckLevel.d.ts +27 -0
  22. package/dist/types/netex/deckPlan.d.ts +32 -0
  23. package/dist/types/netex/deckSpaceCapacity.d.ts +18 -0
  24. package/dist/types/netex/equipment.d.ts +12 -0
  25. package/dist/types/netex/general.d.ts +30 -0
  26. package/dist/types/netex/luggageSpot.d.ts +50 -0
  27. package/dist/types/netex/otherDeckSpace.d.ts +33 -0
  28. package/dist/types/netex/passengerEntrance.d.ts +114 -0
  29. package/dist/types/netex/passengerSpace.d.ts +109 -0
  30. package/dist/types/netex/passengerSpot.d.ts +107 -0
  31. package/dist/types/netex/polygon.d.ts +5 -0
  32. package/dist/types/netex/serviceFacilitySet.d.ts +12 -0
  33. package/dist/types/netex/spotColumn.d.ts +24 -0
  34. package/dist/types/netex/spotRow.d.ts +24 -0
  35. package/dist/types/netex/stopAffinity.d.ts +1 -0
  36. package/dist/types/netex/validityCondition.d.ts +27 -0
  37. package/dist/types/view/seats.d.ts +8 -0
  38. package/dist/webcomponent/webcomponent.d.ts +22 -0
  39. package/package.json +1 -1
@@ -1 +1 @@
1
- @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-font-weight:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-yellow-200:oklch(94.5% .129 101.54);--color-gray-100:oklch(96.7% .003 264.542);--color-white:#fff;--spacing:.25rem;--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--font-weight-medium:500;--font-weight-bold:700;--radius-lg:.5rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-ott-accent:#68a691;--color-ott-text-primary:#2f2f2f;--color-ott-text-secondary:#a1a1a1;--color-ott-text-white:#fff;--color-ott-bg-primary:#fff;--color-ott-bg-secondary:#f3f3f3;--color-ott-bg-dark:#d3d3d3;--color-ott-error:#cd3c3c}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.static{position:static}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-10{margin-bottom:calc(var(--spacing)*10)}.block{display:block}.flex{display:flex}.h-75{height:calc(var(--spacing)*75)}.h-full{height:100%}.w-1\/3{width:33.3333%}.w-50{width:calc(var(--spacing)*50)}.w-fit{width:fit-content}.w-full{width:100%}.min-w-\[150px\]{min-width:150px}.flex-1{flex:1}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-2{gap:calc(var(--spacing)*2)}.gap-10{gap:calc(var(--spacing)*10)}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-ott-bg-dark{border-color:var(--color-ott-bg-dark)}.border-ott-error\!{border-color:var(--color-ott-error)!important}.border-b-ott-bg-dark{border-bottom-color:var(--color-ott-bg-dark)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-ott-accent{background-color:var(--color-ott-accent)}.bg-ott-bg-primary{background-color:var(--color-ott-bg-primary)}.bg-white{background-color:var(--color-white)}.bg-yellow-200{background-color:var(--color-yellow-200)}.p-4{padding:calc(var(--spacing)*4)}.text-left{text-align:left}.font-mono{font-family:var(--font-mono)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.text-ott-accent{color:var(--color-ott-accent)}.text-ott-error\!{color:var(--color-ott-error)!important}.text-white{color:var(--color-white)}}html,body,#app,#__nuxt{background-color:var(--color-ott-bg-secondary);width:100%;height:100%;color:var(--color-ott-text-primary);font-family:Poppins,sans-serif;font-style:normal;font-weight:400}button{cursor:pointer}h2{margin-block:calc(var(--spacing)*4);font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height));--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}main{width:100%;height:100%;max-height:100vh;display:block;overflow:auto}.ott-button{cursor:pointer;justify-content:center;align-items:center;gap:calc(var(--spacing)*5);border-radius:var(--radius-lg);border-style:var(--tw-border-style);border-width:2px;border-color:var(--color-ott-text-primary);height:fit-content;padding-inline:calc(var(--spacing)*4);padding-block:calc(var(--spacing)*1);--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);color:var(--color-ott-text-primary);display:flex}.ott-button:disabled{cursor:default;border-color:var(--color-ott-bg-dark);color:var(--color-ott-bg-dark)}.ott-button-action{cursor:pointer;align-items:center;gap:calc(var(--spacing)*5);border-radius:var(--radius-lg);border-color:var(--color-ott-accent);background-color:var(--color-ott-accent);width:100%;height:fit-content;padding-inline:calc(var(--spacing)*4);padding-block:calc(var(--spacing)*1);--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);color:var(--color-ott-text-white);display:flex}.ott-button-action:disabled{cursor:default;background-color:var(--color-ott-text-secondary)}input{border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-ott-bg-dark);padding-inline:calc(var(--spacing)*3);padding-block:calc(var(--spacing)*1);border-radius:.25rem}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}
1
+ .object-properties[data-v-7c2c07dd]{padding:20px;border-top:1px solid #ccc;background-color:#f9f9f9}.property-row[data-v-7c2c07dd]{margin-bottom:10px;display:flex;align-items:center}.property-row label[data-v-7c2c07dd]{width:150px;font-weight:700}.property-row input[data-v-7c2c07dd]{flex:1;padding:5px}@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-border-style:solid;--tw-font-weight:initial}}}@layer theme{:root,:host{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-yellow-200:oklch(94.5% .129 101.54);--color-gray-100:oklch(96.7% .003 264.542);--color-white:#fff;--spacing:.25rem;--text-sm:.875rem;--text-sm--line-height:calc(1.25/.875);--text-lg:1.125rem;--text-lg--line-height:calc(1.75/1.125);--font-weight-medium:500;--font-weight-bold:700;--radius-lg:.5rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-ott-accent:#68a691;--color-ott-text-primary:#2f2f2f;--color-ott-text-secondary:#a1a1a1;--color-ott-text-white:#fff;--color-ott-bg-primary:#fff;--color-ott-bg-secondary:#f3f3f3;--color-ott-bg-dark:#d3d3d3;--color-ott-error:#cd3c3c}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.static{position:static}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.mb-10{margin-bottom:calc(var(--spacing)*10)}.block{display:block}.flex{display:flex}.h-75{height:calc(var(--spacing)*75)}.h-full{height:100%}.w-1\/3{width:33.3333%}.w-50{width:calc(var(--spacing)*50)}.w-fit{width:fit-content}.w-full{width:100%}.min-w-\[150px\]{min-width:150px}.flex-1{flex:1}.transform{transform:var(--tw-rotate-x,)var(--tw-rotate-y,)var(--tw-rotate-z,)var(--tw-skew-x,)var(--tw-skew-y,)}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.items-center{align-items:center}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.gap-2{gap:calc(var(--spacing)*2)}.gap-10{gap:calc(var(--spacing)*10)}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-ott-bg-dark{border-color:var(--color-ott-bg-dark)}.border-ott-error\!{border-color:var(--color-ott-error)!important}.border-b-ott-bg-dark{border-bottom-color:var(--color-ott-bg-dark)}.bg-gray-100{background-color:var(--color-gray-100)}.bg-ott-accent{background-color:var(--color-ott-accent)}.bg-ott-bg-primary{background-color:var(--color-ott-bg-primary)}.bg-white{background-color:var(--color-white)}.bg-yellow-200{background-color:var(--color-yellow-200)}.p-4{padding:calc(var(--spacing)*4)}.text-left{text-align:left}.font-mono{font-family:var(--font-mono)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.text-ott-accent{color:var(--color-ott-accent)}.text-ott-error\!{color:var(--color-ott-error)!important}.text-white{color:var(--color-white)}}html,body,#app,#__nuxt,:host{background-color:var(--color-ott-bg-secondary);width:100%;height:100%;color:var(--color-ott-text-primary);font-family:Poppins,sans-serif;font-style:normal;font-weight:400}button{cursor:pointer}h2{margin-block:calc(var(--spacing)*4);font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height));--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}main{width:100%;height:100%;max-height:100vh;display:block;overflow:auto}.ott-button{cursor:pointer;justify-content:center;align-items:center;gap:calc(var(--spacing)*5);border-radius:var(--radius-lg);border-style:var(--tw-border-style);border-width:2px;border-color:var(--color-ott-text-primary);height:fit-content;padding-inline:calc(var(--spacing)*4);padding-block:calc(var(--spacing)*1);--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);color:var(--color-ott-text-primary);display:flex}.ott-button:disabled{cursor:default;border-color:var(--color-ott-bg-dark);color:var(--color-ott-bg-dark)}.ott-button-action{cursor:pointer;align-items:center;gap:calc(var(--spacing)*5);border-radius:var(--radius-lg);border-color:var(--color-ott-accent);background-color:var(--color-ott-accent);width:100%;height:fit-content;padding-inline:calc(var(--spacing)*4);padding-block:calc(var(--spacing)*1);--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium);color:var(--color-ott-text-white);display:flex}.ott-button-action:disabled{cursor:default;background-color:var(--color-ott-text-secondary)}input{border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-ott-bg-dark);padding-inline:calc(var(--spacing)*3);padding-block:calc(var(--spacing)*1);border-radius:.25rem}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-font-weight{syntax:"*";inherits:false}