PluginProbe
Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud! / 3.8.0
Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud! v3.8.0
3.8.0 3.7.5 3.7.4 3.7.3 3.7.2 1-final 3.7.1 3.7.0 3.6.8 3.6.7 3.6.6 3.6.5 3.6.4 3.6.3 3.6.2 3.6.1 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 All 112 releases
templately / assets / js / site-editor-views.js

site-editor-views.js in Templately – Elementor & Gutenberg Template Library: 6500+ Free & Pro Ready Templates And Cloud! 3.8.0, at assets/js/site-editor-views.js

1 lines 1.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 (()=>{"use strict";var e,t=window,__=function(e){var i,l=null===(i=t.wp)||void 0===i||null===(i=i.i18n)||void 0===i?void 0:i.__;return"function"==typeof l?l(e,"templately"):e},i=function(e){var t;return null!==(t=null==e?void 0:e.meta)&&void 0!==t?t:{}},l=[{id:"templately_source",type:"text",label:__("Source"),enableSorting:!0,enableHiding:!0,filterBy:{operators:["contains","notContains"]},getValue:function(e){return function(e){var l,n=i(e),o=n._templately_pack_id;if(!n._templately_imported_at)return"";var r=o?null===(l=t.templately)||void 0===l||null===(l=l.siteEditorViews)||void 0===l||null===(l=l.packNames)||void 0===l?void 0:l[o]:void 0;return r?"".concat(__("Templately"),"").concat(r):__("Templately")}(e.item)}},{id:"templately_imported",type:"datetime",label:__("Imported"),enableSorting:!0,enableHiding:!0,filterBy:{operators:["after","before"]},getValue:function(e){return t=e.item,null!==(l=i(t)._templately_imported_at)&&void 0!==l?l:"";var t,l}},{id:"templately_origin",type:"text",label:__("Origin"),enableSorting:!0,enableHiding:!0,filterBy:{operators:["is","isNot"]},getValue:function(e){return t=e.item,(l=i(t)._templately_source)?__("ai"===l?"AI-generated":"Curated"):"";var t,l}}],n=null===(e=t.wp)||void 0===e||null===(e=e.editor)||void 0===e?void 0:e.registerEntityField;"function"==typeof n&&l.forEach(function(e){return n("postType","page",e)})})();