@aliyun-obv/api 0.1.2 → 0.2.0-beta.2

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.
Files changed (2) hide show
  1. package/dist/api.es.js +15 -1
  2. package/package.json +3 -3
package/dist/api.es.js CHANGED
@@ -371,10 +371,15 @@ function showCSRFDialog(config) {
371
371
  config.afterClose();
372
372
  }
373
373
  },
374
+ messageProps: {
375
+ prefix: "obviz-next-"
376
+ },
377
+ prefix: "obviz-next-",
374
378
  footer: [
375
379
  /* @__PURE__ */ React.createElement(
376
380
  Button,
377
381
  {
382
+ prefix: "obviz-next-",
378
383
  type: "primary",
379
384
  onClick: () => {
380
385
  var _a;
@@ -420,10 +425,15 @@ function showNeedLoginDialog(config) {
420
425
  config.afterClose();
421
426
  }
422
427
  },
428
+ messageProps: {
429
+ prefix: "obviz-next-"
430
+ },
431
+ prefix: "obviz-next-",
423
432
  footer: [
424
433
  /* @__PURE__ */ React.createElement(
425
434
  Button,
426
435
  {
436
+ prefix: "obviz-next-",
427
437
  type: "primary",
428
438
  style: { marginRight: "8px" },
429
439
  onClick: () => {
@@ -441,6 +451,7 @@ function showNeedLoginDialog(config) {
441
451
  /* @__PURE__ */ React.createElement(
442
452
  Button,
443
453
  {
454
+ prefix: "obviz-next-",
444
455
  onClick: () => {
445
456
  var _a;
446
457
  addRUMLog({
@@ -453,7 +464,10 @@ function showNeedLoginDialog(config) {
453
464
  window.ALIYUN_SLS_CONSOLE_CONFIG.SEC_TOKEN = res.data;
454
465
  dialog.hide();
455
466
  } else {
456
- Message.error(getMsg("lb.login_time_out"));
467
+ Message.error({
468
+ prefix: "obviz-next-",
469
+ content: getMsg("lb.login_time_out")
470
+ });
457
471
  }
458
472
  }).catch(() => {
459
473
  });
package/package.json CHANGED
@@ -11,11 +11,11 @@
11
11
  "urijs": "^1.19.1",
12
12
  "lodash": "^4.17.21",
13
13
  "@alicloud/console-base-error-prompt-proxy": "^1.9.12",
14
- "@aliyun-obv/i18n": "0.1.2",
15
- "@aliyun-obv/utils": "0.1.2",
14
+ "@aliyun-obv/i18n": "0.2.0-beta.2",
15
+ "@aliyun-obv/utils": "0.2.0-beta.2",
16
16
  "@alifd/next": "^1.27.11",
17
17
  "styled-components": "^5.2.0"
18
18
  },
19
19
  "devDependencies": {},
20
- "version": "0.1.2"
20
+ "version": "0.2.0-beta.2"
21
21
  }