|
@@ -13,8 +13,6 @@
|
|
|
*/
|
|
*/
|
|
|
class BxBaseIconsetLucide extends BxBaseIconset
|
|
class BxBaseIconsetLucide extends BxBaseIconset
|
|
|
{
|
|
{
|
|
|
- const VERSION = '1.41.0'; ///< Lucide version used when the local copy (see `build:lucide` in package.json) isn't available.
|
|
|
|
|
-
|
|
|
|
|
protected $_aMap;
|
|
protected $_aMap;
|
|
|
protected static $_aCacheSvg = [];
|
|
protected static $_aCacheSvg = [];
|
|
|
|
|
|
|
@@ -33,24 +31,21 @@ class BxBaseIconsetLucide extends BxBaseIconset
|
|
|
'bars' => 'menu',
|
|
'bars' => 'menu',
|
|
|
'book-reader' => 'book-open-text',
|
|
'book-reader' => 'book-open-text',
|
|
|
'buffer' => 'layers',
|
|
'buffer' => 'layers',
|
|
|
- 'building' => 'building',
|
|
|
|
|
'bullhorn' => 'megaphone',
|
|
'bullhorn' => 'megaphone',
|
|
|
'calendar-alt' => 'calendar-days',
|
|
'calendar-alt' => 'calendar-days',
|
|
|
'calendar-day' => 'calendar-days',
|
|
'calendar-day' => 'calendar-days',
|
|
|
- 'calendar-plus' => 'calendar-plus',
|
|
|
|
|
'camera-retro' => 'camera',
|
|
'camera-retro' => 'camera',
|
|
|
'caret-right' => 'chevron-right',
|
|
'caret-right' => 'chevron-right',
|
|
|
'cart-arrow-down' => 'shopping-cart',
|
|
'cart-arrow-down' => 'shopping-cart',
|
|
|
'cart-plus' => 'shopping-cart',
|
|
'cart-plus' => 'shopping-cart',
|
|
|
'cc-stripe' => 'credit-card',
|
|
'cc-stripe' => 'credit-card',
|
|
|
'certificate' => 'award',
|
|
'certificate' => 'award',
|
|
|
- 'chart-pie' => 'chart-pie',
|
|
|
|
|
'check-circle' => 'circle-check',
|
|
'check-circle' => 'circle-check',
|
|
|
'check-double' => 'check-check',
|
|
'check-double' => 'check-check',
|
|
|
- 'clipboard-check' => 'clipboard-check',
|
|
|
|
|
'cog' => 'settings',
|
|
'cog' => 'settings',
|
|
|
'cogs' => 'settings',
|
|
'cogs' => 'settings',
|
|
|
'comment' => 'message-circle',
|
|
'comment' => 'message-circle',
|
|
|
|
|
+ 'comment-alt' => 'message-square',
|
|
|
'comment-dots' => 'message-square-dashed',
|
|
'comment-dots' => 'message-square-dashed',
|
|
|
'comments' => 'messages-square',
|
|
'comments' => 'messages-square',
|
|
|
'desktop' => 'monitor',
|
|
'desktop' => 'monitor',
|
|
@@ -83,7 +78,6 @@ class BxBaseIconsetLucide extends BxBaseIconset
|
|
|
'hand-holding-usd' => 'hand-coins',
|
|
'hand-holding-usd' => 'hand-coins',
|
|
|
'hashtag' => 'hash',
|
|
'hashtag' => 'hash',
|
|
|
'helpcircle' => 'circle-question-mark',
|
|
'helpcircle' => 'circle-question-mark',
|
|
|
- 'house' => 'house',
|
|
|
|
|
'industry' => 'factory',
|
|
'industry' => 'factory',
|
|
|
'info-circle' => 'info',
|
|
'info-circle' => 'info',
|
|
|
'keyround' => 'key-round',
|
|
'keyround' => 'key-round',
|
|
@@ -105,7 +99,6 @@ class BxBaseIconsetLucide extends BxBaseIconset
|
|
|
'question-circle' => 'circle-question-mark',
|
|
'question-circle' => 'circle-question-mark',
|
|
|
'quote-right' => 'quote',
|
|
'quote-right' => 'quote',
|
|
|
'remove' => 'x',
|
|
'remove' => 'x',
|
|
|
- 'reply-all' => 'reply-all',
|
|
|
|
|
'search-location' => 'search-check',
|
|
'search-location' => 'search-check',
|
|
|
'share-alt' => 'share-2',
|
|
'share-alt' => 'share-2',
|
|
|
'shield-alt' => 'shield',
|
|
'shield-alt' => 'shield',
|
|
@@ -145,10 +138,7 @@ class BxBaseIconsetLucide extends BxBaseIconset
|
|
|
|
|
|
|
|
public function getPreloaderJs()
|
|
public function getPreloaderJs()
|
|
|
{
|
|
{
|
|
|
- if(file_exists(BX_DIRECTORY_PATH_PLUGINS_PUBLIC . 'lucide/lucide.min.js'))
|
|
|
|
|
- return '{dir_plugins_public}lucide/|lucide.min.js';
|
|
|
|
|
-
|
|
|
|
|
- return 'https://unpkg.com/lucide@' . self::VERSION;
|
|
|
|
|
|
|
+ return '{dir_plugins_public}lucide/|lucide.min.js';
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public function getIcon($sIcon)
|
|
public function getIcon($sIcon)
|