bkui-vue 2.1.0-dev-beta.16 → 3.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +62 -62
- package/dist/index.esm.js +12639 -12627
- package/dist/index.umd.js +62 -62
- package/dist/locale/en.esm.js.map +1 -1
- package/dist/locale/ja-jp.esm.js.map +1 -1
- package/dist/locale/zh-cn.esm.js.map +1 -1
- package/lib/index.js +1 -1
- package/lib/select/index.js +6 -1
- package/lib/tree/index.js +61 -29
- package/package.json +21 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en.esm.js","sources":["../../packages/locale/src/lang/en.ts"],"sourcesContent":["/*\n * Tencent is pleased to support the open source community by making\n * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.\n *\n * Copyright (C) 2025 Tencent. All rights reserved.\n *\n * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.\n *\n * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):\n *\n * ---------------------------------------------------\n * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated\n * documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation\n * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and\n * to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all copies or substantial portions of\n * the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO\n * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF\n * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n * IN THE SOFTWARE.\n */\n\nconst en = {\n lang: 'en',\n steps: {\n step1: 'step1',\n step2: 'step2',\n step3: 'step3',\n },\n datePicker: {\n selectDate: 'Select Date',\n selectTime: 'Select Time',\n clear: 'Clear',\n ok: 'OK',\n weekdays: {\n sun: 'Sun',\n mon: 'Mon',\n tue: 'Tue',\n wed: 'Wed',\n thu: 'Thu',\n fri: 'Fri',\n sat: 'Sat',\n },\n hour: 'Hour',\n min: 'Minute',\n sec: 'Second',\n toNow: 'Now',\n // now: 'Now',\n },\n dialog: {\n ok: 'OK',\n cancel: 'Cancel',\n prev: 'prev',\n next: 'next',\n },\n popConfirm: {\n ok: 'OK',\n cancel: 'Cancel',\n },\n form: {\n notBeEmpty: 'cannot be empty',\n incorrectFormat: 'incorrect format',\n max: 'maximum value',\n min: 'minimum value',\n maxLen: 'maximum length',\n verifyError: 'verify error',\n },\n pagination: {\n eachPage: 'Each Page',\n strip: '',\n total: 'Total',\n },\n process: {\n step1: 'step1',\n step2: 'step2',\n step3: 'step3',\n step4: 'step4',\n },\n searchSelect: {\n pleaseSelect: 'Please Select',\n loading: 'Loading...',\n filterQueryMustHasValue: 'Filter query containing key value must have value',\n ok: 'OK',\n cancel: 'Cancel',\n or: 'Or',\n and: 'And',\n logical: 'Logical:',\n },\n select: {\n noData: 'No data',\n noMatchedData: 'No matched data',\n loading: 'Loading...',\n pleaseSelect: 'Please select',\n enterKeywords: 'Please enter keywords',\n all: 'All',\n selectAll: 'Select all',\n },\n table: {\n emptyText: 'No Data',\n confirm: 'Confirm',\n reset: 'Reset',\n sort: 'Sort',\n setting: {\n title: 'Table Settings',\n fields: {\n title: 'Displaying Fields Setting',\n subtitle: (max: number) => `(${max} fields most)`,\n selectAll: 'All',\n },\n lineHeight: {\n title: 'Table Line Height',\n small: 'small',\n medium: 'medium',\n large: 'large',\n },\n options: {\n ok: 'OK',\n cancel: 'Cancel',\n },\n },\n },\n transfer: {\n sourceList: 'Source List',\n targetList: 'Target List',\n removeAll: 'Remove All',\n selectAll: 'Select All',\n noData: 'No Data',\n noSelected: 'No Selected',\n search: 'Search',\n },\n upload: {\n uploadSuccess: 'Upload Success',\n uploadFailed: 'Upload Failed',\n drapFileOr: 'Drag files here or ',\n clickUpload: 'Click Upload',\n uploadLabel: 'Upload Files',\n },\n input: {\n placeholder: 'Please input',\n maxlengthLimitTips: 'Reached character limit',\n },\n tagInput: {\n placeholder: 'Please input and press ENTER to finish',\n },\n message: {\n assistant: 'Assistant',\n details: 'Details',\n copySuccess: 'Successfully',\n copyFailed: 'Copy Failed',\n },\n cascader: {\n pleaseSelect: 'Please Select',\n noData: 'No data',\n emptyText: 'No Data',\n },\n // exception: {\n // 403: 'Forbidden',\n // 404: 'Not Found',\n // 500: 'Internal Server Error',\n // building: 'Building',\n // empty: 'No Data',\n // searchEmpty: 'Search Is Empty',\n // login: 'Please log in to Blueking',\n // },\n // imageViewer: {\n // loadFailed: 'Picture failed to load.',\n // quitTips: 'ESC Can Exit fullscreen',\n // },\n // notify: {\n // showMore: 'Show more',\n // },\n // sideslider: {\n // title: 'Title',\n // },\n // tree: {\n // emptyText: 'No Data',\n // },\n // navigation: {\n // headerTitle: 'Program name',\n // },\n // bigTree: {\n // emptyText: 'No Data',\n // },\n // message: {\n // copy: 'copy',\n // copied: 'copied',\n // },\n // image: {\n // zoomIn: 'zoom in',\n // zoomOut: 'zoom out',\n // rotateLeft: 'anticlockwise',\n // rotateRight: 'clockwise rotation',\n // fullScreen: 'full screen',\n // original: 'original size',\n // prev: 'prev',\n // next: 'next',\n // },\n versionLog: {\n current: 'Current',\n },\n};\n\nexport type Language = typeof en;\n\nexport default en;\n"],"names":["en","max"],"mappings":"
|
|
1
|
+
{"version":3,"file":"en.esm.js","sources":["../../packages/locale/src/lang/en.ts"],"sourcesContent":["/*\n * Tencent is pleased to support the open source community by making\n * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.\n *\n * Copyright (C) 2025 Tencent. All rights reserved.\n *\n * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.\n *\n * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):\n *\n * ---------------------------------------------------\n * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated\n * documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation\n * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and\n * to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all copies or substantial portions of\n * the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO\n * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF\n * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n * IN THE SOFTWARE.\n */\n\nconst en = {\n lang: 'en',\n steps: {\n step1: 'step1',\n step2: 'step2',\n step3: 'step3',\n },\n datePicker: {\n selectDate: 'Select Date',\n selectTime: 'Select Time',\n clear: 'Clear',\n ok: 'OK',\n weekdays: {\n sun: 'Sun',\n mon: 'Mon',\n tue: 'Tue',\n wed: 'Wed',\n thu: 'Thu',\n fri: 'Fri',\n sat: 'Sat',\n },\n hour: 'Hour',\n min: 'Minute',\n sec: 'Second',\n toNow: 'Now',\n // now: 'Now',\n },\n dialog: {\n ok: 'OK',\n cancel: 'Cancel',\n prev: 'prev',\n next: 'next',\n },\n popConfirm: {\n ok: 'OK',\n cancel: 'Cancel',\n },\n form: {\n notBeEmpty: 'cannot be empty',\n incorrectFormat: 'incorrect format',\n max: 'maximum value',\n min: 'minimum value',\n maxLen: 'maximum length',\n verifyError: 'verify error',\n },\n pagination: {\n eachPage: 'Each Page',\n strip: '',\n total: 'Total',\n },\n process: {\n step1: 'step1',\n step2: 'step2',\n step3: 'step3',\n step4: 'step4',\n },\n searchSelect: {\n pleaseSelect: 'Please Select',\n loading: 'Loading...',\n filterQueryMustHasValue: 'Filter query containing key value must have value',\n ok: 'OK',\n cancel: 'Cancel',\n or: 'Or',\n and: 'And',\n logical: 'Logical:',\n },\n select: {\n noData: 'No data',\n noMatchedData: 'No matched data',\n loading: 'Loading...',\n pleaseSelect: 'Please select',\n enterKeywords: 'Please enter keywords',\n all: 'All',\n selectAll: 'Select all',\n },\n table: {\n emptyText: 'No Data',\n confirm: 'Confirm',\n reset: 'Reset',\n sort: 'Sort',\n setting: {\n title: 'Table Settings',\n fields: {\n title: 'Displaying Fields Setting',\n subtitle: (max: number) => `(${max} fields most)`,\n selectAll: 'All',\n },\n lineHeight: {\n title: 'Table Line Height',\n small: 'small',\n medium: 'medium',\n large: 'large',\n },\n options: {\n ok: 'OK',\n cancel: 'Cancel',\n },\n },\n },\n transfer: {\n sourceList: 'Source List',\n targetList: 'Target List',\n removeAll: 'Remove All',\n selectAll: 'Select All',\n noData: 'No Data',\n noSelected: 'No Selected',\n search: 'Search',\n },\n upload: {\n uploadSuccess: 'Upload Success',\n uploadFailed: 'Upload Failed',\n drapFileOr: 'Drag files here or ',\n clickUpload: 'Click Upload',\n uploadLabel: 'Upload Files',\n },\n input: {\n placeholder: 'Please input',\n maxlengthLimitTips: 'Reached character limit',\n },\n tagInput: {\n placeholder: 'Please input and press ENTER to finish',\n },\n message: {\n assistant: 'Assistant',\n details: 'Details',\n copySuccess: 'Successfully',\n copyFailed: 'Copy Failed',\n },\n cascader: {\n pleaseSelect: 'Please Select',\n noData: 'No data',\n emptyText: 'No Data',\n },\n // exception: {\n // 403: 'Forbidden',\n // 404: 'Not Found',\n // 500: 'Internal Server Error',\n // building: 'Building',\n // empty: 'No Data',\n // searchEmpty: 'Search Is Empty',\n // login: 'Please log in to Blueking',\n // },\n // imageViewer: {\n // loadFailed: 'Picture failed to load.',\n // quitTips: 'ESC Can Exit fullscreen',\n // },\n // notify: {\n // showMore: 'Show more',\n // },\n // sideslider: {\n // title: 'Title',\n // },\n // tree: {\n // emptyText: 'No Data',\n // },\n // navigation: {\n // headerTitle: 'Program name',\n // },\n // bigTree: {\n // emptyText: 'No Data',\n // },\n // message: {\n // copy: 'copy',\n // copied: 'copied',\n // },\n // image: {\n // zoomIn: 'zoom in',\n // zoomOut: 'zoom out',\n // rotateLeft: 'anticlockwise',\n // rotateRight: 'clockwise rotation',\n // fullScreen: 'full screen',\n // original: 'original size',\n // prev: 'prev',\n // next: 'next',\n // },\n versionLog: {\n current: 'Current',\n },\n};\n\nexport type Language = typeof en;\n\nexport default en;\n"],"names":["en","max"],"mappings":"AA0BA,MAAMA,EAAK,CACT,KAAM,KACN,MAAO,CACL,MAAO,QACP,MAAO,QACP,MAAO,OACT,EACA,WAAY,CACV,WAAY,cACZ,WAAY,cACZ,MAAO,QACP,GAAI,KACJ,SAAU,CACR,IAAK,MACL,IAAK,MACL,IAAK,MACL,IAAK,MACL,IAAK,MACL,IAAK,MACL,IAAK,KACP,EACA,KAAM,OACN,IAAK,SACL,IAAK,SACL,MAAO,KAET,EACA,OAAQ,CACN,GAAI,KACJ,OAAQ,SACR,KAAM,OACN,KAAM,MACR,EACA,WAAY,CACV,GAAI,KACJ,OAAQ,QACV,EACA,KAAM,CACJ,WAAY,kBACZ,gBAAiB,mBACjB,IAAK,gBACL,IAAK,gBACL,OAAQ,iBACR,YAAa,cACf,EACA,WAAY,CACV,SAAU,YACV,MAAO,GACP,MAAO,OACT,EACA,QAAS,CACP,MAAO,QACP,MAAO,QACP,MAAO,QACP,MAAO,OACT,EACA,aAAc,CACZ,aAAc,gBACd,QAAS,aACT,wBAAyB,oDACzB,GAAI,KACJ,OAAQ,SACR,GAAI,KACJ,IAAK,MACL,QAAS,UACX,EACA,OAAQ,CACN,OAAQ,UACR,cAAe,kBACf,QAAS,aACT,aAAc,gBACd,cAAe,wBACf,IAAK,MACL,UAAW,YACb,EACA,MAAO,CACL,UAAW,UACX,QAAS,UACT,MAAO,QACP,KAAM,OACN,QAAS,CACP,MAAO,iBACP,OAAQ,CACN,MAAO,4BACP,SAAWC,GAAgB,SAAIA,sBAC/B,UAAW,KACb,EACA,WAAY,CACV,MAAO,oBACP,MAAO,QACP,OAAQ,SACR,MAAO,OACT,EACA,QAAS,CACP,GAAI,KACJ,OAAQ,QACV,CACF,CACF,EACA,SAAU,CACR,WAAY,cACZ,WAAY,cACZ,UAAW,aACX,UAAW,aACX,OAAQ,UACR,WAAY,cACZ,OAAQ,QACV,EACA,OAAQ,CACN,cAAe,iBACf,aAAc,gBACd,WAAY,sBACZ,YAAa,eACb,YAAa,cACf,EACA,MAAO,CACL,YAAa,eACb,mBAAoB,yBACtB,EACA,SAAU,CACR,YAAa,wCACf,EACA,QAAS,CACP,UAAW,YACX,QAAS,UACT,YAAa,eACb,WAAY,aACd,EACA,SAAU,CACR,aAAc,gBACd,OAAQ,UACR,UAAW,SACb,EA2CA,WAAY,CACV,QAAS,SACX,CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ja-jp.esm.js","sources":["../../packages/locale/src/lang/ja-jp.ts"],"sourcesContent":["/*\n * Tencent is pleased to support the open source community by making\n * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.\n *\n * Copyright (C) 2025 Tencent. All rights reserved.\n *\n * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.\n *\n * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):\n *\n * ---------------------------------------------------\n * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated\n * documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation\n * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and\n * to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all copies or substantial portions of\n * the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO\n * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF\n * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n * IN THE SOFTWARE.\n */\n\nimport { Language as EnLanguage } from './en';\n\nconst jp: EnLanguage = {\n lang: 'ja',\n steps: {\n step1: 'ステップ1',\n step2: 'ステップ2',\n step3: 'ステップ3',\n },\n datePicker: {\n selectDate: '日付を選択',\n selectTime: '時間を選択',\n clear: 'クリア',\n ok: 'OK',\n weekdays: {\n sun: '日',\n mon: '月',\n tue: '火',\n wed: '水',\n thu: '木',\n fri: '金',\n sat: '土',\n },\n hour: '時',\n min: '分',\n sec: '秒',\n toNow: '現在まで',\n },\n dialog: {\n ok: 'OK',\n cancel: 'キャンセル',\n prev: '前へ',\n next: '次へ',\n },\n popConfirm: {\n ok: 'OK',\n cancel: 'キャンセル',\n },\n form: {\n notBeEmpty: '空にできません',\n incorrectFormat: 'フォーマットが正しくありません',\n max: '最大値',\n min: '最小値',\n maxLen: '最大の長さ',\n verifyError: '検証エラー',\n },\n pagination: {\n eachPage: '各ページ',\n strip: '項目',\n total: '合計',\n },\n process: {\n step1: 'ステップ1',\n step2: 'ステップ2',\n step3: 'ステップ3',\n step4: 'ステップ4',\n },\n searchSelect: {\n pleaseSelect: '選択してください',\n loading: 'ロード中...',\n filterQueryMustHasValue: 'フィルターに一つ以上の値を選択する必要があります',\n ok: 'OK',\n cancel: 'キャンセル',\n or: 'or',\n and: 'and',\n logical: 'ロジック:',\n },\n select: {\n noData: 'データなし',\n noMatchedData: '一致するデータがありません',\n loading: '読み込み中...',\n pleaseSelect: '選択してください',\n enterKeywords: 'キーワードを入力してください',\n all: 'すべて',\n selectAll: 'すべて選択',\n },\n table: {\n emptyText: 'データがありません',\n confirm: 'OK',\n reset: 'リセット',\n sort: 'ソート',\n setting: {\n title: 'テーブル設定',\n fields: {\n title: '表示フィールド設定',\n subtitle: (max: number) => `(最大${max}項目)`,\n selectAll: 'すべて選択',\n },\n lineHeight: {\n title: 'テーブル行の高さ',\n small: '小',\n medium: '中',\n large: '大',\n },\n options: {\n ok: 'OK',\n cancel: 'キャンセル',\n },\n },\n },\n transfer: {\n sourceList: 'ソースリスト',\n targetList: 'ターゲットリスト',\n removeAll: 'すべて削除',\n selectAll: 'すべて選択',\n noData: 'データがありません',\n noSelected: '選択されていません',\n search: '検索',\n },\n upload: {\n uploadSuccess: 'アップロード成功',\n uploadFailed: 'アップロード失敗',\n drapFileOr: 'ここにファイルをドラッグまたは',\n clickUpload: 'クリックしてアップロード',\n uploadLabel: 'ファイルをアップロード',\n },\n input: {\n placeholder: '入力してください',\n maxlengthLimitTips: '文字数制限に達しました',\n },\n tagInput: {\n placeholder: '入力してEnterキーで終了',\n },\n message: {\n assistant: 'アシスタント',\n details: '詳細',\n copySuccess: 'コピー成功',\n copyFailed: 'コピー失敗',\n },\n cascader: {\n pleaseSelect: '選択してください',\n noData: 'データがありません',\n emptyText: '該当する検索結果がありません',\n },\n versionLog: {\n current: '現在のバージョン',\n },\n};\n\nexport default jp;\n"],"names":["jp","max"],"mappings":"
|
|
1
|
+
{"version":3,"file":"ja-jp.esm.js","sources":["../../packages/locale/src/lang/ja-jp.ts"],"sourcesContent":["/*\n * Tencent is pleased to support the open source community by making\n * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.\n *\n * Copyright (C) 2025 Tencent. All rights reserved.\n *\n * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.\n *\n * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):\n *\n * ---------------------------------------------------\n * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated\n * documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation\n * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and\n * to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all copies or substantial portions of\n * the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO\n * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF\n * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n * IN THE SOFTWARE.\n */\n\nimport { Language as EnLanguage } from './en';\n\nconst jp: EnLanguage = {\n lang: 'ja',\n steps: {\n step1: 'ステップ1',\n step2: 'ステップ2',\n step3: 'ステップ3',\n },\n datePicker: {\n selectDate: '日付を選択',\n selectTime: '時間を選択',\n clear: 'クリア',\n ok: 'OK',\n weekdays: {\n sun: '日',\n mon: '月',\n tue: '火',\n wed: '水',\n thu: '木',\n fri: '金',\n sat: '土',\n },\n hour: '時',\n min: '分',\n sec: '秒',\n toNow: '現在まで',\n },\n dialog: {\n ok: 'OK',\n cancel: 'キャンセル',\n prev: '前へ',\n next: '次へ',\n },\n popConfirm: {\n ok: 'OK',\n cancel: 'キャンセル',\n },\n form: {\n notBeEmpty: '空にできません',\n incorrectFormat: 'フォーマットが正しくありません',\n max: '最大値',\n min: '最小値',\n maxLen: '最大の長さ',\n verifyError: '検証エラー',\n },\n pagination: {\n eachPage: '各ページ',\n strip: '項目',\n total: '合計',\n },\n process: {\n step1: 'ステップ1',\n step2: 'ステップ2',\n step3: 'ステップ3',\n step4: 'ステップ4',\n },\n searchSelect: {\n pleaseSelect: '選択してください',\n loading: 'ロード中...',\n filterQueryMustHasValue: 'フィルターに一つ以上の値を選択する必要があります',\n ok: 'OK',\n cancel: 'キャンセル',\n or: 'or',\n and: 'and',\n logical: 'ロジック:',\n },\n select: {\n noData: 'データなし',\n noMatchedData: '一致するデータがありません',\n loading: '読み込み中...',\n pleaseSelect: '選択してください',\n enterKeywords: 'キーワードを入力してください',\n all: 'すべて',\n selectAll: 'すべて選択',\n },\n table: {\n emptyText: 'データがありません',\n confirm: 'OK',\n reset: 'リセット',\n sort: 'ソート',\n setting: {\n title: 'テーブル設定',\n fields: {\n title: '表示フィールド設定',\n subtitle: (max: number) => `(最大${max}項目)`,\n selectAll: 'すべて選択',\n },\n lineHeight: {\n title: 'テーブル行の高さ',\n small: '小',\n medium: '中',\n large: '大',\n },\n options: {\n ok: 'OK',\n cancel: 'キャンセル',\n },\n },\n },\n transfer: {\n sourceList: 'ソースリスト',\n targetList: 'ターゲットリスト',\n removeAll: 'すべて削除',\n selectAll: 'すべて選択',\n noData: 'データがありません',\n noSelected: '選択されていません',\n search: '検索',\n },\n upload: {\n uploadSuccess: 'アップロード成功',\n uploadFailed: 'アップロード失敗',\n drapFileOr: 'ここにファイルをドラッグまたは',\n clickUpload: 'クリックしてアップロード',\n uploadLabel: 'ファイルをアップロード',\n },\n input: {\n placeholder: '入力してください',\n maxlengthLimitTips: '文字数制限に達しました',\n },\n tagInput: {\n placeholder: '入力してEnterキーで終了',\n },\n message: {\n assistant: 'アシスタント',\n details: '詳細',\n copySuccess: 'コピー成功',\n copyFailed: 'コピー失敗',\n },\n cascader: {\n pleaseSelect: '選択してください',\n noData: 'データがありません',\n emptyText: '該当する検索結果がありません',\n },\n versionLog: {\n current: '現在のバージョン',\n },\n};\n\nexport default jp;\n"],"names":["jp","max"],"mappings":"AA4BA,MAAMA,EAAiB,CACrB,KAAM,KACN,MAAO,CACL,MAAO,4BACP,MAAO,4BACP,MAAO,2BACT,EACA,WAAY,CACV,WAAY,iCACZ,WAAY,iCACZ,MAAO,qBACP,GAAI,KACJ,SAAU,CACR,IAAK,SACL,IAAK,SACL,IAAK,SACL,IAAK,SACL,IAAK,SACL,IAAK,SACL,IAAK,QACP,EACA,KAAM,SACN,IAAK,SACL,IAAK,SACL,MAAO,0BACT,EACA,OAAQ,CACN,GAAI,KACJ,OAAQ,iCACR,KAAM,eACN,KAAM,cACR,EACA,WAAY,CACV,GAAI,KACJ,OAAQ,gCACV,EACA,KAAM,CACJ,WAAY,6CACZ,gBAAiB,6FACjB,IAAK,qBACL,IAAK,qBACL,OAAQ,iCACR,YAAa,gCACf,EACA,WAAY,CACV,SAAU,2BACV,MAAO,eACP,MAAO,cACT,EACA,QAAS,CACP,MAAO,4BACP,MAAO,4BACP,MAAO,4BACP,MAAO,2BACT,EACA,aAAc,CACZ,aAAc,mDACd,QAAS,8BACT,wBAAyB,mJACzB,GAAI,KACJ,OAAQ,iCACR,GAAI,KACJ,IAAK,MACL,QAAS,2BACX,EACA,OAAQ,CACN,OAAQ,iCACR,cAAe,iFACf,QAAS,oCACT,aAAc,mDACd,cAAe,uFACf,IAAK,qBACL,UAAW,gCACb,EACA,MAAO,CACL,UAAW,yDACX,QAAS,KACT,MAAO,2BACP,KAAM,qBACN,QAAS,CACP,MAAO,uCACP,OAAQ,CACN,MAAO,yDACP,SAAWC,GAAgB,qBAAMA,sBACjC,UAAW,gCACb,EACA,WAAY,CACV,MAAO,mDACP,MAAO,SACP,OAAQ,SACR,MAAO,QACT,EACA,QAAS,CACP,GAAI,KACJ,OAAQ,gCACV,CACF,CACF,EACA,SAAU,CACR,WAAY,uCACZ,WAAY,mDACZ,UAAW,iCACX,UAAW,iCACX,OAAQ,yDACR,WAAY,yDACZ,OAAQ,cACV,EACA,OAAQ,CACN,cAAe,mDACf,aAAc,mDACd,WAAY,6FACZ,YAAa,2EACb,YAAa,oEACf,EACA,MAAO,CACL,YAAa,mDACb,mBAAoB,oEACtB,EACA,SAAU,CACR,YAAa,6DACf,EACA,QAAS,CACP,UAAW,uCACX,QAAS,eACT,YAAa,iCACb,WAAY,gCACd,EACA,SAAU,CACR,aAAc,mDACd,OAAQ,yDACR,UAAW,sFACb,EACA,WAAY,CACV,QAAS,kDACX,CACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"zh-cn.esm.js","sources":["../../packages/locale/src/lang/zh-cn.ts"],"sourcesContent":["/*\n * Tencent is pleased to support the open source community by making\n * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.\n *\n * Copyright (C) 2025 Tencent. All rights reserved.\n *\n * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.\n *\n * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):\n *\n * ---------------------------------------------------\n * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated\n * documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation\n * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and\n * to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all copies or substantial portions of\n * the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO\n * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF\n * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n * IN THE SOFTWARE.\n */\n\nimport type { Language } from './en';\n\nconst zhCn: Language = {\n lang: 'zh-cn',\n steps: {\n step1: '步骤1',\n step2: '步骤2',\n step3: '步骤3',\n },\n datePicker: {\n selectDate: '选择日期',\n selectTime: '选择时间',\n clear: '清除',\n ok: '确定',\n weekdays: {\n sun: '日',\n mon: '一',\n tue: '二',\n wed: '三',\n thu: '四',\n fri: '五',\n sat: '六',\n },\n hour: '时',\n min: '分',\n sec: '秒',\n toNow: '至今',\n // now: '此刻',\n },\n dialog: {\n ok: '确定',\n cancel: '取消',\n prev: '上一步',\n next: '下一步',\n },\n popConfirm: {\n ok: '确定',\n cancel: '取消',\n },\n form: {\n notBeEmpty: '不能为空',\n incorrectFormat: '格式不正确',\n max: '最大值',\n min: '最小值',\n maxLen: '最大长度',\n verifyError: '验证错误',\n },\n pagination: {\n eachPage: '每页',\n strip: '条',\n total: '共计',\n },\n process: {\n step1: '步骤1',\n step2: '步骤2',\n step3: '步骤3',\n step4: '步骤4',\n },\n searchSelect: {\n pleaseSelect: '请选择',\n loading: '加载中...',\n filterQueryMustHasValue: '包含键值的过滤查询必须有一个值',\n ok: '确认',\n cancel: '取消',\n or: '或',\n and: '且',\n logical: '逻辑:',\n },\n select: {\n noData: '无数据',\n noMatchedData: '无匹配数据',\n loading: '加载中...',\n pleaseSelect: '请选择',\n enterKeywords: '请输入关键字',\n all: '全部',\n selectAll: '全选',\n },\n table: {\n emptyText: '暂无数据',\n confirm: '确定',\n reset: '重置',\n sort: '排序',\n setting: {\n title: '表格设置',\n fields: {\n title: '字段显示设置',\n subtitle: (max: number) => `(最多${max}项)`,\n selectAll: '全选',\n },\n lineHeight: {\n title: '表格行高',\n small: '小',\n medium: '中',\n large: '大',\n },\n options: {\n ok: '确认',\n cancel: '取消',\n },\n },\n },\n transfer: {\n sourceList: '源列表',\n targetList: '目标列表',\n removeAll: '清空',\n selectAll: '选择全部',\n noData: '无数据',\n noSelected: '未选择任何项',\n search: '搜索',\n },\n upload: {\n uploadSuccess: '上传成功',\n uploadFailed: '上传失败',\n drapFileOr: '将文件拖到此处或',\n clickUpload: '点击上传',\n uploadLabel: '上传文件',\n },\n input: {\n placeholder: '请输入',\n maxlengthLimitTips: '已达到字数上限',\n },\n tagInput: {\n placeholder: '请输入并按Enter结束',\n },\n message: {\n assistant: '助手',\n details: '详情',\n copySuccess: '复制成功',\n copyFailed: '复制失败',\n },\n cascader: {\n pleaseSelect: '请选择',\n noData: '无数据',\n emptyText: '暂无搜索结果',\n },\n // exception: {\n // 403: '无业务权限',\n // 404: '页面不存在',\n // 500: '服务维护中',\n // building: '功能建设中',\n // empty: '没有数据',\n // searchEmpty: '搜索为空',\n // login: '请登入蓝鲸',\n // },\n\n // imageViewer: {\n // loadFailed: '抱歉,图片加载失败',\n // quitTips: 'ESC 可以退出全屏',\n // },\n // notify: {\n // showMore: '查看更多',\n // },\n // sideslider: {\n // title: '标题',\n // },\n // tree: {\n // emptyText: '暂无数据',\n // },\n // navigation: {\n // headerTitle: '栏目名称',\n // },\n // bigTree: {\n // emptyText: '暂无搜索结果',\n // },\n // message: {\n // copy: '复制',\n // copied: '已复制',\n // },\n // image: {\n // zoomIn: '放大',\n // zoomOut: '缩小',\n // rotateLeft: '向左旋转',\n // rotateRight: '向右旋转',\n // fullScreen: '适应屏幕',\n // original: '快速回到 1:1',\n // prev: 'prev',\n // next: 'next',\n // },\n versionLog: {\n current: '当前版本',\n },\n};\n\nexport default zhCn;\n"],"names":["zhCn","max"],"mappings":"
|
|
1
|
+
{"version":3,"file":"zh-cn.esm.js","sources":["../../packages/locale/src/lang/zh-cn.ts"],"sourcesContent":["/*\n * Tencent is pleased to support the open source community by making\n * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available.\n *\n * Copyright (C) 2025 Tencent. All rights reserved.\n *\n * 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) is licensed under the MIT License.\n *\n * License for 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition):\n *\n * ---------------------------------------------------\n * Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated\n * documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation\n * the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and\n * to permit persons to whom the Software is furnished to do so, subject to the following conditions:\n *\n * The above copyright notice and this permission notice shall be included in all copies or substantial portions of\n * the Software.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO\n * THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF\n * CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n * IN THE SOFTWARE.\n */\n\nimport type { Language } from './en';\n\nconst zhCn: Language = {\n lang: 'zh-cn',\n steps: {\n step1: '步骤1',\n step2: '步骤2',\n step3: '步骤3',\n },\n datePicker: {\n selectDate: '选择日期',\n selectTime: '选择时间',\n clear: '清除',\n ok: '确定',\n weekdays: {\n sun: '日',\n mon: '一',\n tue: '二',\n wed: '三',\n thu: '四',\n fri: '五',\n sat: '六',\n },\n hour: '时',\n min: '分',\n sec: '秒',\n toNow: '至今',\n // now: '此刻',\n },\n dialog: {\n ok: '确定',\n cancel: '取消',\n prev: '上一步',\n next: '下一步',\n },\n popConfirm: {\n ok: '确定',\n cancel: '取消',\n },\n form: {\n notBeEmpty: '不能为空',\n incorrectFormat: '格式不正确',\n max: '最大值',\n min: '最小值',\n maxLen: '最大长度',\n verifyError: '验证错误',\n },\n pagination: {\n eachPage: '每页',\n strip: '条',\n total: '共计',\n },\n process: {\n step1: '步骤1',\n step2: '步骤2',\n step3: '步骤3',\n step4: '步骤4',\n },\n searchSelect: {\n pleaseSelect: '请选择',\n loading: '加载中...',\n filterQueryMustHasValue: '包含键值的过滤查询必须有一个值',\n ok: '确认',\n cancel: '取消',\n or: '或',\n and: '且',\n logical: '逻辑:',\n },\n select: {\n noData: '无数据',\n noMatchedData: '无匹配数据',\n loading: '加载中...',\n pleaseSelect: '请选择',\n enterKeywords: '请输入关键字',\n all: '全部',\n selectAll: '全选',\n },\n table: {\n emptyText: '暂无数据',\n confirm: '确定',\n reset: '重置',\n sort: '排序',\n setting: {\n title: '表格设置',\n fields: {\n title: '字段显示设置',\n subtitle: (max: number) => `(最多${max}项)`,\n selectAll: '全选',\n },\n lineHeight: {\n title: '表格行高',\n small: '小',\n medium: '中',\n large: '大',\n },\n options: {\n ok: '确认',\n cancel: '取消',\n },\n },\n },\n transfer: {\n sourceList: '源列表',\n targetList: '目标列表',\n removeAll: '清空',\n selectAll: '选择全部',\n noData: '无数据',\n noSelected: '未选择任何项',\n search: '搜索',\n },\n upload: {\n uploadSuccess: '上传成功',\n uploadFailed: '上传失败',\n drapFileOr: '将文件拖到此处或',\n clickUpload: '点击上传',\n uploadLabel: '上传文件',\n },\n input: {\n placeholder: '请输入',\n maxlengthLimitTips: '已达到字数上限',\n },\n tagInput: {\n placeholder: '请输入并按Enter结束',\n },\n message: {\n assistant: '助手',\n details: '详情',\n copySuccess: '复制成功',\n copyFailed: '复制失败',\n },\n cascader: {\n pleaseSelect: '请选择',\n noData: '无数据',\n emptyText: '暂无搜索结果',\n },\n // exception: {\n // 403: '无业务权限',\n // 404: '页面不存在',\n // 500: '服务维护中',\n // building: '功能建设中',\n // empty: '没有数据',\n // searchEmpty: '搜索为空',\n // login: '请登入蓝鲸',\n // },\n\n // imageViewer: {\n // loadFailed: '抱歉,图片加载失败',\n // quitTips: 'ESC 可以退出全屏',\n // },\n // notify: {\n // showMore: '查看更多',\n // },\n // sideslider: {\n // title: '标题',\n // },\n // tree: {\n // emptyText: '暂无数据',\n // },\n // navigation: {\n // headerTitle: '栏目名称',\n // },\n // bigTree: {\n // emptyText: '暂无搜索结果',\n // },\n // message: {\n // copy: '复制',\n // copied: '已复制',\n // },\n // image: {\n // zoomIn: '放大',\n // zoomOut: '缩小',\n // rotateLeft: '向左旋转',\n // rotateRight: '向右旋转',\n // fullScreen: '适应屏幕',\n // original: '快速回到 1:1',\n // prev: 'prev',\n // next: 'next',\n // },\n versionLog: {\n current: '当前版本',\n },\n};\n\nexport default zhCn;\n"],"names":["zhCn","max"],"mappings":"AA4BA,MAAMA,EAAiB,CACrB,KAAM,QACN,MAAO,CACL,MAAO,gBACP,MAAO,gBACP,MAAO,eACT,EACA,WAAY,CACV,WAAY,2BACZ,WAAY,2BACZ,MAAO,eACP,GAAI,eACJ,SAAU,CACR,IAAK,SACL,IAAK,SACL,IAAK,SACL,IAAK,SACL,IAAK,SACL,IAAK,SACL,IAAK,QACP,EACA,KAAM,SACN,IAAK,SACL,IAAK,SACL,MAAO,cAET,EACA,OAAQ,CACN,GAAI,eACJ,OAAQ,eACR,KAAM,qBACN,KAAM,oBACR,EACA,WAAY,CACV,GAAI,eACJ,OAAQ,cACV,EACA,KAAM,CACJ,WAAY,2BACZ,gBAAiB,iCACjB,IAAK,qBACL,IAAK,qBACL,OAAQ,2BACR,YAAa,0BACf,EACA,WAAY,CACV,SAAU,eACV,MAAO,SACP,MAAO,cACT,EACA,QAAS,CACP,MAAO,gBACP,MAAO,gBACP,MAAO,gBACP,MAAO,eACT,EACA,aAAc,CACZ,aAAc,qBACd,QAAS,wBACT,wBAAyB,6FACzB,GAAI,eACJ,OAAQ,eACR,GAAI,SACJ,IAAK,SACL,QAAS,oBACX,EACA,OAAQ,CACN,OAAQ,qBACR,cAAe,iCACf,QAAS,wBACT,aAAc,qBACd,cAAe,uCACf,IAAK,eACL,UAAW,cACb,EACA,MAAO,CACL,UAAW,2BACX,QAAS,eACT,MAAO,eACP,KAAM,eACN,QAAS,CACP,MAAO,2BACP,OAAQ,CACN,MAAO,uCACP,SAAWC,GAAgB,qBAAMA,gBACjC,UAAW,cACb,EACA,WAAY,CACV,MAAO,2BACP,MAAO,SACP,OAAQ,SACR,MAAO,QACT,EACA,QAAS,CACP,GAAI,eACJ,OAAQ,cACV,CACF,CACF,EACA,SAAU,CACR,WAAY,qBACZ,WAAY,2BACZ,UAAW,eACX,UAAW,2BACX,OAAQ,qBACR,WAAY,uCACZ,OAAQ,cACV,EACA,OAAQ,CACN,cAAe,2BACf,aAAc,2BACd,WAAY,mDACZ,YAAa,2BACb,YAAa,0BACf,EACA,MAAO,CACL,YAAa,qBACb,mBAAoB,4CACtB,EACA,SAAU,CACR,YAAa,iDACf,EACA,QAAS,CACP,UAAW,eACX,QAAS,eACT,YAAa,2BACb,WAAY,0BACd,EACA,SAAU,CACR,aAAc,qBACd,OAAQ,qBACR,UAAW,sCACb,EA4CA,WAAY,CACV,QAAS,0BACX,CACF"}
|
package/lib/index.js
CHANGED
package/lib/select/index.js
CHANGED
|
@@ -1914,7 +1914,12 @@ function optionGroup_objectSpread(e) { for (var r = 1; r < arguments.length; r++
|
|
|
1914
1914
|
}).length, ")");
|
|
1915
1915
|
});
|
|
1916
1916
|
var isVisible = (0,external_vue_namespaceObject.computed)(function () {
|
|
1917
|
-
|
|
1917
|
+
if (!props.visible) return false;
|
|
1918
|
+
var groupOptions = _toConsumableArray(optionsMap.value.values());
|
|
1919
|
+
if (!groupOptions.length) return !select.isSearchEmpty;
|
|
1920
|
+
return groupOptions.some(function (option) {
|
|
1921
|
+
return option.visible;
|
|
1922
|
+
});
|
|
1918
1923
|
});
|
|
1919
1924
|
var handleToggleCollapse = function handleToggleCollapse() {
|
|
1920
1925
|
if (!props.collapsible || props.disabled) return;
|
package/lib/tree/index.js
CHANGED
|
@@ -32,7 +32,7 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/**
|
|
|
32
32
|
var undefined;
|
|
33
33
|
|
|
34
34
|
/** Used as the semantic version number. */
|
|
35
|
-
var VERSION = '4.
|
|
35
|
+
var VERSION = '4.18.1';
|
|
36
36
|
|
|
37
37
|
/** Used as the size to enable large array optimizations. */
|
|
38
38
|
var LARGE_ARRAY_SIZE = 200;
|
|
@@ -40,7 +40,8 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/**
|
|
|
40
40
|
/** Error message constants. */
|
|
41
41
|
var CORE_ERROR_TEXT = 'Unsupported core-js use. Try https://npms.io/search?q=ponyfill.',
|
|
42
42
|
FUNC_ERROR_TEXT = 'Expected a function',
|
|
43
|
-
INVALID_TEMPL_VAR_ERROR_TEXT = 'Invalid `variable` option passed into `_.template`'
|
|
43
|
+
INVALID_TEMPL_VAR_ERROR_TEXT = 'Invalid `variable` option passed into `_.template`',
|
|
44
|
+
INVALID_TEMPL_IMPORTS_ERROR_TEXT = 'Invalid `imports` option passed into `_.template`';
|
|
44
45
|
|
|
45
46
|
/** Used to stand-in for `undefined` hash values. */
|
|
46
47
|
var HASH_UNDEFINED = '__lodash_hash_undefined__';
|
|
@@ -1772,6 +1773,10 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/**
|
|
|
1772
1773
|
* embedded Ruby (ERB) as well as ES2015 template strings. Change the
|
|
1773
1774
|
* following template settings to use alternative delimiters.
|
|
1774
1775
|
*
|
|
1776
|
+
* **Security:** See
|
|
1777
|
+
* [threat model](https://github.com/lodash/lodash/blob/main/threat-model.md)
|
|
1778
|
+
* — `_.template` is insecure and will be removed in v5.
|
|
1779
|
+
*
|
|
1775
1780
|
* @static
|
|
1776
1781
|
* @memberOf _
|
|
1777
1782
|
* @type {Object}
|
|
@@ -2320,7 +2325,7 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/**
|
|
|
2320
2325
|
* @name has
|
|
2321
2326
|
* @memberOf SetCache
|
|
2322
2327
|
* @param {*} value The value to search for.
|
|
2323
|
-
* @returns {
|
|
2328
|
+
* @returns {boolean} Returns `true` if `value` is found, else `false`.
|
|
2324
2329
|
*/
|
|
2325
2330
|
function setCacheHas(value) {
|
|
2326
2331
|
return this.__data__.has(value);
|
|
@@ -4391,7 +4396,9 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/**
|
|
|
4391
4396
|
function baseUnset(object, path) {
|
|
4392
4397
|
path = castPath(path, object);
|
|
4393
4398
|
|
|
4394
|
-
// Prevent prototype pollution
|
|
4399
|
+
// Prevent prototype pollution:
|
|
4400
|
+
// https://github.com/lodash/lodash/security/advisories/GHSA-xxjr-mmjv-4gpg
|
|
4401
|
+
// https://github.com/lodash/lodash/security/advisories/GHSA-f23m-r3pf-42rh
|
|
4395
4402
|
var index = -1,
|
|
4396
4403
|
length = path.length;
|
|
4397
4404
|
|
|
@@ -4399,32 +4406,17 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/**
|
|
|
4399
4406
|
return true;
|
|
4400
4407
|
}
|
|
4401
4408
|
|
|
4402
|
-
var isRootPrimitive = object == null || (typeof object !== 'object' && typeof object !== 'function');
|
|
4403
|
-
|
|
4404
4409
|
while (++index < length) {
|
|
4405
|
-
var key = path[index];
|
|
4406
|
-
|
|
4407
|
-
// skip non-string keys (e.g., Symbols, numbers)
|
|
4408
|
-
if (typeof key !== 'string') {
|
|
4409
|
-
continue;
|
|
4410
|
-
}
|
|
4410
|
+
var key = toKey(path[index]);
|
|
4411
4411
|
|
|
4412
4412
|
// Always block "__proto__" anywhere in the path if it's not expected
|
|
4413
4413
|
if (key === '__proto__' && !hasOwnProperty.call(object, '__proto__')) {
|
|
4414
4414
|
return false;
|
|
4415
4415
|
}
|
|
4416
4416
|
|
|
4417
|
-
// Block
|
|
4418
|
-
|
|
4419
|
-
|
|
4420
|
-
typeof path[index + 1] === 'string' &&
|
|
4421
|
-
path[index + 1] === 'prototype') {
|
|
4422
|
-
|
|
4423
|
-
// Allow ONLY when the path starts at a primitive root, e.g., _.unset(0, 'constructor.prototype.a')
|
|
4424
|
-
if (isRootPrimitive && index === 0) {
|
|
4425
|
-
continue;
|
|
4426
|
-
}
|
|
4427
|
-
|
|
4417
|
+
// Block constructor/prototype as non-terminal traversal keys to prevent
|
|
4418
|
+
// escaping the object graph into built-in constructors and prototypes.
|
|
4419
|
+
if ((key === 'constructor' || key === 'prototype') && index < length - 1) {
|
|
4428
4420
|
return false;
|
|
4429
4421
|
}
|
|
4430
4422
|
}
|
|
@@ -6981,7 +6973,7 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/**
|
|
|
6981
6973
|
|
|
6982
6974
|
/**
|
|
6983
6975
|
* Creates an array with all falsey values removed. The values `false`, `null`,
|
|
6984
|
-
* `0`, `""`, `undefined`, and `NaN` are
|
|
6976
|
+
* `0`, `-0`, `0n`, `""`, `undefined`, and `NaN` are falsy.
|
|
6985
6977
|
*
|
|
6986
6978
|
* @static
|
|
6987
6979
|
* @memberOf _
|
|
@@ -7520,7 +7512,7 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/**
|
|
|
7520
7512
|
|
|
7521
7513
|
while (++index < length) {
|
|
7522
7514
|
var pair = pairs[index];
|
|
7523
|
-
result
|
|
7515
|
+
baseAssignValue(result, pair[0], pair[1]);
|
|
7524
7516
|
}
|
|
7525
7517
|
return result;
|
|
7526
7518
|
}
|
|
@@ -14180,6 +14172,8 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/**
|
|
|
14180
14172
|
* **Note:** JavaScript follows the IEEE-754 standard for resolving
|
|
14181
14173
|
* floating-point values which can produce unexpected results.
|
|
14182
14174
|
*
|
|
14175
|
+
* **Note:** If `lower` is greater than `upper`, the values are swapped.
|
|
14176
|
+
*
|
|
14183
14177
|
* @static
|
|
14184
14178
|
* @memberOf _
|
|
14185
14179
|
* @since 0.7.0
|
|
@@ -14193,9 +14187,16 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/**
|
|
|
14193
14187
|
* _.random(0, 5);
|
|
14194
14188
|
* // => an integer between 0 and 5
|
|
14195
14189
|
*
|
|
14190
|
+
* // when lower is greater than upper the values are swapped
|
|
14191
|
+
* _.random(5, 0);
|
|
14192
|
+
* // => an integer between 0 and 5
|
|
14193
|
+
*
|
|
14196
14194
|
* _.random(5);
|
|
14197
14195
|
* // => also an integer between 0 and 5
|
|
14198
14196
|
*
|
|
14197
|
+
* _.random(-5);
|
|
14198
|
+
* // => an integer between -5 and 0
|
|
14199
|
+
*
|
|
14199
14200
|
* _.random(5, true);
|
|
14200
14201
|
* // => a floating-point number between 0 and 5
|
|
14201
14202
|
*
|
|
@@ -14797,6 +14798,10 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/**
|
|
|
14797
14798
|
* properties may be accessed as free variables in the template. If a setting
|
|
14798
14799
|
* object is given, it takes precedence over `_.templateSettings` values.
|
|
14799
14800
|
*
|
|
14801
|
+
* **Security:** `_.template` is insecure and should not be used. It will be
|
|
14802
|
+
* removed in Lodash v5. Avoid untrusted input. See
|
|
14803
|
+
* [threat model](https://github.com/lodash/lodash/blob/main/threat-model.md).
|
|
14804
|
+
*
|
|
14800
14805
|
* **Note:** In the development build `_.template` utilizes
|
|
14801
14806
|
* [sourceURLs](http://www.html5rocks.com/en/tutorials/developertools/sourcemaps/#toc-sourceurl)
|
|
14802
14807
|
* for easier debugging.
|
|
@@ -14904,12 +14909,18 @@ var __WEBPACK_AMD_DEFINE_RESULT__;/**
|
|
|
14904
14909
|
options = undefined;
|
|
14905
14910
|
}
|
|
14906
14911
|
string = toString(string);
|
|
14907
|
-
options =
|
|
14912
|
+
options = assignWith({}, options, settings, customDefaultsAssignIn);
|
|
14908
14913
|
|
|
14909
|
-
var imports =
|
|
14914
|
+
var imports = assignWith({}, options.imports, settings.imports, customDefaultsAssignIn),
|
|
14910
14915
|
importsKeys = keys(imports),
|
|
14911
14916
|
importsValues = baseValues(imports, importsKeys);
|
|
14912
14917
|
|
|
14918
|
+
arrayEach(importsKeys, function(key) {
|
|
14919
|
+
if (reForbiddenIdentifierChars.test(key)) {
|
|
14920
|
+
throw new Error(INVALID_TEMPL_IMPORTS_ERROR_TEXT);
|
|
14921
|
+
}
|
|
14922
|
+
});
|
|
14923
|
+
|
|
14913
14924
|
var isEscaping,
|
|
14914
14925
|
isEvaluating,
|
|
14915
14926
|
index = 0,
|
|
@@ -20518,13 +20529,32 @@ var use_tree_init_this = undefined;
|
|
|
20518
20529
|
showChildNodes = _useSearch.showChildNodes;
|
|
20519
20530
|
var matchedNodeIds = (0,external_vue_namespaceObject.reactive)(new Set());
|
|
20520
20531
|
var visibleNodeIds = (0,external_vue_namespaceObject.reactive)(new Set());
|
|
20532
|
+
var searchOriginalOpenState = new Map();
|
|
20521
20533
|
var getRenderNodeId = function getRenderNodeId(node) {
|
|
20522
20534
|
return "".concat(getNodeId(node));
|
|
20523
20535
|
};
|
|
20536
|
+
var setSearchNodeOpen = function setSearchNodeOpen(node) {
|
|
20537
|
+
var nodeId = getRenderNodeId(node);
|
|
20538
|
+
if (!searchOriginalOpenState.has(nodeId)) {
|
|
20539
|
+
searchOriginalOpenState.set(nodeId, isNodeOpened(node));
|
|
20540
|
+
}
|
|
20541
|
+
setNodeAttribute(node, NODE_ATTRIBUTES.IS_OPEN, true, false);
|
|
20542
|
+
};
|
|
20543
|
+
var restoreSearchOpenState = function restoreSearchOpenState() {
|
|
20544
|
+
searchOriginalOpenState.forEach(function (isOpen, nodeId) {
|
|
20545
|
+
var node = getNodeById(nodeId);
|
|
20546
|
+
if (node) {
|
|
20547
|
+
setNodeAttribute(node, NODE_ATTRIBUTES.IS_OPEN, isOpen, false);
|
|
20548
|
+
}
|
|
20549
|
+
});
|
|
20550
|
+
searchOriginalOpenState.clear();
|
|
20551
|
+
};
|
|
20524
20552
|
var addAncestorNodes = function addAncestorNodes(node) {
|
|
20525
20553
|
var parent = getParentNode(node);
|
|
20526
20554
|
while (parent) {
|
|
20527
|
-
|
|
20555
|
+
var parentId = getRenderNodeId(parent);
|
|
20556
|
+
visibleNodeIds.add(parentId);
|
|
20557
|
+
setSearchNodeOpen(parent);
|
|
20528
20558
|
parent = getParentNode(parent);
|
|
20529
20559
|
}
|
|
20530
20560
|
};
|
|
@@ -20632,6 +20662,7 @@ var use_tree_init_this = undefined;
|
|
|
20632
20662
|
deepUpdateChildNode = _useNodeAction.deepUpdateChildNode,
|
|
20633
20663
|
updateParentChecked = _useNodeAction.updateParentChecked;
|
|
20634
20664
|
var handleSearch = (0,shared_namespaceObject.debounce)(120, function () {
|
|
20665
|
+
restoreSearchOpenState();
|
|
20635
20666
|
matchedNodeIds.clear();
|
|
20636
20667
|
visibleNodeIds.clear();
|
|
20637
20668
|
flatData.data.forEach(function (item) {
|
|
@@ -20641,7 +20672,7 @@ var use_tree_init_this = undefined;
|
|
|
20641
20672
|
matchedNodeIds.add(nodeId);
|
|
20642
20673
|
visibleNodeIds.add(nodeId);
|
|
20643
20674
|
}
|
|
20644
|
-
setNodeAttribute(item, [NODE_ATTRIBUTES.IS_MATCH], [isMatch], false);
|
|
20675
|
+
setNodeAttribute(item, [NODE_ATTRIBUTES.IS_MATCH, NODE_ATTRIBUTES.IS_OPEN], [isMatch, isNodeOpened(item)], false);
|
|
20645
20676
|
});
|
|
20646
20677
|
if (!isSearchActive.value) {
|
|
20647
20678
|
return;
|
|
@@ -20654,6 +20685,7 @@ var use_tree_init_this = undefined;
|
|
|
20654
20685
|
addAncestorNodes(item);
|
|
20655
20686
|
}
|
|
20656
20687
|
if (showChildNodes.value) {
|
|
20688
|
+
setSearchNodeOpen(item);
|
|
20657
20689
|
_addDescendantNodes(item);
|
|
20658
20690
|
}
|
|
20659
20691
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bkui-vue",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.1",
|
|
4
4
|
"workspaces": [
|
|
5
5
|
"packages/**",
|
|
6
6
|
"scripts/cli",
|
|
@@ -84,12 +84,15 @@
|
|
|
84
84
|
"prismjs": "~1.29.0",
|
|
85
85
|
"resize-observer-polyfill": "~1.5.1",
|
|
86
86
|
"rimraf": "~5.0.1",
|
|
87
|
+
"string-width": "4.2.3",
|
|
88
|
+
"strip-ansi": "6.0.1",
|
|
87
89
|
"ts-jest": "~29.1.1",
|
|
88
90
|
"ts-node": "~10.9.1",
|
|
89
91
|
"typescript": "~4.9.5",
|
|
90
92
|
"uuid": "~9.0.1",
|
|
91
93
|
"vue": "~3.3.4",
|
|
92
94
|
"vue-types": "~4.1.1",
|
|
95
|
+
"wrap-ansi": "7.0.0",
|
|
93
96
|
"ws": "~8.17.1"
|
|
94
97
|
},
|
|
95
98
|
"peerDependencies": {
|
|
@@ -116,7 +119,7 @@
|
|
|
116
119
|
},
|
|
117
120
|
"resolutions": {
|
|
118
121
|
"braces": ">=3.0.3",
|
|
119
|
-
"cross-spawn": "
|
|
122
|
+
"cross-spawn": "7.0.6",
|
|
120
123
|
"nth-check": ">=2.0.1",
|
|
121
124
|
"parse-path": ">=5.0.0",
|
|
122
125
|
"shelljs": "^0.8.5",
|
|
@@ -125,7 +128,18 @@
|
|
|
125
128
|
"@vue/compiler-sfc": "~3.5.27",
|
|
126
129
|
"@vue/runtime-dom": "~3.5.27",
|
|
127
130
|
"@vue/shared": "~3.5.27",
|
|
128
|
-
"@vue/babel-plugin-jsx": "~2.0.1"
|
|
131
|
+
"@vue/babel-plugin-jsx": "~2.0.1",
|
|
132
|
+
"lodash": "4.18.1",
|
|
133
|
+
"buffer": "6.0.3",
|
|
134
|
+
"minimatch": "9.0.7",
|
|
135
|
+
"flatted": "3.4.2",
|
|
136
|
+
"tar": "7.5.11",
|
|
137
|
+
"lodash.template": "4.18.1",
|
|
138
|
+
"handlebars": "4.7.9",
|
|
139
|
+
"picomatch": "4.0.4",
|
|
140
|
+
"glob": "10.5.0",
|
|
141
|
+
"form-data": "4.0.5",
|
|
142
|
+
"rollup": "4.59.0"
|
|
129
143
|
},
|
|
130
144
|
"dependencies": {
|
|
131
145
|
"@blueking/login-userinfo": "~0.0.2",
|
|
@@ -134,8 +148,11 @@
|
|
|
134
148
|
"dompurify": "3.2.6",
|
|
135
149
|
"js-calendar": "~1.2.3",
|
|
136
150
|
"json-formatter-js": "~2.3.4",
|
|
137
|
-
"lodash": "
|
|
151
|
+
"lodash": "4.18.1",
|
|
138
152
|
"tinycolor2": "~1.6.0",
|
|
139
153
|
"vue-types": "~4.1.1"
|
|
154
|
+
},
|
|
155
|
+
"engines": {
|
|
156
|
+
"node": ">=18.0.0"
|
|
140
157
|
}
|
|
141
158
|
}
|