gruene-seele/dev/dhl-for-woocommerce/build/index.js
Kevin Adametz 0f641ef33a Housekeeping: offene Dev-Dateien eingecheckt + Sidebar „Bestellungen"→„Versand"
- Sidebar-Menü „Bestellungen" in „Versand" umbenannt (layout-sidenav), sonst nur
  Blade-Formatierung.
- Entwicklungspläne in ISO-Datumsformat umbenannt (entwicklungsplan-aktualisiert-*).
- dev/dhl-for-woocommerce/ (DHL-Plugin) + dev/partnercenter-api.zip + PastedGraphic
  hinzugefügt.
- .claude/ bewusst NICHT eingecheckt (lokale Claude-Code-Konfiguration).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-08-28 12:04:41 +00:00

1 line
No EOL
8.3 KiB
JavaScript

(()=>{"use strict";var e,r={20:(e,r,o)=>{var t=o(609),l=Symbol.for("react.element"),i=(Symbol.for("react.fragment"),Object.prototype.hasOwnProperty),a=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s={key:!0,ref:!0,__self:!0,__source:!0};function n(e,r,o){var t,n={},c=null,d=null;for(t in void 0!==o&&(c=""+o),void 0!==r.key&&(c=""+r.key),void 0!==r.ref&&(d=r.ref),r)i.call(r,t)&&!s.hasOwnProperty(t)&&(n[t]=r[t]);if(e&&e.defaultProps)for(t in r=e.defaultProps)void 0===n[t]&&(n[t]=r[t]);return{$$typeof:l,type:e,key:c,ref:d,props:n,_owner:a.current}}r.jsx=n,r.jsxs=n},249:(e,r,o)=>{const t=window.wp.plugins;o(876),o(998),o(540),(0,t.registerPlugin)("pr-dhl",{render:()=>{},scope:"woocommerce-checkout"})},407:(e,r,o)=>{o.d(r,{A:()=>l});const t=window.wp.element,l=(0,t.forwardRef)(function({icon:e,size:r=24,...o},l){return(0,t.cloneElement)(e,{width:r,height:r,...o,ref:l})})},427:e=>{e.exports=window.wp.components},540:(e,r,o)=>{var t=o(997),l=o(407),i=o(885);o(723),o(715),o(427),o(703);const a=JSON.parse('{"apiVersion":3,"name":"pr-dhl/dhl-closest-drop-point","version":"1.0.0","title":"DHL Order Block","category":"woocommerce","description":"Adds DHL block to checkout.","supports":{"html":false,"align":true,"multiple":false,"reusable":false},"parent":["woocommerce/checkout-order-summary-block"],"attributes":{"lock":{"type":"object","default":{"remove":true,"move":true}},"mainTitle":{"type":"string","default":"Closest drop-off point."},"infoText":{"type":"string","default":"Preferred delivery to a parcel shop/parcel locker close to the specified home address."},"homeDeliveryLabel":{"type":"string","default":"Home delivery"},"closestDropPointLabel":{"type":"string","default":"Closest Drop Point"}},"textdomain":"dhl-for-woocommerce","editorStyle":"file:../../../build/style-dhl-closest-drop-point.css"}');var s=o(848);(0,t.registerBlockType)(a,{icon:{src:(0,s.jsx)(l.A,{icon:i.A})},edit:({attributes:e,setAttributes:r})=>null,save:({attributes:e})=>null})},609:e=>{e.exports=window.React},703:e=>{e.exports=window.wc.wcSettings},715:e=>{e.exports=window.wp.blockEditor},723:e=>{e.exports=window.wp.i18n},848:(e,r,o)=>{e.exports=o(20)},876:(e,r,o)=>{var t=o(997),l=o(407),i=o(885),a=o(723),s=o(715),n=o(427),c=o(703),d=o(848);const{defaultLabelText:p}=(0,c.getSetting)("pr-dhl_data",""),f=JSON.parse('{"apiVersion":3,"name":"pr-dhl/dhl-preferred-services","version":"1.0.0","title":"DHL Order Block","category":"woocommerce","description":"Adds DHL block to checkout.","supports":{"html":false,"align":true,"multiple":false,"reusable":false},"parent":["woocommerce/checkout-order-summary-block"],"attributes":{"lock":{"type":"object","default":{"remove":true,"move":true}},"preferredDay":{"type":"string","default":""},"preferredLocationNeighbor":{"type":"string","default":""},"preferredLocation":{"type":"string","default":""},"preferredNeighborName":{"type":"string","default":""},"preferredNeighborAddress":{"type":"string","default":""},"mainTitle":{"type":"string","default":"DHL Preferred Delivery. Delivered just as you wish."},"infoText":{"type":"string","default":"Thanks to the flexible recipient services of DHL Preferred Delivery, you decide when and where you want to receive your parcels. Please choose your preferred delivery option."},"deliveryDayLabel":{"type":"string","default":"Delivery day: Delivery at your preferred day ?"},"dropOffOrNeighborLabel":{"type":"string","default":"Drop-off location or neighbor"},"dropOffLocationLabel":{"type":"string","default":"Drop-off location: Delivery to your preferred drop-off location"},"neighborLabel":{"type":"string","default":"Neighbour: Delivery to a neighbour of your choice"}},"textdomain":"dhl-for-woocommerce","editorStyle":"file:../../../build/style-dhl-preferred-services.css"}');(0,t.registerBlockType)(f,{icon:{src:(0,d.jsx)(l.A,{icon:i.A})},edit:({attributes:e,setAttributes:r})=>{const{mainTitle:o,infoText:t,deliveryDayLabel:l,dropOffOrNeighborLabel:i,dropOffLocationLabel:c,neighborLabel:f}=e,u=(0,s.useBlockProps)();return(0,d.jsxs)("div",{...u,style:{display:"block"},children:[(0,d.jsx)(s.InspectorControls,{children:(0,d.jsx)(n.PanelBody,{title:(0,a.__)("DHL Block Options","dhl-for-woocommerce")})}),(0,d.jsxs)("div",{children:[(0,d.jsx)(s.RichText,{value:o||p||(0,a.__)("DHL Preferred Delivery. Delivered just as you wish.","dhl-for-woocommerce"),onChange:e=>r({mainTitle:e})}),(0,d.jsx)(s.RichText,{value:t||p||(0,a.__)("Thanks to the flexible recipient services of DHL Preferred Delivery, you decide when and where you want to receive your parcels.","dhl-for-woocommerce"),onChange:e=>r({infoText:e})}),(0,d.jsx)(s.RichText,{value:l||p||(0,a.__)("Delivery day: Delivery at your preferred day ","dhl-for-woocommerce"),onChange:e=>r({deliveryDayLabel:e})}),(0,d.jsx)(n.Disabled,{children:(0,d.jsx)(n.SelectControl,{label:l,options:[]})}),(0,d.jsx)(s.RichText,{value:i||p||(0,a.__)("Drop-off location or neighbor","dhl-for-woocommerce"),onChange:e=>r({dropOffOrNeighborLabel:e})}),(0,d.jsx)(n.Disabled,{children:(0,d.jsx)(n.RadioControl,{label:i,options:[{label:"None",value:"none"},{label:"Location",value:"location"},{label:"Neighbor",value:"neighbor"}]})}),(0,d.jsx)(s.RichText,{value:c||p||(0,a.__)("Drop-off location: Delivery to your preferred drop-off location ","dhl-for-woocommerce"),onChange:e=>r({dropOffLocationLabel:e})}),(0,d.jsx)(n.Disabled,{children:(0,d.jsx)(n.TextControl,{placholder:(0,a.__)("e.g. Garage, Terrace","dhl-for-woocommerce")})}),(0,d.jsx)(s.RichText,{value:f||p||(0,a.__)("Neighbour: Delivery to a neighbour of your choice ","dhl-for-woocommerce"),onChange:e=>r({neighborLabel:e})}),(0,d.jsx)(n.Disabled,{children:(0,d.jsx)(n.TextControl,{placholder:(0,a.__)("First name, last name of neighbour","dhl-for-woocommerce")})}),(0,d.jsx)(n.Disabled,{children:(0,d.jsx)(n.TextControl,{placholder:(0,a.__)("Street, number, postal code, city","dhl-for-woocommerce")})})]})]})},save:({attributes:e})=>null})},885:(e,r,o)=>{o.d(r,{A:()=>i});var t=o(609);const l=window.wp.primitives,i=(0,t.createElement)(l.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,t.createElement)(l.Path,{fillRule:"evenodd",d:"M5 5.5h14a.5.5 0 01.5.5v1.5a.5.5 0 01-.5.5H5a.5.5 0 01-.5-.5V6a.5.5 0 01.5-.5zM4 9.232A2 2 0 013 7.5V6a2 2 0 012-2h14a2 2 0 012 2v1.5a2 2 0 01-1 1.732V18a2 2 0 01-2 2H6a2 2 0 01-2-2V9.232zm1.5.268V18a.5.5 0 00.5.5h12a.5.5 0 00.5-.5V9.5h-13z",clipRule:"evenodd"}))},997:e=>{e.exports=window.wp.blocks},998:(e,r,o)=>{var t=o(997),l=o(407),i=o(885);o(723),o(715),o(427),o(703);const a=JSON.parse('{"apiVersion":3,"name":"pr-dhl/dhl-parcel-finder","version":"1.0.0","title":"DHL Order Block","category":"woocommerce","description":"Adds DHL block to checkout.","supports":{"html":false,"align":true,"multiple":false,"reusable":false},"parent":["woocommerce/checkout-contact-information-block"],"attributes":{"lock":{"type":"object","default":{"remove":true,"move":true}},"addressType":{"type":"object","default":""},"dhlPostnum":{"type":"string","default":""},"pfPostcode":{"type":"string","default":""},"pfCity":{"type":"string","default":""},"pfAddress":{"type":"string","default":""}},"textdomain":"dhl-for-woocommerce","editorStyle":"file:../../../build/style-dhl-preferred-services.css"}');var s=o(848);(0,t.registerBlockType)(a,{icon:{src:(0,s.jsx)(l.A,{icon:i.A})},edit:({attributes:e,setAttributes:r})=>null,save:({attributes:e})=>null})}},o={};function t(e){var l=o[e];if(void 0!==l)return l.exports;var i=o[e]={exports:{}};return r[e](i,i.exports,t),i.exports}t.m=r,e=[],t.O=(r,o,l,i)=>{if(!o){var a=1/0;for(d=0;d<e.length;d++){for(var[o,l,i]=e[d],s=!0,n=0;n<o.length;n++)(!1&i||a>=i)&&Object.keys(t.O).every(e=>t.O[e](o[n]))?o.splice(n--,1):(s=!1,i<a&&(a=i));if(s){e.splice(d--,1);var c=l();void 0!==c&&(r=c)}}return r}i=i||0;for(var d=e.length;d>0&&e[d-1][2]>i;d--)e[d]=e[d-1];e[d]=[o,l,i]},t.d=(e,r)=>{for(var o in r)t.o(r,o)&&!t.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:r[o]})},t.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),(()=>{var e={57:0,203:0,585:0,819:0,350:0};t.O.j=r=>0===e[r];var r=(r,o)=>{var l,i,[a,s,n]=o,c=0;if(a.some(r=>0!==e[r])){for(l in s)t.o(s,l)&&(t.m[l]=s[l]);if(n)var d=n(t)}for(r&&r(o);c<a.length;c++)i=a[c],t.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return t.O(d)},o=globalThis.webpackChunkdhl_for_woocommerce=globalThis.webpackChunkdhl_for_woocommerce||[];o.forEach(r.bind(null,0)),o.push=r.bind(null,o.push.bind(o))})();var l=t.O(void 0,[350],()=>t(249));l=t.O(l)})();