GithubHelp home page GithubHelp logo

ax5ui / ax5ui-kernel Goto Github PK

View Code? Open in Web Editor NEW
157.0 157.0 74.0 39.14 MB

Javascript UI Framework - AX5UI - Kernel Module

Home Page: http://ax5.io

License: MIT License

JavaScript 59.50% CSS 10.33% HTML 29.01% Shell 0.40% PHP 0.76%
ax5ui bootstrap dialog grid javascriptui jquery menu modal upload

ax5ui-kernel's People

Contributors

90majh avatar aeei avatar cemujax avatar derren-korean avatar dongyoung86 avatar geminikim avatar groovedk avatar hoksi avatar hyunjun19 avatar jayhun avatar koojunho avatar leehan0617 avatar mojosoeun avatar sera0731 avatar taeung avatar thomasjang avatar xdamman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ax5ui-kernel's Issues

Item on Click

I am trying to find how to create item on click function out but i could not what am i missing? Can you please give an example how to do it? I tried something like this:

menu.onLoad = function(){ $(this).find("[data-menu-item-index]").on('click', function(){
 var index = $(this).getAttribute("data-menu-item-index");
 if(index == 0){ do something.... } 
else if(index == 1){ do another thing } 
else if(index ==2){ do etc... } }); };

build.sh 명령어 문제 확인요망

#!/usr/bin/env bash

LOG=`git log --pretty=oneline --abbrev-commit -1`

rm -rf .subsplit

case "$LOG" in
  *MAJOR@*) echo "Major Version"; VERSION_TYPE="MAJOR";;
  *MINOR@*) echo "Minor version"; VERSION_TYPE="MINOR";;
  *PATCH@*) echo "Patch Version"; VERSION_TYPE="PATCH";;
esac

if [ $VERSION_TYPE ]
then
    git checkout master

    git pull origin master

    case "$VERSION_TYPE" in
      *MAJOR*) VERSION=$(npm version major --force);;
      *MINOR*) VERSION=$(npm version minor --force);;
      *PATCH*) VERSION=$(npm version patch --force);;
    esac

    VERSION=$(echo $VERSION | cut -c 2-)

    echo "VERSION : " $VERSION

    echo "START VERSION UP PROCESS"

    npm install && gulp version

    git add *

    echo "Git Commit & Push"

    git commit -m "$VERSION RELEASED" && git pull origin master && git push origin master
fi

에서 VERSION_TYPE 이 없는 상황이 나오고 있습니다.
도움이 필요합니다.

CI npm error

npm WARN using --force I sure hope you know what you are doing.
VERSION :  1.4.11
START VERSION UP PROCESS
npm WARN engine [email protected]: wanted: {"node":">=4"} (current: {"node":"0.12.5","npm":"2.11.2"})
npm WARN engine [email protected]: wanted: {"node":">=4"} (current: {"node":"0.12.5","npm":"2.11.2"})
npm WARN engine [email protected]: wanted: {"node":">=4"} (current: {"node":"0.12.5","npm":"2.11.2"})
npm WARN engine [email protected]: wanted: {"node":">=4"} (current: {"node":"0.12.5","npm":"2.11.2"})
npm WARN engine [email protected]: wanted: {"node":">=4"} (current: {"node":"0.12.5","npm":"2.11.2"})
npm WARN engine [email protected]: wanted: {"node":">=4"} (current: {"node":"0.12.5","npm":"2.11.2"})
npm WARN engine [email protected]: wanted: {"node":">=4"} (current: {"node":"0.12.5","npm":"2.11.2"})

> [email protected] postinstall /data/deploy/.jenkins/jobs/AX5-KERNEL/workspace/node_modules/opencollective-postinstall
> ./bin/setup.js

/data/deploy/.jenkins/jobs/AX5-KERNEL/workspace/node_modules/opencollective-postinstall/bin/setup.js:38
  debug(`Parent dir (${parentDir}) is not "node_modules", exiting`);
        ^
SyntaxError: Unexpected token ILLEGAL
    at exports.runInThisContext (vm.js:73:16)
    at Module._compile (module.js:443:25)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Function.Module.runMain (module.js:501:10)
    at startup (node.js:129:16)
    at node.js:814:3
npm ERR! Linux 2.6.32-573.22.1.el6.x86_64
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
npm ERR! node v0.12.5
npm ERR! npm  v2.11.2
npm ERR! code ELIFECYCLE

npm ERR! [email protected] postinstall: `./bin/setup.js`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] postinstall script './bin/setup.js'.
npm ERR! This is most likely a problem with the opencollective-postinstall package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     ./bin/setup.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls opencollective-postinstall
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /data/deploy/.jenkins/jobs/AX5-KERNEL/workspace/npm-debug.log

symbolic link problem

symbolic link files are not commit to github.
src/ax5core/dist -> src/ax5docs/_assets/lib/ax5core

[ax5ui-modal] div[data-modal-els="body-frame"] 추가로 인한 사이트 이펙트

<div data-modal-els="body-frame" style="position: absolute;left:0;top:0;width:100%;height:100%;"></div>
위 div가 추가되면서 기존에 구현된 컨텐츠가 해당 div에 가려져서 클릭이 안되는 이슈가 발생하고 있습니다.
div[data-modal-els="body-frame"]는 왜 추가된건가요?

<div id="ax5-modal-38" data-modal-els="root" class="ax5modal default " style="width: 300px; height: 215px; left: 37.5px; top: 226px;">
            <div class="ax-modal-body" data-modal-els="body">
                <div data-modal-els="body-frame" style="position: absolute;left:0;top:0;width:100%;height:100%;"></div>
            <div class="side-gap modal-gajago-share"><div class="DH20"></div><h4 class="text-left"><i class="icon-gajago-share text-danger"></i>&nbsp; 공유하기</h4><div class="DH20"></div><a class="btn gajago-share " id="btn-share-kakao"><img alt="" src="https://s3.ap-northeast-2.amazonaws.com/production-gajago-static/images/ico-like-kakao.png"><div>카카오톡</div></a><a class="btn gajago-share" data-share-type="facebook"><img alt="" src="https://s3.ap-northeast-2.amazonaws.com/production-gajago-static/images/ico-like-facebook.png"><div>페이스북</div></a><a class="btn gajago-share " data-share-type="sms"><img alt="" src="https://s3.ap-northeast-2.amazonaws.com/production-gajago-static/images/ico-like-sms.png"><div>SMS문자</div></a><div class="DH10"></div><div class="cx-row no-padding"><div class="cx-col-9"><input id="shareLink" type="input" class="form-control lg WP100" value="https://www.thegajago.com/deals/19763"></div><button type="button" data-clipboard-target="#shareLink" class="cx-col-3 btn btn-copyurl">URL복사</button></div></div><a style="position:absolute; top:15px; right:16px;" data-btn-control="cancel"><i class="icon-gajago-close"></i></a></div>
            <div data-ax5modal-resizer="top"></div>
            <div data-ax5modal-resizer="right"></div>
            <div data-ax5modal-resizer="bottom"></div>
            <div data-ax5modal-resizer="left"></div>
            <div data-ax5modal-resizer="top-left"></div>
            <div data-ax5modal-resizer="top-right"></div>
            <div data-ax5modal-resizer="bottom-left"></div>
            <div data-ax5modal-resizer="bottom-right"></div>
        </div>

ax5.util.getType(null) 이 undefined를 반환합니다.

2016-09-28 9 43 21

제 생각에는 undefined는 변수나 프러퍼티가 선언된적이 없음을 의미하고 null은 값이 존재하지 않음을 의미하기 때문에 두 가지를 구분해서 처리해 주어야 한다고 생각합니다.

따라서 ax5.util.getType(null)은 "null"을 반환하는게 더 명확할 것 같습니다.

ax5.util.toJson true값 출력 이슈

var filObject = {
a : 1, 
s : "string", 
oa : {pickup:true, name:"AXISJ"}, 
os : {pickup:true, name:"AX5"}
};
var result = ax5.util.filter( filObject, function(){
    return this.pickup;
});
console.log( ax5.util.toJson(result) );
> [{"pickup": , "name": "AXISJ"}, {"pickup": , "name": "AX5"}] // true 값이 보이지 않습니다.
var filObject = {
a : 1, 
s : "string", 
oa : {pickup:true, name:"AXISJ"}, 
os : {pickup:true, name:"AX5"}
};
var result = ax5.util.filter( filObject, function(){
    return this.pickup;
});
console.log( JSON.stringify(result) );
> [{"pickup": true, "name": "AXISJ"}, {"pickup":true , "name": "AX5"}] // true 값이 보입니다.

ax5.util.toJson 과 JSON.stringify의 true 값이 다르게 나옵니다.

`dialog.close()` 메서드 호출시 콜백이 호출되지 않습니다.

    it('Basic Alert expect open, close', function(done){
        dialog.alert('Alert message', function(){
            checkClose(dialog, 'dialog close fail.', done);
        });

        // open check
        dialog.activeDialog.attr('data-ax5-ui').should.equal('dialog', 'dialog open fail.');
        dialog.close();
    });

위 코드에서 dialog.close(); 메서드가 호출되면 dialog.alert에서 정의한 callback이 호출되지 않습니다.
이건 의도된 상황인가요?

전체 코드는 여기를 참고해 주세요.

dialog.alert ignorance on double call

dialog.alert([...] , function() {
    dialog.alert([...] , [...]);
});

위와 같이 dialog.alert 의 callback에서 다시 한번 dialog.alert 이 호출되면 두번째 alert 은 무시됩니다.

As a snippet above, when dialog.alert is called in a callback function of another dialog.alert, it does not work.

Don't match result

new Date("2016-09-25T11:59:07.379");
ax5.util.date("2016-09-25T11:59:07.379");

엑셀 다운로드 문의

그리드 엑셀 다운로드 동작은 잘되는데 백그라운드 색상과 같은 스타일은 못가져가는것 같습니다.

스타일까지 포함하여 엑셀을 다운로드하는 옵션이나 방법이 있을까요?

[ax5ui-modal] support resize

resize허용 옵션을 추가하고.

  • 8개의 방향으로 모달창을 크기 조절 할 수 있는 기능 구현.
  • alt, shift 지원

bower 일괄 업데이트가 있나요?

커널 밑에 각각 모듈의 보워컴포넌트를 한번에 설치하거나 업데이트 할 수 있는 그런게 있나요?
각각 디렉토리에서 전부 해야하는지 뭔가 다른 설정이 가능할지 문의합니다.

ax5.util.left function 이슈 사용성 혼동 & 원래 이런 사용법인가요?

원인 : 해당 str에 찾고자 하는 문자가 없을때 문자열 전체를 반환하기 때문에 발생한 이슈 입니다.

원인 코드 : ax5.core.js 의 1038Line
if (isString(pos)) {
return (str.indexOf(pos) > -1) ? str.substr(0, str.indexOf(pos)) : str;
}

재현 방법 :
var testString = "abcd3efd";

입력값 -> 출력값
ax5.util.left('testString',3); -> 'abc' ==== expectable
ax5.util.left('testString,' "3"); -> 'abcd' ==== expectable
ax5.util.left('testString,' "4"); -> 'abcd3efd' ==== X

질의 : 대상 str에 반환값이 없으면 "" 을 반환해야 할 것 같습니다.
재현 방법에서 나온 것처럼, 문자열이 없는 것이라면 없다고 반환해주어야 합니다.
그렇지 않을 경우, 사용자에겐 해당 문자열이 있기때문에 left되었다고 판단하기 때문입니다.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.