PageSourceSearch

https://planovo.de/base/global/js/Plugin/material.min.js

js planovo.de collected 2026-10-01 23:57:39 UTC 2,951 bytes, 6 lines download raw bytes

1/*!
2 * remark (http://getbootstrapadmin.com/remark)
3 * Copyright 2016 amazingsurge
4 * Licensed under the Themeforest Standard Licenses
5 */
6!function(global,factory){if("function"==typeof define&&define.amd)define("/Plugin/material",["exports","jquery","Plugin"],factory);else if("undefined"!=typeof exports)factory(exports,require("jquery"),require("Plugin"));else{var mod={exports:{}};factory(mod.exports,global.jQuery,global.Plugin),global.PluginMaterial=mod.exports}}(this,function(exports,_jquery,_Plugin2){"use strict";function isChar(e){return"undefined"==typeof e.which||"number"==typeof e.which&&e.which>0&&(!e.ctrlKey&&!e.metaKey&&!e.altKey&&8!==e.which&&9!==e.which)}Object.defineProperty(exports,"__esModule",{value:!0});var _jquery2=babelHelpers.interopRequireDefault(_jquery),_Plugin3=babelHelpers.interopRequireDefault(_Plugin2),NAME="formMaterial",FormMaterial=function(_Plugin){function FormMaterial(){return babelHelpers.classCallCheck(this,FormMaterial),babelHelpers.possibleConstructorReturn(this,(FormMaterial.__proto__||Object.getPrototypeOf(FormMaterial)).apply(this,arguments))}return babelHelpers.inherits(FormMaterial,_Plugin),babelHelpers.createClass(FormMaterial,[{key:"getName",value:function(){return NAME}},{key:"render",value:function(){var $el=this.$el,$control=this.$control=$el.find(".form-control");if($control.attr("data-hint")&&$control.after("<div class=hint>"+$control.attr("data-hint")+"</div>"),$el.hasClass("floating")){if($control.hasClass("floating-label")){var placeholder=$control.attr("placeholder");$control.attr("placeholder",null).removeClass("floating-label"),$control.after("<div class=floating-label>"+placeholder+"</div>")}null!==$control.val()&&"undefined"!==$control.val()&&""!==$control.val()||$control.addClass("empty")}$control.next().is("[type=file]")&&$el.addClass("form-material-file"),this.$file=$el.find("[type=file]"),this.bind(),$el.data("formMaterialAPI",this)}},{key:"bind",value:function(){var _this2=this,$el=this.$el,$control=this.$control=$el.find(".form-control");$el.on("keydown.site.material paste.site.material",".form-control",function(e){isChar(e)&&$control.removeClass("empty")}).on("keyup.site.material change.site.material",".form-control",function(){""===$control.val()&&"undefined"!=typeof $control[0].checkValidity&&$control[0].checkValidity()?$control.addClass("empty"):$control.removeClass("empty")}),this.$file.length>0&&this.$file.on("focus",function(){_this2.$el.find("input").addClass("focus")}).on("blur",function(){_this2.$el.find("input").removeClass("focus")}).on("change",function(){var $this=(0,_jquery2.default)(this),value="";_jquery2.default.each($this[0].files,function(i,file){value+=file.name+", "}),value=value.substring(0,value.length-2),value?$this.prev().removeClass("empty"):$this.prev().addClass("empty"),$this.prev().val(value)})}}]),FormMaterial}(_Plugin3.default);_Plugin3.default.register(NAME,FormMaterial),exports.default=FormMaterial});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.