PluginProbe
Visualizer – Tables & Charts Manager with Built-in AI Generator / 3.10.8
Visualizer – Tables & Charts Manager with Built-in AI Generator v3.10.8
4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 3.1.2 3.1.3 3.10.0 3.10.1 3.10.10 3.10.11 3.10.12 3.10.13 3.10.14 3.10.15 3.10.2 3.10.3 3.10.4 All 148 releases
← All changes | classes/Visualizer/Gutenberg/src/Components/Import/RemoteImport.js +19 -2 3.1.13.10.8 View file →
@@ -12,8 +12,13 @@
12 12 SelectControl,
13 13 TextControl
14 14 } = wp.components;
15 15
16 +/**
17 + * Internal dependencies
18 + */
19 +import JSONImport from './JSONImport.js';
20 +
16 21 class RemoteImport extends Component {
17 22 constructor() {
18 23 super( ...arguments );
19 24 }
@@ -80,8 +85,9 @@
80 85 label={ __( 'How often do you want to check the url?' ) }
81 86 value={ this.props.chart['visualizer-chart-schedule'] ? this.props.chart['visualizer-chart-schedule'] : 1 }
82 87 options={ [
83 88 { label: __( 'Each hour' ), value: '1' },
89 + { label: __( 'Live' ), value: '0' },
84 90 { label: __( 'Each 12 hours' ), value: '12' },
85 91 { label: __( 'Each day' ), value: '24' },
86 92 { label: __( 'Each 3 days' ), value: '72' }
87 93 ] }
@@ -105,9 +111,9 @@
105 111 className="visualizer-inner-sections"
106 112 initialOpen={ false }
107 113 >
108 114
109 - <p>{ __( 'Enable this feature in BUSINESS version!' ) }</p>
115 + <p>{ __( 'Upgrade your license to at least the DEVELOPER version to activate this feature!' ) }</p>
110 116
111 117 <Button
112 118 isPrimary
113 119 href={ visualizerLocalize.proTeaser }
@@ -112,13 +118,24 @@
112 118 isPrimary
113 119 href={ visualizerLocalize.proTeaser }
114 120 target="_blank"
115 121 >
116 - { __( 'Buy Now' ) }
122 + { __( 'Upgrade Now' ) }
117 123 </Button>
118 124
119 125 </PanelBody>
120 126 }
127 +
128 + <JSONImport
129 + id={ this.props.id }
130 + chart={ this.props.chart }
131 + editSchedule={ this.props.editJSONSchedule }
132 + editJSONURL={ this.props.editJSONURL }
133 + editJSONHeaders={ this.props.editJSONHeaders }
134 + editJSONRoot={ this.props.editJSONRoot }
135 + editJSONPaging={ this.props.editJSONPaging }
136 + JSONImportData={ this.props.JSONImportData }
137 + />
121 138
122 139 </PanelBody>
123 140 );
124 141 }