TimeTrex/interface/html5/dist/separated_box-SeparatedBox.bundle.js

1 line
3.3 KiB
JavaScript
Raw Permalink Normal View History

2022-12-13 07:10:06 +01:00
(self.webpackChunktimetrex=self.webpackChunktimetrex||[]).push([["separated_box-SeparatedBox"],{7316:(__unused_webpack_module,__unused_webpack_exports,__webpack_require__)=>{eval("/* provided dependency */ var jQuery = __webpack_require__(9755);\n( function( $ ) {\n\n\t$.fn.SeparatedBox = function( options ) {\n\t\tvar opts = $.extend( {}, $.fn.SeparatedBox.defaults, options );\n\n\t\tvar $this = this;\n\n\t\tvar label = '';\n\n\t\tvar field;\n\n\t\tthis.getField = function() {\n\t\t\treturn field;\n\t\t};\n\n\t\tthis.setValue = function() {\n\n\t\t};\n\n\t\tthis.getValue = function() {\n\n\t\t};\n\n\t\tthis.setErrorStyle = function( errStr, show ) {\n\n\t\t};\n\n\t\tthis.showErrorTip = function( sec ) {\n\n\t\t};\n\n\t\tthis.hideErrorTip = function() {\n\n\t\t};\n\n\t\tthis.clearErrorStyle = function() {\n\n\t\t};\n\n\t\tthis.each( function() {\n\n\t\t\tvar o = $.meta ? $.extend( {}, opts, $( this ).data() ) : opts;\n\n\t\t\tfield = o.field;\n\n\t\t\tvar label_span = $( this ).find( '.label' );\n\n\t\t\tlabel = o.label;\n\n\t\t\tlabel_span.text( label );\n\n\t\t} );\n\n\t\treturn this;\n\n\t};\n\n\t$.fn.SeparatedBox.defaults = {};\n\t$.fn.SeparatedBox.html_template = `\n\t<div class=\"separated-box\">\n\t\t<span class=\"label\"></span>\n\t</div>\n\t`;\n\n} )( jQuery );//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiNzMxNi5qcyIsIm1hcHBpbmdzIjoiO0FBQUE7O0FBRUE7QUFDQSx5QkFBeUI7O0FBRXpCOztBQUVBOztBQUVBOztBQUVBO0FBQ0E7QUFDQTs7QUFFQTs7QUFFQTs7QUFFQTs7QUFFQTs7QU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