web2019/static/js/react-beautiful-dnd.min.js

2 lines
113 KiB
JavaScript
Raw Normal View History

feat(place-order): Adds order hardware system fix(place-order): Avoids colliding with page var feat(place-order): Adds drag(copy)/drop system Finally get this to work.. Still some minor issues while drag(copy)/drop This commit allows to drag(copy)/drop inside the crate. Allows to reorder the crate feat(place-order): Adds basic summary of shopping cart allows to delete item feat(place-order): Adds form also applies some cosmetcis css feat(place-order): Applies custom css to drag/drop process feat(place-order): Improves crate UI feat(place-order): Adds missing assets feat(place-order): Updates icon button add feat(place-order): Changes cart layout to increase space - moves up the control crate type (rack/desktop) - increase card size a bit - reduces some padding - adding some space above card title - re-organise react component to achieve this layout feat(place-order): Updates icon remove in summary price - uses icon instead of shitty html/css - re-organises react component fix(place-order): Reduces overlay gradient effect on the aside also increases padding-bottom to avoid overlay above content feat(place-order): Updates summary price layout feat(place-order): Updates CrateMode using data this avoid using hard text in component and also, adding crate mode in data.js will be helpful for other component too (e.g OrderSummary) feat(place-order): Adds crate mode in OrderSummary Allows to add fees to rack mode for exemple feat(place-order): Allows to delete all items in the crate at once feat(place-order): Updates typo uses currentMode instead of crateMode feat(place-order): Displays selection shadow on card when user hover delete button feat(place-order): Allows to add item to the crate feat(place-order): Corrects typo feat(place-order): Corrects layout for browser support feat(place-order): Adds first automatic rules this allows to test how things could be done feat(place-order): Allows to remove card when drop out of crate feat(place-order): Adds icon reminder to rules feat(place-order): Uses internal js production assets feat(place-order): Uses production file feat(place-order): Adds kali first as initialisation feat(place-order): Simulates slots in crate (desktop/rack) feat(place-order): Updates data that prepare for rules algo feat(place-order): Adds some rules feat(place-order): Removes rule 2kasli when no more kasli it's a fix feat(place-order): Corrects typo rules koster fix(place-order): Removes PWA prompt fix(place-order): Corrects size card inside crate refactor(place-order): Reduces padding between items in listing refactor(place-order): Uses USD currency feat(place-order): Upgrades algo for rules feat(place-order): Adds progress bar to kasli/kasli w/backplane feat(place-order): Refactores a bit rule handler feat(place-order): Adds all other rules fix(place-order): Corrects typo fix(place-order): Corrects count zotino/hd68 when IDC-BNC does not follow each others feat(place-order): Backups dev script call just in case For now, I can work with prod build even debugging production code feat(place-order): Adds super tooltip to progress bar feat(place-order): Adds tooltip for zotino/hd68 too refactor(place-order): Updates typo rule for Koster feat(place-order/WIP): Adds warning feat(place-order): Adds Mirny adds css changes from previous commit (i've forgotten) feat(place-order): Updates build feat(place-order): Set RJ45-DIO to occupy 2 EEMs feat(place-order): Make clocker progress bar visible It was hidden by horizontal scrollbar inside crate feat(place-order): Remove red warning for 2 kaslis following each other feat(place-order): Adds rule for cards that need a resource controller feat(place-order): Corrects typo, adds point to end of message feat(place-order): Changes idc-bnc info into a warning one feat(place-order): Moves down warning box feat(place-order): Updates some cosmetics css fix(place-order): Removes IDC-BNC from Kasli connectors count feat(place-order): Displays warning on hover warning icon feat(place-order): Updates design hover item in listing feat(place-order): Updates price estimate feat(place-order): Displays warning in summary feat(place-order): Allows to select item feat(place-order): Allows to send request quote through client email fix(place-order): Allows to click on remove inside summary list feat(place-order): Adds btn remove for each cards inside crate feat(place-order): Builds fix(place-order): Updates icon warning fix(place-order): Corrects recipient email address LOL, forgot to remove mine haha fix(place-order): Removes typo (kasli double) fix(place-order): Removes num from email title subject fix(place-order): Adds warning resources to mirny, zotino Also updates message text feat(place-order): Adds clocker counter feat(place-order): Uses warning for id68 instead of reminder feat(place-order): Adds crate type into the json feat(place-order): Adds btn order hardware in homepage refactor(place-order): Cleans a bit fix(place-order): Improves a bit ux remove item from crate fix(place-order): Improves a bit ux remove item from crate feat(place-order): Builds fix(place-order): Uses cursor pointer on remove button fix(place-order): Corrects card need a resources card chore(place-order): Removes call to ap.js fix(place-order): Tries with fixed height on warning icon fix(place-order): Adds fixed height to other element fix(place-order): Tries to remove up container height to let flex to its job fix(place-order): Removes .trim call which block multiline and augments row to 5 feat(place-order): Builds fix(place-order): Adds min-height for the crate
2019-10-02 12:16:07 +08:00
!function(e,r){"object"==typeof exports&&"undefined"!=typeof module?r(exports,require("react"),require("react-dom")):"function"==typeof define&&define.amd?define(["exports","react","react-dom"],r):r((e=e||self).ReactBeautifulDnd={},e.React,e.ReactDOM)}(this,function(e,Re,r){"use strict";var W="default"in Re?Re.default:Re;function t(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function n(e,r){return e(r={exports:{}},r.exports),r.exports}var g=n(function(e){var r=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)}),v=n(function(e){var r=e.exports={version:"2.6.5"};"number"==typeof __e&&(__e=r)}),b=(v.version,function(n,o,e){if(function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!")}(n),void 0===o)return n;switch(e){case 1:return function(e){return n.call(o,e)};case 2:return function(e,r){return n.call(o,e,r)};case 3:return function(e,r,t){return n.call(o,e,r,t)}}return function(){return n.apply(o,arguments)}}),o=function(e){return"object"==typeof e?null!==e:"function"==typeof e},a=function(e){if(!o(e))throw TypeError(e+" is not an object!");return e},i=function(e){try{return!!e()}catch(e){return!0}},c=!i(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}),u=g.document,l=o(u)&&o(u.createElement),s=function(e){return l?u.createElement(e):{}},d=!c&&!i(function(){return 7!=Object.defineProperty(s("div"),"a",{get:function(){return 7}}).a}),p=Object.defineProperty,f={f:c?Object.defineProperty:function(e,r,t){if(a(e),r=function(e,r){if(!o(e))return e;var t,n;if(r&&"function"==typeof(t=e.toString)&&!o(n=t.call(e)))return n;if("function"==typeof(t=e.valueOf)&&!o(n=t.call(e)))return n;if(!r&&"function"==typeof(t=e.toString)&&!o(n=t.call(e)))return n;throw TypeError("Can't convert object to primitive value")}(r,!0),a(t),d)try{return p(e,r,t)}catch(e){}if("get"in t||"set"in t)throw TypeError("Accessors not supported!");return"value"in t&&(e[r]=t.value),e}},h=c?function(e,r,t){return f.f(e,r,{enumerable:!((n=1)&n),configurable:!(2&n),writable:!(4&n),value:t});var n}:function(e,r,t){return e[r]=t,e},m={}.hasOwnProperty,y=function(e,r){return m.call(e,r)},x="prototype",w=function(e,r,t){var n,o,i,a=e&w.F,c=e&w.G,u=e&w.S,l=e&w.P,s=e&w.B,d=e&w.W,p=c?v:v[r]||(v[r]={}),f=p[x],m=c?g:u?g[r]:(g[r]||{})[x];for(n in c&&(t=r),t)(o=!a&&m&&void 0!==m[n])&&y(p,n)||(i=o?m[n]:t[n],p[n]=c&&"function"!=typeof m[n]?t[n]:s&&o?b(i,g):d&&m[n]==i?function(n){var e=function(e,r,t){if(this instanceof n){switch(arguments.length){case 0:return new n;case 1:return new n(e);case 2:return new n(e,r)}return new n(e,r,t)}return n.apply(this,arguments)};return e[x]=n[x],e}(i):l&&"function"==typeof i?b(Function.call,i):i,l&&((p.virtual||(p.virtual={}))[n]=i,e&w.R&&f&&!f[n]&&h(f,n,i)))};w.F=1,w.G=2,w.S=4,w.P=8,w.B=16,w.W=32,w.U=64,w.R=128;var D,S=w,C={}.toString,E=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==(r=e,C.call(r).slice(8,-1))?e.split(""):Object(e);var r},I=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},P=function(e){return E(I(e))},O=Math.ceil,M=Math.floor,R=function(e){return isNaN(e=+e)?0:(0<e?M:O)(e)},B=Math.min,A=Math.max,L=Math.min,N=n(function(e){var r="__core-js_shared__",t=g[r]||(g[r]={});(e.exports=function(e,r){return t[e]||(t[e]=void 0!==r?r:{})})("versions",[]).push({version:v.version,mode:"pure",copyright:"© 2019 Denis Pushkarev (zloirock.ru)"})}),T=0,_=Math.random(),F=N("keys"),j=function(e){return F[e]||(F[e]="Symbol(".concat(void 0===(r=e)?"":r,")_",(++T+_).toString(36)));var r},G=(D=!1,function(e,r,t){var n,o,i,a,c=P(e),u=0<(n=c.length)?B(R(n),9007199254740991):0,l=(i=u,(o=R(o=t))<0?A(o+i,0):L(o,i));if(D&&r!=r){for(;l<u;)if((a=c[l++])!=a)return!0}else for(;l<u;l++)if((D||l in c)&&c[l]===r)return D||l||0;return!D&&-1}),k=j("IE_PROTO"),U="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(","),z=Object.keys||function(e){return functio