Uji Countdown - Version 2.1.2

Version Description

  • Fixed redirect URL input field encode issue
  • Fixed redirect link issue when page expired
Download this release

Release Info

Developer ujimoto
Plugin Icon 128x128 Uji Countdown
Version 2.1.2
Comparing to
See all releases

Code changes from version 2.1.1 to 2.1.2

README.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.wpmanage.com/uji-countdown
4
  Tags: countdown timer, countdown, counter, js countdown, animated countdown, countdown timer, count down, countdown clock, jQuery countdown, clock, timer, recurring timer
5
  Requires at least: 3.0
6
  Tested up to: 5.4
7
- Stable tag: 2.1.1
8
 
9
  Uji Countdown - Customizable Countdown Timer
10
 
@@ -51,6 +51,10 @@ Please feel free to visit our [demo site](http://wpmanage.com/project/ujicountdo
51
 
52
  == Changelog ==
53
 
 
 
 
 
54
  = 2.1.1 =
55
  * Fixed missing Styles when upgrading from Version 2.0.x to version 2.1
56
  * Fixed Block issue when switch timer type
4
  Tags: countdown timer, countdown, counter, js countdown, animated countdown, countdown timer, count down, countdown clock, jQuery countdown, clock, timer, recurring timer
5
  Requires at least: 3.0
6
  Tested up to: 5.4
7
+ Stable tag: 2.1.2
8
 
9
  Uji Countdown - Customizable Countdown Timer
10
 
51
 
52
  == Changelog ==
53
 
54
+ = 2.1.2 =
55
+ * Fixed redirect URL input field encode issue
56
+ * Fixed redirect link issue when page expired
57
+
58
  = 2.1.1 =
59
  * Fixed missing Styles when upgrading from Version 2.0.x to version 2.1
60
  * Fixed Block issue when switch timer type
classes/class-uji-countdown-front.php CHANGED
@@ -74,7 +74,7 @@ class UjiCountdown extends Uji_Countdown {
74
  'rectype' => "",
75
  'repeats' => ""
76
  ), $atts ) );
77
-
78
  //Increment counters
79
  static $ujic_count = 0;
80
  $ujic_count++;
@@ -113,7 +113,12 @@ class UjiCountdown extends Uji_Countdown {
113
  }
114
  $rectime = true;
115
  }
 
 
 
 
116
  }
 
117
  //End Reccuring
118
 
119
  if ( ($hide == "true" && $now_time > $unx_time && !$rectime && !$timer) || ( $ujic_count > 1 && !$this->ujic_pro() ) ) {
@@ -223,6 +228,13 @@ class UjiCountdown extends Uji_Countdown {
223
  return $htmlCode;
224
  }
225
  }
 
 
 
 
 
 
 
226
 
227
 
228
  }
74
  'rectype' => "",
75
  'repeats' => ""
76
  ), $atts ) );
77
+
78
  //Increment counters
79
  static $ujic_count = 0;
80
  $ujic_count++;
113
  }
114
  $rectime = true;
115
  }
116
+ } else{
117
+ if( $expired && $url){
118
+ $this->expired_redirect($url);
119
+ }
120
  }
121
+
122
  //End Reccuring
123
 
124
  if ( ($hide == "true" && $now_time > $unx_time && !$rectime && !$timer) || ( $ujic_count > 1 && !$this->ujic_pro() ) ) {
228
  return $htmlCode;
229
  }
230
  }
231
+
232
+
233
+ public function expired_redirect( $url ){
234
+ wp_enqueue_script('ujiCountRedirect');
235
+ $script = 'ujiCountRedirect = '. $url .'; ';
236
+ wp_add_inline_script('ujiCountRedirect', $script, 'before');
237
+ }
238
 
239
 
240
  }
classes/class-uji-countdown.php CHANGED
@@ -585,6 +585,7 @@ class Uji_Countdown extends Uji_Countdown_Admin
585
  wp_register_style( 'ujicountdown-uji-countdown', UJICOUNTDOWN_URL . 'css/uji-countdown.css', array(), $this->version );
586
  wp_register_script( 'ujicountdown-core', UJICOUNTDOWN_URL . 'js/jquery.countdown.js', array( 'jquery' ), $this->version );
587
  wp_register_script( 'ujicountdown-init', UJICOUNTDOWN_URL . 'js/uji-countdown.js', array( 'jquery' ), $this->version, true );
 
588
  //Extend enqueues css and js
589
  $extent_scripts = apply_filters( 'ujic_scripts_extend', true);
590
  // _ar($extent_scripts);
585
  wp_register_style( 'ujicountdown-uji-countdown', UJICOUNTDOWN_URL . 'css/uji-countdown.css', array(), $this->version );
586
  wp_register_script( 'ujicountdown-core', UJICOUNTDOWN_URL . 'js/jquery.countdown.js', array( 'jquery' ), $this->version );
587
  wp_register_script( 'ujicountdown-init', UJICOUNTDOWN_URL . 'js/uji-countdown.js', array( 'jquery' ), $this->version, true );
588
+ wp_register_script( 'ujiCountRedirect', UJICOUNTDOWN_URL . 'js/uji-count-expired.js', array( 'jquery' ), $this->version, true );
589
  //Extend enqueues css and js
590
  $extent_scripts = apply_filters( 'ujic_scripts_extend', true);
591
  // _ar($extent_scripts);
dist/blocks.build.js CHANGED
@@ -183,7 +183,7 @@ eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__wordpress_components
183
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
184
 
185
  "use strict";
186
- eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__wordpress_i18n__ = __webpack_require__(/*! @wordpress/i18n */ 2);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__wordpress_i18n___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__wordpress_i18n__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__wordpress_element__ = __webpack_require__(/*! @wordpress/element */ 0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__wordpress_element___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__wordpress_element__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__wordpress_block_editor__ = __webpack_require__(/*! @wordpress/block-editor */ 11);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__wordpress_block_editor___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__wordpress_block_editor__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__wordpress_components__ = __webpack_require__(/*! @wordpress/components */ 1);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__wordpress_components___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3__wordpress_components__);\n/*global ujicountdownData*/\n\n\n\n\n\n\n\nvar optionsStyles = function optionsStyles(styles) {\n\tvar stypeOpt = [{ value: '', label: 'Select Timer Style' }];\n\n\tif (styles !== null) {\n\t\tstyles.map(function (val) {\n\t\t\tstypeOpt.push({ value: val.value, label: val.text });\n\t\t});\n\t\treturn stypeOpt;\n\t} else {\n\t\treturn null;\n\t}\n};\n\nvar Inspector = function Inspector(props) {\n\tvar attributes = props.attributes,\n\t setAttributes = props.setAttributes;\n\tvar countStyles = attributes.countStyles,\n\t timerType = attributes.timerType,\n\t datetime = attributes.datetime,\n\t thour = attributes.thour,\n\t tmin = attributes.tmin,\n\t tsec = attributes.tsec,\n\t hide = attributes.hide,\n\t url = attributes.url,\n\t unitNum = attributes.unitNum,\n\t unitTime = attributes.unitTime,\n\t repeats = attributes.repeats,\n\t news = attributes.news;\n\n\n\tvar onUpdateDate = function onUpdateDate(dateTime) {\n\t\tvar newDateTime = moment(dateTime).format(\"YYYY-MM-DD HH:mm\");\n\t\tsetAttributes({ datetime: newDateTime });\n\t};\n\n\tvar optionsTime = [{ value: \"second\", label: Object(__WEBPACK_IMPORTED_MODULE_0__wordpress_i18n__[\"__\"])(\"Second(s)\", \"ujicountdown\") }, { value: \"minute\", label: Object(__WEBPACK_IMPORTED_MODULE_0__wordpress_i18n__[\"__\"])(\"Minute(s)\", \"ujicountdown\") }, { value: \"hour\", label: Object(__WEBPACK_IMPORTED_MODULE_0__wordpress_i18n__[\"__\"])(\"Hours(s)\", \"ujicountdown\") }, { value: \"day\", label: Object(__WEBPACK_IMPORTED_MODULE_0__wordpress_i18n__[\"__\"])(\"Days(s)\", \"ujicountdown\") }, { value: \"week\", label: Object(__WEBPACK_IMPORTED_MODULE_0__wordpress_i18n__[\"__\"])(\"Week(s)\", \"ujicountdown\") }, { value: \"month\", label: Object(__WEBPACK_IMPORTED_MODULE_0__wordpress_i18n__[\"__\"])(\"Month(s)\", \"ujicountdown\") }];\n\n\tvar optionStyles = typeof ujic_short_vars !== 'undefined' ? optionsStyles(ujic_short_vars.ujic_style) : null;\n\tvar isNews = typeof ujic_extend !== 'undefined' ? true : false;\n\n\tif (!optionStyles) {\n\t\treturn wp.element.createElement(\n\t\t\t__WEBPACK_IMPORTED_MODULE_2__wordpress_block_editor__[\"InspectorControls\"],\n\t\t\tnull,\n\t\t\twp.element.createElement(\n\t\t\t\t__WEBPACK_IMPORTED_MODULE_3__wordpress_components__[\"PanelBody\"],\n\t\t\t\t{\n\t\t\t\t\ttitle: Object(__WEBPACK_IMPORTED_MODULE_0__wordpress_i18n__[\"__\"])(\"Countdown Settings\", \"ujicountdown\"),\n\t\t\t\t\tinitialOpen: true,\n\t\t\t\t\tclassName: \"urc-settings-insp\"\n\t\t\t\t},\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t\"div\",\n\t\t\t\t\t{ className: \"urc-border\" },\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\"div\",\n\t\t\t\t\t\t{ className: \"urc-component\" },\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\"div\",\n\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t\"strong\",\n\t\t\t\t\t\t\t\t{ style: { color: 'red' } },\n\t\t\t\t\t\t\t\t\"Plese create a countdown style first.\"\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t\"p\",\n\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t\" Go to: \",\n\t\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t\t\"strong\",\n\t\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t\t\"Settings/Uji Countdown\"\n\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\" and create a style first! \"\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t)\n\t\t);\n\t} else {\n\t\treturn wp.element.createElement(\n\t\t\t__WEBPACK_IMPORTED_MODULE_2__wordpress_block_editor__[\"InspectorControls\"],\n\t\t\tnull,\n\t\t\twp.element.createElement(\n\t\t\t\t__WEBPACK_IMPORTED_MODULE_3__wordpress_components__[\"PanelBody\"],\n\t\t\t\t{\n\t\t\t\t\ttitle: Object(__WEBPACK_IMPORTED_MODULE_0__wordpress_i18n__[\"__\"])(\"Countdown Settings\", \"ujicountdown\"),\n\t\t\t\t\tinitialOpen: true,\n\t\t\t\t\tclassName: \"urc-settings-insp\"\n\t\t\t\t},\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t\"div\",\n\t\t\t\t\t{ className: \"urc-border\" },\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\"h4\",\n\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\"Select Style: \"\n\t\t\t\t\t),\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\"div\",\n\t\t\t\t\t\t{ className: \"urc-component\" },\n\t\t\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__wordpress_components__[\"SelectControl\"], {\n\t\t\t\t\t\t\tvalue: countStyles,\n\t\t\t\t\t\t\toptions: optionStyles,\n\t\t\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\t\t\treturn setAttributes({ countStyles: value });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tclassName: \"components-style-field-select\"\n\t\t\t\t\t\t})\n\t\t\t\t\t)\n\t\t\t\t),\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t\"div\",\n\t\t\t\t\t{ className: \"urc-border\" },\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\"h4\",\n\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\"Timer Type: \"\n\t\t\t\t\t),\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\"div\",\n\t\t\t\t\t\t{ className: \"urc-component\" },\n\t\t\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__wordpress_components__[\"RadioControl\"], {\n\t\t\t\t\t\t\tselected: timerType,\n\t\t\t\t\t\t\toptions: [{\n\t\t\t\t\t\t\t\tlabel: Object(__WEBPACK_IMPORTED_MODULE_0__wordpress_i18n__[\"__\"])(\"One Time Timer\", \"ujicountdown\"),\n\t\t\t\t\t\t\t\tvalue: \"onetime\"\n\t\t\t\t\t\t\t}, {\n\t\t\t\t\t\t\t\tlabel: Object(__WEBPACK_IMPORTED_MODULE_0__wordpress_i18n__[\"__\"])(\"Repeating Timer\", \"ujicountdown\"),\n\t\t\t\t\t\t\t\tvalue: \"repeat\"\n\t\t\t\t\t\t\t}],\n\t\t\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\t\t\treturn setAttributes({ timerType: value });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t})\n\t\t\t\t\t)\n\t\t\t\t),\n\t\t\t\ttimerType === \"onetime\" && wp.element.createElement(\n\t\t\t\t\t\"div\",\n\t\t\t\t\t{ className: \"urc-border\" },\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\"h4\",\n\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\"Expiration Date and Time: \"\n\t\t\t\t\t),\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\"div\",\n\t\t\t\t\t\t{ className: \"urc-component\" },\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t__WEBPACK_IMPORTED_MODULE_1__wordpress_element__[\"Fragment\"],\n\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t__WEBPACK_IMPORTED_MODULE_3__wordpress_components__[\"PanelRow\"],\n\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__wordpress_components__[\"DateTimePicker\"], {\n\t\t\t\t\t\t\t\t\tcurrentDate: datetime,\n\t\t\t\t\t\t\t\t\tonChange: function onChange(val) {\n\t\t\t\t\t\t\t\t\t\treturn onUpdateDate(val);\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tis12Hour: false\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t),\n\t\t\t\ttimerType === \"repeat\" && wp.element.createElement(\n\t\t\t\t\t__WEBPACK_IMPORTED_MODULE_1__wordpress_element__[\"Fragment\"],\n\t\t\t\t\tnull,\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\"div\",\n\t\t\t\t\t\t{ className: \"urc-component-time\" },\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\"h4\",\n\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\"Select Time:\"\n\t\t\t\t\t\t),\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\"div\",\n\t\t\t\t\t\t\t{ className: \"urc-component\" },\n\t\t\t\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__wordpress_components__[\"TextControl\"], {\n\t\t\t\t\t\t\t\ttype: \"number\",\n\t\t\t\t\t\t\t\tlabel: \"Hours\",\n\t\t\t\t\t\t\t\tclassName: \"components-time-field-hours-input\",\n\t\t\t\t\t\t\t\tvalue: thour,\n\t\t\t\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\t\t\t\treturn setAttributes({ thour: escape(value) });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t\"span\",\n\t\t\t\t\t\t\t\t{ className: \"urc-time-separator\" },\n\t\t\t\t\t\t\t\t\":\"\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__wordpress_components__[\"TextControl\"], {\n\t\t\t\t\t\t\t\ttype: \"number\",\n\t\t\t\t\t\t\t\tlabel: \"Minutes\",\n\t\t\t\t\t\t\t\tclassName: \"components-time-field-hours-input\",\n\t\t\t\t\t\t\t\tvalue: tmin,\n\t\t\t\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\t\t\t\treturn setAttributes({ tmin: escape(value) });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t\"span\",\n\t\t\t\t\t\t\t\t{ className: \"urc-time-separator\" },\n\t\t\t\t\t\t\t\t\":\"\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__wordpress_components__[\"TextControl\"], {\n\t\t\t\t\t\t\t\ttype: \"number\",\n\t\t\t\t\t\t\t\tlabel: \"Seconds\",\n\t\t\t\t\t\t\t\tclassName: \"components-time-field-hours-input\",\n\t\t\t\t\t\t\t\tvalue: tsec,\n\t\t\t\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\t\t\t\treturn setAttributes({ tsec: escape(value) });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t),\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\"i\",\n\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\"This countdown will restart on page load\"\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t),\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t__WEBPACK_IMPORTED_MODULE_1__wordpress_element__[\"Fragment\"],\n\t\t\t\t\tnull,\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\"div\",\n\t\t\t\t\t\t{ className: \"urc-border\" },\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\"h4\",\n\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\"After expiration: \"\n\t\t\t\t\t\t),\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\"div\",\n\t\t\t\t\t\t\t{ className: \"urc-component\" },\n\t\t\t\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__wordpress_components__[\"ToggleControl\"], {\n\t\t\t\t\t\t\t\tlabel: Object(__WEBPACK_IMPORTED_MODULE_0__wordpress_i18n__[\"__\"])(\"After expired\", \"ujicountdown\"),\n\t\t\t\t\t\t\t\tchecked: hide,\n\t\t\t\t\t\t\t\thelp: hide ? Object(__WEBPACK_IMPORTED_MODULE_0__wordpress_i18n__[\"__\"])(\"Hide the countdown.\", \"ujicountdown\") : Object(__WEBPACK_IMPORTED_MODULE_0__wordpress_i18n__[\"__\"])(\"Go to URL.\", \"ujicountdown\"),\n\t\t\t\t\t\t\t\tonChange: function onChange() {\n\t\t\t\t\t\t\t\t\treturn setAttributes({ hide: !hide });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t!hide && wp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__wordpress_components__[\"TextControl\"], {\n\t\t\t\t\t\t\t\ttype: \"text\",\n\t\t\t\t\t\t\t\tlabel: \"Enter web address\",\n\t\t\t\t\t\t\t\tplaceholder: \"https://\",\n\t\t\t\t\t\t\t\tvalue: url,\n\t\t\t\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\t\t\t\treturn setAttributes({ url: escape(value) });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t),\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t__WEBPACK_IMPORTED_MODULE_1__wordpress_element__[\"Fragment\"],\n\t\t\t\t\tnull,\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\"div\",\n\t\t\t\t\t\t{ className: \"urc-border\" },\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\"h4\",\n\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\"Recurring Time: \"\n\t\t\t\t\t\t),\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\"div\",\n\t\t\t\t\t\t\t{ className: \"urc-component\" },\n\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t\"span\",\n\t\t\t\t\t\t\t\t{ className: \"spaceInp\" },\n\t\t\t\t\t\t\t\t\"Every \"\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__wordpress_components__[\"TextControl\"], {\n\t\t\t\t\t\t\t\ttype: \"number\",\n\t\t\t\t\t\t\t\tclassName: \"components-time-field-hours-input\",\n\t\t\t\t\t\t\t\tvalue: unitNum,\n\t\t\t\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\t\t\t\treturn setAttributes({ unitNum: escape(value) });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__wordpress_components__[\"SelectControl\"], {\n\t\t\t\t\t\t\t\tvalue: unitTime,\n\t\t\t\t\t\t\t\toptions: optionsTime,\n\t\t\t\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\t\t\t\treturn setAttributes({ unitTime: value });\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tclassName: \"components-time-field-hours-select\"\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t),\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\"div\",\n\t\t\t\t\t\t\t{ className: \"urc-component\" },\n\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t\"span\",\n\t\t\t\t\t\t\t\t{ className: \"spaceInp\" },\n\t\t\t\t\t\t\t\t\"Repeats \"\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__wordpress_components__[\"TextControl\"], {\n\t\t\t\t\t\t\t\ttype: \"number\",\n\t\t\t\t\t\t\t\tclassName: \"components-repeat-field-input\",\n\t\t\t\t\t\t\t\tvalue: repeats,\n\t\t\t\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\t\t\t\treturn setAttributes({ repeats: escape(value) });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t\"i\",\n\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t\"leave it empty for unlimited\"\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t),\n\t\t\t\tisNews && wp.element.createElement(\n\t\t\t\t\t__WEBPACK_IMPORTED_MODULE_1__wordpress_element__[\"Fragment\"],\n\t\t\t\t\tnull,\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\"div\",\n\t\t\t\t\t\t{ className: \"urc-border\" },\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\"h4\",\n\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\"Newsletter Form: \"\n\t\t\t\t\t\t),\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\"div\",\n\t\t\t\t\t\t\t{ className: \"urc-component\" },\n\t\t\t\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__wordpress_components__[\"TextControl\"], {\n\t\t\t\t\t\t\t\ttype: \"text\",\n\t\t\t\t\t\t\t\tvalue: news,\n\t\t\t\t\t\t\t\tplaceholder: \"Enter your campaign name\",\n\t\t\t\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\t\t\t\treturn setAttributes({ news: escape(value) });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t)\n\t\t);\n\t}\n};\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (Inspector);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMTAuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2svaW5zcGVjdG9yLmpzPzIzMDEiXSwic291cmNlc0NvbnRlbnQiOlsiLypnbG9iYWwgdWppY291bnRk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BO0FBQ0E7QUFDQSIsInNvdXJjZVJvb3QiOiIifQ==\n//# sourceURL=webpack-internal:///10\n");
187
 
188
  /***/ }),
189
  /* 11 */
183
  /***/ (function(module, __webpack_exports__, __webpack_require__) {
184
 
185
  "use strict";
186
+ eval("/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__wordpress_i18n__ = __webpack_require__(/*! @wordpress/i18n */ 2);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__wordpress_i18n___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_0__wordpress_i18n__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__wordpress_element__ = __webpack_require__(/*! @wordpress/element */ 0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__wordpress_element___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_1__wordpress_element__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__wordpress_block_editor__ = __webpack_require__(/*! @wordpress/block-editor */ 11);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__wordpress_block_editor___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_2__wordpress_block_editor__);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__wordpress_components__ = __webpack_require__(/*! @wordpress/components */ 1);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__wordpress_components___default = __webpack_require__.n(__WEBPACK_IMPORTED_MODULE_3__wordpress_components__);\n/*global ujicountdownData*/\n\n\n\n\n\n\n\nvar optionsStyles = function optionsStyles(styles) {\n\tvar stypeOpt = [{ value: '', label: 'Select Timer Style' }];\n\n\tif (styles !== null) {\n\t\tstyles.map(function (val) {\n\t\t\tstypeOpt.push({ value: val.value, label: val.text });\n\t\t});\n\t\treturn stypeOpt;\n\t} else {\n\t\treturn null;\n\t}\n};\n\nvar Inspector = function Inspector(props) {\n\tvar attributes = props.attributes,\n\t setAttributes = props.setAttributes;\n\tvar countStyles = attributes.countStyles,\n\t timerType = attributes.timerType,\n\t datetime = attributes.datetime,\n\t thour = attributes.thour,\n\t tmin = attributes.tmin,\n\t tsec = attributes.tsec,\n\t hide = attributes.hide,\n\t url = attributes.url,\n\t unitNum = attributes.unitNum,\n\t unitTime = attributes.unitTime,\n\t repeats = attributes.repeats,\n\t news = attributes.news;\n\n\n\tvar onUpdateDate = function onUpdateDate(dateTime) {\n\t\tvar newDateTime = moment(dateTime).format(\"YYYY-MM-DD HH:mm\");\n\t\tsetAttributes({ datetime: newDateTime });\n\t};\n\n\tvar optionsTime = [{ value: \"second\", label: Object(__WEBPACK_IMPORTED_MODULE_0__wordpress_i18n__[\"__\"])(\"Second(s)\", \"ujicountdown\") }, { value: \"minute\", label: Object(__WEBPACK_IMPORTED_MODULE_0__wordpress_i18n__[\"__\"])(\"Minute(s)\", \"ujicountdown\") }, { value: \"hour\", label: Object(__WEBPACK_IMPORTED_MODULE_0__wordpress_i18n__[\"__\"])(\"Hours(s)\", \"ujicountdown\") }, { value: \"day\", label: Object(__WEBPACK_IMPORTED_MODULE_0__wordpress_i18n__[\"__\"])(\"Days(s)\", \"ujicountdown\") }, { value: \"week\", label: Object(__WEBPACK_IMPORTED_MODULE_0__wordpress_i18n__[\"__\"])(\"Week(s)\", \"ujicountdown\") }, { value: \"month\", label: Object(__WEBPACK_IMPORTED_MODULE_0__wordpress_i18n__[\"__\"])(\"Month(s)\", \"ujicountdown\") }];\n\n\tvar optionStyles = typeof ujic_short_vars !== 'undefined' ? optionsStyles(ujic_short_vars.ujic_style) : null;\n\tvar isNews = typeof ujic_extend !== 'undefined' ? true : false;\n\n\tif (!optionStyles) {\n\t\treturn wp.element.createElement(\n\t\t\t__WEBPACK_IMPORTED_MODULE_2__wordpress_block_editor__[\"InspectorControls\"],\n\t\t\tnull,\n\t\t\twp.element.createElement(\n\t\t\t\t__WEBPACK_IMPORTED_MODULE_3__wordpress_components__[\"PanelBody\"],\n\t\t\t\t{\n\t\t\t\t\ttitle: Object(__WEBPACK_IMPORTED_MODULE_0__wordpress_i18n__[\"__\"])(\"Countdown Settings\", \"ujicountdown\"),\n\t\t\t\t\tinitialOpen: true,\n\t\t\t\t\tclassName: \"urc-settings-insp\"\n\t\t\t\t},\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t\"div\",\n\t\t\t\t\t{ className: \"urc-border\" },\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\"div\",\n\t\t\t\t\t\t{ className: \"urc-component\" },\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\"div\",\n\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t\"strong\",\n\t\t\t\t\t\t\t\t{ style: { color: 'red' } },\n\t\t\t\t\t\t\t\t\"Plese create a countdown style first.\"\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t\"p\",\n\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t\" Go to: \",\n\t\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t\t\"strong\",\n\t\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t\t\"Settings/Uji Countdown\"\n\t\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\t\t\" and create a style first! \"\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t)\n\t\t);\n\t} else {\n\t\treturn wp.element.createElement(\n\t\t\t__WEBPACK_IMPORTED_MODULE_2__wordpress_block_editor__[\"InspectorControls\"],\n\t\t\tnull,\n\t\t\twp.element.createElement(\n\t\t\t\t__WEBPACK_IMPORTED_MODULE_3__wordpress_components__[\"PanelBody\"],\n\t\t\t\t{\n\t\t\t\t\ttitle: Object(__WEBPACK_IMPORTED_MODULE_0__wordpress_i18n__[\"__\"])(\"Countdown Settings\", \"ujicountdown\"),\n\t\t\t\t\tinitialOpen: true,\n\t\t\t\t\tclassName: \"urc-settings-insp\"\n\t\t\t\t},\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t\"div\",\n\t\t\t\t\t{ className: \"urc-border\" },\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\"h4\",\n\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\"Select Style: \"\n\t\t\t\t\t),\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\"div\",\n\t\t\t\t\t\t{ className: \"urc-component\" },\n\t\t\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__wordpress_components__[\"SelectControl\"], {\n\t\t\t\t\t\t\tvalue: countStyles,\n\t\t\t\t\t\t\toptions: optionStyles,\n\t\t\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\t\t\treturn setAttributes({ countStyles: value });\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tclassName: \"components-style-field-select\"\n\t\t\t\t\t\t})\n\t\t\t\t\t)\n\t\t\t\t),\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t\"div\",\n\t\t\t\t\t{ className: \"urc-border\" },\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\"h4\",\n\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\"Timer Type: \"\n\t\t\t\t\t),\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\"div\",\n\t\t\t\t\t\t{ className: \"urc-component\" },\n\t\t\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__wordpress_components__[\"RadioControl\"], {\n\t\t\t\t\t\t\tselected: timerType,\n\t\t\t\t\t\t\toptions: [{\n\t\t\t\t\t\t\t\tlabel: Object(__WEBPACK_IMPORTED_MODULE_0__wordpress_i18n__[\"__\"])(\"One Time Timer\", \"ujicountdown\"),\n\t\t\t\t\t\t\t\tvalue: \"onetime\"\n\t\t\t\t\t\t\t}, {\n\t\t\t\t\t\t\t\tlabel: Object(__WEBPACK_IMPORTED_MODULE_0__wordpress_i18n__[\"__\"])(\"Repeating Timer\", \"ujicountdown\"),\n\t\t\t\t\t\t\t\tvalue: \"repeat\"\n\t\t\t\t\t\t\t}],\n\t\t\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\t\t\treturn setAttributes({ timerType: value });\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t})\n\t\t\t\t\t)\n\t\t\t\t),\n\t\t\t\ttimerType === \"onetime\" && wp.element.createElement(\n\t\t\t\t\t\"div\",\n\t\t\t\t\t{ className: \"urc-border\" },\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\"h4\",\n\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\"Expiration Date and Time: \"\n\t\t\t\t\t),\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\"div\",\n\t\t\t\t\t\t{ className: \"urc-component\" },\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t__WEBPACK_IMPORTED_MODULE_1__wordpress_element__[\"Fragment\"],\n\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t__WEBPACK_IMPORTED_MODULE_3__wordpress_components__[\"PanelRow\"],\n\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__wordpress_components__[\"DateTimePicker\"], {\n\t\t\t\t\t\t\t\t\tcurrentDate: datetime,\n\t\t\t\t\t\t\t\t\tonChange: function onChange(val) {\n\t\t\t\t\t\t\t\t\t\treturn onUpdateDate(val);\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tis12Hour: false\n\t\t\t\t\t\t\t\t})\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t),\n\t\t\t\ttimerType === \"repeat\" && wp.element.createElement(\n\t\t\t\t\t__WEBPACK_IMPORTED_MODULE_1__wordpress_element__[\"Fragment\"],\n\t\t\t\t\tnull,\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\"div\",\n\t\t\t\t\t\t{ className: \"urc-component-time\" },\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\"h4\",\n\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\"Select Time:\"\n\t\t\t\t\t\t),\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\"div\",\n\t\t\t\t\t\t\t{ className: \"urc-component\" },\n\t\t\t\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__wordpress_components__[\"TextControl\"], {\n\t\t\t\t\t\t\t\ttype: \"number\",\n\t\t\t\t\t\t\t\tlabel: \"Hours\",\n\t\t\t\t\t\t\t\tclassName: \"components-time-field-hours-input\",\n\t\t\t\t\t\t\t\tvalue: thour,\n\t\t\t\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\t\t\t\treturn setAttributes({ thour: escape(value) });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t\"span\",\n\t\t\t\t\t\t\t\t{ className: \"urc-time-separator\" },\n\t\t\t\t\t\t\t\t\":\"\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__wordpress_components__[\"TextControl\"], {\n\t\t\t\t\t\t\t\ttype: \"number\",\n\t\t\t\t\t\t\t\tlabel: \"Minutes\",\n\t\t\t\t\t\t\t\tclassName: \"components-time-field-hours-input\",\n\t\t\t\t\t\t\t\tvalue: tmin,\n\t\t\t\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\t\t\t\treturn setAttributes({ tmin: escape(value) });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t\"span\",\n\t\t\t\t\t\t\t\t{ className: \"urc-time-separator\" },\n\t\t\t\t\t\t\t\t\":\"\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__wordpress_components__[\"TextControl\"], {\n\t\t\t\t\t\t\t\ttype: \"number\",\n\t\t\t\t\t\t\t\tlabel: \"Seconds\",\n\t\t\t\t\t\t\t\tclassName: \"components-time-field-hours-input\",\n\t\t\t\t\t\t\t\tvalue: tsec,\n\t\t\t\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\t\t\t\treturn setAttributes({ tsec: escape(value) });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t),\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\"i\",\n\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\"This countdown will restart on page load\"\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t),\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t__WEBPACK_IMPORTED_MODULE_1__wordpress_element__[\"Fragment\"],\n\t\t\t\t\tnull,\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\"div\",\n\t\t\t\t\t\t{ className: \"urc-border\" },\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\"h4\",\n\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\"After expiration: \"\n\t\t\t\t\t\t),\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\"div\",\n\t\t\t\t\t\t\t{ className: \"urc-component\" },\n\t\t\t\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__wordpress_components__[\"ToggleControl\"], {\n\t\t\t\t\t\t\t\tlabel: Object(__WEBPACK_IMPORTED_MODULE_0__wordpress_i18n__[\"__\"])(\"After expired\", \"ujicountdown\"),\n\t\t\t\t\t\t\t\tchecked: hide,\n\t\t\t\t\t\t\t\thelp: hide ? Object(__WEBPACK_IMPORTED_MODULE_0__wordpress_i18n__[\"__\"])(\"Hide the countdown.\", \"ujicountdown\") : Object(__WEBPACK_IMPORTED_MODULE_0__wordpress_i18n__[\"__\"])(\"Go to URL.\", \"ujicountdown\"),\n\t\t\t\t\t\t\t\tonChange: function onChange() {\n\t\t\t\t\t\t\t\t\treturn setAttributes({ hide: !hide });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\t!hide && wp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__wordpress_components__[\"TextControl\"], {\n\t\t\t\t\t\t\t\ttype: \"text\",\n\t\t\t\t\t\t\t\tlabel: \"Enter web address:\",\n\t\t\t\t\t\t\t\tplaceholder: \"https://\",\n\t\t\t\t\t\t\t\tvalue: url,\n\t\t\t\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\t\t\t\treturn setAttributes({ url: value });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t),\n\t\t\t\twp.element.createElement(\n\t\t\t\t\t__WEBPACK_IMPORTED_MODULE_1__wordpress_element__[\"Fragment\"],\n\t\t\t\t\tnull,\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\"div\",\n\t\t\t\t\t\t{ className: \"urc-border\" },\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\"h4\",\n\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\"Recurring Time: \"\n\t\t\t\t\t\t),\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\"div\",\n\t\t\t\t\t\t\t{ className: \"urc-component\" },\n\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t\"span\",\n\t\t\t\t\t\t\t\t{ className: \"spaceInp\" },\n\t\t\t\t\t\t\t\t\"Every \"\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__wordpress_components__[\"TextControl\"], {\n\t\t\t\t\t\t\t\ttype: \"number\",\n\t\t\t\t\t\t\t\tclassName: \"components-time-field-hours-input\",\n\t\t\t\t\t\t\t\tvalue: unitNum,\n\t\t\t\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\t\t\t\treturn setAttributes({ unitNum: escape(value) });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__wordpress_components__[\"SelectControl\"], {\n\t\t\t\t\t\t\t\tvalue: unitTime,\n\t\t\t\t\t\t\t\toptions: optionsTime,\n\t\t\t\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\t\t\t\treturn setAttributes({ unitTime: value });\n\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\tclassName: \"components-time-field-hours-select\"\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t),\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\"div\",\n\t\t\t\t\t\t\t{ className: \"urc-component\" },\n\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t\"span\",\n\t\t\t\t\t\t\t\t{ className: \"spaceInp\" },\n\t\t\t\t\t\t\t\t\"Repeats \"\n\t\t\t\t\t\t\t),\n\t\t\t\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__wordpress_components__[\"TextControl\"], {\n\t\t\t\t\t\t\t\ttype: \"number\",\n\t\t\t\t\t\t\t\tclassName: \"components-repeat-field-input\",\n\t\t\t\t\t\t\t\tvalue: repeats,\n\t\t\t\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\t\t\t\treturn setAttributes({ repeats: escape(value) });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\t\"i\",\n\t\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\t\"leave it empty for unlimited\"\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t),\n\t\t\t\tisNews && wp.element.createElement(\n\t\t\t\t\t__WEBPACK_IMPORTED_MODULE_1__wordpress_element__[\"Fragment\"],\n\t\t\t\t\tnull,\n\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\"div\",\n\t\t\t\t\t\t{ className: \"urc-border\" },\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\"h4\",\n\t\t\t\t\t\t\tnull,\n\t\t\t\t\t\t\t\"Newsletter Form: \"\n\t\t\t\t\t\t),\n\t\t\t\t\t\twp.element.createElement(\n\t\t\t\t\t\t\t\"div\",\n\t\t\t\t\t\t\t{ className: \"urc-component\" },\n\t\t\t\t\t\t\twp.element.createElement(__WEBPACK_IMPORTED_MODULE_3__wordpress_components__[\"TextControl\"], {\n\t\t\t\t\t\t\t\ttype: \"text\",\n\t\t\t\t\t\t\t\tvalue: news,\n\t\t\t\t\t\t\t\tplaceholder: \"Enter your campaign name\",\n\t\t\t\t\t\t\t\tonChange: function onChange(value) {\n\t\t\t\t\t\t\t\t\treturn setAttributes({ news: escape(value) });\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t)\n\t\t\t\t\t)\n\t\t\t\t)\n\t\t\t)\n\t\t);\n\t}\n};\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (Inspector);//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMTAuanMiLCJzb3VyY2VzIjpbIndlYnBhY2s6Ly8vLi9zcmMvYmxvY2svaW5zcGVjdG9yLmpzPzIzMDEiXSwic291cmNlc0NvbnRlbnQiOlsiLypnbG9iYWwgdWppY291bnRkb3duRGF0YSovXG5cbmltcG9ydCB7IF9fIH0gZnJvbSBcIkB3b3JkcHJlc3MvaTE4blwiO1xuaW1wb3J0IHsgRnJhZ21lbnQgfSBmcm9tIFwiQHdvc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 -188,10 +188,10 @@ const Inspector = (props) => {
188
  {!hide && (
189
  <TextControl
190
  type="text"
191
- label="Enter web address"
192
  placeholder="https://"
193
  value={url}
194
- onChange={(value) => setAttributes({ url: escape(value) })}
195
  />
196
  )}
197
  </div>
188
  {!hide && (
189
  <TextControl
190
  type="text"
191
+ label="Enter web address:"
192
  placeholder="https://"
193
  value={url}
194
+ onChange={(value) => setAttributes({ url: value })}
195
  />
196
  )}
197
  </div>
ujicountdown.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Uji Countdown
4
  Plugin URI: http://www.wpmanage.com/uji-countdown
5
  Description: HTML5 Customizable Countdown.
6
- Version: 2.1.1
7
  Text Domain: ujicountdown
8
  Domain Path: /lang
9
  Author: Wpmanage.com
3
  Plugin Name: Uji Countdown
4
  Plugin URI: http://www.wpmanage.com/uji-countdown
5
  Description: HTML5 Customizable Countdown.
6
+ Version: 2.1.2
7
  Text Domain: ujicountdown
8
  Domain Path: /lang
9
  Author: Wpmanage.com