Ignore:
Timestamp:
10/21/21 23:45:59 (3 years ago)
Author:
beratkjufliju <kufliju@…>
Branches:
develop, master
Children:
4b7e2d3
Parents:
6b95845
Message:

added fileTypes controller, notifications, excel export, edited views

Location:
public/vendors/charts/apex
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • public/vendors/charts/apex/apexcharts.amd.js

    r6b95845 rc6b84df  
    2980829808
    2980929809        // If the target is an svg element, use that element as the main wrapper.
    29810         // This allows svg.js to work with svg documents as well.
     29810        // This allows svg.js to work with svg folders as well.
    2981129811        if (element.nodeName == 'svg') {
    2981229812          this.constructor.call(this, element);
     
    3250732507        if (options.transform && obj.css) {
    3250832508            result = typeof options.transform === 'function'
    32509                  ? options.transform(obj.css) 
     32509                 ? options.transform(obj.css)
    3251032510                 : options.transform.default(obj.css);
    3251132511
  • public/vendors/charts/apex/apexcharts.common.js

    r6b95845 rc6b84df  
    2330623306        // ensure the presence of a dom element
    2330723307        element = typeof element === 'string' ? document.getElementById(element) : element; // If the target is an svg element, use that element as the main wrapper.
    23308         // This allows svg.js to work with svg documents as well.
     23308        // This allows svg.js to work with svg folders as well.
    2330923309
    2331023310        if (element.nodeName == 'svg') {
     
    2621126211      return this.p.matrixTransform(this.m)
    2621226212  };
    26213  
     26213
    2621426214  // gets elements bounding box with special handling of groups, nested and use
    2621526215  DragHandler.prototype.getBBox = function(){
     
    2621826218
    2621926219    if(this.el instanceof SVG.Nested) box = this.el.rbox();
    26220    
     26220
    2622126221    if (this.el instanceof SVG.G || this.el instanceof SVG.Use || this.el instanceof SVG.Nested) {
    2622226222      box.x = this.el.x();
     
    2623626236      }
    2623726237    }
    26238  
     26238
    2623926239    var _this = this;
    2624026240
     
    2625126251
    2625226252    var box = this.getBBox();
    26253    
     26253
    2625426254    var anchorOffset;
    26255    
     26255
    2625626256    // fix text-anchor in text-element (#37)
    2625726257    if(this.el instanceof SVG.Text){
    2625826258      anchorOffset = this.el.node.getComputedTextLength();
    26259        
     26259
    2626026260      switch(this.el.attr('text-anchor')){
    2626126261        case 'middle':
     
    2626726267      }
    2626826268    }
    26269    
     26269
    2627026270    this.startPoints = {
    2627126271      // We take absolute coordinates since we are just using a delta here
     
    2627426274      transform: this.el.transform()
    2627526275    };
    26276    
     26276
    2627726277    // add drag and end events to window
    2627826278    SVG.on(window, 'mousemove.drag', function(e){ _this.drag(e); });
     
    2630126301      , gx  = p.x - this.startPoints.point.x
    2630226302      , gy  = p.y - this.startPoints.point.y;
    26303      
     26303
    2630426304    var event = new CustomEvent('dragmove', {
    2630526305        detail: {
     
    2631126311      , cancelable: true
    2631226312    });
    26313      
     26313
    2631426314    this.el.fire(event);
    26315    
     26315
    2631626316    if(event.defaultPrevented) return p
    2631726317
     
    2635326353      else if (c.maxY != null && y > c.maxY - box.height)
    2635426354        y = c.maxY - box.height;
    26355        
     26355
    2635626356      if(this.el instanceof SVG.G)
    2635726357        this.el.matrix(this.startPoints.transform).transform({x:gx, y: gy}, true);
     
    2635926359        this.el.move(x, y);
    2636026360    }
    26361    
     26361
    2636226362    // so we can use it in the end-method, too
    2636326363    return p
  • public/vendors/charts/apex/apexcharts.esm.js

    r6b95845 rc6b84df  
    2330423304        // ensure the presence of a dom element
    2330523305        element = typeof element === 'string' ? document.getElementById(element) : element; // If the target is an svg element, use that element as the main wrapper.
    23306         // This allows svg.js to work with svg documents as well.
     23306        // This allows svg.js to work with svg folders as well.
    2330723307
    2330823308        if (element.nodeName == 'svg') {
     
    2620926209      return this.p.matrixTransform(this.m)
    2621026210  };
    26211  
     26211
    2621226212  // gets elements bounding box with special handling of groups, nested and use
    2621326213  DragHandler.prototype.getBBox = function(){
     
    2621626216
    2621726217    if(this.el instanceof SVG.Nested) box = this.el.rbox();
    26218    
     26218
    2621926219    if (this.el instanceof SVG.G || this.el instanceof SVG.Use || this.el instanceof SVG.Nested) {
    2622026220      box.x = this.el.x();
     
    2623426234      }
    2623526235    }
    26236  
     26236
    2623726237    var _this = this;
    2623826238
     
    2624926249
    2625026250    var box = this.getBBox();
    26251    
     26251
    2625226252    var anchorOffset;
    26253    
     26253
    2625426254    // fix text-anchor in text-element (#37)
    2625526255    if(this.el instanceof SVG.Text){
    2625626256      anchorOffset = this.el.node.getComputedTextLength();
    26257        
     26257
    2625826258      switch(this.el.attr('text-anchor')){
    2625926259        case 'middle':
     
    2626526265      }
    2626626266    }
    26267    
     26267
    2626826268    this.startPoints = {
    2626926269      // We take absolute coordinates since we are just using a delta here
     
    2627226272      transform: this.el.transform()
    2627326273    };
    26274    
     26274
    2627526275    // add drag and end events to window
    2627626276    SVG.on(window, 'mousemove.drag', function(e){ _this.drag(e); });
     
    2629926299      , gx  = p.x - this.startPoints.point.x
    2630026300      , gy  = p.y - this.startPoints.point.y;
    26301      
     26301
    2630226302    var event = new CustomEvent('dragmove', {
    2630326303        detail: {
     
    2630926309      , cancelable: true
    2631026310    });
    26311      
     26311
    2631226312    this.el.fire(event);
    26313    
     26313
    2631426314    if(event.defaultPrevented) return p
    2631526315
     
    2635126351      else if (c.maxY != null && y > c.maxY - box.height)
    2635226352        y = c.maxY - box.height;
    26353        
     26353
    2635426354      if(this.el instanceof SVG.G)
    2635526355        this.el.matrix(this.startPoints.transform).transform({x:gx, y: gy}, true);
     
    2635726357        this.el.move(x, y);
    2635826358    }
    26359    
     26359
    2636026360    // so we can use it in the end-method, too
    2636126361    return p
  • public/vendors/charts/apex/apexcharts.js

    r6b95845 rc6b84df  
    2331023310          // ensure the presence of a dom element
    2331123311          element = typeof element === 'string' ? document.getElementById(element) : element; // If the target is an svg element, use that element as the main wrapper.
    23312           // This allows svg.js to work with svg documents as well.
     23312          // This allows svg.js to work with svg folders as well.
    2331323313
    2331423314          if (element.nodeName == 'svg') {
     
    2621526215        return this.p.matrixTransform(this.m)
    2621626216    };
    26217    
     26217
    2621826218    // gets elements bounding box with special handling of groups, nested and use
    2621926219    DragHandler.prototype.getBBox = function(){
     
    2622226222
    2622326223      if(this.el instanceof SVG.Nested) box = this.el.rbox();
    26224      
     26224
    2622526225      if (this.el instanceof SVG.G || this.el instanceof SVG.Use || this.el instanceof SVG.Nested) {
    2622626226        box.x = this.el.x();
     
    2624026240        }
    2624126241      }
    26242    
     26242
    2624326243      var _this = this;
    2624426244
     
    2625526255
    2625626256      var box = this.getBBox();
    26257      
     26257
    2625826258      var anchorOffset;
    26259      
     26259
    2626026260      // fix text-anchor in text-element (#37)
    2626126261      if(this.el instanceof SVG.Text){
    2626226262        anchorOffset = this.el.node.getComputedTextLength();
    26263          
     26263
    2626426264        switch(this.el.attr('text-anchor')){
    2626526265          case 'middle':
     
    2627126271        }
    2627226272      }
    26273      
     26273
    2627426274      this.startPoints = {
    2627526275        // We take absolute coordinates since we are just using a delta here
     
    2627826278        transform: this.el.transform()
    2627926279      };
    26280      
     26280
    2628126281      // add drag and end events to window
    2628226282      SVG.on(window, 'mousemove.drag', function(e){ _this.drag(e); });
     
    2630526305        , gx  = p.x - this.startPoints.point.x
    2630626306        , gy  = p.y - this.startPoints.point.y;
    26307        
     26307
    2630826308      var event = new CustomEvent('dragmove', {
    2630926309          detail: {
     
    2631526315        , cancelable: true
    2631626316      });
    26317        
     26317
    2631826318      this.el.fire(event);
    26319      
     26319
    2632026320      if(event.defaultPrevented) return p
    2632126321
     
    2635726357        else if (c.maxY != null && y > c.maxY - box.height)
    2635826358          y = c.maxY - box.height;
    26359          
     26359
    2636026360        if(this.el instanceof SVG.G)
    2636126361          this.el.matrix(this.startPoints.transform).transform({x:gx, y: gy}, true);
     
    2636326363          this.el.move(x, y);
    2636426364      }
    26365      
     26365
    2636626366      // so we can use it in the end-method, too
    2636726367      return p
Note: See TracChangeset for help on using the changeset viewer.