From d743dc160ab701cb6b92579b5ff164b5ec2eaa9b Mon Sep 17 00:00:00 2001 From: thatmattlove Date: Tue, 31 Aug 2021 17:04:35 -0700 Subject: [PATCH] Fixes #7080: Re-add missing image preview element --- docs/release-notes/version-3.0.md | 1 + netbox/project-static/dist/config.js | 4 +- netbox/project-static/dist/config.js.map | 2 +- netbox/project-static/dist/jobs.js | 4 +- netbox/project-static/dist/jobs.js.map | 2 +- netbox/project-static/dist/lldp.js | 4 +- netbox/project-static/dist/lldp.js.map | 2 +- netbox/project-static/dist/netbox-dark.css | 2 +- netbox/project-static/dist/netbox-light.css | 2 +- netbox/project-static/dist/netbox-print.css | 2 +- netbox/project-static/dist/netbox.js | 14 +++---- netbox/project-static/dist/netbox.js.map | 2 +- netbox/project-static/dist/status.js | 4 +- netbox/project-static/dist/status.js.map | 2 +- netbox/project-static/src/bs.ts | 42 +++++++++++++++++++-- netbox/project-static/src/global.d.ts | 5 +++ netbox/project-static/src/util.ts | 11 +++++- netbox/project-static/styles/netbox.scss | 5 +++ 18 files changed, 82 insertions(+), 28 deletions(-) diff --git a/docs/release-notes/version-3.0.md b/docs/release-notes/version-3.0.md index 45fc473ba..db3bc822c 100644 --- a/docs/release-notes/version-3.0.md +++ b/docs/release-notes/version-3.0.md @@ -8,6 +8,7 @@ * [#7071](https://github.com/netbox-community/netbox/issues/7071) - Fix exception when removing a primary IP from a device/VM * [#7072](https://github.com/netbox-community/netbox/issues/7072) - Fix table configuration under prefix child object views * [#7075](https://github.com/netbox-community/netbox/issues/7075) - Fix UI bug when a custom field has a space in the name +* [#7080](https://github.com/netbox-community/netbox/issues/7080) - Fix missing image previews * [#7081](https://github.com/netbox-community/netbox/issues/7081) - Fix UI bug that did not properly request and handle paginated data * [#7082](https://github.com/netbox-community/netbox/issues/7082) - Avoid exception when referencing invalid content type in table * [#7083](https://github.com/netbox-community/netbox/issues/7083) - Correct labeling for VM memory attribute diff --git a/netbox/project-static/dist/config.js b/netbox/project-static/dist/config.js index 079d7b90a..18f4811a2 100644 --- a/netbox/project-static/dist/config.js +++ b/netbox/project-static/dist/config.js @@ -1,5 +1,5 @@ -(()=>{var ko=Object.create;var fe=Object.defineProperty,Ho=Object.defineProperties,Wo=Object.getOwnPropertyDescriptor,Bo=Object.getOwnPropertyDescriptors,Vo=Object.getOwnPropertyNames,En=Object.getOwnPropertySymbols,Fo=Object.getPrototypeOf,vn=Object.prototype.hasOwnProperty,zo=Object.prototype.propertyIsEnumerable;var yn=(i,t,e)=>t in i?fe(i,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):i[t]=e,O=(i,t)=>{for(var e in t||(t={}))vn.call(t,e)&&yn(i,e,t[e]);if(En)for(var e of En(t))zo.call(t,e)&&yn(i,e,t[e]);return i},ke=(i,t)=>Ho(i,Bo(t)),bn=i=>fe(i,"__esModule",{value:!0});var q=(i,t)=>()=>(t||i((t={exports:{}}).exports,t),t.exports),Uo=(i,t)=>{bn(i);for(var e in t)fe(i,e,{get:t[e],enumerable:!0})},Yo=(i,t,e)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Vo(t))!vn.call(i,n)&&n!=="default"&&fe(i,n,{get:()=>t[n],enumerable:!(e=Wo(t,n))||e.enumerable});return i},Ai=i=>Yo(bn(fe(i!=null?ko(Fo(i)):{},"default",i&&i.__esModule&&"default"in i?{get:()=>i.default,enumerable:!0}:{value:i,enumerable:!0})),i);var Si=(i,t,e)=>new Promise((n,r)=>{var o=f=>{try{a(e.next(f))}catch(h){r(h)}},s=f=>{try{a(e.throw(f))}catch(h){r(h)}},a=f=>f.done?n(f.value):Promise.resolve(f.value).then(o,s);a((e=e.apply(i,t)).next())});var sn=q((io,fi)=>{(function(i,t){typeof define=="function"&&define.amd?define(t):typeof fi=="object"&&fi.exports?fi.exports=t():i.EvEmitter=t()})(typeof window!="undefined"?window:io,function(){"use strict";function i(){}var t=i.prototype;return t.on=function(e,n){if(!(!e||!n)){var r=this._events=this._events||{},o=r[e]=r[e]||[];return o.indexOf(n)==-1&&o.push(n),this}},t.once=function(e,n){if(!(!e||!n)){this.on(e,n);var r=this._onceEvents=this._onceEvents||{},o=r[e]=r[e]||{};return o[n]=!0,this}},t.off=function(e,n){var r=this._events&&this._events[e];if(!(!r||!r.length)){var o=r.indexOf(n);return o!=-1&&r.splice(o,1),this}},t.emitEvent=function(e,n){var r=this._events&&this._events[e];if(!(!r||!r.length)){r=r.slice(0),n=n||[];for(var o=this._onceEvents&&this._onceEvents[e],s=0;s{(function(i,t){typeof define=="function"&&define.amd?define(t):typeof ui=="object"&&ui.exports?ui.exports=t():i.getSize=t()})(window,function(){"use strict";function t(d){var y=parseFloat(d),E=d.indexOf("%")==-1&&!isNaN(y);return E&&y}function e(){}var n=typeof console=="undefined"?e:function(d){console.error(d)},r=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],o=r.length;function s(){for(var d={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},y=0;y