first commit

This commit is contained in:
2026-03-24 00:31:47 +01:00
commit 2506f6f9c7
3328 changed files with 1172155 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
<?php
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
/**
* This file is generated by Webpack, do not edit it directly.
*/
return [
'handle' => 'elementor-v2-editor-variables',
'deps' => [
'elementor-v2-editor',
'elementor-v2-editor-canvas',
'elementor-v2-editor-controls',
'elementor-v2-editor-current-user',
'elementor-v2-editor-editing-panel',
'elementor-v2-editor-panels',
'elementor-v2-editor-props',
'elementor-v2-editor-ui',
'elementor-v2-editor-v1-adapters',
'elementor-v2-http-client',
'elementor-v2-icons',
'elementor-v2-schema',
'elementor-v2-ui',
'react',
'wp-i18n',
],
];

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,485 @@
/*! ../../../context/variable-type-context */
/*! ../../../hooks/use-permissions */
/*! ../../../hooks/use-prop-variables */
/*! ../../../utils/unlink-variable */
/*! ../../../variables-registry/variable-type-registry */
/*! ../../context/variable-selection-popover.context */
/*! ../../hooks/use-permissions */
/*! ../../hooks/use-prop-variables */
/*! ../../utils/validations */
/*! ../../variable-restore */
/*! ../../variable-selection-popover */
/*! ../../variables-registry/variable-type-registry */
/*! ../components/ui/color-indicator */
/*! ../components/ui/variable/assigned-variable */
/*! ../components/ui/variable/deleted-variable */
/*! ../components/ui/variable/mismatch-variable */
/*! ../components/ui/variable/missing-variable */
/*! ../components/variable-selection-popover */
/*! ../context/variable-selection-popover.context */
/*! ../context/variable-type-context */
/*! ../deleted-variable-alert */
/*! ../fields/label-field */
/*! ../hooks/use-initial-value */
/*! ../hooks/use-permissions */
/*! ../hooks/use-prop-variables */
/*! ../mismatch-variable-alert */
/*! ../missing-variable-alert */
/*! ../prop-types/color-variable-prop-type */
/*! ../service */
/*! ../style-variables-repository */
/*! ../sync/get-canvas-iframe-document */
/*! ../tags/assigned-tag */
/*! ../tags/warning-variable-tag */
/*! ../transformers/inheritance-transformer */
/*! ../transformers/variable-transformer */
/*! ../utils/tracking */
/*! ../utils/validations */
/*! ../variables-registry/variable-type-registry */
/*! ./api */
/*! ./components/fields/color-field */
/*! ./components/fields/font-field */
/*! ./components/ui/color-indicator */
/*! ./components/variables-manager/variables-manager-panel */
/*! ./components/variables-repeater-item-slot */
/*! ./controls/variable-control */
/*! ./create-style-variables-repository */
/*! ./create-variable-type-registry */
/*! ./fields/label-field */
/*! ./hooks/use-prop-variable-action */
/*! ./init */
/*! ./prop-types/color-variable-prop-type */
/*! ./prop-types/font-variable-prop-type */
/*! ./register-variable-types */
/*! ./renderers/style-variables-renderer */
/*! ./repeater-injections */
/*! ./service */
/*! ./storage */
/*! ./style-variables-repository */
/*! ./sync/enqueue-font */
/*! ./ui/color-indicator */
/*! ./ui/delete-confirmation-dialog */
/*! ./ui/edit-confirmation-dialog */
/*! ./ui/form-field */
/*! ./ui/menu-item-content */
/*! ./ui/no-search-results */
/*! ./ui/no-variables */
/*! ./ui/styled-menu-list */
/*! ./use-prop-variables */
/*! ./utils/resolve-css-variable */
/*! ./variable-creation */
/*! ./variable-edit */
/*! ./variable-edit-menu */
/*! ./variable-editable-cell */
/*! ./variable-table-cell */
/*! ./variables-manager-table */
/*! ./variables-manager/variables-manager-panel */
/*! ./variables-registry/variable-type-registry */
/*! ./variables-selection */
/*! @elementor/editor */
/*! @elementor/editor-canvas */
/*! @elementor/editor-controls */
/*! @elementor/editor-current-user */
/*! @elementor/editor-editing-panel */
/*! @elementor/editor-panels */
/*! @elementor/editor-props */
/*! @elementor/editor-ui */
/*! @elementor/editor-v1-adapters */
/*! @elementor/http-client */
/*! @elementor/icons */
/*! @elementor/schema */
/*! @elementor/ui */
/*! @wordpress/i18n */
/*! react */
/*!**************************!*\
!*** external ["React"] ***!
\**************************/
/*!******************************!*\
!*** external ["wp","i18n"] ***!
\******************************/
/*!*************************************!*\
!*** external ["elementorV2","ui"] ***!
\*************************************/
/*!****************************************!*\
!*** external ["elementorV2","icons"] ***!
\****************************************/
/*!*****************************************!*\
!*** external ["elementorV2","editor"] ***!
\*****************************************/
/*!*****************************************!*\
!*** external ["elementorV2","schema"] ***!
\*****************************************/
/*!*******************************************!*\
!*** external ["elementorV2","editorUi"] ***!
\*******************************************/
/*!*********************************************!*\
!*** external ["elementorV2","httpClient"] ***!
\*********************************************/
/*!**********************************************!*\
!*** external ["elementorV2","editorProps"] ***!
\**********************************************/
/*!***********************************************!*\
!*** external ["elementorV2","editorCanvas"] ***!
\***********************************************/
/*!***********************************************!*\
!*** external ["elementorV2","editorPanels"] ***!
\***********************************************/
/*!*************************************************!*\
!*** external ["elementorV2","editorControls"] ***!
\*************************************************/
/*!***************************************************!*\
!*** external ["elementorV2","editorV1Adapters"] ***!
\***************************************************/
/*!****************************************************!*\
!*** external ["elementorV2","editorCurrentUser"] ***!
\****************************************************/
/*!*****************************************************!*\
!*** external ["elementorV2","editorEditingPanel"] ***!
\*****************************************************/
/*!************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/api.ts ***!
\************************************************************/
/*!*************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/init.ts ***!
\*************************************************************/
/*!**************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/index.ts ***!
\**************************************************************/
/*!****************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/service.ts ***!
\****************************************************************/
/*!****************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/storage.ts ***!
\****************************************************************/
/*!***********************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/utils/tracking.ts ***!
\***********************************************************************/
/*!**************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/sync/enqueue-font.ts ***!
\**************************************************************************/
/*!**************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/utils/validations.ts ***!
\**************************************************************************/
/*!****************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/repeater-injections.ts ***!
\****************************************************************************/
/*!******************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/hooks/use-permissions.ts ***!
\******************************************************************************/
/*!******************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/utils/unlink-variable.ts ***!
\******************************************************************************/
/*!********************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/hooks/use-initial-value.ts ***!
\********************************************************************************/
/*!*********************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/hooks/use-prop-variables.ts ***!
\*********************************************************************************/
/*!*********************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/register-variable-types.tsx ***!
\*********************************************************************************/
/*!**********************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/components/ui/form-field.tsx ***!
\**********************************************************************************/
/*!**********************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/components/variable-edit.tsx ***!
\**********************************************************************************/
/*!***********************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/controls/variable-control.tsx ***!
\***********************************************************************************/
/*!***********************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/style-variables-repository.ts ***!
\***********************************************************************************/
/*!************************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/components/ui/no-variables.tsx ***!
\************************************************************************************/
/*!*************************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/components/variable-restore.tsx ***!
\*************************************************************************************/
/*!**************************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/components/fields/font-field.tsx ***!
\**************************************************************************************/
/*!**************************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/components/variable-creation.tsx ***!
\**************************************************************************************/
/*!***************************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/components/fields/color-field.tsx ***!
\***************************************************************************************/
/*!***************************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/components/fields/label-field.tsx ***!
\***************************************************************************************/
/*!***************************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/components/ui/color-indicator.tsx ***!
\***************************************************************************************/
/*!***************************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/context/variable-type-context.tsx ***!
\***************************************************************************************/
/*!****************************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/components/ui/styled-menu-list.tsx ***!
\****************************************************************************************/
/*!****************************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/components/variables-selection.tsx ***!
\****************************************************************************************/
/*!****************************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/hooks/use-prop-variable-action.tsx ***!
\****************************************************************************************/
/*!****************************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/sync/get-canvas-iframe-document.ts ***!
\****************************************************************************************/
/*!*****************************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/components/ui/menu-item-content.tsx ***!
\*****************************************************************************************/
/*!*****************************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/components/ui/no-search-results.tsx ***!
\*****************************************************************************************/
/*!*****************************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/components/ui/tags/assigned-tag.tsx ***!
\*****************************************************************************************/
/*!******************************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/create-style-variables-repository.ts ***!
\******************************************************************************************/
/*!******************************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/transformers/variable-transformer.ts ***!
\******************************************************************************************/
/*!*******************************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/prop-types/font-variable-prop-type.ts ***!
\*******************************************************************************************/
/*!********************************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/prop-types/color-variable-prop-type.ts ***!
\********************************************************************************************/
/*!********************************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/renderers/style-variables-renderer.tsx ***!
\********************************************************************************************/
/*!**********************************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/components/ui/deleted-variable-alert.tsx ***!
\**********************************************************************************************/
/*!**********************************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/components/ui/missing-variable-alert.tsx ***!
\**********************************************************************************************/
/*!**********************************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/transformers/inheritance-transformer.tsx ***!
\**********************************************************************************************/
/*!***********************************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/components/ui/mismatch-variable-alert.tsx ***!
\***********************************************************************************************/
/*!***********************************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/components/variable-selection-popover.tsx ***!
\***********************************************************************************************/
/*!************************************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/components/ui/edit-confirmation-dialog.tsx ***!
\************************************************************************************************/
/*!************************************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/transformers/utils/resolve-css-variable.ts ***!
\************************************************************************************************/
/*!*************************************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/components/ui/tags/warning-variable-tag.tsx ***!
\*************************************************************************************************/
/*!*************************************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/components/ui/variable/deleted-variable.tsx ***!
\*************************************************************************************************/
/*!*************************************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/components/ui/variable/missing-variable.tsx ***!
\*************************************************************************************************/
/*!*************************************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/components/variables-repeater-item-slot.tsx ***!
\*************************************************************************************************/
/*!**************************************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/components/ui/delete-confirmation-dialog.tsx ***!
\**************************************************************************************************/
/*!**************************************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/components/ui/variable/assigned-variable.tsx ***!
\**************************************************************************************************/
/*!**************************************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/components/ui/variable/mismatch-variable.tsx ***!
\**************************************************************************************************/
/*!**************************************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/variables-registry/variable-type-registry.ts ***!
\**************************************************************************************************/
/*!****************************************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/context/variable-selection-popover.context.tsx ***!
\****************************************************************************************************/
/*!*********************************************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/components/variables-manager/variable-edit-menu.tsx ***!
\*********************************************************************************************************/
/*!*********************************************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/variables-registry/create-variable-type-registry.ts ***!
\*********************************************************************************************************/
/*!**********************************************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/components/variables-manager/variable-table-cell.tsx ***!
\**********************************************************************************************************/
/*!*************************************************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/components/variables-manager/variable-editable-cell.tsx ***!
\*************************************************************************************************************/
/*!**************************************************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/components/variables-manager/variables-manager-panel.tsx ***!
\**************************************************************************************************************/
/*!**************************************************************************************************************!*\
!*** ./packages/packages/core/editor-variables/src/components/variables-manager/variables-manager-table.tsx ***!
\**************************************************************************************************************/

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,87 @@
__( 'Unexpected response from server', 'elementor' );
__( 'Unexpected response from server', 'elementor' );
__( 'Give your variable a name.', 'elementor' );
__( 'Add a value to complete your variable.', 'elementor' );
__( 'Use letters, numbers, dashes (-), or underscores (_) for the name.', 'elementor' );
__( 'Names have to include at least one non-special character.', 'elementor' );
__( 'Keep names up to 50 characters.', 'elementor' );
__( 'This variable name already exists. Please choose a unique name.', 'elementor' );
__( 'There was a glitch. Try saving your variable again.', 'elementor' );
__( 'Missing variable', 'elementor' );
__( 'Variables', 'elementor' );
/* translators: %s: Variable Type. */
__( 'Create your first %s variable', 'elementor' );
__( 'Variables', 'elementor' );
__( 'Search', 'elementor' );
__( 'Restore variable', 'elementor' );
__( 'Name', 'elementor' );
__( 'Value', 'elementor' );
__( 'Restore', 'elementor' );
__( 'Delete', 'elementor' );
__( 'Edit variable', 'elementor' );
__( 'Go Back', 'elementor' );
__( 'Name', 'elementor' );
__( 'Value', 'elementor' );
__( 'Save', 'elementor' );
__( 'Go Back', 'elementor' );
__( 'Create variable', 'elementor' );
__( 'Name', 'elementor' );
__( 'Value', 'elementor' );
__( 'Create', 'elementor' );
__( 'Name', 'elementor' );
__( 'Value', 'elementor' );
__( 'Delete', 'elementor' );
__( 'Variable Manager', 'elementor' );
__( 'Save changes', 'elementor' );
__( 'Something went wrong', 'elementor' );
__( 'Create your first variable', 'elementor' );
__(
'Variables are saved attributes that you can apply anywhere on your site.',
'elementor'
);
__( 'Create a variable', 'elementor' );
__( 'There are no variables', 'elementor' );
__( 'With your current role, you can only connect and detach variables.', 'elementor' );
__( 'Sorry, nothing matched', 'elementor' );
__( 'Try something else.', 'elementor' );
__( 'Clear & try again', 'elementor' );
__( 'Clear', 'elementor' );
__( 'This variable is missing', 'elementor' );
__(
'It may have been deleted. Try clearing this field and select a different value or variable.',
'elementor'
);
__( 'Variable has changed', 'elementor' );
__(
`This variable is no longer compatible with this property. You can clear it or select a different one.`,
'elementor'
);
__( 'Clear', 'elementor' );
__( 'Select variable', 'elementor' );
__( 'Edit', 'elementor' );
__( 'Changes to variables go live right away.', 'elementor' );
__(
"Don't worry - all other changes you make will wait until you publish your site.",
'elementor'
);
__( "Don't show me again", 'elementor' );
__( 'Keep editing', 'elementor' );
__( 'Save', 'elementor' );
__( 'Unlink', 'elementor' );
__( 'Restore', 'elementor' );
__( 'Deleted variable', 'elementor' );
__( 'The variable', 'elementor' );
__(
'has been deleted, but it is still referenced in this location. You may restore the variable or unlink it to assign a different value.',
'elementor'
);
__( 'Delete this variable?', 'elementor' );
__( 'All elements using', 'elementor' );
__( 'will keep their current values, but the variable itself will be removed.', 'elementor' );
__( 'Not now', 'elementor' );
__( 'Delete', 'elementor' );
__( 'Font Family', 'elementor' );
__( 'Missing variable', 'elementor' );
__( 'changed', 'elementor' );
__( 'deleted', 'elementor' );
__( 'Unlink', 'elementor' );